[Bug 1328838] Re: Can't x-build ubuntu-system-settings with 1.0.4ubuntu1: /usr/lib/arm-linux-gnueabihf/libapt-pkg.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
Iain Lane
iain at orangesquash.org.uk
Thu Jun 12 11:29:58 UTC 2014
On Thu, Jun 12, 2014 at 09:36:38AM -0000, Matthias Klose wrote:
> looks like 4.8 was used for the cross build and 4.9 for the native
> builds. This should be rechecked with a 4.9 cross compiler
I expect it will work. The problem is updating the native defaults and
not the cross ones.
--
Iain Lane [ iain at orangesquash.org.uk ]
Debian Developer [ laney at debian.org ]
Ubuntu Developer [ laney at ubuntu.com ]
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.9 in Ubuntu.
https://bugs.launchpad.net/bugs/1328838
Title:
Can't x-build ubuntu-system-settings with 1.0.4ubuntu1: /usr/lib/arm-
linux-gnueabihf/libapt-pkg.so: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
Status in “apt” package in Ubuntu:
Invalid
Status in “gcc-4.9” package in Ubuntu:
New
Bug description:
I just tried a cross-build of ubuntu-system-settings (a reverse
dependency of libapt-pkg) on Utopic, and got apt 1.0.4ubuntu1 as part
of this.
The build failed (full log attached) with this output
/usr/bin/arm-linux-gnueabihf-g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++0x -fno-permissive -pedantic -Wall -Wextra -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/tst-update.dir/tst_update.cpp.o CMakeFiles/tst-update.dir/__/__/__/plugins/system-update/update.cpp.o CMakeFiles/tst-update.dir/tst-update_automoc.cpp.o -o tst-update -rdynamic /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5.2.1 /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5.2.1 /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.2.1 /usr/lib/arm-linux-gnueabihf/libQt5DBus.so.5.2.1 /usr/lib/arm-linux-gnueabihf/libQt5Xml.so.5.2.1 /usr/lib/arm-linux-gnueabihf/libQt5Network.so.5.2.1 /usr/lib/arm-linux-gnueabihf/libQt5Test.so.5.2.1 -lapt-pkg /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5.2.1 /usr/lib/arm-linux-gnueabihf/libQt5Network.so.5.2.1 /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5.2.1 /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.2.1
/usr/lib/arm-linux-gnueabihf/libapt-pkg.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
collect2: error: ld returned 1 exit status
if I then enter the environment and downgrade apt only to the versions
in utopic release (1.0.2ubuntu2) then it builds again.
You should be able to reproduce it by creating a cross-building chroot
$ mk-sbuild --target armhf utopic
and then trying to build current ubuntu-system-settings inside that.
$ sbuild --host=armhf -A -d utopic <blah.dsc>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1328838/+subscriptions
More information about the foundations-bugs
mailing list