pango-native build problem (and solution idea)
After upgrading my build host to openSUSE 12.2 i hit a build problem with pango-native (from oe-classic).
-------------> snip <-------------
...
| x86_64-linux-libtool: link: gcc -isystem/pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/include -O2 -g -Wall -Wl,-rpath-link -Wl,/pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib -Wl,-O1 -o .libs/pango-view viewer-render.o viewer-main.o pango-view.o viewer-x.o viewer-pangox.o viewer-pangoft2.o viewer-cairo.o viewer-pangocairo.o -pthread -L/pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib ../pango/.libs/libpango-1.0.so ../pango/.libs/libpangox-1.0.so ../pango/.libs/libpangoft2-1.0.so ../pango/.libs/libpangocairo-1.0.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/work/x86_64-linux/pango-native-1.24.4-r1.2/pango-1.24.4/pango/.libs/libpangoft2-1.0.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/work/x86_64-linux/pango-native-1.24.4-r1.2/pango-1.24.4/pango/.libs/libpango-1.0.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libgobject-2.0.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libgthread-2.0.so -lpthread /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libgmodule-2.0.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libglib-2.0.so -lrt /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libcairo.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libpixman-1.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libfontconfig.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libfreetype.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libexpat.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libpng12.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libX11.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libxcb.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libpthread-stubs.so /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libXau.so -ldl /pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib/libz.so -lXrender -lm -pthread -Wl,-rpath -Wl,/pm/sledz/HydraIP/OE/tmp.6-SSZ-fensuse/sysroots/x86_64-linux/usr/lib
| /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libXrender.so: undefined reference to `_XGetRequest'
| collect2: error: ld returned 1 exit status
-------------> snip <-------------
It seems that the libXrender version at the build host now misses the _XGetRequest symbol.
Would it be an acceptable solution to add libxrender-native to DEPENDS_virtclass-native?
Regards,
Steffen
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Quoted 2 lines · Steffen Sledz
After upgrading my build host to openSUSE 12.2 i hit a build problem with pango-native (from oe-classic).
heh keeping the build going with newer distros is going to be a challange with time.
Quoted 4 lines
It seems that the libXrender version at the build host now misses the
_XGetRequestsymbol.Would it be an acceptable solution to add libxrender-native to DEPENDS_virtclass-native?
seems ok to me.
Quoted 16 lines
Regards,
Steffen--
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
cover pull request 20121009
Hi Tom,
please pull this commit which fixes a build problem on build hosts with newer libXrender installations.
Thx,
Steffen
The following changes since commit a35ceaacb2019750dc9f4b4fd5ea927cf2ad47fb:
gdk-pixbuf: add missing dependencies (2012-09-14 15:07:04 -0700)
are available in the git repository at:
git://github.com/sledz/oe pull-request-3
https://github.com/sledz/oe/tree/pull-request-3
Steffen Sledz (1):
pango-native: add libxrender-native to dependencies
recipes/pango/pango.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.10.4
PATCH 1/1 pango-native: add libxrender-native to dependencies
This avoids a link error on build hosts with newer libXrender installation.
| /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libXrender.so: undefined reference to `_XGetRequest' | collect2: error: ld returned 1 exit status
--- recipes/pango/pango.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes/pango/pango.inc +2 -2
@@ -10,7 +10,7 @@ SECTION = "x11/libs" DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv virtual/libx11 libxft gtk-doc cairo" -DEPENDS_virtclass-native = "glib-2.0-native cairo-native" +DEPENDS_virtclass-native = "glib-2.0-native cairo-native libxrender-native" BBCLASSEXTEND = "native" PACKAGES_DYNAMIC = "pango-module-*"
@@ -20,7 +20,7 @@ RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc" RRECOMMENDS_${PN}_virtclass-native = "" -INC_PR = "r1" +INC_PR = "r2" # seems to go wrong with default cflags FULL_OPTIMIZATION_arm = "-O2"
Signature · 1 line
1.7.10.4
Tom Rini
AppliedRe: [2011.03-maintenance 0/1] pull request 20121009
In reply to Steffen SledzQuoted 14 lines · Steffen Sledz
Hi Tom,
please pull this commit which fixes a build problem on build hosts with newer libXrender installations.
Thx,
SteffenThe following changes since commit
a35ceaacb2019750dc9f4b4fd5ea927cf2ad47fb:gdk-pixbuf: add missing dependencies (2012-09-14 15:07:04 -0700)
are available in the git repository at:
Quoted 8 lines
git://github.com/sledz/oepull-request-3
https://github.com/sledz/oe/tree/pull-request-3Steffen Sledz (1):
pango-native: add libxrender-native to dependenciesrecipes/pango/pango.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to 2011.03-maintenance, thanks!
Signature · 1 line
Tom
Re: [2011.03-maintenance 0/1] pull request 20121009
Quoted 14 lines · Tom Rini
Quoted 12 lines · Steffen Sledz
Hi Tom,
please pull this commit which fixes a build problem on build hosts with newer libXrender installations.
Thx, Steffen
The following changes since commit
a35ceaacb2019750dc9f4b4fd5ea927cf2ad47fb:gdk-pixbuf: add missing dependencies (2012-09-14 15:07:04 -0700)
are available in the git repository at:
Quoted 7 lines
Quoted 5 lines
git://github.com/sledz/oepull-request-3 https://github.com/sledz/oe/tree/pull-request-3Steffen Sledz (1): pango-native: add libxrender-native to dependencies
recipes/pango/pango.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to 2011.03-maintenance, thanks!
Something went wrong. The patch isn't in the 2011.03-maintenance branch. :(
Steffen
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Re: [2011.03-maintenance 0/1] pull request 20121009
Quoted 17 lines · Steffen Sledz
Quoted 16 lines · Tom Rini
Quoted 14 lines · Steffen Sledz
Hi Tom,
please pull this commit which fixes a build problem on build hosts with newer libXrender installations.
Thx, Steffen
The following changes since commit
a35ceaacb2019750dc9f4b4fd5ea927cf2ad47fb:gdk-pixbuf: add missing dependencies (2012-09-14 15:07:04 -0700)
are available in the git repository at:
git://github.com/sledz/oepull-request-3 https://github.com/sledz/oe/tree/pull-request-3
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Steffen Sledz (1): pango-native: add libxrender-native to dependencies
recipes/pango/pango.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to 2011.03-maintenance, thanks!
Something went wrong. The patch isn't in the 2011.03-maintenance branch. :(
OK, now it's pushed there too, sorry about that.
Signature · 1 line
Tom