All of lore.kernel.org
 help / color / mirror / Atom feed
* pango-native build problem (and solution idea)
@ 2012-10-08  7:45 Steffen Sledz
  2012-10-08 14:01 ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Steffen Sledz @ 2012-10-08  7:45 UTC (permalink / raw)
  To: openembedded-devel

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

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: pango-native build problem (and solution idea)
  2012-10-08  7:45 pango-native build problem (and solution idea) Steffen Sledz
@ 2012-10-08 14:01 ` Khem Raj
  2012-10-09  8:49   ` [2011.03-maintenance 0/1] pull request 20121009 Steffen Sledz
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2012-10-08 14:01 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Oct 8, 2012 at 12:45 AM, Steffen Sledz <sledz@dresearch-fe.de> wrote:
> 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.

> 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?
>

seems ok to me.

> Regards,
> Steffen
>
> --
> DResearch Fahrzeugelektronik GmbH
> Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
> Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
> 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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [2011.03-maintenance 0/1] pull request 20121009
  2012-10-08 14:01 ` Khem Raj
@ 2012-10-09  8:49   ` Steffen Sledz
  2012-10-09  8:49     ` [2011.03-maintenance 1/1] pango-native: add libxrender-native to dependencies Steffen Sledz
  2012-10-09 14:42     ` [2011.03-maintenance 0/1] pull request 20121009 Tom Rini
  0 siblings, 2 replies; 7+ messages in thread
From: Steffen Sledz @ 2012-10-09  8:49 UTC (permalink / raw)
  To: Tom Rini, Khem Raj, openembedded-devel

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(-)

-- 
1.7.10.4




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [2011.03-maintenance 1/1] pango-native: add libxrender-native to dependencies
  2012-10-09  8:49   ` [2011.03-maintenance 0/1] pull request 20121009 Steffen Sledz
@ 2012-10-09  8:49     ` Steffen Sledz
  2012-10-09 14:42     ` [2011.03-maintenance 0/1] pull request 20121009 Tom Rini
  1 sibling, 0 replies; 7+ messages in thread
From: Steffen Sledz @ 2012-10-09  8:49 UTC (permalink / raw)
  To: Tom Rini, Khem Raj, openembedded-devel

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

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
---
 recipes/pango/pango.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/pango/pango.inc b/recipes/pango/pango.inc
index c54fbad..b5a2649 100644
--- a/recipes/pango/pango.inc
+++ b/recipes/pango/pango.inc
@@ -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"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [2011.03-maintenance 0/1] pull request 20121009
  2012-10-09  8:49   ` [2011.03-maintenance 0/1] pull request 20121009 Steffen Sledz
  2012-10-09  8:49     ` [2011.03-maintenance 1/1] pango-native: add libxrender-native to dependencies Steffen Sledz
@ 2012-10-09 14:42     ` Tom Rini
  2012-10-10  6:41       ` Steffen Sledz
  1 sibling, 1 reply; 7+ messages in thread
From: Tom Rini @ 2012-10-09 14:42 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

On Tue, Oct 09, 2012 at 10:49:06AM +0200, Steffen Sledz wrote:

> 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(-)

Applied to 2011.03-maintenance, thanks!

-- 
Tom

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [2011.03-maintenance 0/1] pull request 20121009
  2012-10-09 14:42     ` [2011.03-maintenance 0/1] pull request 20121009 Tom Rini
@ 2012-10-10  6:41       ` Steffen Sledz
  2012-10-10 14:55         ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Steffen Sledz @ 2012-10-10  6:41 UTC (permalink / raw)
  To: Tom Rini; +Cc: openembedded-devel

On 09.10.2012 16:42, Tom Rini wrote:
> On Tue, Oct 09, 2012 at 10:49:06AM +0200, Steffen Sledz wrote:
> 
>> 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(-)
> 
> Applied to 2011.03-maintenance, thanks!

Something went wrong. The patch isn't in the 2011.03-maintenance branch. :(

Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [2011.03-maintenance 0/1] pull request 20121009
  2012-10-10  6:41       ` Steffen Sledz
@ 2012-10-10 14:55         ` Tom Rini
  0 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2012-10-10 14:55 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

On Wed, Oct 10, 2012 at 08:41:52AM +0200, Steffen Sledz wrote:
> On 09.10.2012 16:42, Tom Rini wrote:
> > On Tue, Oct 09, 2012 at 10:49:06AM +0200, Steffen Sledz wrote:
> > 
> >> 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(-)
> > 
> > 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.

-- 
Tom

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-10 15:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-08  7:45 pango-native build problem (and solution idea) Steffen Sledz
2012-10-08 14:01 ` Khem Raj
2012-10-09  8:49   ` [2011.03-maintenance 0/1] pull request 20121009 Steffen Sledz
2012-10-09  8:49     ` [2011.03-maintenance 1/1] pango-native: add libxrender-native to dependencies Steffen Sledz
2012-10-09 14:42     ` [2011.03-maintenance 0/1] pull request 20121009 Tom Rini
2012-10-10  6:41       ` Steffen Sledz
2012-10-10 14:55         ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.