[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
** Changed in: nut (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
** Changed in: nut (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
2011/1/10 Laurent Bigonville > I've found the issue. > > Actually the nut_check_*.m4 are setting *_LDFLAGS instead of *_LIBS, and > due to a toolchain change this become visible (gcc -o testusb testusb.c > -lusb is working but gcc -o testusb -lusb testusb.c is not working > anymore) > > Any reason nut is not using PKG_CHECK_MODULE macro? > the most basic ones: lack of time / manpower and low priority task. until now, the wide availability of the macro was also another, though it should be good now. I know that we can ship our own version, but that can lead to other issues. thanks for your patch Laurent, I've just applied it (r2821). so it will be available in 2.6.0 (a little bit more retained due to late bug reports like this one). cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
** Changed in: nut (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
** Bug watch added: Debian Bug tracker #609597 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609597 ** Also affects: nut (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609597 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
This patch fix the FTBFS on natty. It renames all *_LDFLAGS to *_LIBS (except LIBGD_LDFLAGS) ** Patch added: "Patch" https://bugs.launchpad.net/ubuntu/+source/nut/+bug/687985/+attachment/1790689/+files/0005-fix-nut-m4.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
I've found the issue. Actually the nut_check_*.m4 are setting *_LDFLAGS instead of *_LIBS, and due to a toolchain change this become visible (gcc -o testusb testusb.c -lusb is working but gcc -o testusb -lusb testusb.c is not working anymore) Any reason nut is not using PKG_CHECK_MODULE macro? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
** Changed in: nut (Ubuntu) Importance: Undecided => Medium ** Changed in: nut (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
Hi Dave, thanks for your report and logs. this is strange, since there is only a minor libusb update, which seems not to break compatibility. but the fact is that AC_CHECK_FUNCS doesn't find usb_init() anymore, so there is actually something wrong. I'm currently busy preparing 2.6.0, so don't have much time to investigate. can you please also send a config.log for analysis? I'll do some pbuilder testing on my side, and will propose a patch to fix that. cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
Build log of nut (2.4.3-1ubuntu5) on i386 architecture. ** Attachment added: "build-nut_2.4.3-1ubuntu5-natty-i386.log" https://bugs.launchpad.net/bugs/687985/+attachment/1760693/+files/build-nut_2.4.3-1ubuntu5-natty-i386.log ** Tags added: i386 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 687985] Re: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty
Build log of nut (2.4.3-1ubuntu5) on amd64 architecture. ** Attachment added: "build-nut_2.4.3-1ubuntu5-natty-amd64.log" https://bugs.launchpad.net/bugs/687985/+attachment/1760692/+files/build-nut_2.4.3-1ubuntu5-natty-amd64.log ** Tags added: amd64 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in ubuntu. https://bugs.launchpad.net/bugs/687985 Title: [FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs