pkgsrc-Bugs archive

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

pkg/38383: pkg_install-20080402 fails to buid on IRIX



>Number:         38383
>Category:       pkg
>Synopsis:       pkg_install-20080402 fails to buid on IRIX
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 07 18:55:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 fuel 6.5 07202013 IP35; IRIX 6.5.30; MIPSpro Compilers Version 7.4.4m
>Description:

WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package 
Makefile.
===> build-message [pkg_install-20080402] ===> Building for pkg_install-20080402
<...>
ar crv libinstall.a automatic.o conflicts.o decompress.o dewey.o fexec.o file.o 
 ftpio.o global.o iterate.o lpkg.o opattern.o  path.o pen.o pexec.o pkgdb.o 
plist.o  str.o var.o version.o vulnerabilities-file.o pkg_io.o
a - automatic.o
a - conflicts.o
a - decompress.o
a - dewey.o
a - fexec.o
a - file.o
a - ftpio.o
a - global.o
a - iterate.o
a - lpkg.o
a - opattern.o
a - path.o
a - pen.o
a - pexec.o
a - pkgdb.o
a - plist.o
a - str.o
a - var.o
a - version.o
a - vulnerabilities-file.o
a - pkg_io.o
: libinstall.a
<...>
cc 
-Wl,-v,-s,-x,-n32,-mips4,-rdata_shared,-allow_jump_at_eop,-rpath,/usr/bsd/lib 
-L/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-L/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/.libs 
-L/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch 
-L/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat -n32 
-Wl,-rpath,/usr/bsd/lib -L../lib -o pkg_admin audit.o check.o config.o main.o 
-linstall -lbz2 -lfetch -lz -ltermcap -ldb -lnbcompat
ld32: Trying to open 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2/libfetch.so...
ld32: Trying to open 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2/libfetch.a...
ld32: Trying to open 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/.libs/libfetch.so...
ld32: Trying to open 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/.libs/libfetch.a...
ld32: Trying to open 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch/libfetch.so...
ld32: Trying to open 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch/libfetch.a...
ld32: FATAL   11 : Object file format error 
(/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch/libfetch.a): invalid header
*** Error code 2

Stop.
bmake: stopped in 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/pkg_install-20080402/admin
*** Error code 1

Stop.
bmake: stopped in 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/pkg_install-20080402
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/pkg_install
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/pkg_install

>How-To-Repeat:

(Previous versions of pkg_install did just work - but I've just updated 
libnbcompat too, so the problem may lie there instead...)
>Fix:

I have no idea!

# file /usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch/libfetch.a
/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch/libfetch.a: current ar 
archive

... looks right?

Should a DSO have been produced by now (so that the .a isn't used), and this 
missing is the problem?

Actually, looking at libfetch.a, the contents are only "!<arch>" - so something 
seems very wrong here.



Home | Main Index | Thread Index | Old Index