flightgear version 1.9.1-1.1 failed to build on i386

Bug #749249 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flightgear (Debian)
Fix Released
Unknown
flightgear (Ubuntu)
Fix Released
Undecided
Julian Taylor
Oneiric
Fix Released
Undecided
Julian Taylor

Bug Description

flightgear version 1.9.1-1.1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2392588

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2392588/+files/buildlog_ubuntu-natty-i386.flightgear_1.9.1-1.1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 2196 lines into the build log:

make[2]: Leaving directory `/build/buildd/flightgear-1.9.1/scripts'
Making all in src
make[2]: Entering directory `/build/buildd/flightgear-1.9.1/src'
Making all in Include
make[3]: Entering directory `/build/buildd/flightgear-1.9.1/src/Include'
/usr/bin/make all-am
make[4]: Entering directory `/build/buildd/flightgear-1.9.1/src/Include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/build/buildd/flightgear-1.9.1/src/Include'
make[3]: Leaving directory `/build/buildd/flightgear-1.9.1/src/Include'
Making all in Aircraft
make[3]: Entering directory `/build/buildd/flightgear-1.9.1/src/Aircraft'
g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../.. -I../../src -I/usr/local/include -MT aircraft.o -MD -MP -MF .deps/aircraft.Tpo -c -o aircraft.o aircraft.cxx
In file included from ../../src/Main/viewmgr.hxx:37:0,
                 from aircraft.cxx:41:
../../src/Main/viewer.hxx:45:44: fatal error: simgear/scene/model/location.hxx: No such file or directory
compilation terminated.
make[3]: *** [aircraft.o] Error 1
make[3]: Leaving directory `/build/buildd/flightgear-1.9.1/src/Aircraft'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/flightgear-1.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/flightgear-1.9.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-0949
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/flightgear-1.9.1

Related branches

Revision history for this message
Flames_in_Paradise (ellisistfroh-deactivatedaccount) wrote :

This bug can be closed since FlightGear 2.0.0-3 is available now in Natty-final

Changed in flightgear (Ubuntu):
status: New → Incomplete
tags: added: oneiric
Changed in flightgear (Ubuntu):
milestone: none → oneiric-alpha-1
Revision history for this message
Flames_in_Paradise (ellisistfroh-deactivatedaccount) wrote :

This bug wont fix. Flightgear 1.9.1 is discontinued

http://flightgear.org/announce.html#v2.0.0

Changed in flightgear (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Revision history for this message
Daniel Polehn (dpolehn-gmail) wrote :

tried building with pdebuild. This is still failing to build. here is where build failed for me.

g++ -Wl,-Bsymbolic-functions -L/usr/local/lib -o propmerge propmerge.o -lsgprops -lsgxml -lsgio -lsgmisc -lsgdebug -lsgstructure -losgParticle -losgSim -losgViewer -losgGA -losgText -losgDB -losgUtil -losg -lOpenThreads -ljpeg -losgFX -lglut -lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lrt -ldl -lm
/usr/lib/libsgtiming.so.2.0.0: undefined reference to `clock_gettime'
/usr/lib/libsgtiming.so.2.0.0: undefined reference to `SGPath::set(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/lib/libsgstructure.so: undefined reference to `OpenThreads::Mutex::lock()'
/usr/lib/libsgstructure.so: undefined reference to `OpenThreads::Mutex::Mutex()'
/usr/lib/libsgprops.so: undefined reference to `SGPath::dir() const'
/usr/lib/libsgstructure.so: undefined reference to `OpenThreads::Mutex::unlock()'
/usr/lib/libsgprops.so: undefined reference to `SGPath::~SGPath()'
/usr/lib/libsgprops.so: undefined reference to `SGPath::create_dir(unsigned int)'
/usr/lib/libsgprops.so: undefined reference to `SGPath::append(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/lib/libsgprops.so: undefined reference to `SGPath::SGPath(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/lib/libsgstructure.so: undefined reference to `OpenThreads::Mutex::~Mutex()'
collect2: ld returned 1 exit status
make[3]: *** [propmerge] Error 1
make[3]: Leaving directory `/tmp/buildd/flightgear-2.0.0/utils/propmerge'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/flightgear-2.0.0/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/flightgear-2.0.0'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//6403 and its subdirectories

Changed in flightgear (Ubuntu Oneiric):
status: Incomplete → Confirmed
Changed in flightgear (Ubuntu Oneiric):
milestone: oneiric-alpha-2 → none
tags: added: universe
Julian Taylor (jtaylor)
Changed in flightgear (Ubuntu Oneiric):
assignee: nobody → Julian Taylor (jtaylor)
Revision history for this message
Julian Taylor (jtaylor) wrote :

the issue is caused by underlinked libraries in simgear, but it is hard to fix due to circular dependencies.
patch disabling --as-needed for a single library available in debian bug

Changed in flightgear (Debian):
status: Unknown → New
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi Julian,

I'd like to upload the fix to Ubuntu and sync back the package when the final fix is applied to the simgear package, so If you are willing to prepare a debdiff for the package in Ubuntu, I'll be happy to upload it. If you're not, I'll take your patch (giving you the credit, obviously) and create the corresponding revision of the package.

thanks!
fabrice

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flightgear - 2.0.0-4ubuntu1

---------------
flightgear (2.0.0-4ubuntu1) oneiric; urgency=low

  [ Julian Taylor ]
  * utils/propmerge/Makefile.in: patch to unconditionaly link with sgmisc with
    --no-as-needed. This fixes a FTBFS because of missing symbols (LP: #749249)

  * Rebuilt also fixes LP: #827667

  [ Fabrice Coutadeur ]
  * debian/rules: copy config.guess and config.sub in configure-stamp instead of
    clean target to keep the diff as small as possible
 -- Julian Taylor <email address hidden> Thu, 18 Aug 2011 10:49:06 +0200

Changed in flightgear (Ubuntu Oneiric):
status: Confirmed → Fix Released
Changed in flightgear (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.