[Bug 270027] net/kamailio: core/cfg.tab.c:979:16: error: expected expression

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Mar 2023 06:49:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270027

            Bug ID: 270027
           Summary: net/kamailio: core/cfg.tab.c:979:16: error: expected
                    expression
           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

Compiling port net/kamailio via poudriere dies in compilation by the error
shown below.
Environment is a CURRENT host running a poudriere jail 13-STABLE, see
environment below.

[...]
CC (cc) [kamailio]              core/utils/tmrec.o
yacc -d -b core/cfg core/cfg.y
CC (cc) [kamailio]              core/cfg.tab.o
yacc: 6 shift/reduce conflicts.
flex -o core/lex.yy.c core/cfg.lex
CC (cc) [M db_sqlite.so]                db_sqlite.o
CC (cc) [M db_sqlite.so]                dbase.o
core/cfg.tab.c:979:16: error: expected expression
  683,  681,   
               ^
core/cfg.tab.c:979:16: error: expected '}'
core/cfg.tab.c:815:33: note: to match this '{'
static const YYINT yydefred[] = {                         0,
                                ^
core/cfg.tab.c:979:13: error: expected ';' after top level declarator
  683,  681,   
            ^
            ;
3 errors generated.
CC (cc) [L libsrdb1.so.1.0]             db.o
gmake[2]: *** [Makefile.rules:101: core/cfg.tab.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
CC (cc) [L libsrdb1.so.1.0]             db_id.o
[...]


Environment:

[Host]
FreeBSD 14.0-CURRENT #16 main-n261308-7fc82fd1f82: Fri Mar  3 22:49:55 CET 2023


[ poudriere ]
=>> Building net/kamailio
build started at Tue Mar  7 05:49:01 UTC 2023
port directory: /usr/ports/net/kamailio
package name: kamailio-5.6.2_1
building for: FreeBSD some.greater.host.de 13.2-STABLE FreeBSD 13.2-STABLE
1302503 amd64
maintained by: dmitry.wagin@ya.ru
Makefile datestamp: -rw-r--r--  1 root  wheel  5879 Feb  1 19:48
/usr/ports/net/kamailio/Makefile
Ports top last git commit: 9139e71ceb39
Ports top unclean checkout: no
Port dir last git commit: 5b3d2118c412
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1400081
Jail OSVERSION: 1302503
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302503
UNAME_v=FreeBSD 13.2-STABLE 1302503
UNAME_r=13.2-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.20220831
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/01/.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.20220831
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.6.2_1:
     DATABASE=on: Database support
     DIALPLAN=off: String translations based on rules
     DLGS=off: Lightweight, stateless dialog tracking and statistics
     DOCS=on: Build and/or install documentation
     EVAPI=off: Network event broadcast API
     JWT=off: JSON Web Token generation and validation
     KAFKA=off: Produces and sends messages to a Kafka server
     LOST=off: HELD (RFC6155) and LOST (RFC5222) location-based routing
     LWSC=off: Websocket client connector using libwebsockets
     MQTT=off: MQTT connector for bi-directional publish-subscribe
communication
     OUTBOUND=off: SIP Outbound support
     PERL=off: Perl scripting language support
     PHONENUM=off: Phone number lookup and normalization using libphonenumber
     POSOPS=off: Operations using the position in the SIP message buffer
     PRESENCE=on: Presence support
     RADIUS=on: RADIUS protocol support
     SCTP=off: SCTP support
     SECSIPID=off: Secure SIP/Telephony Identity (STIR/SHAKEN) extensions
     SIPREPO=off: In-memory SIP message storage
     SLACK=off: Connector to Slack channels
     SWORKER=off: Tasks management for specialized workers
     TLS=on: Secure network connection support via TLS
     WEBSOCKET=off: WebSocket transport layer
====> Database drivers
     MYSQL=on: MySQL database support
     PGSQL=on: PostgreSQL database support
     SQLITE=on: SQLite 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--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

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