Argument length limitations prevent building some packages

Bug #1076426 reported by Iain Lane
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
make-dfsg (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
High
Iain Lane

Bug Description

[ Description ]

When building some packages, notably newer webkit series, one runs into "Argument list too long" errors when make executes commands with huge command lines. For examples

./doltlibtool --tag=CXX --mode=link g++ -fvisibility-inlines-hidden -fno-rtti -gstabs -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wl,--as-needed -Wno-c++0x-compat -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o libWebCore.la [huge list of objects]
execvp: /bin/bash: Argument list too long

[ Fix ]

Upstream webkit devised a patch to make to split long command lines up into multiple parts. We incorporated this patch into make-dfsg for Quantal; this SRU just does the same for Precise.

[ Test case ]

Assuming all packages have built, visit https://launchpad.net/~laney/+archive/webkit-backports and note that webkit failed to build in precise due to the Argument list too long error. Install make-dfsg from precise-proposed, enable the PPA and perform a no-change rebuild of webkit. Note that it builds successfully.

[ Regression potential ]

It's possible this could break building of other software if the patch is bad. Unlikely, though, since this has been in the distribution for some weeks now. You may wish to exercise make by building a few other packages/pieces of software.

Iain Lane (laney)
Changed in make-dfsg (Ubuntu):
status: New → Fix Released
Changed in make-dfsg (Ubuntu Precise):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Iain Lane (laney)
Iain Lane (laney)
Changed in make-dfsg (Ubuntu Precise):
status: Triaged → In Progress
Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Hello Iain, or anyone else affected,

Accepted make-dfsg into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/make-dfsg/3.81-8.1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in make-dfsg (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Allison Karlitskaya (desrt) wrote :

I installed the package from precise-proposed yesterday (3.81-8.1ubuntu1.1) and built WebKit overnight. It worked (whereas before, it didn't).

tags: added: verification-done
removed: verification-needed
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package make-dfsg - 3.81-8.1ubuntu1.1

---------------
make-dfsg (3.81-8.1ubuntu1.1) precise-proposed; urgency=low

  * Backport a third party patch (from Webkit) to work around argument length
    limitations in the shell when specifying many files at once. (LP:
    #1076426)
  * Define PAGE_SIZE if it's not already. Needed on some arches (arm) for the
    above patch.
 -- Iain Lane <email address hidden> Thu, 08 Nov 2012 17:53:31 +0000

Changed in make-dfsg (Ubuntu Precise):
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.