Bug#704785: OGRE's FTBFS #713640 affects other packages
On Mon, 2013-09-09 at 18:24 +0100, Manuel A. Fernandez Montecelo wrote: I uploaded 1.8.0+dfsg1-6 today, modifying the pkg-config files to emit -lboost_system, can you please give it a try when available? That works as a work-around, the proper fix would be to boost though so I would appreciate if you could get it fixed there and then revert the workaround in ogre-1.8. I'm uploading funguloids now, thanks. -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#704785: OGRE's FTBFS #713640 affects other packages
2013/9/10 Paul Wise p...@debian.org: On Mon, 2013-09-09 at 18:24 +0100, Manuel A. Fernandez Montecelo wrote: I uploaded 1.8.0+dfsg1-6 today, modifying the pkg-config files to emit -lboost_system, can you please give it a try when available? That works as a work-around, the proper fix would be to boost though so I would appreciate if you could get it fixed there and then revert the workaround in ogre-1.8. I'm uploading funguloids now, thanks. From http://www.boost.org/doc/libs/1_54_0/doc/html/thread/build.html: Boost.Thread depends on some non header-only libraries. Boost.System: This dependency is mandatory and you will need to link with the library. Since Boost has no pkg-config or similar mechanism (as other programs have, e.g. sdl2-config), as far as I can tell, it's up to the users of the library to link against Boost::System. So for me it seems natural which is OGRE the one which should do what it's doing now (telling users of the library that they should also link agains blah and blah, as it's already done for freeimage library for example), not the users of OGRE (e.g. funguloids) and not Boost (since they don't have the pkg-config-like mechanism). Don't you agree with this? I don't know what you propose to do instead in Boost, if they don't have this pkg-config-like mechanism. Cheers. -- Manuel A. Fernandez Montecelo manuel.montez...@gmail.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#704785: OGRE's FTBFS #713640 affects other packages
2013/9/10 Paul Wise p...@debian.org: On Tue, 2013-09-10 at 19:49 +0100, Manuel A. Fernandez Montecelo wrote: Boost.Thread depends on some non header-only libraries. Boost.System: This dependency is mandatory and you will need to link with the library. Since Boost has no pkg-config or similar mechanism... Don't you agree with this? I don't know what you propose to do instead in Boost, if they don't have this pkg-config-like mechanism. I wasn't aware of this fact, how annoying. Yes in this situation the current solution is the right one. It would be great if boost used pkg-config (and similar on non-Linux platforms) but I don't expect you to work on that :) OK. So thanks for uploading the new version of funguloids, now OGRE 1.7 is almost ready to go. BTW I think that this one can be closed: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689215 Cheers. -- Manuel A. Fernandez Montecelo manuel.montez...@gmail.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#704785: OGRE's FTBFS #713640 affects other packages
On Tue, 2013-09-10 at 20:05 +0100, Manuel A. Fernandez Montecelo wrote: BTW I think that this one can be closed: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689215 Done. -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#704785: OGRE's FTBFS #713640 affects other packages
On Tue, 2013-09-10 at 19:49 +0100, Manuel A. Fernandez Montecelo wrote: Boost.Thread depends on some non header-only libraries. Boost.System: This dependency is mandatory and you will need to link with the library. Since Boost has no pkg-config or similar mechanism... Don't you agree with this? I don't know what you propose to do instead in Boost, if they don't have this pkg-config-like mechanism. I wasn't aware of this fact, how annoying. Yes in this situation the current solution is the right one. It would be great if boost used pkg-config (and similar on non-Linux platforms) but I don't expect you to work on that :) -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#704785: OGRE's FTBFS #713640 affects other packages
On Sat, 2013-09-07 at 13:57 +0100, Manuel A. Fernandez Montecelo wrote: OGRE only uses boost::thread (the dependency on boost::system comes from boost::thread, is the only thing that OGRE uses). Since 1.53 it seems that thread requires system, something that didn't happen before but it's likely to stay in the future. OGRE can also be built against POCO or TBB for its threading support. So I think that either OGRE upstream should emit the correct flags, or there's something wrong with Boost itself, but can't tell confidently enough yet for knowing what should be done. Based on your analysis above it appears that this is a bug in boost. If you could track this down and have it fixed, that would be great since I will mostly be offline this week. -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#704785: OGRE's FTBFS #713640 affects other packages
2013/9/9 Paul Wise p...@debian.org: On Sat, 2013-09-07 at 13:57 +0100, Manuel A. Fernandez Montecelo wrote: OGRE only uses boost::thread (the dependency on boost::system comes from boost::thread, is the only thing that OGRE uses). Since 1.53 it seems that thread requires system, something that didn't happen before but it's likely to stay in the future. OGRE can also be built against POCO or TBB for its threading support. So I think that either OGRE upstream should emit the correct flags, or there's something wrong with Boost itself, but can't tell confidently enough yet for knowing what should be done. Based on your analysis above it appears that this is a bug in boost. If you could track this down and have it fixed, that would be great since I will mostly be offline this week. I uploaded 1.8.0+dfsg1-6 today, modifying the pkg-config files to emit -lboost_system, can you please give it a try when available? Cheers. -- Manuel A. Fernandez Montecelo manuel.montez...@gmail.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#704785: OGRE's FTBFS #713640 affects other packages
2013/9/5 Paul Wise p...@debian.org: On Thu, 2013-09-05 at 00:32 +0100, Manuel A. Fernandez Montecelo wrote: As you probably know, if you add -lboost_system (maybe needs also other boost components after that) to LDFLAGS it will go away. Of course there should be a better solution for this and I'll try to find it, but I don't know how yet and it may take a while. Right. I guess adding -lboost_system to the right pkgconfig files (OGRE or boost) is probably the correct solution here. The thing is that if this is indeed the problem, I think that OGRE itself should add -lboost_thread, since libOgreMain depends on thread and system. It doesn't emit these flags for any of the .pc files that it ships. Do you already have to add this -lboost_thread manually? Whith this test program: === #include OGRE/Ogre.h int main() { return 0; } === Compiling using -lboost_thread fails, but with -lboost_system succeeds, which I don't really understand. === $ g++ -lOgreMain -lboost_thread test.c /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libOgreMain.so: undefined reference to symbol '_ZN5boost6system15system_categoryEv' /usr/lib/libboost_system.so.1.54.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status $ g++ -lOgreMain -lboost_system test.c $ === It seems that the thread component pulls system since 1.53, and OGRE 1.8.1 was released well before that and people have problems with this. I don't know if this will be addressed upstream with a new .2 release, doesn't look like it will happen. Oh, so this is a boost bug? Or do you mean the OGRE thread component? OGRE only uses boost::thread (the dependency on boost::system comes from boost::thread, is the only thing that OGRE uses). Since 1.53 it seems that thread requires system, something that didn't happen before but it's likely to stay in the future. OGRE can also be built against POCO or TBB for its threading support. So I think that either OGRE upstream should emit the correct flags, or there's something wrong with Boost itself, but can't tell confidently enough yet for knowing what should be done. Cheers. -- Manuel A. Fernandez Montecelo manuel.montez...@gmail.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#704785: OGRE's FTBFS #713640 affects other packages
On Thu, 2013-09-05 at 00:32 +0100, Manuel A. Fernandez Montecelo wrote: As you probably know, if you add -lboost_system (maybe needs also other boost components after that) to LDFLAGS it will go away. Of course there should be a better solution for this and I'll try to find it, but I don't know how yet and it may take a while. Right. I guess adding -lboost_system to the right pkgconfig files (OGRE or boost) is probably the correct solution here. It seems that the thread component pulls system since 1.53, and OGRE 1.8.1 was released well before that and people have problems with this. I don't know if this will be addressed upstream with a new .2 release, doesn't look like it will happen. Oh, so this is a boost bug? Or do you mean the OGRE thread component? -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#704785: OGRE's FTBFS #713640 affects other packages
Hi Paul, Can you please check if this is fixed with the version 1.8.0+dfsg1-5 that I just uploaded? Cheers. -- Manuel A. Fernandez Montecelo manuel.montez...@gmail.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#704785: OGRE's FTBFS #713640 affects other packages
On Wed, 2013-09-04 at 11:40 +0100, Manuel A. Fernandez Montecelo wrote: Can you please check if this is fixed with the version 1.8.0+dfsg1-5 that I just uploaded? It does not, I still get the issue: ... Get: 4 http://http.debian.net/debian/ sid/main libogre-1.8.0 amd64 1.8.0+dfsg1-5 [2233 kB] ... Get: 17 http://http.debian.net/debian/ sid/main libogre-1.8-dev amd64 1.8.0+dfsg1-5 [843 kB] ... g++ -I/usr/include/ois -pthread -I/usr/include/OGRE-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -L/lib -Wl,-z,relro -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -L/lib -L/lib -o funguloids funguloids-asteroid.o funguloids-ballworm.o funguloids-base.o funguloids-bground.o funguloids-blackhole.o funguloids-effects.o funguloids-fmodexsoundsystem.o funguloids-gamecamera.o funguloids-game.o funguloids-hiscore.o funguloids-input.o funguloids-main.o funguloids-menu.o funguloids-movingobject.o funguloids-mp3stream.o funguloids-mpak.o funguloids-mpakogre.o funguloids-mushroom.o funguloids-object.o funguloids-objectsystem.o funguloids-oggstream.o funguloids-ogreapp.o funguloids-ogrelistener.o funguloids-openalchannel.o funguloids-openalchannelgroup.o funguloids-openalsoundsystem.o funguloids-player.o funguloids-playlist.o funguloids-scriptsystem.o funguloids-streamplayer.o funguloids-tentacles.o funguloids-whirler.o -lOIS -lOgreMain -lpthread-lalut -lopenal -lopenal -lalut -llua5.1 -logg -lvorbis -lvorbisfile -lvorbisenc -lmad /usr/bin/ld: funguloids-asteroid.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' /usr/lib/libboost_system.so.1.54.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#704785: OGRE's FTBFS #713640 affects other packages
2013/9/4 Paul Wise p...@debian.org: On Wed, 2013-09-04 at 11:40 +0100, Manuel A. Fernandez Montecelo wrote: Can you please check if this is fixed with the version 1.8.0+dfsg1-5 that I just uploaded? It does not, I still get the issue: ... Get: 4 http://http.debian.net/debian/ sid/main libogre-1.8.0 amd64 1.8.0+dfsg1-5 [2233 kB] ... Get: 17 http://http.debian.net/debian/ sid/main libogre-1.8-dev amd64 1.8.0+dfsg1-5 [843 kB] ... g++ -I/usr/include/ois -pthread -I/usr/include/OGRE-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -L/lib -Wl,-z,relro -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -L/lib -L/lib -o funguloids funguloids-asteroid.o funguloids-ballworm.o funguloids-base.o funguloids-bground.o funguloids-blackhole.o funguloids-effects.o funguloids-fmodexsoundsystem.o funguloids-gamecamera.o funguloids-game.o funguloids-hiscore.o funguloids-input.o funguloids-main.o funguloids-menu.o funguloids-movingobject.o funguloids-mp3stream.o funguloids-mpak.o funguloids-mpakogre.o funguloids-mushroom.o funguloids-object.o funguloids-objectsystem.o funguloids-oggstream.o funguloids-ogreapp.o funguloids-ogrelistener.o funguloids-openalchannel.o funguloids-openalchannelgroup.o funguloids-openalsoundsystem.o funguloids-player.o funguloids-playlist.o funguloids-scriptsystem.o funguloids-streamplayer.o funguloids-tentacles.o funguloids-whirler.o -lOIS -lOgreMain -lpthread-lalut -lopenal -lopenal -lalut -llua5.1 -logg -lvorbis -lvorbisfile -lvorbisenc -lmad /usr/bin/ld: funguloids-asteroid.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' /usr/lib/libboost_system.so.1.54.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status As you probably know, if you add -lboost_system (maybe needs also other boost components after that) to LDFLAGS it will go away. Of course there should be a better solution for this and I'll try to find it, but I don't know how yet and it may take a while. It seems that the thread component pulls system since 1.53, and OGRE 1.8.1 was released well before that and people have problems with this. I don't know if this will be addressed upstream with a new .2 release, doesn't look like it will happen. Even if I try to package 1.8.1 I don't think that there's a high probability that this will be fixed (apart that it will take a while with the delay in NEW queue, which is why I've been trying to backport fixes while 1.9-rc1 is accepted). Cheers. -- Manuel A. Fernandez Montecelo manuel.montez...@gmail.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#704785: OGRE's FTBFS #713640 affects other packages
On Thu, Aug 01, 2013 at 12:08:29PM +0100, Manuel A. Fernandez Montecelo wrote: severity 704785 serious ... Please make your packages build against ogre-1.8, the 1.7 series is unsupported for a year and a half and FTBFS since a few weeks ago, will be removed soon. Fabian fixed this particular issue but I found that it FTBFS with another error about boost_system::system_category. funguloids itself doesn't use boost at all so the issue appears to be that Ogre headers somehow leak boost_system::system_category or similar into the funguloids build. Manuel, I would appreciate it if you could check if my analysis is correct, try to find the underlying issue and file/fix any needed blocking RC bugs. g++ -I/usr/include/ois -pthread -I/usr/include/OGRE-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -L/lib -Wl,-z,relro -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -L/lib -L/lib -o funguloids funguloids-asteroid.o funguloids-ballworm.o funguloids-base.o funguloids-bground.o funguloids-blackhole.o funguloids-effects.o funguloids-fmodexsoundsystem.o funguloids-gamecamera.o funguloids-game.o funguloids-hiscore.o funguloids-input.o funguloids-main.o funguloids-menu.o funguloids-movingobject.o funguloids-mp3stream.o funguloids-mpak.o funguloids-mpakogre.o funguloids-mushroom.o funguloids-object.o funguloids-objectsystem.o funguloids-oggstream.o funguloids-ogreapp.o funguloids-ogrelistener.o funguloids-openalchannel.o funguloids-openalchannelgroup.o funguloids-openalsoundsystem.o funguloids-player.o funguloids-playlist.o funguloids-scriptsystem.o funguloids-streamplayer.o funguloids-tentacles.o funguloids-whirler.o -lOIS -lOgreMain -lpthread-lalut -lopenal -lopenal -lalut -llua5.1 -logg -lvorbis -lvorbisfile -lvorbisenc -lmad /usr/bin/ld: funguloids-asteroid.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' /usr/lib/libboost_system.so.1.53.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part