[Xcb] [Bug 19157] New: After RPATH removal `make check' fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Dec 18 06:10:32 PST 2008
http://bugs.freedesktop.org/show_bug.cgi?id=19157
Summary: After RPATH removal `make check' fails
Product: XCB
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: All
Status: NEW
Keywords: patch
Severity: normal
Priority: medium
Component: Utils
AssignedTo: xcb at lists.freedesktop.org
ReportedBy: mnowak at redhat.com
Created an attachment (id=21276)
--> (http://bugs.freedesktop.org/attachment.cgi?id=21276)
Fix the path to xcb_aux.h
Remove RPATH with
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
`make check' fails
Making check in image
make[1]: Entering directory `/root/rpmbuild/BUILD/xcb-util-0.3.2/image'
make test_swap
make[2]: Entering directory `/root/rpmbuild/BUILD/xcb-util-0.3.2/image'
gcc -DPACKAGE_NAME=\"xcb-util\" -DPACKAGE_TARNAME=\"xcb-util\"
-DPACKAGE_VERSION=\"0.3.2\" -DPACKAGE_STRING=\"xcb-util\ 0.3.2\"
-DPACKAGE_BUGREPORT=\"xcb at lists.freedesktop.org\" -DPACKAGE=\"xcb-util\"
-DVERSION=\"0.3.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DHAVE_VASPRINTF=1 -I. -I../aux -Wall -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT test_swap-test_swap.o -MD -MP
-MF .deps/test_swap-test_swap.Tpo -c -o test_swap-test_swap.o `test -f
'test_swap.c' || echo './'`test_swap.c
mv -f .deps/test_swap-test_swap.Tpo .deps/test_swap-test_swap.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -o test_swap
test_swap-test_swap.o -lxcb ../aux/libxcb-aux.la libxcb-image.la
DIE_RPATH_DIE="/usr/lib64:$DIE_RPATH_DIE" gcc -Wall -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -o .libs/test_swap
test_swap-test_swap.o -lxcb ../aux/.libs/libxcb-aux.so ./.libs/libxcb-image.so
creating test_swap
make[2]: Leaving directory `/root/rpmbuild/BUILD/xcb-util-0.3.2/image'
make check-TESTS
make[2]: Entering directory `/root/rpmbuild/BUILD/xcb-util-0.3.2/image'
/root/rpmbuild/BUILD/xcb-util-0.3.2/image/.libs/lt-test_swap: error while
loading shared libraries: libxcb-aux.so.0: cannot open shared object file: No
such file or directory
FAIL: test_swap
==========================================
1 of 1 tests failed
Please report to xcb at lists.freedesktop.org
==========================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/xcb-util-0.3.2/image'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/xcb-util-0.3.2/image'
make: *** [check-recursive] Error 1
Attached patch fixes the problem.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Xcb
mailing list