Bug 256825 - net/kamailio: Fails to link in poudriere: ld: error: undefined symbol: yyparse
Summary: net/kamailio: Fails to link in poudriere: ld: error: undefined symbol: yyparse
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-06-25 09:44 UTC by O. Hartmann
Modified: 2021-06-26 02:18 UTC (History)
1 user (show)

See Also:
dmitry.wagin: maintainer-feedback+


Attachments
kamailio-5.4.5.log (272.97 KB, text/plain)
2021-06-25 14:49 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-06-25 09:44:42 UTC
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---
Comment 1 Dmitry Wagin 2021-06-25 14:49:45 UTC
Created attachment 226051 [details]
kamailio-5.4.5.log

Сompiled fine
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2021-06-26 02:18:42 UTC
@Reporter The issue was unable to be reproduced. If this is still reproducible with an up to date tree, please re-open the issue with additional detail (poudriere build log, make.conf, config.log etc) and minimal steps to reproduce