[Bug 260009] net/kamailio: build failure : core/cfg.tab.c:972:16: error: expected '}'

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 Nov 2021 07:43:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260009

            Bug ID: 260009
           Summary: net/kamailio: build failure : core/cfg.tab.c:972:16:
                    error: expected '}'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
                CC: dmitry.wagin@ya.ru
             Flags: maintainer-feedback?(dmitry.wagin@ya.ru)
                CC: dmitry.wagin@ya.ru

Port net/kamailio is failing to build, also in recent poudriere enviuronment,
as the error shown below  indicates:

=>> Building net/kamailio
build started at Wed Nov 24 01:28:07 UTC 2021
port directory: /usr/ports/net/kamailio
package name: kamailio-5.4.5
building for: FreeBSD poudriere.xxx.xxx.de 13.0-STABLE FreeBSD 13.0-STABLE
1300521 amd64
maintained by: dmitry.wagin@ya.ru
Makefile datestamp: -rw-r--r--  1 root  wheel  4186 Aug 16 05:13
/usr/ports/net/kamailio/Makefile
Ports top last git commit: 0d013e255161
Ports top unclean checkout: no
Port dir last git commit: 3db4ee32c389
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20211017_2
Host OSVERSION: 1400042
Jail OSVERSION: 1300521
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300521
UNAME_v=FreeBSD 13.0-STABLE 1300521
UNAME_r=13.0-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20211017_2
MAKEOBJDIRPREFIX=/pool/sources/13-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/13-amd64-head-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/pool/poudriere/data/.m/13-amd64-head-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.99.20211017_2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for kamailio-5.4.5:
     DATABASE=on: Database support
     DIALPLAN=off: String translations based on rules
     DOCS=on: Build and/or install documentation
     KEMIX=off: Core KEMI Functions
     PERL=off: Perl scripting language support
     PRESENCE=on: Presence support
     RADIUS=on: RADIUS protocol support
     SCTP=on: SCTP support
     TLS=on: Secure network connection support via TLS
     WEBSOCKET=off: Websocket support
====> Database drivers
     MYSQL=on: MySQL database support
     PGSQL=on: PostgreSQL database support
     UNIXODBC=off: ODBC backend via unixODBC
====> Kamailio Embedded Interface Interpreters
     LUAJIT=off: Execute embedded Lua scripts
     PYTHON3=off: Execute embedded Python3 scripts
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
dmitry.wagin@ya.ru
--End MAINTAINER--

[...]
CC (cc) [kamailio]              core/utils/sruid.o
yacc -d -b core/cfg core/cfg.y
yacc: 6 shift/reduce conflicts.
CC (cc) [kamailio]              core/cfg.tab.o
flex -o core/lex.yy.c core/cfg.lex
CC (cc) [kamailio]              core/lex.yy.o
CC (cc) [M sctp.so]             sctp_mod.o
core/cfg.tab.c:972:16: error: expected '}'
  485,  488, 14
               ^
core/cfg.tab.c:962:32: note: to match this '{'
static const YYINT yydgoto[] = {                        199,
                               ^
core/cfg.tab.c:972:16: error: expected ';' after top level declarator
  485,  488, 14
               ^
               ;
2 errors generated.
gmake[2]: *** [Makefile.rules:100: core/cfg.tab.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....

-- 
You are receiving this mail because:
You are the assignee for the bug.