Date: Wed, 15 Jun 2022 11:39:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264680] net/belle-sip: build fails if devel/antlr3 is installed Message-ID: <bug-264680-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264680 Bug ID: 264680 Summary: net/belle-sip: build fails if devel/antlr3 is installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: vvd@unislabs.com CC: bofh@freebsd.org, takumiiinn@gmail.com CC: bofh@freebsd.org, takumiiinn@gmail.com net/belle-sip grab /usr/local/bin/antlr3 (from devel/antlr3 version is 3.5.= 2) instead required 3.4 (antlr-3.4-complete.jar in distinfo). Part of build log with installed devel/antlr3: =3D=3D=3D> Building for belle-sip-1.6.3 [ 2% 2/47] cd /tmp/work/usr/ports/net/belle-sip/work/.build/src && /usr/local/bin/antlr3 -make -Xmultithreaded -Xconversiontimeout 10000 -fo /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars /tmp/work/usr/ports/net/belle-sip/work/belle-sip-1.6.3-0/src/grammars/belle= _sdp.g two-threaded DFA conversion warning(24): template error: context [/outputFile /parser] 1:1 could not p= ass through undefined attribute filterMode warning(24): template error: context [/outputFile /parser /genericParser /_sub165 /ruleAttributeScopeFuncMacro] 1:4 no such property or can't access: null.attributes warning(24): template error: context [/outputFile /parser /genericParser /_sub165 /ruleAttributeScopeFuncMacro] 1:4 no such property or can't access: null.attributes ... a lot of lines with same warnings ... warning(24): template error: context [/headerFile /_sub141 /ruleAttributeScopeDecl] 1:4 no such property or can't access: null. attributes two-threaded DFA conversion warning(24): template error: context [/outputFile /lexer /lexerRule /ruleDeclarations] 4:1 no such property or can't access: null.attributes warning(24): template error: context [/outputFile /lexer /lexerRule /ruleDeclarations] 4:1 no such property or can't access: null.attributes ... a lot of lines with same warnings ... ... cut ... FAILED: src/CMakeFiles/bellesip.dir/grammars/belle_sdpParser.c.o=20 /usr/bin/cc -DBELLESIP_EXPORTS -DHAVE_CONFIG_H -Dbellesip_EXPORTS -I/tmp/work/usr/ports/net/belle-sip/work/belle-sip-1.6.3-0/include -I/tmp/work/usr/ports/net/belle-sip/work/belle-sip-1.6.3-0/src -I/tmp/work/usr/ports/net/belle-sip/work/.build -I/tmp/work/usr/ports/net/belle-sip/work/.build/src -isystem /usr/local/inc= lude -O2 -pipe -march=3Dcore2 -fstack-protector-strong -fno-strict -aliasing -O2 -pipe -march=3Dcore2 -fstack-protector-strong -fno-strict-al= iasing -fPIC -std=3Dgnu99 -Wall -Wuninitialized -Wno-error=3Ddeprecated-declarati= ons -Wno-error=3Dunknown-warning-option -Qunused-arguments -Wno-tautological-co= mpare -Wno-builtin-requires-header -Wno-unused-function -Wno-gnu-designator -Wno-array-bounds -Wno-strict-prototypes -Wno-error=3Dsign-compare -MD -MT src/CMakeFiles/bellesip.dir/grammars/belle_sdpParser.c.o -MF src/CMakeFiles/bellesip.dir/grammars/belle_sdpParser.c.o.d -o src/CMakeFiles/bellesip.dir/grammars/belle_sdpParser.c.o -c /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars/belle_sdpParser.c /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars/belle_sdpParser.= c:3696:5: error: use of undeclared identifier '_empty' _empty, _empty, dfa1_T4, dfa1_T8, dfa1_T13, dfa1_T17, dfa1_T10, dfa1_T8= ,=20 ^ /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars/belle_sdpParser.= c:3696:13: error: use of undeclared identifier '_empty' _empty, _empty, dfa1_T4, dfa1_T8, dfa1_T13, dfa1_T17, dfa1_T10, dfa1_T8= ,=20 ^ /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars/belle_sdpParser.= c:4027:5: error: use of undeclared identifier '_empty' _empty, _empty, dfa2_T6, dfa2_T12, dfa2_T11, dfa2_T14, dfa2_T4, dfa2_T1= 2,=20 ^ /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars/belle_sdpParser.= c:4027:13: error: use of undeclared identifier '_empty' _empty, _empty, dfa2_T6, dfa2_T12, dfa2_T11, dfa2_T14, dfa2_T4, dfa2_T1= 2,=20 ^ /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars/belle_sdpParser.= c:4358:14: error: use of undeclared identifier '_empty' dfa3_T8, _empty, _empty, dfa3_T6, dfa3_T0, dfa3_T13, dfa3_T17, dfa3_T11= ,=20 ^ /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars/belle_sdpParser.= c:4358:22: error: use of undeclared identifier '_empty' dfa3_T8, _empty, _empty, dfa3_T6, dfa3_T0, dfa3_T13, dfa3_T17, dfa3_T11, ... a lot of lines with same errors ... Correct build look like: =3D=3D=3D> Building for belle-sip-1.6.3 [ 2% 2/47] cd /tmp/work/usr/ports/net/belle-sip/work/.build/src && /usr/local/bin/java -Xmx384m -jar /tmp/work/usr/ports/net/belle-sip/work/antlr3.jar -make -Xmultithreaded -Xconversiontimeout 10000 -fo /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars /tmp/work/usr/ports/net/belle-sip/work/belle-sip-1.6.3-0/src/grammars/belle= _sdp.g two-threaded DFA conversion two-threaded DFA conversion [ 4% 2/47] cd /tmp/work/usr/ports/net/belle-sip/work/.build/src && /usr/local/bin/java -Xmx384m -jar /tmp/work/usr/ports/net/belle-sip/work/antlr3.jar -make -Xmultithreaded -Xconversiontimeout 10000 -fo /tmp/work/usr/ports/net/belle-sip/work/.build/src/grammars /tmp/work/usr/ports/net/belle-sip/work/belle-sip-1.6.3-0/src/grammars/belle= _sip_message.g two-threaded DFA conversion two-threaded DFA conversion ... cut ... Parts of: diff -u belle_sdpParser.c.bad belle_sdpParser.c.good @@ -3693,7 +3713,7 @@ { dfa1_T18, dfa1_T11, dfa1_T11, dfa1_T9, dfa1_T1, dfa1_T12, dfa1_T5, dfa1_T19,=20 dfa1_T16, dfa1_T1, dfa1_T0, dfa1_T3, dfa1_T7, dfa1_T2, dfa1_T2, dfa1_T= 6,=20 - _empty, _empty, dfa1_T4, dfa1_T8, dfa1_T13, dfa1_T17, dfa1_T10, dfa1_T= 8,=20 + NULL, NULL, dfa1_T4, dfa1_T8, dfa1_T13, dfa1_T17, dfa1_T10, dfa1_T8,=20 dfa1_T8, dfa1_T8, dfa1_T8, dfa1_T8, dfa1_T14, dfa1_T3, dfa1_T3, dfa1_T= 3,=20 dfa1_T15 }; @@ -4024,7 +4064,7 @@ { dfa2_T15, dfa2_T13, dfa2_T13, dfa2_T0, dfa2_T3, dfa2_T7, dfa2_T8, dfa2_T19,=20 dfa2_T18, dfa2_T3, dfa2_T2, dfa2_T1, dfa2_T10, dfa2_T5, dfa2_T5, dfa2_= T9,=20 - _empty, _empty, dfa2_T6, dfa2_T12, dfa2_T11, dfa2_T14, dfa2_T4, dfa2_T= 12,=20 + NULL, NULL, dfa2_T6, dfa2_T12, dfa2_T11, dfa2_T14, dfa2_T4, dfa2_T12,= =20 dfa2_T12, dfa2_T12, dfa2_T12, dfa2_T12, dfa2_T16, dfa2_T1, dfa2_T1,=20 dfa2_T1, dfa2_T17 }; A lot of same differences. BTW, maybe we can update it to 5.0.1? https://gitlab.linphone.org/BC/public/belle-sip/-/blob/master/CHANGELOG.md --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264680-7788>