All of lore.kernel.org
 help / color / mirror / Atom feed
* libpcre not compiling
@ 2011-01-27 16:15 Aeschbacher, Fabrice
  2011-01-27 19:01 ` Khem Raj
  0 siblings, 1 reply; 8+ messages in thread
From: Aeschbacher, Fabrice @ 2011-01-27 16:15 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Hi,

[using released version 2010.12]

libpcre (7.6-r8) fails to compile :

...
| /bin/sh ./arm-angstrom-linux-gnueabi-libtool --tag=CXX   --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb  -isystem/srv/oe-2010/build/at91sam9g20ek/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -O2 -fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -version-info 0:0:0 -Wl,-O1 -Wl,--hash-style=gnu -o libpcrecpp.la -rpath /usr/lib pcrecpp.lo pcre_scanner.lo pcre_stringpiece.lo libpcre.la
| /bin/grep: /usr/lib/libstdc++.la: No such file or directory
| /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin/sed: can't read /usr/lib/libstdc++.la: No such file or directory
| arm-angstrom-linux-gnueabi-libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive
| make[1]: *** [libpcrecpp.la] Error 1
| make[1]: Leaving directory `/srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-gnueabi/libpcre-7.6-r8/pcre-7.6'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: package libpcre-7.6-r8: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-gnueabi/libpcre-7.6-r8/temp/log.do_compile.1723 for further information)
ERROR: '/srv/oe-2010/org.openembedded/recipes/libpcre/libpcre_7.6.bb' failed			


I would be thankful if someone could give me any hint how to solve this.

With kind regards,
Fabrice Aeschbacher


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

* Re: libpcre not compiling
  2011-01-27 16:15 libpcre not compiling Aeschbacher, Fabrice
@ 2011-01-27 19:01 ` Khem Raj
  2011-01-28  8:06   ` Aeschbacher, Fabrice
  2011-01-28  8:12   ` Aeschbacher, Fabrice
  0 siblings, 2 replies; 8+ messages in thread
From: Khem Raj @ 2011-01-27 19:01 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Jan 27, 2011 at 8:15 AM, Aeschbacher, Fabrice
<Fabrice.Aeschbacher@siemens.com> wrote:
> Hi,
>
> [using released version 2010.12]
>
> libpcre (7.6-r8) fails to compile :
>
> ...
> | /bin/sh ./arm-angstrom-linux-gnueabi-libtool --tag=CXX   --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb  -isystem/srv/oe-2010/build/at91sam9g20ek/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -O2 -fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -version-info 0:0:0 -Wl,-O1 -Wl,--hash-style=gnu -o libpcrecpp.la -rpath /usr/lib pcrecpp.lo pcre_scanner.lo pcre_stringpiece.lo libpcre.la
> | /bin/grep: /usr/lib/libstdc++.la: No such file or directory
> | /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin/sed: can't read /usr/lib/libstdc++.la: No such file or directory
> | arm-angstrom-linux-gnueabi-libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive
> | make[1]: *** [libpcrecpp.la] Error 1
> | make[1]: Leaving directory `/srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-gnueabi/libpcre-7.6-r8/pcre-7.6'
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
> NOTE: package libpcre-7.6-r8: task do_compile: Failed
> ERROR: Function 'do_compile' failed (see /srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-gnueabi/libpcre-7.6-r8/temp/log.do_compile.1723 for further information)
> ERROR: '/srv/oe-2010/org.openembedded/recipes/libpcre/libpcre_7.6.bb' failed
>
>
> I would be thankful if someone could give me any hint how to solve this.
>

Does it fail same way on master ? if not try to figure out commit
which fixed it git bisect is your friend. Otherwise we need to fix it
if its happening on master too.

> With kind regards,
> Fabrice Aeschbacher
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

* Re: libpcre not compiling
  2011-01-27 19:01 ` Khem Raj
@ 2011-01-28  8:06   ` Aeschbacher, Fabrice
  2011-02-14 10:43     ` Aeschbacher, Fabrice
  2011-01-28  8:12   ` Aeschbacher, Fabrice
  1 sibling, 1 reply; 8+ messages in thread
From: Aeschbacher, Fabrice @ 2011-01-28  8:06 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Hi, 


> -----Ursprüngliche Nachricht-----
> Von: openembedded-devel-bounces@lists.openembedded.org 
> [mailto:openembedded-devel-bounces@lists.openembedded.org] Im 
> Auftrag von Khem Raj
> Gesendet: Donnerstag, 27. Januar 2011 20:01
> An: openembedded-devel@lists.openembedded.org
> Betreff: Re: [oe] libpcre not compiling
> 
> On Thu, Jan 27, 2011 at 8:15 AM, Aeschbacher, Fabrice
> <Fabrice.Aeschbacher@siemens.com> wrote:
> > Hi,
> >
> > [using released version 2010.12]
> >
> > libpcre (7.6-r8) fails to compile :
> >
> > ...
> > | /bin/sh ./arm-angstrom-linux-gnueabi-libtool --tag=CXX   
> --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv5te 
> -mtune=arm926ej-s -mthumb-interwork -mno-thumb  
> -isystem/srv/oe-2010/build/at91sam9g20ek/sysroots/armv5te-angs
> trom-linux-gnueabi/usr/include -O2 -fpermissive 
> -fvisibility-inlines-hidden -fvisibility-inlines-hidden 
> -version-info 0:0:0 -Wl,-O1 -Wl,--hash-style=gnu -o 
> libpcrecpp.la -rpath /usr/lib pcrecpp.lo pcre_scanner.lo 
> pcre_stringpiece.lo libpcre.la
> > | /bin/grep: /usr/lib/libstdc++.la: No such file or directory
> > | 
> /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin
> /sed: can't read /usr/lib/libstdc++.la: No such file or directory
> > | arm-angstrom-linux-gnueabi-libtool: link: 
> `/usr/lib/libstdc++.la' is not a valid libtool archive
> > | make[1]: *** [libpcrecpp.la] Error 1
> > | make[1]: Leaving directory 
> `/srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-
> gnueabi/libpcre-7.6-r8/pcre-7.6'
> > | make: *** [all] Error 2
> > | FATAL: oe_runmake failed
> > NOTE: package libpcre-7.6-r8: task do_compile: Failed
> > ERROR: Function 'do_compile' failed (see 
> /srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-g
> nueabi/libpcre-7.6-r8/temp/log.do_compile.1723 for further 
> information)
> > ERROR: 
> '/srv/oe-2010/org.openembedded/recipes/libpcre/libpcre_7.6.bb' failed
> >
> >
> > I would be thankful if someone could give me any hint how 
> to solve this.
> >
> 
> Does it fail same way on master ?

I did not try to compile everything on master yet

> if not try to figure out commit which fixed it git bisect is your friend.

I diffed the files under recipes/libpcre/* : there is no change in master compared to 2010.12  release.

> Otherwise we need to fix it if its happening on master too.

BTW: We need libpcre only because lighttpd depends on it.

Kind regards,
Fabrice





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

* Re: libpcre not compiling
  2011-01-27 19:01 ` Khem Raj
  2011-01-28  8:06   ` Aeschbacher, Fabrice
@ 2011-01-28  8:12   ` Aeschbacher, Fabrice
  1 sibling, 0 replies; 8+ messages in thread
From: Aeschbacher, Fabrice @ 2011-01-28  8:12 UTC (permalink / raw)
  To: Aeschbacher, Fabrice, openembedded-devel@lists.openembedded.org

perhaps another info: tried with another machine (=> powerpc cross-compiler), same problem here.

With kind regards,
fabrice Aeschbacher

> > > [using released version 2010.12]
> > >
> > > libpcre (7.6-r8) fails to compile :
> > >
> > > ...
> > > | /bin/sh ./arm-angstrom-linux-gnueabi-libtool --tag=CXX   
> > --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv5te 
> > -mtune=arm926ej-s -mthumb-interwork -mno-thumb  
> > -isystem/srv/oe-2010/build/at91sam9g20ek/sysroots/armv5te-angs
> > trom-linux-gnueabi/usr/include -O2 -fpermissive 
> > -fvisibility-inlines-hidden -fvisibility-inlines-hidden 
> > -version-info 0:0:0 -Wl,-O1 -Wl,--hash-style=gnu -o 
> > libpcrecpp.la -rpath /usr/lib pcrecpp.lo pcre_scanner.lo 
> > pcre_stringpiece.lo libpcre.la
> > > | /bin/grep: /usr/lib/libstdc++.la: No such file or directory
> > > | 
> > /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin
> > /sed: can't read /usr/lib/libstdc++.la: No such file or directory
> > > | arm-angstrom-linux-gnueabi-libtool: link: 
> > `/usr/lib/libstdc++.la' is not a valid libtool archive
> > > | make[1]: *** [libpcrecpp.la] Error 1
> > > | make[1]: Leaving directory 
> > `/srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-
> > gnueabi/libpcre-7.6-r8/pcre-7.6'
> > > | make: *** [all] Error 2
> > > | FATAL: oe_runmake failed
> > > NOTE: package libpcre-7.6-r8: task do_compile: Failed
> > > ERROR: Function 'do_compile' failed (see 
> > /srv/oe-2010/build/at91sam9g20ek/work/armv5te-angstrom-linux-g
> > nueabi/libpcre-7.6-r8/temp/log.do_compile.1723 for further 
> > information)
> > > ERROR: 
> > 
> '/srv/oe-2010/org.openembedded/recipes/libpcre/libpcre_7.6.bb' failed
> > >
> > >
> > > I would be thankful if someone could give me any hint how 
> > to solve this.
> > >
> > 
> > Does it fail same way on master ?
> 
> I did not try to compile everything on master yet
> 
> > if not try to figure out commit which fixed it git bisect 
> is your friend.
> 
> I diffed the files under recipes/libpcre/* : there is no 
> change in master compared to 2010.12  release.
> 
> > Otherwise we need to fix it if its happening on master too.
> 
> BTW: We need libpcre only because lighttpd depends on it.
> 
> Kind regards,
> Fabrice



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

* Re: libpcre not compiling
  2011-01-28  8:06   ` Aeschbacher, Fabrice
@ 2011-02-14 10:43     ` Aeschbacher, Fabrice
  2011-02-14 13:10       ` Aeschbacher, Fabrice
  2011-02-14 15:50       ` Detlef Vollmann
  0 siblings, 2 replies; 8+ messages in thread
From: Aeschbacher, Fabrice @ 2011-02-14 10:43 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Hi,

I already reported that libpcre (7.6-r8) does not compile in released version 2010.12 :

| /bin/grep: /usr/lib/libstdc++.la: No such file or directory
| /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin/sed: can't read /usr/lib/libstdc++.la: No such file or directory
| arm-angstrom-linux-gnueabi-libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive

Now I just figured out that neither does gnutls-2.10.2-r10.1 :

| /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin/sed: can't read /usr/lib/libstdc++.la: No such file or directory
| arm-angstrom-linux-gnueabi-libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive

This seems to be pretty much the same issue.
Any idea?

With kind regards,
Fabrice Aeschbacher




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

* Re: libpcre not compiling
  2011-02-14 10:43     ` Aeschbacher, Fabrice
@ 2011-02-14 13:10       ` Aeschbacher, Fabrice
  2011-02-14 15:50       ` Detlef Vollmann
  1 sibling, 0 replies; 8+ messages in thread
From: Aeschbacher, Fabrice @ 2011-02-14 13:10 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Searching in the list's archives, I found that a very similar problem has already been fixed 10 moths ago by Richard Purdie (was for abiword):

http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-May/019536.html

In that mail, Richard said:
  > this commit should fix it (reproduced and tested locally):
  >
  > http://git.openembedded.net/cgit.cgi/openembedded/commit/?h=rpurdie/work-in-progress&id=bb53e48f79dab0877c8b8ce487a051d29cae31e3

Unfortunately, the link is bad and neither can I found a commit with this id in git.

Richard, do you remember your fix?

With kind regards,
  Fabrice

> -----Ursprüngliche Nachricht-----
> Von: openembedded-devel-bounces@lists.openembedded.org 
> [mailto:openembedded-devel-bounces@lists.openembedded.org] Im 
> Auftrag von Aeschbacher, Fabrice
> Gesendet: Montag, 14. Februar 2011 11:43
> An: openembedded-devel@lists.openembedded.org
> Betreff: Re: [oe] libpcre not compiling
> 
> Hi,
> 
> I already reported that libpcre (7.6-r8) does not compile in 
> released version 2010.12 :
> 
> | /bin/grep: /usr/lib/libstdc++.la: No such file or directory
> | 
> /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin
> /sed: can't read /usr/lib/libstdc++.la: No such file or directory
> | arm-angstrom-linux-gnueabi-libtool: link: 
> `/usr/lib/libstdc++.la' is not a valid libtool archive
> 
> Now I just figured out that neither does gnutls-2.10.2-r10.1 :
> 
> | 
> /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin
> /sed: can't read /usr/lib/libstdc++.la: No such file or directory
> | arm-angstrom-linux-gnueabi-libtool: link: 
> `/usr/lib/libstdc++.la' is not a valid libtool archive
> 
> This seems to be pretty much the same issue.
> Any idea?
> 
> With kind regards,
> Fabrice Aeschbacher
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 


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

* Re: libpcre not compiling
  2011-02-14 10:43     ` Aeschbacher, Fabrice
  2011-02-14 13:10       ` Aeschbacher, Fabrice
@ 2011-02-14 15:50       ` Detlef Vollmann
  2011-02-14 17:05         ` Aeschbacher, Fabrice
  1 sibling, 1 reply; 8+ messages in thread
From: Detlef Vollmann @ 2011-02-14 15:50 UTC (permalink / raw)
  To: openembedded-devel

On 02/14/11 11:43, Aeschbacher, Fabrice wrote:
> I already reported that libpcre (7.6-r8) does not compile in released version 2010.12 :
>
> | /bin/grep: /usr/lib/libstdc++.la: No such file or directory
> | /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin/sed: can't read /usr/lib/libstdc++.la: No such file or directory
> | arm-angstrom-linux-gnueabi-libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive
>
> Now I just figured out that neither does gnutls-2.10.2-r10.1 :
>
> | /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin/sed: can't read /usr/lib/libstdc++.la: No such file or directory
> | arm-angstrom-linux-gnueabi-libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive
>
> This seems to be pretty much the same issue.
> Any idea?
These are not -native packages, correct?
Then libtool shouldn't look for /usr/lib/libstdc++.la.
I have the feeling that something in the libtool setup is wrong.

Regards,
   Detlef



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

* Re: libpcre not compiling
  2011-02-14 15:50       ` Detlef Vollmann
@ 2011-02-14 17:05         ` Aeschbacher, Fabrice
  0 siblings, 0 replies; 8+ messages in thread
From: Aeschbacher, Fabrice @ 2011-02-14 17:05 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Solved.

Problem was: issue with packaged-staging

- For some (unknown) reason, something in my pstage dir was corrupt (and surprisingly at the same time, for the 4 MACHINES for which I was building).

- As my pstage dir is outside from build dir, just deleting the latter was not enough.

- After deleting the pstage dir and rebuilding all from scratch, the problem disappeared.

- After deleting all but pstage dir, libpcre and gnutls compiled fine too.

With kind regards,
Fabrice Aeschbacher


> -----Ursprüngliche Nachricht-----
> Von: openembedded-devel-bounces@lists.openembedded.org 
> [mailto:openembedded-devel-bounces@lists.openembedded.org] Im 
> Auftrag von Detlef Vollmann
> Gesendet: Montag, 14. Februar 2011 16:51
> An: openembedded-devel@lists.openembedded.org
> Betreff: Re: [oe] libpcre not compiling
> 
> On 02/14/11 11:43, Aeschbacher, Fabrice wrote:
> > I already reported that libpcre (7.6-r8) does not compile 
> in released version 2010.12 :
> >
> > | /bin/grep: /usr/lib/libstdc++.la: No such file or directory
> > | 
> /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin
/sed: can't read /usr/lib/libstdc++.la: No such file or directory
> > | arm-angstrom-linux-gnueabi-libtool: link: 
> `/usr/lib/libstdc++.la' is not a valid libtool archive
> >
> > Now I just figured out that neither does gnutls-2.10.2-r10.1 :
> >
> > | 
> /srv/oe-2010/build/at91sam9g20ek/sysroots/x86_64-linux/usr/bin
/sed: can't read /usr/lib/libstdc++.la: No such file or directory
> > | arm-angstrom-linux-gnueabi-libtool: link: 
> `/usr/lib/libstdc++.la' is not a valid libtool archive
> >
> > This seems to be pretty much the same issue.
> > Any idea?
> These are not -native packages, correct?
> Then libtool shouldn't look for /usr/lib/libstdc++.la.
> I have the feeling that something in the libtool setup is wrong.
> 
> Regards,
>    Detlef



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

end of thread, other threads:[~2011-02-14 17:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-27 16:15 libpcre not compiling Aeschbacher, Fabrice
2011-01-27 19:01 ` Khem Raj
2011-01-28  8:06   ` Aeschbacher, Fabrice
2011-02-14 10:43     ` Aeschbacher, Fabrice
2011-02-14 13:10       ` Aeschbacher, Fabrice
2011-02-14 15:50       ` Detlef Vollmann
2011-02-14 17:05         ` Aeschbacher, Fabrice
2011-01-28  8:12   ` Aeschbacher, Fabrice

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.