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

Tiago Sturmer Daitx 1480047 at bugs.launchpad.net
Fri Jul 31 04:42:12 UTC 2015


Public bug reported:

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

** Patch added: "fix Wily proposed build by moving lirpc from LDFLAGS to LIBS"
   https://bugs.launchpad.net/bugs/1480047/+attachment/4436621/+files/move-tirpc-to-libs.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to quota in Ubuntu.
https://bugs.launchpad.net/bugs/1480047

Title:
  failure to build on wily proposed due to wrong LDFLAGS usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quota/+bug/1480047/+subscriptions



More information about the Ubuntu-server-bugs mailing list