[Bug 1480047] [NEW] failure to build on wily proposed due to wrong LDFLAGS usage

Launchpad Bug Tracker 1480047 at bugs.launchpad.net
Fri Jul 31 04:42:33 UTC 2015


You have been subscribed to a public bug by Tiago Sturmer Daitx (tdaitx):

quota build in Wily proposed is failing due to '-ltirpc' being added to
LDFLAGS instead of LIBS.

As stated in
https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
and http://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node
/Preset-Output-Variables.html#index-LDFLAGS-93 libraries must be added
to LIBS instead of LDFLAGS.

The attached debdiff fixed the issue by:
1. Moving the '-ltirpc' entry from LDFLAGS to LIBS in debian/rules
2. Adding a $(LIBS) entry to binaries builds in Makefile.in

** Affects: quota (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs patch
-- 
failure to build on wily proposed due to wrong LDFLAGS usage
https://bugs.launchpad.net/bugs/1480047
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list