[arch-multilib] gconf compile error
Hello, I have a package in AUR (lib32-gtkhtml) https://aur.archlinux.org/packages.php?ID=40554 It this was building without errors for a long time. But now: /bin/sh ../libtool --tag=CC --mode=link gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o testgtkhtml debug.o browser-window.o prop-editor.o main.o ../libgtkhtml/libgtkhtml-2.la -pthread -L/usr/lib32 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -pthread -L/usr/lib32 -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o .libs/testgtkhtml debug.o browser-window.o prop-editor.o main.o -pthread -pthread ../libgtkhtml/.libs/libgtkhtml-2.so -L/usr/lib32 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib32/libcairo.so -lpango-1.0 -lfreetype -lfontconfig -lxml2 -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: cannot find -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: skipping incompatible /usr/lib/libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: cannot find -lgconf-2 collect2: ld returned 1 exit status Neither gnomevfs nor libgconf are dependencies of the original package. I guess something has changed during the transition to gnome3. But I can't figure this out myself. Any clues? Thank you Harvey
On 12/06/2011 12:45 PM, Harvey wrote:
Hello,
I have a package in AUR (lib32-gtkhtml) https://aur.archlinux.org/packages.php?ID=40554
It this was building without errors for a long time. But now:
/bin/sh ../libtool --tag=CC --mode=link gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o testgtkhtml debug.o browser-window.o prop-editor.o main.o ../libgtkhtml/libgtkhtml-2.la -pthread -L/usr/lib32 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -pthread -L/usr/lib32 -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o .libs/testgtkhtml debug.o browser-window.o prop-editor.o main.o -pthread -pthread ../libgtkhtml/.libs/libgtkhtml-2.so -L/usr/lib32 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib32/libcairo.so -lpango-1.0 -lfreetype -lfontconfig -lxml2 -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: cannot find -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: skipping incompatible /usr/lib/libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: cannot find -lgconf-2 collect2: ld returned 1 exit status
Neither gnomevfs nor libgconf are dependencies of the original package. I guess something has changed during the transition to gnome3. But I can't figure this out myself.
Any clues?
you need lib32-gconf and lib32-gnomevfs -- Ionuț
Hello, I have a package in AUR (lib32-gtkhtml) https://aur.archlinux.org/packages.php?ID=40554 It this was building without errors for a long time. But now: /bin/sh ../libtool --tag=CC --mode=link gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o testgtkhtml debug.o browser-window.o prop-editor.o main.o ../libgtkhtml/libgtkhtml-2.la -pthread -L/usr/lib32 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -pthread -L/usr/lib32 -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o .libs/testgtkhtml debug.o browser-window.o prop-editor.o main.o -pthread -pthread ../libgtkhtml/.libs/libgtkhtml-2.so -L/usr/lib32 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib32/libcairo.so -lpango-1.0 -lfreetype -lfontconfig -lxml2 -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: cannot find -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: skipping incompatible /usr/lib/libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: cannot find -lgconf-2 collect2: ld returned 1 exit status Neither gnomevfs nor libgconf are dependencies of the original package. I guess something has changed during the transition to gnome3. But I can't figure this out myself. Any clues? Thank you Harvey
Ionut, sorry about the double posting :(
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: cannot find -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: skipping incompatible /usr/lib/libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: cannot find -lgconf-2 collect2: ld returned 1 exit status
Neither gnomevfs nor libgconf are dependencies of the original package. I guess something has changed during the transition to gnome3. But I can't figure this out myself.
Any clues?
you need lib32-gconf and lib32-gnomevfs
I was not clear enough. I know that this seems to be the answer to the compile problem. But these two packages are _no_ dependencies for the original libgtkhtml in extra. Why are they needed for the lib32-version? Harvey
Actually, it is simple as that: the software requires gconf and gnome-vfs in the 'configure' file, so you should add to depends=() of your package. Maybe when the original package was built, these packages were deep inside a dependency tree, and now they are not. Some gnome packages dropped gconf recently, btw. -- Rafael 2011/12/6, Harvey <harv@gmx.de>:
Ionut,
sorry about the double posting :(
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/libgnomevfs-2.so when searching for -lgnomevfs-2 /usr/bin/ld: cannot find -lgnomevfs-2 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: skipping incompatible /usr/lib/libgconf-2.so when searching for -lgconf-2 /usr/bin/ld: cannot find -lgconf-2 collect2: ld returned 1 exit status
Neither gnomevfs nor libgconf are dependencies of the original package. I guess something has changed during the transition to gnome3. But I can't figure this out myself.
Any clues?
you need lib32-gconf and lib32-gnomevfs
I was not clear enough. I know that this seems to be the answer to the compile problem. But these two packages are _no_ dependencies for the original libgtkhtml in extra. Why are they needed for the lib32-version?
Harvey _______________________________________________ arch-multilib mailing list arch-multilib@archlinux.org http://mailman.archlinux.org/mailman/listinfo/arch-multilib
Rafael,
Actually, it is simple as that: the software requires gconf and gnome-vfs in the 'configure' file, so you should add to depends=() of your package.
Will do. I just couldn't believe it because this pulls in a Monsterbunch of lib32- depencies which were not needed before. This is no dependency tree, this is a forest ;) Thanks for pointing this out Harvey
On 12/06/2011 06:26 PM, Harvey wrote:
Rafael,
Actually, it is simple as that: the software requires gconf and gnome-vfs in the 'configure' file, so you should add to depends=() of your package.
Will do. I just couldn't believe it because this pulls in a Monsterbunch of lib32- depencies which were not needed before. This is no dependency tree, this is a forest ;)
Thanks for pointing this out
the one from extra is not built with gnome-vfs support since we are building our packages in clean chroots. sadly, i don't see any way to disable gnome-vfs from ./configure. Is gnome-vfs really needed on your system? -- Ionuț
Ionut,
the one from extra is not built with gnome-vfs support since we are building our packages in clean chroots.
Interesting. Where can I read more about this process and its anvantages/disadvantages?
sadly, i don't see any way to disable gnome-vfs from ./configure.
This was my first guess too. But "./configure --help" did not help :(
Is gnome-vfs really needed on your system?
<Fingers crossed> No. But the app I need gtkhtml for is build with RealStudio, which depends on 32Bit gtk2. So I can't tell exactly if it is needed or not. Harvey
2011/12/6 Harvey <harv@gmx.de>: [...]
sadly, i don't see any way to disable gnome-vfs from ./configure.
This was my first guess too. But "./configure --help" did not help :( [....] Harvey
How about a workaround ? Try the patch attached to this email. Of course you have to add in the source=() and md5sums=(), but add this line to the PKGBUILD right before ./configure (...) : patch -p1 -i ${srcdir}/disable-gnome-vfs.patch -- Rafael
Rafael,
[...]
sadly, i don't see any way to disable gnome-vfs from ./configure.
This was my first guess too. But "./configure --help" did not help :( [....] Harvey
How about a workaround ? Try the patch attached to this email. Of course you have to add in the source=() and md5sums=(), but add this line to the PKGBUILD right before ./configure (...) :
patch -p1 -i ${srcdir}/disable-gnome-vfs.patch
You are my hero! This is working too and cuts the dependency tree significantly. Concerning gconf I guess I have to live with it. Just updated my package. This is why I love arch - you guys are just wonderful! Thank you so much Harvey
2011/12/7 Harvey <harv@gmx.de>:
Rafael,
[...]
sadly, i don't see any way to disable gnome-vfs from ./configure.
This was my first guess too. But "./configure --help" did not help :(
[....]
Harvey
How about a workaround ? Try the patch attached to this email. Of course you have to add in the source=() and md5sums=(), but add this line to the PKGBUILD right before ./configure (...) :
patch -p1 -i ${srcdir}/disable-gnome-vfs.patch
You are my hero! This is working too and cuts the dependency tree significantly.
Concerning gconf I guess I have to live with it. Just updated my package. This is why I love arch - you guys are just wonderful!
Thank you so much
Harvey _______________________________________________ arch-multilib mailing list arch-multilib@archlinux.org http://mailman.archlinux.org/mailman/listinfo/arch-multilib
Did you still need gconf? In my local build it did not need gconf after I disabled gnome-vfs. Try uninstalling lib32-gconf, removing it from makedepends and then build it again. -- Rafael
Rafael,
Did you still need gconf? In my local build it did not need gconf after I disabled gnome-vfs. Try uninstalling lib32-gconf, removing it from makedepends and then build it again.
To be honest: I didn't even think about that before... But you are right. Without gnome-vfs gconf is not needed either. So I am back to my original dependencies. Thank you Harvey
participants (3)
-
Harvey
-
Ionut Biru
-
rafael ff1