pkgsrc-Bugs archive

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

pkg/38377: pkgsrc-2008Q1 does not work with 4.0-stable (assumes libarchive is present)



        Note: There was a bad value `' for the field `Class'.
        It was set to the default value of `sw-bug'.

>Number:         38377
>Category:       pkg
>Synopsis:       libnbcompat in pkgsrc-2008Q1 assumes libarchive on netbsd-4.0 
>stable (that doesn't exist)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 06 21:05:00 +0000 2008
>Originator:     H. Todd Fujinaka
>Release:        NetBSD 4.0_STABLE
>Organization:
None
>Environment:
        
        
System: NetBSD kerry.i8u.org 4.0_STABLE NetBSD 4.0_STABLE (KERRY) #1032: Sun 
Mar 30 13:05:46 PDT 2008 
htodd%kerry.i8u.org@localhost:/var/obj/sys/arch/i386/compile.i386/KERRY i386
Architecture: i386
Machine: i386
>Description:
libnbcompat in pkgsrc-2008Q1 assumes libarchive on netbsd-4.0 stable (that 
doesn't exist)
        
>How-To-Repeat:
try to build any of the pkgtools in pkgsrc-2008Q1 with netbsd-4 and it will try 
to build libnbcompat which appears to need libarchive

cc -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 
-DDEF_UMASK=0022 -DHAVE_NBCOMPAT_H=1 
-I/var/obj/pkg/pkgtools/pkg_install/work.i386/libnbcompat -I. -I. -I../lib -O2 
-c build.c
cc -L/var/obj/pkg/pkgtools/pkg_install/work.i386/libnbcompat -Wl,-R/usr/pkg/lib 
-L../lib -o pkg_create main.o perform.o pl.o util.o build.o -linstall -larchive 
-lbz2 -lz -ltermcap -lnbcompat
ld: cannot find -larchive
*** Error code 1

Stop.
make: stopped in 
/var/obj/pkg/pkgtools/pkg_install/work.i386/pkg_install-20080313/create
*** Error code 1


if you revert you get:
cc -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/var/db/pkg\" -DTAR_CMD=\"/bin/tar\" 
-DFTP_CMD=\"/usr/bin/ftp\" -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -DHAVE_NBCOMPAT_H=1 
-I/var/obj/pkg/pkgtools/pkg_install/work.i386/libnbcompat -I. -I. -O2 -c 
vulnerabilities-file.c
vulnerabilities-file.c: In function 'sha1_hash_finish':
vulnerabilities-file.c:158: error: 'SHA1_DIGEST_STRING_LENGTH' undeclared 
(first use in this function)
vulnerabilities-file.c:158: error: (Each undeclared identifier is reported only 
once
vulnerabilities-file.c:158: error: for each function it appears in.)
*** Error code 1

Stop.

        
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index