Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Mar 2023 06:49:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270027] net/kamailio: core/cfg.tab.c:979:16: error: expected expression
Message-ID:  <bug-270027-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270027

            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,=20=20=20
               ^
core/cfg.tab.c:979:16: error: expected '}'
core/cfg.tab.c:815:33: note: to match this '{'
static const YYINT yydefred[] =3D {                         0,
                                ^
core/cfg.tab.c:979:13: error: expected ';' after top level declarator
  683,  681,=20=20=20
            ^
            ;
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 ]
=3D>> 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=3D/bin/csh
OSVERSION=3D1302503
UNAME_v=3DFreeBSD 13.2-STABLE 1302503
UNAME_r=3D13.2-STABLE
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
MM_CHARSET=3DUTF-8
LANG=3DC.UTF-8
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
POUDRIERE_NAME=3Dpoudriere-git
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.99.20220831
MAKEOBJDIRPREFIX=3D/pool/sources/13-STABLE/obj/
MASTERMNT=3D/pool/poudriere/data/.m/13-amd64-head-default/ref
LC_COLLATE=3DC
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
OUTPUT_REDIRECTED_STDERR=3D4
OUTPUT_REDIRECTED=3D1
PWD=3D/pool/poudriere/data/.m/13-amd64-head-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3D3
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3D13-amd64-head-default
SCRIPTPREFIX=3D/usr/local/share/poudriere
SCRIPTNAME=3Dbulk.sh
OLDPWD=3D/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=3Dpoudriere-git-3.3.99.20220831
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for kamailio-5=
.6.2_1:
     DATABASE=3Don: Database support
     DIALPLAN=3Doff: String translations based on rules
     DLGS=3Doff: Lightweight, stateless dialog tracking and statistics
     DOCS=3Don: Build and/or install documentation
     EVAPI=3Doff: Network event broadcast API
     JWT=3Doff: JSON Web Token generation and validation
     KAFKA=3Doff: Produces and sends messages to a Kafka server
     LOST=3Doff: HELD (RFC6155) and LOST (RFC5222) location-based routing
     LWSC=3Doff: Websocket client connector using libwebsockets
     MQTT=3Doff: MQTT connector for bi-directional publish-subscribe
communication
     OUTBOUND=3Doff: SIP Outbound support
     PERL=3Doff: Perl scripting language support
     PHONENUM=3Doff: Phone number lookup and normalization using libphonenu=
mber
     POSOPS=3Doff: Operations using the position in the SIP message buffer
     PRESENCE=3Don: Presence support
     RADIUS=3Don: RADIUS protocol support
     SCTP=3Doff: SCTP support
     SECSIPID=3Doff: Secure SIP/Telephony Identity (STIR/SHAKEN) extensions
     SIPREPO=3Doff: In-memory SIP message storage
     SLACK=3Doff: Connector to Slack channels
     SWORKER=3Doff: Tasks management for specialized workers
     TLS=3Don: Secure network connection support via TLS
     WEBSOCKET=3Doff: WebSocket transport layer
=3D=3D=3D=3D> Database drivers
     MYSQL=3Don: MySQL database support
     PGSQL=3Don: PostgreSQL database support
     SQLITE=3Don: SQLite database support
     UNIXODBC=3Doff: ODBC backend via unixODBC
=3D=3D=3D=3D> Kamailio Embedded Interface Interpreters
     LUAJIT=3Doff: Execute embedded Lua scripts
     PYTHON3=3Doff: Execute embedded Python3 scripts
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--=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-270027-7788>