* Musicbrainz
@ 2009-08-22 10:00 Stuart Gray
2009-08-23 2:53 ` Musicbrainz Holger Hans Peter Freyther
0 siblings, 1 reply; 6+ messages in thread
From: Stuart Gray @ 2009-08-22 10:00 UTC (permalink / raw)
To: General mailing list for gumstix users., openembedded-devel
hi,
Has any one successfully compiled libmusicbrainz_3.0.2.
I have this compiling but it fails at the linking stage as it cannot find
the library libstdc++.so.6.
I have tried various EXTRA_OEMAKE, OECONF, OECMAKE, but none will add the
option to the linking stage. Can anyone give me some pointers.
|
/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
warning: libstdc++.so.6, needed by ../src/libmusicbrainz3.so.6.2.0, not
found (try using -rpath or -rpath-link)
| ../src/libmusicbrainz3.so.6.2.0: undefined reference to
`__cxa_allocate_exception@CXXABI_1.3'
| ../src/libmusicbrainz3.so.6.2.0: undefined reference to
`__gnu_cxx::__exchange_and_add(int volatile*, int)@GLIBCXX_3.4'
| ../src/libmusicbrainz3.so.6.2.0: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::rfind(char, unsigned int) const@GLIBCXX_3.4'
| ../src/libmusicbrainz3.so.6.2.0: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::assign(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)@GLIBCXX_3.4'
I thoungth this should the place where I could add the linrary
oe_soinstall() {
# Purpose: Install shared library file and
# create the necessary links
# Example:
#
# oe_
#
#oenote installing shared library $1 to $2
#
libname=`basename $1`
install -m 755 $1 $2/$libname
sonamelink=`arm-angstrom-linux-gnueabi-readelf -d $1 |grep 'Library
soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
solink=`echo $libname | sed -e 's/\.so\..*/.so/'`
ln -sf $libname $2/$sonamelink
ln -sf $libname $2/$solink
}
Please let me know if this is the correct way to proceed.
Thanks,
Stuart
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Musicbrainz
2009-08-22 10:00 Musicbrainz Stuart Gray
@ 2009-08-23 2:53 ` Holger Hans Peter Freyther
2009-08-24 9:50 ` Musicbrainz Stuart Gray
0 siblings, 1 reply; 6+ messages in thread
From: Holger Hans Peter Freyther @ 2009-08-23 2:53 UTC (permalink / raw)
To: openembedded-devel
On Saturday 22 August 2009 12:00:54 Stuart Gray wrote:
> hi,
>
> Has any one successfully compiled libmusicbrainz_3.0.2.
>
> I have this compiling but it fails at the linking stage as it cannot find
> the library libstdc++.so.6.
>
> I have tried various EXTRA_OEMAKE, OECONF, OECMAKE, but none will add the
> option to the linking stage. Can anyone give me some pointers.
Hey Stuart,
please stop cross-posting. My emails bounce from the gumstix mailinglist and
this is not fun...
With the limited information I have I would propose to:
- Link with g++ instead of gcc
- Or link to -lsupc++ (e.g. you change ammend the TARGET_LDFLAGS)
z.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Musicbrainz
2009-08-23 2:53 ` Musicbrainz Holger Hans Peter Freyther
@ 2009-08-24 9:50 ` Stuart Gray
2009-08-24 9:59 ` Musicbrainz Stuart Gray
0 siblings, 1 reply; 6+ messages in thread
From: Stuart Gray @ 2009-08-24 9:50 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1516 bytes --]
I have included the full log files for the compilation with my bb file.
I am fairly new to Linux and OE, but from the run_compile log file I thought
I should be adding an include which points to the libstdc++.so.6.
I have the OE User Manual and I am continually reading through the sections
to find a solution. I tried to append the TARGET_LDFLAGS, but it was not
very successful, it looked like it could not find the compiler.
Thanks for any further guidance you can give.
Stuart
2009/8/23 Holger Hans Peter Freyther
<holger+oe@freyther.de<holger%2Boe@freyther.de>
>
> On Saturday 22 August 2009 12:00:54 Stuart Gray wrote:
> > hi,
> >
> > Has any one successfully compiled libmusicbrainz_3.0.2.
> >
> > I have this compiling but it fails at the linking stage as it cannot find
> > the library libstdc++.so.6.
> >
> > I have tried various EXTRA_OEMAKE, OECONF, OECMAKE, but none will add the
> > option to the linking stage. Can anyone give me some pointers.
>
> Hey Stuart,
>
> please stop cross-posting. My emails bounce from the gumstix mailinglist
> and
> this is not fun...
>
> With the limited information I have I would propose to:
> - Link with g++ instead of gcc
> - Or link to -lsupc++ (e.g. you change ammend the TARGET_LDFLAGS)
>
> z.
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
[-- Attachment #2: log.do_compile.20267 --]
[-- Type: application/octet-stream, Size: 25523 bytes --]
+ export localstatedir=/var
+ localstatedir=/var
+ export prefix=/usr
+ prefix=/usr
+ export STRIP=arm-angstrom-linux-gnueabi-strip
+ STRIP=arm-angstrom-linux-gnueabi-strip
+ export STAGING_SIPDIR=/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/share/sip
+ STAGING_SIPDIR=/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/share/sip
+ export 'BUILD_CC=ccache gcc'
+ BUILD_CC='ccache gcc'
+ export PSTAGING_ACTIVE=1
+ PSTAGING_ACTIVE=1
+ export GTK_RC_FILES=/etc/gtk/gtkrc:/home/stuart/.gtkrc-1.2-gnome2
+ GTK_RC_FILES=/etc/gtk/gtkrc:/home/stuart/.gtkrc-1.2-gnome2
+ export libexecdir=/usr/libexec
+ libexecdir=/usr/libexec
+ export datadir=/usr/share
+ datadir=/usr/share
+ export 'BUILD_CXX=ccache g++'
+ BUILD_CXX='ccache g++'
+ export LD=arm-angstrom-linux-gnueabi-ld
+ LD=arm-angstrom-linux-gnueabi-ld
+ export 'EXTRA_OEMAKE=-j 4'
+ EXTRA_OEMAKE='-j 4'
+ export bindir=/usr/bin
+ bindir=/usr/bin
+ export 'TARGET_CXXFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive'
+ TARGET_CXXFLAGS='-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive'
+ export includedir=/usr/include
+ includedir=/usr/include
+ export 'BUILD_LDFLAGS=-L/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1'
+ BUILD_LDFLAGS='-L/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1'
+ export BUILD_LD=ld
+ BUILD_LD=ld
+ export 'SDK_CFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
+ SDK_CFLAGS='-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
+ export oldincludedir=/usr/include
+ oldincludedir=/usr/include
+ export LANG=en_GB.UTF-8
+ LANG=en_GB.UTF-8
+ export BUILD_CCLD=gcc
+ BUILD_CCLD=gcc
+ export USER=stuart
+ USER=stuart
+ export XDG_DATA_DIRS=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share
+ XDG_DATA_DIRS=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share
+ export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-G4RcDewtvB,guid=15cc70e92950ab65050906b84a8e5599
+ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-G4RcDewtvB,guid=15cc70e92950ab65050906b84a8e5599
+ export XAUTHORITY=/home/stuart/.Xauthority
+ XAUTHORITY=/home/stuart/.Xauthority
+ export QMAKE_MKSPEC_PATH=/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/share/qmake
+ QMAKE_MKSPEC_PATH=/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/share/qmake
+ export palmtopdir=/usr/lib/opie
+ palmtopdir=/usr/lib/opie
+ export 'SDK_CPPFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include'
+ SDK_CPPFLAGS='-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include'
+ export 'CC=ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp'
+ CC='ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp'
+ export RANLIB=arm-angstrom-linux-gnueabi-ranlib
+ RANLIB=arm-angstrom-linux-gnueabi-ranlib
+ export GNOME_KEYRING_SOCKET=/tmp/keyring-KApeKe/socket
+ GNOME_KEYRING_SOCKET=/tmp/keyring-KApeKe/socket
+ export CPPFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
+ CPPFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
+ export base_sbindir=/sbin
+ base_sbindir=/sbin
+ export 'CXX=ccache arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp'
+ CXX='ccache arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp'
+ export BUILD_RANLIB=ranlib
+ BUILD_RANLIB=ranlib
+ unset MACHINE
+ export COLORTERM=gnome-terminal
+ COLORTERM=gnome-terminal
+ export MANIFEST=/home/stuart/overo-oe/user.collection/recipes/musicbrainz/files/./manifest
+ MANIFEST=/home/stuart/overo-oe/user.collection/recipes/musicbrainz/files/./manifest
+ export mandir=/usr/share/man
+ mandir=/usr/share/man
+ export USERBRANCH=/home/stuart/overo-oe/user.collection
+ USERBRANCH=/home/stuart/overo-oe/user.collection
+ export OBJCOPY=arm-angstrom-linux-gnueabi-objcopy
+ OBJCOPY=arm-angstrom-linux-gnueabi-objcopy
+ export servicedir=/srv
+ servicedir=/srv
+ export 'SDK_LDFLAGS=-L/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1'
+ SDK_LDFLAGS='-L/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1'
+ export PKG_CONFIG_DIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig
+ PKG_CONFIG_DIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig
+ export 'BB_ENV_EXTRAWHITE=MACHINE DISTRO ANGSTROM_MODE OVEROTOP OEBRANCH USERBRANCH TITOOLSDIR'
+ BB_ENV_EXTRAWHITE='MACHINE DISTRO ANGSTROM_MODE OVEROTOP OEBRANCH USERBRANCH TITOOLSDIR'
+ export sysconfdir=/etc
+ sysconfdir=/etc
+ export 'CCLD=ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp'
+ CCLD='ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp'
+ export base_bindir=/bin
+ base_bindir=/bin
+ export sbindir=/usr/sbin
+ sbindir=/usr/sbin
+ export 'CFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
+ CFLAGS='-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
+ export 'TARGET_LDFLAGS=-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu'
+ TARGET_LDFLAGS='-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu'
+ export PKG_CONFIG_DISABLE_UNINSTALLED=yes
+ PKG_CONFIG_DISABLE_UNINSTALLED=yes
+ export OPIEDIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi
+ OPIEDIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi
+ export 'BUILD_F77=ccache g77'
+ BUILD_F77='ccache g77'
+ export TITOOLSDIR=/home/stuart/overo-oe/ti
+ TITOOLSDIR=/home/stuart/overo-oe/ti
+ export PWD=/home/stuart/overo-oe/build
+ PWD=/home/stuart/overo-oe/build
+ export _=/home/stuart/overo-oe/bitbake/bin/bitbake
+ _=/home/stuart/overo-oe/bitbake/bin/bitbake
+ export AS=arm-angstrom-linux-gnueabi-as
+ AS=arm-angstrom-linux-gnueabi-as
+ export PATCH_GET=0
+ PATCH_GET=0
+ export 'CXXFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive -fvisibility-inlines-hidden'
+ CXXFLAGS='-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive -fvisibility-inlines-hidden'
+ export DISPLAY=:0.0
+ DISPLAY=:0.0
+ export 'F77=ccache arm-angstrom-linux-gnueabi-g77 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp'
+ F77='ccache arm-angstrom-linux-gnueabi-g77 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp'
+ export GNOME_KEYRING_PID=8216
+ GNOME_KEYRING_PID=8216
+ export SSH_AUTH_SOCK=/tmp/keyring-KApeKe/ssh
+ SSH_AUTH_SOCK=/tmp/keyring-KApeKe/ssh
+ export QTDIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/qt2
+ QTDIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/qt2
+ export 'LDFLAGS=-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu'
+ LDFLAGS='-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu'
+ export MAKE=make
+ MAKE=make
+ unset TARGET_ARCH
+ export 'SHELLCMDS=bash --rcfile '
+ SHELLCMDS='bash --rcfile '
+ export QPEDIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi
+ QPEDIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi
+ export BBPATH=/home/stuart/overo-oe/build:/home/stuart/overo-oe/user.collection:/home/stuart/overo-oe/org.openembedded.dev
+ BBPATH=/home/stuart/overo-oe/build:/home/stuart/overo-oe/user.collection:/home/stuart/overo-oe/org.openembedded.dev
+ export BUILD_CPP=cpp
+ BUILD_CPP=cpp
+ export 'SDK_CXXFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive'
+ SDK_CXXFLAGS='-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive'
+ export 'BUILD_CFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g'
+ BUILD_CFLAGS='-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g'
+ export GPG_AGENT_INFO=/tmp/seahorse-p6uWGJ/S.gpg-agent:8272:1
+ GPG_AGENT_INFO=/tmp/seahorse-p6uWGJ/S.gpg-agent:8272:1
+ export docdir=/usr/share/doc
+ docdir=/usr/share/doc
+ export infodir=/usr/share/info
+ infodir=/usr/share/info
+ export TERM=xterm
+ TERM=xterm
+ export PKG_CONFIG_SYSROOT_DIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi
+ PKG_CONFIG_SYSROOT_DIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi
+ export PKG_CONFIG_PATH=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig:/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/pkgconfig
+ PKG_CONFIG_PATH=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig:/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/pkgconfig
+ export AR=arm-angstrom-linux-gnueabi-ar
+ AR=arm-angstrom-linux-gnueabi-ar
+ export BUILD_CPPFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include
+ BUILD_CPPFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include
+ export 'CPP=arm-angstrom-linux-gnueabi-gcc -E'
+ CPP='arm-angstrom-linux-gnueabi-gcc -E'
+ export 'CONFIG_SITE=/home/stuart/overo-oe/org.openembedded.dev/site/endian-little /home/stuart/overo-oe/org.openembedded.dev/site/common-linux /home/stuart/overo-oe/org.openembedded.dev/site/common-glibc /home/stuart/overo-oe/org.openembedded.dev/site/arm-common /home/stuart/overo-oe/org.openembedded.dev/site/arm-linux /home/stuart/overo-oe/org.openembedded.dev/site/common /home/stuart/overo-oe/org.openembedded.dev/site/common'
+ CONFIG_SITE='/home/stuart/overo-oe/org.openembedded.dev/site/endian-little /home/stuart/overo-oe/org.openembedded.dev/site/common-linux /home/stuart/overo-oe/org.openembedded.dev/site/common-glibc /home/stuart/overo-oe/org.openembedded.dev/site/arm-common /home/stuart/overo-oe/org.openembedded.dev/site/arm-linux /home/stuart/overo-oe/org.openembedded.dev/site/common /home/stuart/overo-oe/org.openembedded.dev/site/common'
+ export 'BUILD_CXXFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -fpermissive'
+ BUILD_CXXFLAGS='-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -fpermissive'
+ export SESSION_MANAGER=local/debHome:/tmp/.ICE-unix/8217
+ SESSION_MANAGER=local/debHome:/tmp/.ICE-unix/8217
+ export HOME=/home/stuart
+ HOME=/home/stuart
+ export USERNAME=stuart
+ USERNAME=stuart
+ export TARGET_CPPFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
+ TARGET_CPPFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
+ export exec_prefix=/usr
+ exec_prefix=/usr
+ export DESKTOP_SESSION=default
+ DESKTOP_SESSION=default
+ export base_libdir=/lib
+ base_libdir=/lib
+ export STAGING_IDLDIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/idl
+ STAGING_IDLDIR=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/idl
+ export OEBRANCH=/home/stuart/overo-oe/org.openembedded.dev
+ OEBRANCH=/home/stuart/overo-oe/org.openembedded.dev
+ export LOGNAME=stuart
+ LOGNAME=stuart
+ export 'PATH=/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/sbin:/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/bin:/home/stuart/overo-oe/tmp/cross/armv7a/bin:/home/stuart/overo-oe/tmp/staging/x86_64-linux/sbin:/home/stuart/overo-oe/tmp/staging/x86_64-linux/bin:~/scripts:/home/stuart/overo-oe/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games'
+ PATH='/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/sbin:/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/bin:/home/stuart/overo-oe/tmp/cross/armv7a/bin:/home/stuart/overo-oe/tmp/staging/x86_64-linux/sbin:/home/stuart/overo-oe/tmp/staging/x86_64-linux/bin:~/scripts:/home/stuart/overo-oe/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games'
+ export 'TARGET_CFLAGS=-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
+ TARGET_CFLAGS='-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
+ export BUILD_AR=ar
+ BUILD_AR=ar
+ export sharedstatedir=/usr/com
+ sharedstatedir=/usr/com
+ export OBJDUMP=arm-angstrom-linux-gnueabi-objdump
+ OBJDUMP=arm-angstrom-linux-gnueabi-objdump
+ unset DISTRO
+ export libdir=/usr/lib
+ libdir=/usr/lib
+ export SHELL=/bin/bash
+ SHELL=/bin/bash
+ export palmqtdir=/usr/lib/opie
+ palmqtdir=/usr/lib/opie
+ export BUILD_STRIP=strip
+ BUILD_STRIP=strip
+ export OVEROTOP=/home/stuart/overo-oe
+ OVEROTOP=/home/stuart/overo-oe
+ cd /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2
+ do_compile
+ base_do_compile
+ '[' -e Makefile -o -e makefile ']'
+ oe_runmake
+ '[' xmake = x ']'
+ oenote make -j 4
+ echo NOTE: 'make -j 4'
NOTE: make -j 4
+ make -j 4
Scanning dependencies of target musicbrainz3
[ 3%] [ 7%] [ 10%] Building CXX object src/CMakeFiles/musicbrainz3.dir/artistalias.o
Building CXX object src/CMakeFiles/musicbrainz3.dir/tag.o
Building CXX object src/CMakeFiles/musicbrainz3.dir/label.o
[ 14%] [ 17%] Building CXX object src/CMakeFiles/musicbrainz3.dir/results.o
Building CXX object src/CMakeFiles/musicbrainz3.dir/disc.o
[ 21%] Building CXX object src/CMakeFiles/musicbrainz3.dir/track.o
[ 25%] [ 28%] [ 32%] Building CXX object src/CMakeFiles/musicbrainz3.dir/webservice.o
Building CXX object src/CMakeFiles/musicbrainz3.dir/user.o
Building CXX object src/CMakeFiles/musicbrainz3.dir/utils.o
[ 35%] Building CXX object src/CMakeFiles/musicbrainz3.dir/mb_c.o
[ 39%] [ 42%] Building CXX object src/CMakeFiles/musicbrainz3.dir/filters.o
Building CXX object src/CMakeFiles/musicbrainz3.dir/query.o
[ 46%] Building CXX object src/CMakeFiles/musicbrainz3.dir/releaseevent.o
[ 50%] Building CXX object src/CMakeFiles/musicbrainz3.dir/relation.o
[ 53%] Building CXX object src/CMakeFiles/musicbrainz3.dir/release.o
[ 57%] [ 60%] Building CXX object src/CMakeFiles/musicbrainz3.dir/utils_private.o
Building CXX object src/CMakeFiles/musicbrainz3.dir/metadata.o
[ 64%] Building CXX object src/CMakeFiles/musicbrainz3.dir/mbxmlparser.o
[ 67%] Building CXX object src/CMakeFiles/musicbrainz3.dir/artist.o
[ 71%] Building CXX object src/CMakeFiles/musicbrainz3.dir/entity.o
[ 75%] Building CXX object src/CMakeFiles/musicbrainz3.dir/includes.o
[ 78%] Building CXX object src/CMakeFiles/musicbrainz3.dir/xmlParser/xmlParser.o
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/src/xmlParser/xmlParser.cpp:116: warning: 'typedef' was ignored in this declaration
Linking CXX shared library libmusicbrainz3.so
[ 78%] Built target musicbrainz3
Scanning dependencies of target cdlookup
Scanning dependencies of target findartist
Scanning dependencies of target findtrack
[ 82%] Building CXX object examples/CMakeFiles/cdlookup.dir/cdlookup.o
[ 89%] [ 89%] Building CXX object examples/CMakeFiles/findtrack.dir/findtrack.o
Building CXX object examples/CMakeFiles/findartist.dir/findartist.o
Scanning dependencies of target getartist
[ 92%] Building CXX object examples/CMakeFiles/getartist.dir/getartist.o
Linking CXX executable cdlookup
Linking CXX executable findtrack
Linking CXX executable findartist
Linking CXX executable getartist
[ 92%] Built target cdlookup
Scanning dependencies of target getartist_c
[ 96%] Building C object examples/CMakeFiles/getartist_c.dir/getartist_c.o
Linking C executable getartist_c
[ 96%] Built target findtrack
[ 96%] Built target findartist
Scanning dependencies of target getuser
[100%] Building CXX object examples/CMakeFiles/getuser.dir/getuser.o
[100%] Built target getartist
/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: libstdc++.so.6, needed by ../src/libmusicbrainz3.so.6.2.0, not found (try using -rpath or -rpath-link)
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_allocate_exception@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned int) const@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::substr(unsigned int, unsigned int) const@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_throw@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_guard_release@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_guard_acquire@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_end_catch@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_rethrow@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_call_unexpected@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::ios_base::Init::Init()@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_end_cleanup@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::ios_base::Init::~Init()@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_free_exception@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::__throw_out_of_range(char const*)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::exception::~exception()@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `typeinfo for std::exception@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned int) const@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_leak_hard()@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_begin_catch@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::__throw_bad_alloc()@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `operator new(unsigned int)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::terminate()@GLIBCXX_3.4'
../src/libmusicbrainz3.so.6.2.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_not_of(char, unsigned int) const@GLIBCXX_3.4'
collect2: ld returned 1 exit status
make[2]: *** [examples/getartist_c] Error 1
make[1]: *** [examples/CMakeFiles/getartist_c.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable getuser
[100%] Built target getuser
make: *** [all] Error 2
+ die 'oe_runmake failed'
+ oefatal 'oe_runmake failed'
+ echo FATAL: 'oe_runmake failed'
FATAL: oe_runmake failed
+ exit 1
[-- Attachment #3: run.do_compile.20267 --]
[-- Type: application/octet-stream, Size: 45649 bytes --]
#!/bin/sh -e
set -x
export localstatedir="/var"
export prefix="/usr"
export STRIP="arm-angstrom-linux-gnueabi-strip"
export STAGING_SIPDIR="/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/share/sip"
export BUILD_CC="ccache gcc"
export PSTAGING_ACTIVE="1"
export GTK_RC_FILES="/etc/gtk/gtkrc:/home/stuart/.gtkrc-1.2-gnome2"
export libexecdir="/usr/libexec"
export datadir="/usr/share"
export BUILD_CXX="ccache g++"
export LD="arm-angstrom-linux-gnueabi-ld"
export EXTRA_OEMAKE="-j 4"
export bindir="/usr/bin"
export TARGET_CXXFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive"
export includedir="/usr/include"
export BUILD_LDFLAGS="-L/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1"
export BUILD_LD="ld"
export SDK_CFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3"
export oldincludedir="/usr/include"
export LANG="en_GB.UTF-8"
export BUILD_CCLD="gcc"
export USER="stuart"
export XDG_DATA_DIRS="/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share"
export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-G4RcDewtvB,guid=15cc70e92950ab65050906b84a8e5599"
export XAUTHORITY="/home/stuart/.Xauthority"
export QMAKE_MKSPEC_PATH="/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/share/qmake"
export palmtopdir="/usr/lib/opie"
export SDK_CPPFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include"
export CC="ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
export RANLIB="arm-angstrom-linux-gnueabi-ranlib"
export GNOME_KEYRING_SOCKET="/tmp/keyring-KApeKe/socket"
export CPPFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include"
export base_sbindir="/sbin"
export CXX="ccache arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
export BUILD_RANLIB="ranlib"
unset MACHINE
export COLORTERM="gnome-terminal"
export MANIFEST="/home/stuart/overo-oe/user.collection/recipes/musicbrainz/files/./manifest"
export mandir="/usr/share/man"
export USERBRANCH="/home/stuart/overo-oe/user.collection"
export OBJCOPY="arm-angstrom-linux-gnueabi-objcopy"
export servicedir="/srv"
export SDK_LDFLAGS="-L/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1"
export PKG_CONFIG_DIR="/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig"
export BB_ENV_EXTRAWHITE="MACHINE DISTRO ANGSTROM_MODE OVEROTOP OEBRANCH USERBRANCH TITOOLSDIR"
export sysconfdir="/etc"
export CCLD="ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
export base_bindir="/bin"
export sbindir="/usr/sbin"
export CFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3"
export TARGET_LDFLAGS="-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu"
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
export OPIEDIR="/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi"
export BUILD_F77="ccache g77"
export TITOOLSDIR="/home/stuart/overo-oe/ti"
export PWD="/home/stuart/overo-oe/build"
export _="/home/stuart/overo-oe/bitbake/bin/bitbake"
export AS="arm-angstrom-linux-gnueabi-as"
export PATCH_GET="0"
export CXXFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive -fvisibility-inlines-hidden"
export DISPLAY=":0.0"
export F77="ccache arm-angstrom-linux-gnueabi-g77 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
export GNOME_KEYRING_PID="8216"
export SSH_AUTH_SOCK="/tmp/keyring-KApeKe/ssh"
export QTDIR="/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/qt2"
export LDFLAGS="-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu"
export MAKE="make"
unset TARGET_ARCH
export SHELLCMDS="bash --rcfile $TERMRCFILE"
export QPEDIR="/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi"
export BBPATH="/home/stuart/overo-oe/build:/home/stuart/overo-oe/user.collection:/home/stuart/overo-oe/org.openembedded.dev"
export BUILD_CPP="cpp"
export SDK_CXXFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive"
export BUILD_CFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g"
export GPG_AGENT_INFO="/tmp/seahorse-p6uWGJ/S.gpg-agent:8272:1"
export docdir="/usr/share/doc"
export infodir="/usr/share/info"
export TERM="xterm"
export PKG_CONFIG_SYSROOT_DIR="/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi"
export PKG_CONFIG_PATH="/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig:/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/pkgconfig"
export AR="arm-angstrom-linux-gnueabi-ar"
export BUILD_CPPFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include"
export CPP="arm-angstrom-linux-gnueabi-gcc -E"
export CONFIG_SITE="/home/stuart/overo-oe/org.openembedded.dev/site/endian-little /home/stuart/overo-oe/org.openembedded.dev/site/common-linux /home/stuart/overo-oe/org.openembedded.dev/site/common-glibc /home/stuart/overo-oe/org.openembedded.dev/site/arm-common /home/stuart/overo-oe/org.openembedded.dev/site/arm-linux /home/stuart/overo-oe/org.openembedded.dev/site/common /home/stuart/overo-oe/org.openembedded.dev/site/common"
export BUILD_CXXFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -fpermissive"
export SESSION_MANAGER="local/debHome:/tmp/.ICE-unix/8217"
export HOME="/home/stuart"
export USERNAME="stuart"
export TARGET_CPPFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include"
export exec_prefix="/usr"
export DESKTOP_SESSION="default"
export base_libdir="/lib"
export STAGING_IDLDIR="/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/idl"
export OEBRANCH="/home/stuart/overo-oe/org.openembedded.dev"
export LOGNAME="stuart"
export PATH="/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/sbin:/home/stuart/overo-oe/tmp/staging/x86_64-linux/usr/bin:/home/stuart/overo-oe/tmp/cross/armv7a/bin:/home/stuart/overo-oe/tmp/staging/x86_64-linux/sbin:/home/stuart/overo-oe/tmp/staging/x86_64-linux/bin:~/scripts:/home/stuart/overo-oe/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games"
export TARGET_CFLAGS="-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3"
export BUILD_AR="ar"
export sharedstatedir="/usr/com"
export OBJDUMP="arm-angstrom-linux-gnueabi-objdump"
unset DISTRO
export libdir="/usr/lib"
export SHELL="/bin/bash"
export palmqtdir="/usr/lib/opie"
export BUILD_STRIP="strip"
export OVEROTOP="/home/stuart/overo-oe"
do_devshell() {
devshell_do_devshell
}
do_fetchall() {
base_do_fetchall
}
do_recipe_sanity_all() {
:
}
base_do_buildall() {
:
}
base_do_configure() {
:
}
package_generate_ipkg_conf() {
mkdir -p /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/
echo "src oe file:/home/stuart/overo-oe/tmp/deploy/glibc/ipk" > /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/opkg.conf
echo "src oe file:/home/stuart/overo-oe/tmp/deploy/glibc/ipk" > /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/opkg-sdk.conf
echo "src oe file:/home/stuart/overo-oe/tmp/deploy/glibc/ipk" > /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/opkg-canadian-sdk.conf
ipkgarchs="all any noarch arm armv4 armv4t armv5te armv6 armv7 armv7a overo"
priority=1
for arch in $ipkgarchs; do
echo "arch $arch $priority" >> /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/opkg.conf
echo "arch x86_64-$arch-sdk $priority" >> /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/opkg-sdk.conf
echo "arch x86_64-linux-sdk-$arch $priority" >> /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/opkg-canadian-sdk.conf
priority=$(expr $priority + 5)
if [ -e /home/stuart/overo-oe/tmp/deploy/glibc/ipk/$arch/Packages ] ; then
echo "src oe-$arch file:/home/stuart/overo-oe/tmp/deploy/glibc/ipk/$arch" >> /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/opkg.conf
fi
if [ -e /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-$arch-sdk/Packages ] ; then
echo "src oe-x86_64-$arch-sdk file:/home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-$arch-sdk" >> /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/opkg-sdk.conf
fi
if [ -e /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-linux-sdk-$arch/Packages ] ; then
echo "src oe-x86_64-linux-sdk-$arch file:/home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-linux-sdk-$arch" >> /home/stuart/overo-oe/tmp/staging/x86_64-linux/etc/opkg-canadian-sdk.conf
fi
done
}
autotools_do_configure() {
case libmusicbrainz in
autoconf*)
;;
automake*)
;;
*)
# WARNING: gross hack follows:
# An autotools built package generally needs these scripts, however only
# automake or libtoolize actually install the current versions of them.
# This is a problem in builds that do not use libtool or automake, in the case
# where we -need- the latest version of these scripts. e.g. running a build
# for a package whose autotools are old, on an x86_64 machine, which the old
# config.sub does not support. Work around this by installing them manually
# regardless.
( for ac in `find /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2 -name configure.in -o -name configure.ac`; do
rm -f `dirname $ac`/configure
done )
if [ -e /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/configure.in -o -e /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/configure.ac ]; then
olddir=`pwd`
cd /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2
if [ x"default" = xdefault ]; then
acpaths=
for i in `find /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2 -maxdepth 2 -name \*.m4|grep -v 'aclocal.m4'| \
grep -v 'acinclude.m4' | sed -e 's,\(.*/\).*$,\1,'|sort -u`; do
acpaths="$acpaths -I $i"
done
else
acpaths="default"
fi
AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
automake --version
echo "AUTOV is $AUTOV"
install -d /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/aclocal
install -d /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/aclocal-$AUTOV
acpaths="$acpaths -I/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/aclocal-$AUTOV -I /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/aclocal"
# autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
# like it was auto-generated. Work around this by blowing it away
# by hand, unless the package specifically asked not to run aclocal.
if ! echo --exclude=autopoint | grep -q "aclocal"; then
rm -f aclocal.m4
fi
if [ -e configure.in ]; then
CONFIGURE_AC=configure.in
else
CONFIGURE_AC=configure.ac
fi
if grep "^AM_GLIB_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then
: do nothing -- we still have an old unmodified configure.ac
else
oenote Executing glib-gettextize --force --copy
echo "no" | glib-gettextize --force --copy
fi
fi
if grep "^[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then
oenote Executing intltoolize --copy --force --automake
intltoolize --copy --force --automake
fi
oenote Executing autoreconf --verbose --install --force --exclude=autopoint $acpaths
mkdir -p m4
autoreconf -Wcross --verbose --install --force --exclude=autopoint $acpaths || oefatal "autoreconf execution failed."
cd $olddir
fi
;;
esac
if [ -e /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/configure ]; then
oe_runconf $@
else
oenote "nothing to configure"
fi
}
base_do_stage() {
:
}
do_package_update_index_ipk() {
set -x
ipkgarchs="all any noarch arm armv4 armv4t armv5te armv6 armv7 armv7a overo"
if [ ! -z "${DEPLOY_KEEP_PACKAGES}" ]; then
return
fi
touch /home/stuart/overo-oe/tmp/deploy/glibc/ipk/Packages
ipkg-make-index -r /home/stuart/overo-oe/tmp/deploy/glibc/ipk/Packages -p /home/stuart/overo-oe/tmp/deploy/glibc/ipk/Packages -l /home/stuart/overo-oe/tmp/deploy/glibc/ipk/Packages.filelist -m /home/stuart/overo-oe/tmp/deploy/glibc/ipk
for arch in $ipkgarchs; do
if [ -e /home/stuart/overo-oe/tmp/deploy/glibc/ipk/$arch/ ] ; then
touch /home/stuart/overo-oe/tmp/deploy/glibc/ipk/$arch/Packages
ipkg-make-index -r /home/stuart/overo-oe/tmp/deploy/glibc/ipk/$arch/Packages -p /home/stuart/overo-oe/tmp/deploy/glibc/ipk/$arch/Packages -l /home/stuart/overo-oe/tmp/deploy/glibc/ipk/$arch/Packages.filelist -m /home/stuart/overo-oe/tmp/deploy/glibc/ipk/$arch/
fi
if [ -e /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-$arch-sdk/ ] ; then
touch /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-$arch-sdk/Packages
ipkg-make-index -r /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-$arch-sdk/Packages -p /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-$arch-sdk/Packages -l /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-$arch-sdk/Packages.filelist -m /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-$arch-sdk/
fi
if [ -e /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-linux-sdk-$arch/ ] ; then
touch /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-linux-sdk-$arch/Packages
ipkg-make-index -r /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-linux-sdk-$arch/Packages -p /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-linux-sdk-$arch/Packages -l /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-linux-sdk-$arch/Packages.filelist -m /home/stuart/overo-oe/tmp/deploy/glibc/ipk/x86_64-linux-sdk-$arch/
fi
done
}
die() {
oefatal "$*"
}
base_do_install() {
:
}
do_package_stage_all() {
:
}
base_do_fetchall() {
:
}
base_do_package() {
:
}
oe_soinstall() {
# Purpose: Install shared library file and
# create the necessary links
# Example:
#
# oe_
#
#oenote installing shared library $1 to $2
#
libname=`basename $1`
install -m 755 $1 $2/$libname
sonamelink=`arm-angstrom-linux-gnueabi-readelf -d $1 |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
solink=`echo $libname | sed -e 's/\.so\..*/.so/'`
ln -sf $libname $2/$sonamelink
ln -sf $libname $2/$solink
}
package_stagefile_shell() {
if [ "$PSTAGING_ACTIVE" = "1" ]; then
srcfile=$1
destfile=`echo $srcfile | sed s#/home/stuart/overo-oe/tmp#/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg#`
destdir=`dirname $destfile`
mkdir -p $destdir
cp -dp $srcfile $destfile
fi
}
devshell_do_devshell() {
export TERMWINDOWTITLE="Bitbake Developer Shell"
gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"
if [ $? -ne 0 ]; then
echo "Fatal: 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"' not found. Check TERMCMD variable."
exit 1
fi
}
oe_libinstall() {
# Purpose: Install a library, in all its forms
# Example
#
# oe_libinstall libltdl /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/
# oe_libinstall -C src/libblah libblah /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/image//usr/lib/
dir=""
libtool=""
silent=""
require_static=""
require_shared=""
staging_install=""
while [ "$#" -gt 0 ]; do
case "$1" in
-C)
shift
dir="$1"
;;
-s)
silent=1
;;
-a)
require_static=1
;;
-so)
require_shared=1
;;
-*)
oefatal "oe_libinstall: unknown option: $1"
;;
*)
break;
;;
esac
shift
done
libname="$1"
shift
destpath="$1"
if [ -z "$destpath" ]; then
oefatal "oe_libinstall: no destination path specified"
fi
if echo "$destpath/" | egrep '^/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/' >/dev/null
then
staging_install=1
fi
__runcmd () {
if [ -z "$silent" ]; then
echo >&2 "oe_libinstall: $*"
fi
$*
}
if [ -z "$dir" ]; then
dir=`pwd`
fi
dotlai=$libname.lai
# Sanity check that the libname.lai is unique
number_of_files=`(cd $dir; find . -name "$dotlai") | wc -l`
if [ $number_of_files -gt 1 ]; then
oefatal "oe_libinstall: $dotlai is not unique in $dir"
fi
dir=$dir`(cd $dir;find . -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"`
olddir=`pwd`
__runcmd cd $dir
lafile=$libname.la
# If such file doesn't exist, try to cut version suffix
if [ ! -f "$lafile" ]; then
libname1=`echo "$libname" | sed 's/-[0-9.]*$//'`
lafile1=$libname.la
if [ -f "$lafile1" ]; then
libname=$libname1
lafile=$lafile1
fi
fi
if [ -f "$lafile" ]; then
# libtool archive
eval `cat $lafile|grep "^library_names="`
libtool=1
else
library_names="$libname.so* $libname.dll.a"
fi
__runcmd install -d $destpath/
dota=$libname.a
if [ -f "$dota" -o -n "$require_static" ]; then
__runcmd install -m 0644 $dota $destpath/
fi
if [ -f "$dotlai" -a -n "$libtool" ]; then
if test -n "$staging_install"
then
# stop libtool using the final directory name for libraries
# in staging:
__runcmd rm -f $destpath/$libname.la
__runcmd sed -e 's/^installed=yes$/installed=no/' \
-e '/^dependency_libs=/s,/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/\1,g' \
-e "/^dependency_libs=/s,\([[:space:]']\)/usr/lib,\1/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib,g" \
$dotlai >$destpath/$libname.la
else
__runcmd install -m 0644 $dotlai $destpath/$libname.la
fi
fi
for name in $library_names; do
files=`eval echo $name`
for f in $files; do
if [ ! -e "$f" ]; then
if [ -n "$libtool" ]; then
oefatal "oe_libinstall: $dir/$f not found."
fi
elif [ -L "$f" ]; then
__runcmd cp -P "$f" $destpath/
elif [ ! -L "$f" ]; then
libfile="$f"
__runcmd install -m 0755 $libfile $destpath/
fi
done
done
if [ -z "$libfile" ]; then
if [ -n "$require_shared" ]; then
oefatal "oe_libinstall: unable to locate shared library"
fi
elif [ -z "$libtool" ]; then
# special case hack for non-libtool .so.#.#.# links
baselibfile=`basename "$libfile"`
if (echo $baselibfile | grep -qE '^lib.*\.so\.[0-9.]*$'); then
sonamelink=`arm-angstrom-linux-gnueabi-readelf -d $libfile |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
solink=`echo $baselibfile | sed -e 's/\.so\..*/.so/'`
if [ -n "$sonamelink" -a x"$baselibfile" != x"$sonamelink" ]; then
__runcmd ln -sf $baselibfile $destpath/$sonamelink
fi
__runcmd ln -sf $baselibfile $destpath/$solink
fi
fi
__runcmd cd "$olddir"
}
cmake_do_configure() {
if [ ]
then
mkdir
cd
fi
cmake . \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_FIND_ROOT_PATH=/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi \
${EXTRA_OECMAKE} \
-Wno-dev
}
oe_runconf() {
if [ -x /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/configure ] ; then
cfgcmd="/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/configure \
--build=x86_64-linux \
--host=arm-angstrom-linux-gnueabi \
--target=arm-angstrom-linux-gnueabi \
--prefix=/usr \
--exec_prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/libexec \
--datadir=/usr/share \
--sysconfdir=/etc \
--sharedstatedir=/usr/com \
--localstatedir=/var \
--libdir=/usr/lib \
--includedir=/usr/include \
--oldincludedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
${EXTRA_OECONF} \
$@"
oenote "Running $cfgcmd..."
$cfgcmd || oefatal "oe_runconf failed"
else
oefatal "no configure script found"
fi
}
do_install() {
for i in `find /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/ -name "*.pc" -type f` ; do \
sed -i -e 's:-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib::g' $i
done
cmake_do_install
for i in `find /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/image -name "*.la"` ; do \
sed -i -e '/^dependency_libs=/s,/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/usr/lib/\1,g' $i
sed -i -e s:/home/stuart/overo-oe/tmp/cross/armv7a/arm-angstrom-linux-gnueabi::g $i
sed -i -e s:/home/stuart/overo-oe/tmp/cross/armv7a::g $i
sed -i -e s:/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib:/usr/lib:g $i
sed -i -e s:/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi::g $i
sed -i -e s:/home/stuart/overo-oe/tmp/staging::g $i
sed -i -e s:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2::g $i
sed -i -e s:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp::g $i
sed -i -e s:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/image::g $i
done
}
staging_package_installer() {
#stage-manager-ipkg -f /home/stuart/overo-oe/tmp/deploy/glibc/pstage/opkg.conf -force-depends -o /home/stuart/overo-oe/tmp install /home/stuart/overo-oe/tmp/deploy/glibc/pstage/angstromglibc/staging-libmusicbrainz-armv7a-angstrom-linux-gnueabi_3.0.2-r0_x86_64-linux.ipk
STATUSFILE=/home/stuart/overo-oe/tmp/usr/lib/opkg/status
echo "Package: staging-libmusicbrainz-armv7a-angstrom-linux-gnueabi" >> $STATUSFILE
echo "Version: 3.0.2-r0" >> $STATUSFILE
echo "Status: install user installed" >> $STATUSFILE
echo "Architecture: x86_64-linux" >> $STATUSFILE
echo "" >> $STATUSFILE
CTRLFILE=/home/stuart/overo-oe/tmp/usr/lib/opkg/info/staging-libmusicbrainz-armv7a-angstrom-linux-gnueabi.control
echo "Package: staging-libmusicbrainz-armv7a-angstrom-linux-gnueabi" > $CTRLFILE
echo "Version: 3.0.2-r0" >> $CTRLFILE
echo "Architecture: x86_64-linux" >> $CTRLFILE
cd /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg
find -type f | grep -v ./CONTROL | sed -e 's/^\.//' > /home/stuart/overo-oe/tmp/usr/lib/opkg/info/staging-libmusicbrainz-armv7a-angstrom-linux-gnueabi.list
}
oedebug() {
test $# -ge 2 || {
echo "Usage: oedebug level \"message\""
exit 1
}
test ${OEDEBUG:-0} -ge $1 && {
shift
echo "DEBUG:" $*
}
}
oe_runmake() {
if [ x"$MAKE" = x ]; then MAKE=make; fi
oenote make -j 4 "$@"
make -j 4 "$@" || die "oe_runmake failed"
}
populate_staging_preamble() {
if [ "$PSTAGING_ACTIVE" = "1" ]; then
stage-manager -p /home/stuart/overo-oe/tmp/staging -c /home/stuart/overo-oe/tmp/deploy/glibc/pstage/stamp-cache-staging -u || true
stage-manager -p /home/stuart/overo-oe/tmp/cross/armv7a -c /home/stuart/overo-oe/tmp/deploy/glibc/pstage/stamp-cache-cross -u || true
fi
}
do_stage() {
autotools_stage_all
install -d /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig
for pc in `find /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2 -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
pcname=`basename $pc`
cat $pc > /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig/$pcname
done
}
oe_machinstall() {
# Purpose: Install machine dependent files, if available
# If not available, check if there is a default
# If no default, just touch the destination
# Example:
# $1 $2 $3 $4
# oe_machinstall -m 0644 fstab /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/image/etc/fstab
#
# TODO: Check argument number?
#
filename=`basename $3`
dirname=`dirname $3`
for o in `echo task-compile:local:overo:angstrom:linux-gnueabi:arm:build-linux:fail-fast:pn-libmusicbrainz:armv7a:libc-glibc | tr ':' ' '`; do
if [ -e $dirname/$o/$filename ]; then
oenote $dirname/$o/$filename present, installing to $4
install $1 $2 $dirname/$o/$filename $4
return
fi
done
# oenote overrides specific file NOT present, trying default=$3...
if [ -e $3 ]; then
oenote $3 present, installing to $4
install $1 $2 $3 $4
else
oenote $3 NOT present, touching empty $4
touch $4
fi
}
autotools_stage_all() {
if [ "${INHIBIT_AUTO_STAGE}" = "1" ]
then
return
fi
rm -rf /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging
mkdir -p /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging
oe_runmake DESTDIR="/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging" install
autotools_stage_dir /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/include /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
if [ "x86_64-linux" = "arm-angstrom-linux-gnueabi" ]; then
autotools_stage_dir /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/bin /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/bin
autotools_stage_dir /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/sbin /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/sbin
autotools_stage_dir /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//bin /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/bin
autotools_stage_dir /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//sbin /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/sbin
autotools_stage_dir /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/libexec /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/libexec
if [ "/usr/lib" != "/usr/lib" ]; then
# python puts its files in here, make sure they are staged as well
autotools_stage_dir /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/lib /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib
fi
fi
if [ -d /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/lib ]
then
olddir=`pwd`
cd /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/lib
las=$(find . -name \*.la -type f)
cd $olddir
echo "Found la files: $las"
for i in $las
do
sed -e 's/^installed=yes$/installed=no/' \
-e '/^dependency_libs=/s,/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*.la\),/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/\1,g' \
-e '/^dependency_libs=/s,/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib,g' \
-e "/^dependency_libs=/s,\([[:space:]']\)/usr/lib,\1/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib,g" \
-i /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/lib/$i
done
autotools_stage_dir /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/lib /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib
fi
# Ok, this is nasty. pkgconfig.bbclass is usually used to install .pc files,
# however some packages rely on the presence of .pc files to enable/disable
# their configurataions in which case we better should not install everything
# unconditionally, but rather depend on the actual results of make install.
# The good news though: a) there are not many packages doing this and
# b) packaged staging will fix that anyways. :M:
if [ "${AUTOTOOLS_STAGE_PKGCONFIG}" = "1" ]
then
if [ -e /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/lib/pkgconfig/ ] ; then
echo "cp -f /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/lib/pkgconfig/*.pc /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig/"
cp -f /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/lib/pkgconfig/*.pc /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig/
fi
if [ -e /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/share/pkgconfig/ ] ; then
echo "cp -f /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/share/pkgconfig/*.pc /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/pkgconfig/"
cp -f /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/share/pkgconfig/*.pc /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share/pkgconfig/
fi
fi
rm -rf /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/share/man || true
rm -rf /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/share/info || true
autotools_stage_dir /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/share /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/share
rm -rf /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging
}
do_configure() {
oenote doing prepend of configure SGNOTE
#oe_soinstall
# oe_libinstall -so libstdc++ /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib
cmake_do_configure
}
SRC_DISTRIBUTECOMMAND() {
s="${SRC}"
if [ ! -L "$s" ] && (echo "$s"|grep "^/home/stuart/overo-oe/sources"); then
:
else
exit 0;
fi
mkdir -p /home/stuart/overo-oe/tmp/deploy/glibc/sources
case "symlink" in
copy)
test -e $s.md5 && cp -f $s.md5 /home/stuart/overo-oe/tmp/deploy/glibc/sources/
cp -f $s /home/stuart/overo-oe/tmp/deploy/glibc/sources/
;;
symlink)
test -e $s.md5 && ln -sf $s.md5 /home/stuart/overo-oe/tmp/deploy/glibc/sources/
ln -sf $s /home/stuart/overo-oe/tmp/deploy/glibc/sources/
;;
move+symlink)
mv $s /home/stuart/overo-oe/tmp/deploy/glibc/sources/
ln -sf /home/stuart/overo-oe/tmp/deploy/glibc/sources/`basename $s` $s
;;
esac
}
do_testlab() {
if [ -e /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz/etc/opkg ] && [ "${ONLINE_PACKAGE_MANAGEMENT}" = "full" ] ; then
TESTLAB_DIR="/home/stuart/overo-oe/tmp/deploy/glibc/images/overo/Angstrom-libmusicbrainz-glibc-ipk-2009.X-test-20090824-overo-testlab"
mkdir -p ${TESTLAB_DIR}/
ls -laR /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz > ${TESTLAB_DIR}/files-in-image.txt
echo > ${TESTLAB_DIR}/installed-packages.txt
echo -e "digraph depends {\n node [shape=plaintext]" > ${TESTLAB_DIR}/depends.dot
for pkg in $(opkg-cl -f /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz/etc/opkg -o /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz list_installed | awk '{print $1}') ; do
opkg-cl -f /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz/etc/opkg -o /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz info $pkg | awk '/Package/ {printf $2"_"} /Version/ {printf $2"_"} /Archi/ {print $2".ipk"}' >> ${TESTLAB_DIR}/installed-packages.txt
for depends in $(opkg-cl -f /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz/etc/opkg -o /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz info $pkg | grep Depends) ; do
echo "$pkg OPP $depends;" | grep -v "(" | grep -v ")" | grep -v Depends | sed -e 's:,::g' -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' |sed 's:OPP:->:g' >> ${TESTLAB_DIR}/depends.dot
done
for recommends in $(opkg-cl -f /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz/etc/opkg -o /home/stuart/overo-oe/tmp/rootfs/libmusicbrainz info $pkg | grep Recom) ; do
echo "$pkg OPP $recommends [style=dotted];" | grep -v "(" | grep -v ")" | grep -v Recom | sed -e 's:,::g' -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' |sed 's:OPP:->:g' >> ${TESTLAB_DIR}/depends.dot
done
done
echo "}" >> ${TESTLAB_DIR}/depends.dot
grep -v kernel_2 ${TESTLAB_DIR}/depends.dot | grep -v kernel_image > ${TESTLAB_DIR}/depends-nokernel.dot
grep -v libc6 ${TESTLAB_DIR}/depends-nokernel.dot | grep -v libgcc > ${TESTLAB_DIR}/depends-nokernel-nolibc.dot
grep -v update_ ${TESTLAB_DIR}/depends-nokernel-nolibc.dot > ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot
grep -v kernel_module ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot > ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate-nomodules.dot
#dot has some library troubles when run under fakeroot, uncomment at your own risk
#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies.png ${TESTLAB_DIR}/depends.dot
#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc.png ${TESTLAB_DIR}/depends-nokernel-nolibc.dot
#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc-noupdate.png ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot
#dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc-noupdate-nomodules.png ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate-nomodules.dot
for file in $(cat ${TESTLAB_DIR}/installed-packages.txt) ; do
du -k $(find /home/stuart/overo-oe/tmp/deploy/glibc/ipk -name "$file") | head -n1
done | grep "\.ipk" | sed -e s:/home/stuart/overo-oe/tmp/deploy/glibc/ipk::g | sort -n -r | awk '{print $1 "\tKiB " $2}' > ${TESTLAB_DIR}/installed-package-sizes.txt
fi
}
ldconfig_postinst_fragment() {
if [ x"$D" = "x" ]; then
if [ -e /etc/ld.so.conf ] ; then
[ -x /sbin/ldconfig ] && /sbin/ldconfig
fi
fi
}
cmake_do_install() {
autotools_do_install
}
autotools_do_install() {
oe_runmake 'DESTDIR=/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/image' install
}
populate_staging_postamble() {
if [ "$PSTAGING_ACTIVE" = "1" ]; then
# list the packages currently installed in staging
# stage-manager-ipkg -f /home/stuart/overo-oe/tmp/deploy/glibc/pstage/opkg.conf -o /home/stuart/overo-oe/tmp list_installed | awk '{print $1}' > /home/stuart/overo-oe/tmp/deploy/glibc/pstage/installed-list
# exitcode == 5 is ok, it means the files change
set +e
stage-manager -p /home/stuart/overo-oe/tmp/staging -c /home/stuart/overo-oe/tmp/deploy/glibc/pstage/stamp-cache-staging -u -d /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/staging
exitcode=$?
if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then
exit $exitcode
fi
stage-manager -p /home/stuart/overo-oe/tmp/cross/armv7a -c /home/stuart/overo-oe/tmp/deploy/glibc/pstage/stamp-cache-cross -u -d /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/cross
if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then
exit $exitcode
fi
set -e
fi
}
staging_helper() {
# Assemble appropriate opkg.conf
conffile=/home/stuart/overo-oe/tmp/deploy/glibc/pstage/opkg.conf
mkdir -p /home/stuart/overo-oe/tmp/deploy/glibc/pstage/pstaging_lists
if [ ! -e $conffile ]; then
ipkgarchs="x86_64-linux"
priority=1
for arch in $ipkgarchs; do
echo "arch $arch $priority" >> $conffile
priority=$(expr $priority + 5)
done
echo "dest root /" >> $conffile
fi
if [ ! -e /home/stuart/overo-oe/tmp/usr/lib/opkg/info/ ]; then
mkdir -p /home/stuart/overo-oe/tmp/usr/lib/opkg/info/
fi
if [ ! -e /home/stuart/overo-oe/tmp/usr/lib/ipkg/ ]; then
cd /home/stuart/overo-oe/tmp/usr/lib/
ln -sf opkg/ ipkg
fi
}
staging_packager() {
mkdir -p /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL
mkdir -p /home/stuart/overo-oe/tmp/deploy/glibc/pstage/angstromglibc
echo "Package: staging-libmusicbrainz-armv7a-angstrom-linux-gnueabi" > /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL/control
echo "Version: 3.0.2-r0" >> /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL/control
echo "Description: The MusicBrainz client is a library which can be built into other programs. It allows you to access the data held on the MusicBrainz server." >> /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL/control
echo "Section: base" >> /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL/control
echo "Priority: Optional" >> /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL/control
echo "Maintainer: Angstrom Developers <angstrom-distro-devel@linuxtogo.org>" >> /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL/control
echo "Architecture: x86_64-linux" >> /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL/control
# Protect against empty SRC_URI
if [ "http://ftp.musicbrainz.org/libmusicbrainz-3.0.2.tar.gz" != "" ] ; then
echo "Source: http://ftp.musicbrainz.org/libmusicbrainz-3.0.2.tar.gz" >> /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL/control
else
echo "Source: OpenEmbedded" >> /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg/CONTROL/control
fi
stage-manager-ipkg-build -o 0 -g 0 /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/staging-pkg /home/stuart/overo-oe/tmp/deploy/glibc/pstage/angstromglibc
}
do_compile() {
base_do_compile
}
base_do_checkuriall() {
:
}
autotools_stage_includes() {
if [ "${INHIBIT_AUTO_STAGE_INCLUDES}" != "1" ]
then
rm -rf /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging
mkdir -p /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging
make DESTDIR="/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging" install
cp -pPR /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging//usr/include/* /home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
rm -rf /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/temp-staging
fi
}
oewarn() {
echo "WARNING:" "$*"
}
oefatal() {
echo "FATAL:" "$*"
exit 1
}
base_do_compile() {
if [ -e Makefile -o -e makefile ]; then
oe_runmake || die "make failed"
else
oenote "nothing to compile"
fi
}
autotools_stage_dir() {
from="$1"
to="$2"
# This will remove empty directories so we can ignore them
rmdir "$from" 2> /dev/null || true
if [ -d "$from" ]; then
mkdir -p "$to"
cp -fpPR "$from"/* "$to"
fi
}
base_do_distsrcall() {
:
}
oenote() {
echo "NOTE:" "$*"
}
do_package_write() {
:
}
MIRRORS() {
ftp://ftp.debian.org/debian/pool/main http://snapshot.debian.net/archive/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.de.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.au.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.cl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.hr.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.fi.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.hk.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.hu.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.ie.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.it.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.jp.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.no.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.pl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.ro.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.si.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.es.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.se.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool ftp://ftp.tr.debian.org/debian/pool
ftp://ftp.gnu.org/gnu ftp://mirrors.kernel.org/gnu
ftp://ftp.gnu.org/gnu ftp://ftp.matrix.com.br/pub/gnu
ftp://ftp.gnu.org/gnu ftp://ftp.cs.ubc.ca/mirror2/gnu
ftp://ftp.gnu.org/gnu ftp://sunsite.ust.hk/pub/gnu
ftp://ftp.gnu.org/gnu ftp://ftp.ayamura.org/pub/gnu
http://kernel.org http://www.kernel.org/pub
http://kernel.org ftp://ftp.us.kernel.org/pub
http://kernel.org ftp://ftp.uk.kernel.org/pub
http://kernel.org ftp://ftp.hk.kernel.org/pub
http://kernel.org ftp://ftp.au.kernel.org/pub
http://kernel.org ftp://ftp.jp.kernel.org/pub
ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/
ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.surfnet.nl/pub/security/gnupg/
ftp://ftp.gnupg.org/gcrypt/ http://gulus.USherbrooke.ca/pub/appl/GnuPG/
ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN
ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/
ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnutls.org/pub/gnutls/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnupg.org/gcrypt/gnutls/
ftp://ftp.gnutls.org/pub/gnutls http://www.mirrors.wiretapped.net/security/network-security/gnutls/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/
ftp://ftp.gnutls.org/pub/gnutls http://josefsson.org/gnutls/releases/
http://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/
http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tau.ac.il/pub/unix/admin/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.kaizo.org/pub/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tu-darmstadt.de/pub/sysadmin/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tux.org/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://sunsite.ualberta.ca/pub/Mirror/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://the.wiretapped.net/pub/security/host-security/lsof/
http://www.apache.org/dist http://archive.apache.org/dist
ftp://.*/.* http://www.angstrom-distribution.org/unstable/sources/
https?$://.*/.* http://www.angstrom-distribution.org/unstable/sources/
}
cd /home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2
do_compile
[-- Attachment #4: libmusicbrainz_3.0.2.bb --]
[-- Type: application/octet-stream, Size: 537 bytes --]
DEFAULT_PREFERENCE = "1"
DESCRIPTION = "The MusicBrainz client is a library which can be built into other programs. \
It allows you to access the data held on the MusicBrainz server."
HOMEPAGE = "http://musicbrainz.org"
LICENSE = "LGPL"
DEPENDS = "expat neon"
SRC_URI = "http://ftp.musicbrainz.org/libmusicbrainz-3.0.2.tar.gz"
inherit cmake pkgconfig
do_configure_prepend() {
oenote doing prepend of configure SGNOTE
#oe_soinstall
# oe_libinstall -so libstdc++ ${STAGING_LIBDIR}
}
do_stage() {
autotools_stage_all
}
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Musicbrainz
2009-08-24 9:50 ` Musicbrainz Stuart Gray
@ 2009-08-24 9:59 ` Stuart Gray
2009-08-25 11:07 ` Musicbrainz Holger Hans Peter Freyther
0 siblings, 1 reply; 6+ messages in thread
From: Stuart Gray @ 2009-08-24 9:59 UTC (permalink / raw)
To: openembedded-devel
I've fixed it.
I added oe_soinstall and pulled the so file in for compilation.
Cheers,
Stuart
2009/8/24 Stuart Gray <stuart68@gmail.com>
> I have included the full log files for the compilation with my bb file.
>
> I am fairly new to Linux and OE, but from the run_compile log file I
> thought I should be adding an include which points to the libstdc++.so.6.
>
> I have the OE User Manual and I am continually reading through the sections
> to find a solution. I tried to append the TARGET_LDFLAGS, but it was not
> very successful, it looked like it could not find the compiler.
>
> Thanks for any further guidance you can give.
> Stuart
>
> 2009/8/23 Holger Hans Peter Freyther <holger+oe@freyther.de<holger%2Boe@freyther.de>
> >
>
> On Saturday 22 August 2009 12:00:54 Stuart Gray wrote:
>> > hi,
>> >
>> > Has any one successfully compiled libmusicbrainz_3.0.2.
>> >
>> > I have this compiling but it fails at the linking stage as it cannot
>> find
>> > the library libstdc++.so.6.
>> >
>> > I have tried various EXTRA_OEMAKE, OECONF, OECMAKE, but none will add
>> the
>> > option to the linking stage. Can anyone give me some pointers.
>>
>> Hey Stuart,
>>
>> please stop cross-posting. My emails bounce from the gumstix mailinglist
>> and
>> this is not fun...
>>
>> With the limited information I have I would propose to:
>> - Link with g++ instead of gcc
>> - Or link to -lsupc++ (e.g. you change ammend the TARGET_LDFLAGS)
>>
>> z.
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Musicbrainz
2009-08-24 9:59 ` Musicbrainz Stuart Gray
@ 2009-08-25 11:07 ` Holger Hans Peter Freyther
2009-08-25 12:55 ` Musicbrainz Koen Kooi
0 siblings, 1 reply; 6+ messages in thread
From: Holger Hans Peter Freyther @ 2009-08-25 11:07 UTC (permalink / raw)
To: openembedded-devel
On Monday 24 August 2009 11:59:31 Stuart Gray wrote:
> I've fixed it.
>
> I added oe_soinstall and pulled the so file in for compilation.
Yes, and it is a messy fix. I have pushed musicbrainz_3.0.2 to OE and use
another -rpath-link to point it to the libstdc++.
One more detail... gcc 4.3/binutils are "leaking" c++ symbols and when
building the C application, gcc is used for the linking and it is not able to
find the c++ library. I'm manually pointing gcc to the path of this library
now.
z.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Musicbrainz
2009-08-25 11:07 ` Musicbrainz Holger Hans Peter Freyther
@ 2009-08-25 12:55 ` Koen Kooi
0 siblings, 0 replies; 6+ messages in thread
From: Koen Kooi @ 2009-08-25 12:55 UTC (permalink / raw)
To: openembedded-devel
On 25-08-09 13:07, Holger Hans Peter Freyther wrote:
> On Monday 24 August 2009 11:59:31 Stuart Gray wrote:
>> I've fixed it.
>>
>> I added oe_soinstall and pulled the so file in for compilation.
>
> Yes, and it is a messy fix. I have pushed musicbrainz_3.0.2 to OE and use
> another -rpath-link to point it to the libstdc++.
>
>
> One more detail... gcc 4.3/binutils are "leaking" c++ symbols and when
> building the C application, gcc is used for the linking and it is not able to
> find the c++ library. I'm manually pointing gcc to the path of this library
> now.
Use AC_PROG_CXX or set LD to g++, that usually fixes it.
regards,
Koen
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-08-25 13:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-22 10:00 Musicbrainz Stuart Gray
2009-08-23 2:53 ` Musicbrainz Holger Hans Peter Freyther
2009-08-24 9:50 ` Musicbrainz Stuart Gray
2009-08-24 9:59 ` Musicbrainz Stuart Gray
2009-08-25 11:07 ` Musicbrainz Holger Hans Peter Freyther
2009-08-25 12:55 ` Musicbrainz Koen Kooi
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.