[oe-issues] [Bug 3550] New: libpcre-native fails to stage - libpcreposix.so.0.0.0U ( note the 'U')

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Wed Dec 26 01:48:43 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3550

           Summary: libpcre-native fails to stage - libpcreposix.so.0.0.0U
                    (note the 'U')
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: rod at whitby.id.au


Not only fails for me on Debian Etch, but for CoreDump and likewise too (on
Ubuntu 7.10 for at least one of them).

Seems to be some libtool-related thing (the renaming to 0.0.0U is done in
i686-linux-libtool).

slug at otto:~/releases/slugos-4.8-beta$ bitbake -c rebuild -b
openembedded/packages/libpcre/li\
bpcre-native_4.4.bb
NOTE: package libpcre-native-4.4: started
NOTE: package libpcre-native-4.4-r8: task do_rebuild: started
NOTE: package libpcre-native-4.4-r8: task do_clean: started
NOTE: removing
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/work/i686-linux/libpcre-nativ\
e-4.4-r8
NOTE: removing
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/stamps/i686-linux/libpcre-nat\
ive-4.4-r8.*
NOTE: package libpcre-native-4.4-r8: task do_clean: completed
NOTE: package libpcre-native-4.4-r8: task do_fetch: started
NOTE: libpcre-native-4.4:
http://downloads.sourceforge.net/pcre/pcre-4.4.tar.bz2 has no entr\
y in conf/checksums.ini, not checking URI
NOTE: package libpcre-native-4.4-r8: task do_fetch: completed
NOTE: package libpcre-native-4.4-r8: task do_unpack: started
NOTE: Unpacking /home/slug/downloads/pcre-4.4.tar.bz2 to
/home/slug/releases/slugos-4.8-beta\
/nslu2be.tmp/work/i686-linux/libpcre-native-4.4-r8/
NOTE: package libpcre-native-4.4-r8: task do_unpack: completed
NOTE: package libpcre-native-4.4-r8: task do_patch: started
NOTE: package libpcre-native-4.4-r8: task do_patch: completed
NOTE: package libpcre-native-4.4-r8: task do_configure: started
NOTE: package libpcre-native-4.4-r8: task do_configure: completed
NOTE: package libpcre-native-4.4-r8: task do_compile: started
NOTE: package libpcre-native-4.4-r8: task do_compile: completed
NOTE: package libpcre-native-4.4-r8: task do_install: started
NOTE: package libpcre-native-4.4-r8: task do_install: completed
NOTE: package libpcre-native-4.4-r8: task do_package: started
NOTE: package libpcre-native-4.4-r8: task do_package: completed
NOTE: package libpcre-native-4.4-r8: task do_package_write_ipk: started
NOTE: package libpcre-native-4.4-r8: task do_package_write_ipk: completed
NOTE: package libpcre-native-4.4-r8: task do_package_write: started
NOTE: package libpcre-native-4.4-r8: task do_package_write: completed
NOTE: package libpcre-native-4.4-r8: task do_populate_staging: started
ERROR: function do_stage failed
ERROR: see log in
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/work/i686-linux/libpcre-na\
tive-4.4-r8/temp/log.do_stage.2679
NOTE: Task failed:
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/work/i686-linux/libpcre-n\
ative-4.4-r8/temp/log.do_stage.2679
NOTE: package libpcre-native-4.4-r8: task do_populate_staging: failed
ERROR: Error in executing:
ERROR: Exception:bb.build.EventException Message:('Function failed in task:
/home/slug/relea\
ses/slugos-4.8-beta/nslu2be.tmp/work/i686-linux/libpcre-native-4.4-r8/temp/log.do_stage.2679\
', <bb.build.TaskFailed instance at 0xb6a37cac>)
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:bb.build.EventException Message:('Function failed in task:
/home/slug/relea\
ses/slugos-4.8-beta/nslu2be.tmp/work/i686-linux/libpcre-native-4.4-r8/temp/log.do_stage.2679\
', <bb.build.TaskFailed instance at 0xb6a37cac>)
ERROR: Printing the environment of the function
ERROR: TaskFailed event exception, aborting
NOTE: package libpcre-native-4.4: failed
ERROR: Build of 'libpcre-native' failed
slug at otto:~/releases/slugos-4.8-beta$

NOTE: make install
/bin/sh ./mkinstalldirs
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/l\
ib
echo "/bin/sh ./i686-linux-libtool --mode=install
/home/slug/releases/slugos-4.8-beta/nslu2b\
e.tmp/staging/i686-linux/bin/install -c libpcre.la
/home/slug/releases/slugos-4.8-beta/nslu2\
be.tmp/staging/i686-linux/lib/libpcre.la"
/bin/sh ./i686-linux-libtool --mode=install
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/\
staging/i686-linux/bin/install -c libpcre.la
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp\
/staging/i686-linux/lib/libpcre.la
/bin/sh ./i686-linux-libtool --mode=install
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/\
staging/i686-linux/bin/install -c libpcre.la
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp\
/staging/i686-linux/lib/libpcre.la
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/bin/install
-c .libs/libp\
cre.so.0.0.1
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/lib/libpcre.\
so.0.0.1
(cd /home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/lib &&
rm -f libpcre.\
so.0 && ln -s libpcre.so.0.0.1 libpcre.so.0)
(cd /home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/lib &&
rm -f libpcre.\
so && ln -s libpcre.so.0.0.1 libpcre.so)
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/bin/install
-c .libs/libp\
cre.lai
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/lib/libpcre.la
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/bin/install
-c .libs/libp\
cre.a
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/lib/libpcre.a
ranlib
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/lib/libpcre.a
chmod 644
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/lib/libpcre.a
PATH="$PATH:/sbin" ldconfig -n
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-\
linux/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
echo "/bin/sh ./i686-linux-libtool --mode=install
/home/slug/releases/slugos-4.8-beta/nslu2b\
e.tmp/staging/i686-linux/bin/install -c libpcreposix.la
/home/slug/releases/slugos-4.8-beta/\
nslu2be.tmp/staging/i686-linux/lib/libpcreposix.la"
/bin/sh ./i686-linux-libtool --mode=install
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/\
staging/i686-linux/bin/install -c libpcreposix.la
/home/slug/releases/slugos-4.8-beta/nslu2b\
e.tmp/staging/i686-linux/lib/libpcreposix.la
/bin/sh ./i686-linux-libtool --mode=install
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/\
staging/i686-linux/bin/install -c libpcreposix.la
/home/slug/releases/slugos-4.8-beta/nslu2b\
e.tmp/staging/i686-linux/lib/libpcreposix.la
i686-linux-libtool: install: warning: relinking `libpcreposix.la'
(cd
/home/slug/releases/slugos-4.8-beta/nslu2be.tmp/work/i686-linux/libpcre-native-4.4-r8/pc\
re-4.4; /bin/sh ./i686-linux-libtool  --mode=relink ccache gcc
-isystem/home/slug/releases/s\
lugos-4.8-beta/nslu2be.tmp/staging/i686-linux/include -O2 -D_REENTRANT -I. -I.
-rpath /home/\
slug/releases/slugos-4.8-beta/nslu2be.tmp/staging/i686-linux/lib libpcre.la
-version-info 0:\
0:0 -o libpcreposix.la pcreposix.lo )
ccache gcc -shared  .libs/pcreposix.o  -Wl,--rpath
-Wl,/home/slug/releases/slugos-4.8-beta/n\
slu2be.tmp/staging/i686-linux/lib -lpcre  -Wl,-soname -Wl,libpcreposix.so.0 -o
.libs/libpcre\
posix.so.0.0.0
/usr/bin/ld: cannot find -lpcre
collect2: ld returned 1 exit status
i686-linux-libtool: install: error: relink `libpcreposix.la' with the above
command before i\
nstalling it
make: *** [install] Error 1
FATAL: oe_runmake failed

slug at otto:~/releases/slugos-4.8-beta$ ls -l
nslu2be.tmp/work/i686-linux/libpcre-native-4.4-r\
8/pcre-4.4/.libs/
total 272
-rw-r--r-- 1 slug slug  2736 Dec 26 01:42 get.o
-rw-r--r-- 1 slug slug 52204 Dec 26 01:42 libpcre.a
lrwxrwxrwx 1 slug slug    13 Dec 26 01:42 libpcre.la -> ../libpcre.la
-rw-r--r-- 1 slug slug   848 Dec 26 01:42 libpcre.lai
lrwxrwxrwx 1 slug slug    16 Dec 26 01:42 libpcre.so -> libpcre.so.0.0.1
lrwxrwxrwx 1 slug slug    16 Dec 26 01:42 libpcre.so.0 -> libpcre.so.0.0.1
-rwxr-xr-x 1 slug slug 53883 Dec 26 01:42 libpcre.so.0.0.1
-rw-r--r-- 1 slug slug  5286 Dec 26 01:42 libpcreposix.a
lrwxrwxrwx 1 slug slug    18 Dec 26 01:42 libpcreposix.la -> ../libpcreposix.la
-rw-r--r-- 1 slug slug   989 Dec 26 01:42 libpcreposix.lai
lrwxrwxrwx 1 slug slug    21 Dec 26 01:42 libpcreposix.so ->
libpcreposix.so.0.0.0
lrwxrwxrwx 1 slug slug    21 Dec 26 01:42 libpcreposix.so.0 ->
libpcreposix.so.0.0.0
-rwxr-xr-x 1 slug slug 10693 Dec 26 01:42 libpcreposix.so.0.0.0U
-rw-r--r-- 1 slug slug  2224 Dec 26 01:42 maketables.o
-rw-r--r-- 1 slug slug 51780 Dec 26 01:42 pcre.o
-rwxr-xr-x 1 slug slug 15864 Dec 26 01:42 pcregrep
-rw-r--r-- 1 slug slug  5668 Dec 26 01:42 pcreposix.o
-rwxr-xr-x 1 slug slug 30756 Dec 26 01:42 pcretest
-rw-r--r-- 1 slug slug  4600 Dec 26 01:42 study.o


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list