pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38069: bootstrap --unprivilaged failed on Linux because of undefined symbol in tnftp



>Number:         38069
>Category:       pkg
>Synopsis:       bootstrap --unprivilaged failed on Linux because of undefined 
>symbol in tnftp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 19 21:35:00 +0000 2008
>Originator:     BAKAITO
>Release:        
>Organization:
>Environment:
Linux urotandar 2.6.24-amd64 #1 SMP Thu Feb 15 23:43:59 UTC 2008 x86_64 
GNU/Linux
>Description:
% ./bootstrap --unprivileged
===> bootstrap command: ./bootstrap --unprivileged
===> bootstrap started: Wed Feb 20 04:09:29 JST 2008
Working directory is: /home/bakaito/pkgsrc/bootstrap/work
===> running: /bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0755'|' 
/home/bakaito/pkgsrc/sysutils
/install-sh/files/install-sh.in > 
/home/bakaito/pkgsrc/bootstrap/work/bin/install-sh
===> running: /bin/chmod +x /home/bakaito/pkgsrc/bootstrap/work/bin/install-sh
===> building as unprivileged user bakaito/bakaito
===> Building libnbcompat
===> running: /bin/sh /home/bakaito/pkgsrc/bootstrap/work/bin/install-sh -d -o 
bakaito -g
bakaito /home/bakaito/pkgsrc/bootstrap/work/libnbcompat
===> running: (cd /home/bakaito/pkgsrc/bootstrap/work/libnbcompat; /bin/sh 
./configure  -C
 --prefix=/home/bakaito/pkg --mandir=/home/bakaito/pkg/man 
--sysconfdir=/home/bakaito/pkg/
etc && make )
(snip)
=> Registering installation for bmake-20051105nb4
bmake-20051105nb4 requires installed package bootstrap-mk-files-20080211
===> running: (cd /home/bakaito/pkgsrc/pkgtools/tnftp && 
/home/bakaito/pkgsrc/bootstrap/work/bin/bmake  -DPKG_PRESERVE 
MAKECONF=/home/bakaito/pkgsrc/bootstrap/work/mk.conf install)
/bin/sh: /home/bakaito/pkg/sbin/audit-packages: No such file or directory
===> Skipping vulnerability checks.
WARNING: No /pkg-vulnerabilities file found.
WARNING: To fix run: `/home/bakaito/pkg/sbin/download-vulnerability-list'.
===> Installing dependencies for tnftp-20070806
===> Overriding tools for tnftp-20070806
===> Extracting for tnftp-20070806
===> Patching for tnftp-20070806
===> Creating toolchain wrappers for tnftp-20070806
===> Configuring for tnftp-20070806
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-debian-linux-gnu
checking target system type... x86_64-debian-linux-gnu
checking whether make sets $(MAKE)... yes
checking for x86_64-debian-linux-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gawk... /usr/bin/awk
checking for a BSD-compatible install... /usr/bin/install -c -o bakaito -g 
bakaito
checking for x86_64-debian-linux-ar... no
checking for ar... ar
checking for x86_64-debian-linux-ranlib... no
checking for ranlib... ranlib
checking for library containing tgetent... -ltermcap
checking for library containing el_init... -ledit
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing SOCKSinit... no
checking for sys/types.h... yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/stat.h... yes
checking for sys/socket.h... yes
checking for sys/syslimits.h... no
checking for sys/time.h... yes
checking for sys/wait.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking whether stat file-mode macros are broken... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking for arpa/ftp.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... (cached) yes
checking for err.h... yes
checking for fcntl.h... yes
checking for libgen.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for netinet/in.h... (cached) yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for paths.h... yes
checking for poll.h... yes
checking for pwd.h... yes
checking for sys/poll.h... yes
checking for regex.h... yes
checking for setjmp.h... yes
checking for signal.h... yes
checking for stddef.h... yes
checking for termcap.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for vis.h... no
checking whether AI_NUMERICHOST is declared... yes
checking whether dirname is declared... yes
checking whether fclose is declared... yes
checking whether getpass is declared... yes
checking whether h_errno is declared... yes
checking whether pclose is declared... yes
checking whether optarg is declared... yes
checking whether optind is declared... yes
checking for long double... yes
checking for long long int... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for uint32_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct dirent.d_namlen... no
checking for in_port_t... yes
checking for sa_family_t... yes
checking for socklen_t... yes
checking for struct addrinfo... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether AF_INET6 is declared... yes
checking whether NS_IN6ADDRSZ is declared... yes
checking for struct sockaddr_in6... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether closedir returns void... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for working strcoll... yes
checking for dirname... yes
checking for err... yes
checking for fgetln... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for mkstemp... yes
checking for setprogname... no
checking for sl_init... no
checking for snprintf... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strptime... yes
checking for strsep... yes
checking for strunvis... yes
checking for strvis... yes
checking for timegm... yes
checking for usleep... yes
checking for utimes... yes
checking for getcwd... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostbyname2... yes
checking for gethostname... yes
checking for getpass... yes
checking for getpassphrase... no
checking for getpgrp... yes
checking for gettimeofday... yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for realpath... yes
checking for regcomp... yes
checking for select... yes
checking for setlocale... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for utime... yes
checking whether getpgrp requires zero arguments... yes
checking whether strptime is declared... no
checking *printf() support for %lld... yes
checking if *printf() can print long long ints... yes
checking for strtoll... yes
checking for struct pollfd... yes
checking for poll... yes
checking whether _POLL_EMUL_H_ is declared... no
checking for up-to-date libedit... no - using my own
checking for working getaddrinfo()... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libedit/Makefile
config.status: creating libedit/makelist
config.status: creating libnetbsd/Makefile
config.status: creating src/Makefile
config.status: creating config.h
===> Building for tnftp-20070806
( cd libedit; /home/bakaito/pkgsrc/bootstrap/work/bin/bmake )
sh makelist -h ./common.c > common.h
sh makelist -h ./emacs.c > emacs.h
sh makelist -h ./vi.c > vi.h
sh makelist -fh vi.h emacs.h common.h > fcns.h
sh makelist -fc vi.h emacs.h common.h > fcns.c
sh makelist -bc ./vi.c ./emacs.c ./common.c > help.c
sh makelist -bh ./vi.c ./emacs.c ./common.c > help.h
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c chared.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c common.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c el.c
el.c: In function 'el_source':
el.c:449: warning: assignment makes pointer from integer without a cast
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c emacs.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c fcns.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c help.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c hist.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c key.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c map.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c parse.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c prompt.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c read.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c refresh.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c search.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c sig.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c term.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c tty.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c vi.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c tokenizer.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c history.c
history.c: In function 'history_load':
history.c:650: warning: assignment makes pointer from integer without a cast
history.c:659: warning: assignment makes pointer from integer without a cast
ar cr libedit.a chared.o common.o el.o emacs.o fcns.o help.o hist.o key.o map.o 
parse.o prompt.o read.o refresh.o search.o sig.o term.o tty.o vi.o tokenizer.o 
history.o
ranlib libedit.a
( cd libnetbsd; /home/bakaito/pkgsrc/bootstrap/work/bin/bmake )
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c setprogname.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c sl_init.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c glob.c
ar cr libnetbsd.a setprogname.o sl_init.o glob.o
ranlib libnetbsd.a
( cd src; /home/bakaito/pkgsrc/bootstrap/work/bin/bmake )
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c cmds.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c cmdtab.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c complete.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c domacro.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c fetch.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c ftp.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c main.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c progressbar.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c ruserpass.c
gcc -O2 -Wno-format -fno-builtin -I. -I./.. -I. -I.. -I./../libedit  
-I./../libnetbsd -c util.c
gcc -O2 -Wno-format -fno-builtin -L../libedit -Wl,-R/home/bakaito/pkg/lib 
-L../libnetbsd -o ftp cmds.o cmdtab.o complete.o domacro.o fetch.o ftp.o main.o 
progressbar.o ruserpass.o util.o -ledit -ledit -ltermcap  -lnetbsd
cmds.o: In function `setgate':
cmds.c:(.text+0xf6a): undefined reference to `strlcpy'
cmds.o: In function `page':
cmds.c:(.text+0x1148): undefined reference to `strlcpy'
cmds.o: In function `lpage':
cmds.c:(.text+0x12c8): undefined reference to `strlcpy'
cmds.c:(.text+0x12da): undefined reference to `strlcat'
cmds.c:(.text+0x12ea): undefined reference to `strlcat'
cmds.o: In function `setntrans':
cmds.c:(.text+0x1557): undefined reference to `strlcpy'
cmds.o: In function `setnmap':
cmds.c:(.text+0x1f21): undefined reference to `strlcpy'
cmds.c:(.text+0x1f3e): undefined reference to `strlcpy'
cmds.o: In function `quote1':
cmds.c:(.text+0x2863): undefined reference to `strlcpy'
cmds.c:(.text+0x289b): undefined reference to `strlcat'
cmds.c:(.text+0x28bb): undefined reference to `strlcat'
cmds.o: In function `shell':
cmds.c:(.text+0x2db1): undefined reference to `strlcpy'
cmds.o: In function `settype':
cmds.c:(.text+0x2f32): undefined reference to `strlcpy'
cmds.o: In function `ls':
cmds.c:(.text+0x3391): undefined reference to `strlcpy'
cmds.o: In function `macdef':
cmds.c:(.text+0x543f): undefined reference to `strlcpy'
cmds.o: In function `setntrans':
cmds.c:(.text+0x15bf): undefined reference to `strlcpy'
complete.o:complete.c:(.text+0x2ff): more undefined references to `strlcpy' 
follow
complete.o: In function `complete':
complete.c:(.text+0x8dc): undefined reference to `strlcat'
complete.c:(.text+0x8f2): undefined reference to `strlcat'
complete.c:(.text+0x9c9): undefined reference to `strlcpy'
complete.c:(.text+0xb90): undefined reference to `strlcpy'
domacro.o: In function `domacro':
domacro.c:(.text+0xca): undefined reference to `strlcpy'
domacro.c:(.text+0x219): undefined reference to `strlcpy'
domacro.c:(.text+0x2d0): undefined reference to `strlcpy'
domacro.o:domacro.c:(.text+0x353): more undefined references to `strlcpy' follow
fetch.o: In function `fetch_ftp':
fetch.c:(.text+0x1056): undefined reference to `strlcat'
fetch.c:(.text+0x106a): undefined reference to `strlcat'
fetch.o: In function `fetch_url':
fetch.c:(.text+0x1963): undefined reference to `strlcpy'
fetch.c:(.text+0x2b4f): undefined reference to `strlcpy'
fetch.c:(.text+0x2b87): undefined reference to `strlcpy'
fetch.c:(.text+0x2bea): undefined reference to `strlcpy'
fetch.c:(.text+0x2bfe): undefined reference to `strlcat'
fetch.c:(.text+0x2c12): undefined reference to `strlcat'
fetch.c:(.text+0x2c66): undefined reference to `strlcpy'
fetch.c:(.text+0x2c7d): undefined reference to `strlcat'
fetch.c:(.text+0x392d): undefined reference to `strlcpy'
fetch.c:(.text+0x3941): undefined reference to `strlcat'
fetch.c:(.text+0x3953): undefined reference to `strlcat'
fetch.o: In function `auto_put':
fetch.c:(.text+0x3f9f): undefined reference to `strlcpy'
fetch.c:(.text+0x3fb3): undefined reference to `strlcat'
fetch.o: In function `aborthttp':
fetch.c:(.text+0x4188): undefined reference to `strlcpy'
ftp.o: In function `abort_squared':
ftp.c:(.text+0x198): undefined reference to `strlcpy'
ftp.o: In function `gunique':
ftp.c:(.text+0x2a0): undefined reference to `strlcpy'
ftp.o: In function `pswitch':
ftp.c:(.text+0x408): undefined reference to `strlcpy'
ftp.c:(.text+0x5bb): undefined reference to `strlcpy'
ftp.o:ftp.c:(.text+0x5d3): more undefined references to `strlcpy' follow
ftp.o: In function `abortxfer':
ftp.c:(.text+0xd14): undefined reference to `strlcat'
ftp.c:(.text+0xd53): undefined reference to `strlcpy'
ftp.o: In function `getreply':
ftp.c:(.text+0x1276): undefined reference to `strlcpy'
ftp.o: In function `hookup':
ftp.c:(.text+0x403a): undefined reference to `strlcpy'
ftp.c:(.text+0x4128): undefined reference to `strlcpy'
ftp.c:(.text+0x42f1): undefined reference to `strlcpy'
main.o:main.c:(.text+0xdfb): more undefined references to `strlcpy' follow
main.o: In function `main':
main.c:(.text+0x16f5): undefined reference to `strlcat'
main.c:(.text+0x1735): undefined reference to `strlcpy'
main.c:(.text+0x1747): undefined reference to `strlcat'
util.o: In function `ftp_connect':
util.c:(.text+0xa88): undefined reference to `strlcpy'
util.c:(.text+0xca7): undefined reference to `strlcpy'
util.o: In function `fileindir':
util.c:(.text+0x116f): undefined reference to `strlcpy'
util.o: In function `getremoteinfo':
util.c:(.text+0x16bd): undefined reference to `strlcpy'
util.o: In function `remglob':
util.c:(.text+0x2007): undefined reference to `strlcpy'
util.c:(.text+0x2024): undefined reference to `strlcat'
util.c:(.text+0x2038): undefined reference to `strlcat'
util.o: In function `ftp_login':
util.c:(.text+0x263e): undefined reference to `strlcpy'
util.c:(.text+0x2650): undefined reference to `strlcat'
util.c:(.text+0x2660): undefined reference to `strlcat'
util.c:(.text+0x2692): undefined reference to `strlcpy'
util.o: In function `setpeer':
util.c:(.text+0x2ba9): undefined reference to `strlcpy'
util.c:(.text+0x2bd3): undefined reference to `strlcpy'
util.c:(.text+0x2bf3): undefined reference to `strlcpy'
util.c:(.text+0x2c13): undefined reference to `strlcpy'
util.o:util.c:(.text+0x2c33): more undefined references to `strlcpy' follow
../libedit/libedit.a(el.o): In function `el_source':
el.c:(.text+0x2cc): undefined reference to `fgetln'
el.c:(.text+0x360): undefined reference to `strlcpy'
el.c:(.text+0x37b): undefined reference to `strlcat'
../libedit/libedit.a(hist.o): In function `hist_get':
hist.c:(.text+0x494): undefined reference to `strlcpy'
../libedit/libedit.a(history.o): In function `history':
history.c:(.text+0x5fa): undefined reference to `strvis'
history.c:(.text+0x691): undefined reference to `fgetln'
history.c:(.text+0xebe): undefined reference to `strunvis'
history.c:(.text+0xef6): undefined reference to `fgetln'
../libedit/libedit.a(history.o): In function `history_def_add':
history.c:(.text+0x1147): undefined reference to `strlcpy'
history.c:(.text+0x1157): undefined reference to `strlcat'
../libnetbsd/libnetbsd.a(glob.o): In function `glob2':
glob.c:(.text+0x5ef): undefined reference to `strlcpy'
collect2: ld returned 1 exit status
*** Error code 1


Stop.
bmake: stopped in 
/home/bakaito/pkgsrc/bootstrap/work/wrk/pkgtools/tnftp/work/tnftp-20070806/src
*** Error code 1


Stop.
bmake: stopped in 
/home/bakaito/pkgsrc/bootstrap/work/wrk/pkgtools/tnftp/work/tnftp-20070806
*** Error code 1


Stop.
bmake: stopped in /home/bakaito/pkgsrc/pkgtools/tnftp
*** Error code 1


Stop.
bmake: stopped in /home/bakaito/pkgsrc/pkgtools/tnftp
===> exited with status 1

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index