! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
--enable-gtk-doc build broken - requires tumbler itself
Status:
RESOLVED: INVALID
Product:
Tumbler
Component:
General

Comments

Description a.radke 2011-01-16 17:00:32 CET
without tumbler being installed the doc build fails, builds fine with tumbler installed but this shouldn't be necessary:

libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--as-needed -Wl,-O1 .libs/tumbler-scan.o -pthread -pthread -pthread -pthread -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--as-needed -Wl,-O1 -o .libs/tumbler-scan  -ldbus-glib-1 -ldbus-1 -lpthread ../../../tumbler/.libs/libtumbler-1.so -lgdk_pixbuf-2.0 -lm -lpng14 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread 
gtk-doc: Running scanner tumbler-scan
/build/src/tumbler-0.1.6/docs/reference/tumbler/.libs/lt-tumbler-scan: error while loading shared libraries: libtumbler-1.so.0: cannot open shared object file: No such file or directory
Scan failed: 
make[4]: *** [scan-build.stamp] Error 127
make[4]: Leaving directory `/build/src/tumbler-0.1.6/docs/reference/tumbler'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/src/tumbler-0.1.6/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/src/tumbler-0.1.6/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/tumbler-0.1.6'
make: *** [all] Error 2
Comment 1 Jannis Pohlmann editbugs 2011-01-29 16:34:58 CET
I cannot reproduce this and the makefiles look fine. 

docs/references/tumbler/Makefile.am explicitely links against $(top_builddir)/libtumbler/libtumbler-1.la which should force autotools to build the library before the documentation. It shouldn't matter whether tumbler is installed or not, the local version is always used.
Comment 2 a.radke 2011-02-12 22:18:53 CET
Ok, this build error is introduced by the rpath hack Fedora introduced in their spec file:
# Remove rpaths.
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

Without these lines it builds fine and our rpath check doesn't report anything. I guess you can close this.
Comment 3 Jannis Pohlmann editbugs 2011-02-12 22:21:22 CET
Ok, thanks for investigating the issue.

Bug #7104

Reported by:
a.radke
Reported on: 2011-01-16
Last modified on: 2011-02-12

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Attachments

Additional information