|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Bug#554694: FTBFS with binutils-goldHello,
6 листопада 2009 о 09:32 +0300 Dmitry E. Oboukhov написав(-ла): > Goldendict are built by qt4-qmake. I think that You should report > about such projects in qt4-qmake package, because just qt4-qmake > generates linker call command. I think that it is the same as packages > which are under automake/autoconf. It looks like your package uses Xlib directly and does not links with it. IMHO it is not qmakes fault, it cannot know what libraries your package needs, its work is to link with Qt. Other libraries should be specified additionaly. > > You buried me with the same bugs, but only one really touched my > package. I think You should find out which specific a package has a bug > before submit bugreports. > > For example: fluxbox is built with autotools. goldendict is built with > qt4-qmake. Do You suggest me to patch all these packages? IMHO that is the right thing to do. Regards, Eugeniy Meshcheryakov |
|
|
Re: Bug#554694: FTBFS with binutils-goldDmitry E. Oboukhov wrote:
> reassign 554694 qt4-qmake > retitle 554694 qt4-qmake generates a makefile which is incompatible with binutils-gold > thanks > > Hi, Peter. > > Goldendict are built by qt4-qmake. I think that You should report > about such projects in qt4-qmake package, because just qt4-qmake > generates linker call command. I think that it is the same as packages > which are under automake/autoconf. > > You buried me with the same bugs, but only one really touched my > package. I think You should find out which specific a package has a bug > before submit bugreports. > > For example: fluxbox is built with autotools. goldendict is built with > qt4-qmake. Do You suggest me to patch all these packages? so your argument doesn't sound right. If you're missing -l options for the linker, that's not something autofoo will put in the Makefile if you don't tell it first. Cheers, Emilio |
|
|
Re: Bug#554694: FTBFS with binutils-gold#reassigning and retitling back
reassign 554694 src:goldendict found 554694 0.9.0+svn404-1 retitle 554694 FTBFS with binutils-gold thanks > Hi, Peter. > > Goldendict are built by qt4-qmake. I think that You should report > about such projects in qt4-qmake package, because just qt4-qmake > generates linker call command. I think that it is the same as packages > which are under automake/autoconf. There is no magic behind neither qmake nor autotools. They only link what they are told to link. > For example: fluxbox is built with autotools. goldendict is built with > qt4-qmake. Do You suggest me to patch all these packages? Yes. if you want to fix the bugs related to using binutils-gold, a stricter and faster linker. > build/hotkeywrapper.o: in function > HotkeyWrapper::init():hotkeywrapper.cc:305: error: undefined reference to > 'XKeysymToKeycode' PF> /usr/bin/ld: build/hotkeywrapper.o: in function you are using xlib directly here. you need to link with it. Probably you should add a -lx at line 35 in the goldendict.pro file. /Sune -- Man, how can I do for pinging a login? First of all you never need to boot the printer for booting from the cable on the floppy disk. -- To UNSUBSCRIBE, email to debian-devel-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Bug#554694: FTBFS with binutils-goldDmitry E. Oboukhov wrote:
> Goldendict are built by qt4-qmake. I think that You should report > about such projects in qt4-qmake package, because just qt4-qmake > generates linker call command. I think that it is the same as packages > which are under automake/autoconf. As others have said it before: these tools don't magically find dependencies. So it is a user who specified it and in most cases not in auto* or *make, but in a external script/config file. This means either the package author of the broken package or the author of the (for example) pkg-config file has to correct it. So it is correct that not always the broken package is the reason for that problem. > You buried me with the same bugs, but only one really touched my > package. I think You should find out which specific a package has a bug > before submit bugreports. I expect ~600 broken packages. I don't have really time to check in detail what is broken. I do a quick check if it looks like this is the fault of the package and not the build system, but I cannot create patches for every problem. I am really sorry if I submit a wrong bug. To show you that this is probably real a broken config file I attached you a patch which fixes this packages. I would feel better if it would use pkg- config or something similar, but I don't know qmake4 good enough to find how to use it correctly. And the problem is only that it uses for example XKeysymToKeycode in hotkeywrapper.cc:305 which is defined by libX11.so `readelf -s /usr/lib/libX11.so|grep XKeysymToKeycode` - but doesn't link to it correctly. > For example: fluxbox is built with autotools. goldendict is built with > qt4-qmake. Do You suggest me to patch all these packages? You don't have to fix these things. A report back to the upstream author would be everything I expect from a maintainer. If he real fixes it by himself - wow, that's wonderful, but I don't force anybody to do that. Best regards, Peter [goldendict_no-add-needed.patch] --- a/goldendict.pro 2009-11-06 10:49:10.196891227 +0100 +++ b/goldendict.pro 2009-11-06 10:44:34.852891885 +0100 @@ -32,7 +32,7 @@ LIBS += -Lwinlibs/lib } unix { - LIBS += -lXtst + LIBS += -lXtst -lX11 PREFIX = $$(PREFIX) isEmpty( PREFIX ):PREFIX = /usr DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\" |
|
|
Re: Bug#554694: FTBFS with binutils-goldSune Vuorela wrote:
> #reassigning and retitling back > reassign 554694 src:goldendict > found 554694 0.9.0+svn404-1 > retitle 554694 FTBFS with binutils-gold > thanks > >> Hi, Peter. >> >> Goldendict are built by qt4-qmake. I think that You should report >> about such projects in qt4-qmake package, because just qt4-qmake >> generates linker call command. I think that it is the same as packages >> which are under automake/autoconf. > > There is no magic behind neither qmake nor autotools. They only link what they > are told to link. But only because qt4-qmake in Debian is patched to not follow library dependency chains when linking. I think that's the right thing to do and that this isn't qmake's bug, but it's disingenuous to imply qmake is not at fault at all when there is a conscious design decision behind it. -- To UNSUBSCRIBE, email to debian-devel-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Bug#554694: FTBFS with binutils-goldOn Friday 06 November 2009 15:57:47 Brian Nelson wrote:
> >> Goldendict are built by qt4-qmake. I think that You should report > >> about such projects in qt4-qmake package, because just qt4-qmake > >> generates linker call command. I think that it is the same as packages > >> which are under automake/autoconf. > > > > There is no magic behind neither qmake nor autotools. They only link what > > they are told to link. > > But only because qt4-qmake in Debian is patched to not follow library > dependency chains when linking. I think that's the right thing to do > and that this isn't qmake's bug, but it's disingenuous to imply qmake is > not at fault at all when there is a conscious design decision behind it. Yes. as it should be. but the patching of the .prl files to not follow linkage is *not* the issue here. The issue here is that the software in question uses XLib directly, and should actively link against it. /Sune -- To UNSUBSCRIBE, email to debian-devel-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
| Free embeddable forum powered by Nabble | Forum Help |