/usr/bin/strip: File format not recognized

From: Boris Samorodov <bsam_at_passap.ru>
Date: Sat, 24 Mar 2012 00:12:45 +0400
Hi!

I'm not sure but it seems to me that the question is more about
-current that -ports.

While updating devel/nspr I get this:
-----
cc -o plgetopt.o -c -fvisibility=hidden    -O2 -pipe
-fno-strict-aliasing  -ansi -Wall -fPIC  -UDEBUG  -DNDEBUG=1
-DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1
-DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1
-DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -DHAVE_DLADDR=1 -D_REENTRANT=1
-D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM
-I../../../dist/include/nspr  ../../.././../lib/libc/src/plgetopt.c
rm -f libplc4.a
/usr/bin/ar cr libplc4.a ./plvrsion.o ./strlen.o ./strcpy.o ./strdup.o
./strcase.o ./strcat.o ./strcmp.o ./strchr.o ./strpbrk.o ./strstr.o
./strtok.o ./base64.o ./plerror.o ./plgetopt.o
ranlib libplc4.a
rm -f libplc4.so.1
cc -shared -Wl,-soname -Wl,libplc4.so.1 -o libplc4.so.1 ./plvrsion.o
./strlen.o ./strcpy.o ./strdup.o ./strcase.o ./strcat.o ./strcmp.o
./strchr.o ./strpbrk.o ./strstr.o ./strtok.o ./base64.o ./plerror.o
./plgetopt.o     -L../../../dist/lib -lnspr4
../../../config/./nsinstall -R -m 444 ./libplc4.a ./libplc4.so.1
../../../dist/lib
../../../config/./nsinstall -R -m 444 ./libplc4.so.1 ../../../dist/bin
gmake[3]: Выход из каталога
`/usr/ports/devel/nspr/work/nspr-4.9/mozilla/nsprpub/build/lib/libc/src'
gmake[2]: Выход из каталога
`/usr/ports/devel/nspr/work/nspr-4.9/mozilla/nsprpub/build/lib/libc'
gmake[1]: Выход из каталога
`/usr/ports/devel/nspr/work/nspr-4.9/mozilla/nsprpub/build/lib'
#
# Please, consider running ``make test'' to find any
# possible build problems.
#
===>  Installing for nspr-4.9
===>   Generating temporary packing list
===>  Checking if devel/nspr already installed
/bin/mkdir -p /usr/local/include/nspr
/usr/bin/tar -C
/usr/ports/devel/nspr/work/nspr-4.9/mozilla/nsprpub/build/dist/include
--dereference -cf - . |  /usr/bin/tar -C /usr/local/include -xof -
/usr/bin/find /usr/local/include/nspr -type d |  /usr/bin/xargs
/bin/chmod 0755
/usr/bin/find /usr/local/include/nspr -type f |  /usr/bin/xargs
/bin/chmod 444
/usr/bin/tar -C
/usr/ports/devel/nspr/work/nspr-4.9/mozilla/nsprpub/build/dist/lib
--dereference -cf - . |  /usr/bin/tar -C /usr/local/lib -xof -
install  -o root -g wheel -m 555
/usr/ports/devel/nspr/work/nspr-4.9/mozilla/nsprpub/build/config/nspr-config
/usr/local/bin
/bin/mkdir -p /usr/local/libdata/pkgconfig
install  -o root -g wheel -m 444
/usr/ports/devel/nspr/work/nspr-4.9/mozilla/nsprpub/build/config/nspr.pc
/usr/local/libdata/pkgconfig
/usr/bin/strip /usr/local/lib/libnspr4.so.1
/usr/bin/strip: /usr/local/lib/libnspr4.so.1: File format not recognized
*** [do-install] Error code 1

Stop in /usr/ports/devel/nspr.
-----

This is current built with clang:
-----
% uname -a
FreeBSD bsam.wart.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r232957: Wed
Mar 14 14:14:49 SAMT 2012     bsam_at_bsam.wart.ru:/usr/obj/usr/src/sys/BBX
 i386
-----

My /etc/make.conf:
-----
.if ${.CURDIR:N*usr/src*} == ""
. if !defined(_WITHOUT_SRCCONF)
SRCCONF?=/etc/src.conf
.  if exists(${SRCCONF})
.  include "${SRCCONF}"
.  endif
. endif
.endif

###
### Ports section
###

EXPLICIT_PACKAGE_DEPENDS=       YES

WITH_CUPS=              YES
WITHOUT_LPR=            YES
CUPS_OVERWRITE_BASE=    YES
WANT_OPENLDAP_SASL=     YES
LOCALIZED_LANG=ru

QT4_OPTIONS=            CUPS NAS QGTKSTYLE
WITHOUT_NOUVEAU=        YES

THUNDERBIRD_I18N=       ru

.if ${.CURDIR:M*/editors/openoffice.org-3}
WITHOUT_MOZILLA=YES
WITH_TTF_BYTECODE_ENABLED=YES
.endif


# added by use.perl 2012-03-12 14:27:00
PERL_VERSION=5.12.4
-----

How can I diagnoze/overcome this? Thanks!

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Received on Fri Mar 23 2012 - 19:12:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC