pkgsrc-Users archive

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

bootstrap failure in current (Linux/i386)



Hi, upgraded to pkgsrc-current yesterday, but the bootstrap fails
(Linux/i386). The error is related to libarchive (when building
pkg_install) and acl. pkgsrc-2008Qx works fine.

Tested on 20090228 tar snapshot, and CVS from today.

Error:
gcc -DHAVE_CONFIG_H -DOPSYS_NAME=\"Linux\" -DMACHINE_ARCH=\"i386\"
-DBINDIR=\"/usr/local/sbin\" -D_LARGEFILE_SOURCE -D_LARGE_FILES
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
-DHAVE_NBCOMPAT_H=1
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat
-I/usr/include -I. -I. -I../lib -Wno-error -I/usr/include -c main.c
gcc -DHAVE_CONFIG_H -DOPSYS_NAME=\"Linux\" -DMACHINE_ARCH=\"i386\"
-DBINDIR=\"/usr/local/sbin\" -D_LARGEFILE_SOURCE -D_LARGE_FILES
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
-DHAVE_NBCOMPAT_H=1
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat
-I/usr/include -I. -I. -I../lib -Wno-error -I/usr/include -c perform.c
gcc -L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/.libs
-L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
-L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat
-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/local/lib -L../lib -o pkg_add
main.o perform.o -linstall -lfetch -larchive -lbz2 -lz -lcrypto -ldb
-lnbcompat
/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/.libs/libarchive.a(archive_write_disk.o):
In function `set_acl':
archive_write_disk.c:(.text+0x2dca): undefined reference to `acl_init'
archive_write_disk.c:(.text+0x2de5): undefined reference to `acl_create_entry'
archive_write_disk.c:(.text+0x2e17): undefined reference to `acl_set_tag_type'
archive_write_disk.c:(.text+0x2e4c): undefined reference to `acl_set_qualifier'
archive_write_disk.c:(.text+0x2e62): undefined reference to `acl_set_tag_type'
archive_write_disk.c:(.text+0x2e97): undefined reference to `acl_set_qualifier'
archive_write_disk.c:(.text+0x2eaa): undefined reference to `acl_set_tag_type'
archive_write_disk.c:(.text+0x2ebd): undefined reference to `acl_set_tag_type'
archive_write_disk.c:(.text+0x2ed0): undefined reference to `acl_set_tag_type'
archive_write_disk.c:(.text+0x2ee3): undefined reference to `acl_set_tag_type'
archive_write_disk.c:(.text+0x2ef6): undefined reference to `acl_get_permset'
archive_write_disk.c:(.text+0x2f05): undefined reference to `acl_clear_perms'
archive_write_disk.c:(.text+0x2f20): undefined reference to `acl_add_perm'
archive_write_disk.c:(.text+0x2f3b): undefined reference to `acl_add_perm'
archive_write_disk.c:(.text+0x2f56): undefined reference to `acl_add_perm'
archive_write_disk.c:(.text+0x2fb5): undefined reference to `acl_set_fd'
archive_write_disk.c:(.text+0x2fd7): undefined reference to `acl_set_file'
archive_write_disk.c:(.text+0x300d): undefined reference to `acl_free'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in
/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/pkg_install-20090302/add
*** Error code 1

Complete logs:
http://dracolinux.org/pub/pkgsrc-current/pkgsrc-bootstrap-20090304.log
http://dracolinux.org/pub/pkgsrc-current/pkgsrc-bootstrap-20090228.log

Known issue?

Ole Andre Rodlie


Home | Main Index | Thread Index | Old Index