pkgsrc-Bugs archive

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

pkg/42142: bootstrap-pkgsrc fails on OSF1 alpha



>Number:         42142
>Category:       pkg
>Synopsis:       bootstrap-pkgsrc fails on OSF1 alpha
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 30 18:20:00 +0000 2009
>Originator:     Robert Dörfler
>Release:        OSF1 V5.1 2650 alpha
>Organization:
>Environment:
OSF1 coolidge.zOffice V5.1 2650 alpha
>Description:
Bootstrap of pkgsrc (2009Q2/current) fails with:

-- native cc (Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650))
-- gcc version 4.2.3 mentioned in pkgsrc/bootstrap/README.OSF1 --> 
   ftp.netbsd.org/pub/pkgsrc/misc/tnn/gcc-4.2.3-osf1-5.1b.tar.gz


results for cc:

 cc -L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/bzip2 
-L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/zlib 
-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,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib -L../lib -o pkg_info 
main.o perform.o show.o -linstall -larchive -lfetch -lbz2 -lz -lnbcompat 
-lcrypto

ld:
/usr/lib/libcrypto.a(sha256.o): SHA256_Init: multiply defined
/usr/lib/libcrypto.a(sha256.o): SHA256_Update: multiply defined
/usr/lib/libcrypto.a(sha256.o): SHA256_Final: multiply defined
/usr/lib/libcrypto.a(sha256.o): SHA256_Transform: multiply defined
 
*** Error code 1

Stop.

bmake: stopped in 
/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/pkg_install-20090911/info






results for gcc 4.2.3:


/usr/local/gcc4/bin/gcc -O2 -I. -I/usr/pkgsrc/bootstrap/work/bmake 
-DHAVE_CONFIG_H  -I/usr/pkgsrc/bootstrap/work/bmake/missing   
-D_PATH_DEFSYSPATH=\"/usr/pkgsrc/bootstrap/work/share/mk\" 
"-DMACHINE=\"alpha\"" "-DMACHINE_ARCH=\"alpha\"" -o main.o -c 
/usr/pkgsrc/bootstrap/work/bmake/main.c
inst emulated pid=335442 <cc1> va=0x14009ebc1 pc=0x1204d14fc inst=0x28410000
/usr/pkgsrc/bootstrap/work/bmake/main.c: In function 'Error':
/usr/pkgsrc/bootstrap/work/bmake/main.c:1678: error: incompatible type for 
argument 1 of '__builtin_va_start'
/usr/pkgsrc/bootstrap/work/bmake/main.c:1678: error: 'va_start' used with too 
many arguments
/usr/pkgsrc/bootstrap/work/bmake/main.c: In function 'Fatal':
/usr/pkgsrc/bootstrap/work/bmake/main.c:1707: error: incompatible type for 
argument 1 of '__builtin_va_start'
/usr/pkgsrc/bootstrap/work/bmake/main.c:1707: error: 'va_start' used with too 
many arguments
/usr/pkgsrc/bootstrap/work/bmake/main.c: In function 'Punt':
/usr/pkgsrc/bootstrap/work/bmake/main.c:1741: error: incompatible type for 
argument 1 of '__builtin_va_start'
/usr/pkgsrc/bootstrap/work/bmake/main.c:1741: error: 'va_start' used with too 
many arguments
*** Exit 1
Stop.
===> exited with status 1
aborted.
#







>How-To-Repeat:

# env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc

or

# env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc



>Fix:



Home | Main Index | Thread Index | Old Index