Package: sumo Version: 0.17.1~dfsg-1 Severity: important Tags: patch User: [email protected] Usertags: no-add-needed
sumo fails to build with ld --no-add-needed: /usr/bin/ld: ./utils/gui/globjects/libguiutilsglobjects.a(GUIPolygon.o): undefined reference to symbol 'gluTessProperty' /usr/bin/ld: note: 'gluTessProperty' is defined in DSO /usr/lib/x86_64-linux-gnu/libGLU.so.1 so try adding it to the linker command line /usr/lib/x86_64-linux-gnu/libGLU.so.1: could not read symbols: Invalid operation It does not trigger in unstable due to a bug in binutils concerning multiarch. It triggers in experimental and in ubuntu. Attached patch fixes the issue.
Index: sumo-0.16.0~dfsg/src/Makefile.am =================================================================== --- sumo-0.16.0~dfsg.orig/src/Makefile.am 2013-04-15 17:42:34.000000000 -0400 +++ sumo-0.16.0~dfsg/src/Makefile.am 2013-04-15 20:49:24.140868656 -0400 @@ -102,7 +102,7 @@ ./gui/GUIManipulator.o \ ./gui/GUITLLogicPhasesTrackerWindow.o \ $(OSG_LIBS) \ --l$(LIB_FOX) +-l$(LIB_FOX) -lpthread -lGLU -lGL endif Index: sumo-0.16.0~dfsg/src/Makefile.in =================================================================== --- sumo-0.16.0~dfsg.orig/src/Makefile.in 2013-04-15 17:42:34.000000000 -0400 +++ sumo-0.16.0~dfsg/src/Makefile.in 2013-04-15 20:49:40.524868072 -0400 @@ -390,7 +390,7 @@ @WITH_GUI_TRUE@./gui/GUIManipulator.o \ @WITH_GUI_TRUE@./gui/GUITLLogicPhasesTrackerWindow.o \ @WITH_GUI_TRUE@$(OSG_LIBS) \ -@WITH_GUI_TRUE@-l$(LIB_FOX) +@WITH_GUI_TRUE@-l$(LIB_FOX) -lpthread -lGLU -lGL SUBDIRS = foreign utils microsim netbuild netwrite netgen netimport netload \ od2trips polyconvert router dfrouter duarouter jtrrouter activitygen \

