[PC-BSD Testing] 9.0beta1.5 amd64: pbi_makeport fails to build chroot / portjail fails to init

Kris Moore kris at pcbsd.org
Thu Sep 8 07:26:37 PDT 2011


On 09/02/11 18:29, Florian Ermisch wrote:
> Hi there,
>
> like the subject states pbi_makeport fails to build it's chroot:
> [root at fc61] /# env LC_ALL=C pbi_makeport net-im/gajim
> Building the PBI chroot environment... This may take a while...
> Checking out FreeBSD sources from svn://svn.freebsd.org/base/releng/9.0
> pbi_makeport: Subversion checkout failed! Logfile saved:
> /usr/pbi/.buildWorldLog
> [root at fc61] /# cat /usr/pbi/.buildWorldLog
>
> svn: URL 'svn://svn.freebsd.org/base/releng/9.0' doesn't exist
> [root at fc61] /#
>
> This one is probably easy to fix for someone using PC/FreeBSD longer
> than a few weeks. I guess svn simply needs to be directed to the
> correct URL.
>
> ...and "portjail init" fails after a few hours of compiling:
> [...]
> ===> lib/clang/include (all)
> ===> libexec (all)
> ===> libexec/atrun (all)
> cc -O2 -pipe  -DATJOB_DIR=\"/var/at/jobs/\"
> -DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
> -DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
> -DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
> -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
> -I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99
> -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
> -Wno-uninitialized -Wno-pointer-sign -c /usr/src/libexec/atrun/atrun.c
> cc -O2 -pipe  -DATJOB_DIR=\"/var/at/jobs/\"
> -DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
> -DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
> -DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
> -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
> -I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99
> -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
> -Wno-uninitialized -Wno-pointer-sign -c /usr/src/libexec/atrun/gloadavg.c
> cc -O2 -pipe  -DATJOB_DIR=\"/var/at/jobs/\"
> -DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
> -DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
> -DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
> -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
> -I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99
> -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
> -Wno-uninitialized -Wno-pointer-sign  -o atrun atrun.o gloadavg.o
> -lpam -lutil
> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylex'
> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyin'
> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyytext'
> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyerror'
> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to
> `_nsyylineno'
> *** Error code 1
>
> Stop in /usr/src/libexec/atrun.
> *** Error code 1
>
> Stop in /usr/src/libexec.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> Error: The portjail build failed! Please check your sources and try
> again.
> [root at fc61] ~#
>
> Some messed up linking?
>
> Regards, Florian
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing

This is a bug in the FreeBSD kernel that is included in BETA 1.5. If you
svn update and rebuild your kernel and reboot, this problem will go away.


-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Testing mailing list