[Bug 256825] net/kamailio: [poudriere] ld: error: undefined symbol: yyparse

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Jun 2021 09:44:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256825

            Bug ID: 256825
           Summary: net/kamailio: [poudriere] ld: error: undefined symbol:
                    yyparse
           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

Running jail 13-stable on CURRENT host (see below) building ports via
poudriere, compiling port net/kamailio fails with a linker error as shown
below:

[...]
LD (cc) [kamailio]              kamailio
ld: error: undefined symbol: yyparse
>>> referenced by main.c:2380
>>>               main.o:(main)

ld: error: undefined symbol: yylval
>>> referenced by cfg.lex:570 (core/cfg.lex:570)
>>>               core/lex.yy.o:(yylex)
>>> referenced by cfg.lex:571 (core/cfg.lex:571)
>>>               core/lex.yy.o:(yylex)
>>> referenced by cfg.lex:572 (core/cfg.lex:572)
>>>               core/lex.yy.o:(yylex)
>>> referenced 301 more times
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile.rules:191: kamailio] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[...]





[... OPTIONS in poudriere ...]
=>> Building net/kamailio
build started at Thu Jun 24 05:28:03 UTC 2021
port directory: /usr/ports/net/kamailio
package name: kamailio-5.4.5
building for: FreeBSD my.host.gdr.dr 13.0-STABLE FreeBSD 13.0-STABLE 1300509
amd64
maintained by: dmitry.wagin@ya.ru
Makefile ident: 
Poudriere version: 3.3.6
Host OSVERSION: 1400024
Jail OSVERSION: 1300509
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300509
UNAME_v=FreeBSD 13.0-STABLE 1300509
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
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.6
MAKEOBJDIRPREFIX=/pool/sources/13-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/13-amd64-head-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p
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=on: String translations based on rules
     DOCS=on: Build and/or install documentation
     KEMIX=on: 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=on: Execute embedded Lua scripts
     PYTHON3=on: Execute embedded Python3 scripts
===> Use 'make config' to modify these settings
---End OPTIONS List---

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