Bug 260009 - net/kamailio: build failure : core/cfg.tab.c:972:16: error: expected '}'
Summary: net/kamailio: build failure : core/cfg.tab.c:972:16: error: expected '}'
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-24 07:43 UTC by O. Hartmann
Modified: 2021-12-21 06:25 UTC (History)
1 user (show)

See Also:
dmitry.wagin: maintainer-feedback+


Attachments
kamailio-5.4.5.log (3.40 KB, text/plain)
2021-11-27 18:29 UTC, Dmitry Wagin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2021-11-24 07:43:34 UTC
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....
Comment 1 Dmitry Wagin 2021-11-27 18:29:47 UTC
Created attachment 229759 [details]
kamailio-5.4.5.log

In the near future I will update and check again.
Comment 2 Dmitry Wagin 2021-12-21 06:25:34 UTC
Updated my build environment, the problem is not reproducible.