failure to build on wily proposed due to wrong LDFLAGS usage

Bug #1480047 reported by Tiago Stürmer Daitx
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quota (Debian)
Fix Released
Unknown
quota (Ubuntu)
Fix Released
Undecided
Tiago Stürmer Daitx

Bug Description

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

Tags: ftbfs patch
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :
Changed in quota (Debian):
status: Unknown → New
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks! Sponsored with an Ubuntu-ified changelog and with bug refs.

Changed in quota (Ubuntu):
assignee: nobody → Tiago Stürmer Daitx (tdaitx)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quota - 4.02-1ubuntu1

---------------
quota (4.02-1ubuntu1) wily; urgency=medium

  * Move -ltirpc from LDFLAGS to LIBS in debian/rules (LP: #1480047,
    Closes: #794190)
  * Add LIBS to Makefile.in

 -- Tiago Sturmer Daitx <email address hidden> Fri, 31 Jul 2015 01:22:13 -0300

Changed in quota (Ubuntu):
status: Fix Committed → Fix Released
Changed in quota (Debian):
status: New → Fix Committed
Changed in quota (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.