live-manual version 1:3.0~a6-1 failed to build in oneiric

Bug #831392 reported by Matthias Klose
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
live-manual (Debian)
Fix Released
Unknown
live-manual (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

live-manual version 1:3.0~a6-1 failed to build in oneiric
Link to failed build: https://launchpad.net/ubuntu/+source/live-manual/1:3.0~a6-1/+build/2649976

Details about the rebuild:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20110816-oneiric.html

Direct link to the build log: https://launchpad.net/ubuntu/+source/live-manual/1:3.0~a6-1/+build/2649976/+files/buildlog_ubuntu-oneiric-i386.live-manual_1%3A3.0%7Ea6-1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1430 lines into the build log:

FILE NOT FOUND: << live-manual.ssm.sst >> - requested -hvmy processing skipped

FILE NOT FOUND: << live-manual.ssm.sst >> - requested -hvmy processing skipped

FILE NOT FOUND: << live-manual.ssm.sst >> - requested -hvmy processing skipped
 1 URLS processed
 sisu -W [to start ruby web-server on output directory]
../bin/fix-sisu-html.rb:8:in `rename': No such file or directory - build/es/live-manual/*.html or build/es/live-manual/*.html~ (Errno::ENOENT)
 from ../bin/fix-sisu-html.rb:8
make[1]: *** [build] Error 1
make[1]: Leaving directory `/build/buildd/live-manual-3.0~a6'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110727-1926
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/live-manual-3.0~a6

Related branches

Matthias Klose (doko)
Changed in live-manual (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Colin Watson (cjwatson) wrote :

live-manual 1:3.0~a7-1 shows the same failure.

Revision history for this message
Matt Fischer (mfisch) wrote :

I have tracked down the issue, it is because that inside the chroot the environment (specifically LC_ALL is set to "C") and so when it tries to process the manuals for the other languages, like de, it bails when it sees invalid "US ASCII characters". Then later on it really fails when it can't find the localized manuals to complete the processing.

What the fix is is that you need to install the us locale in your chroot and setting LC_ALL before the build. I think the key here is that the environment is <somthing.UTF-8, but there's no reason not to use en_US, the other manuals are not broken by this process from what I see.

This failure also explains to me why it builds fine outside a chroot on my dev box or in a regular VM.

I will push a branch for this shortly.

Revision history for this message
Matt Fischer (mfisch) wrote :

I've done a merge proposal and am also attaching a debdiff here.

Revision history for this message
Matt Fischer (mfisch) wrote :

Also my fix is for precise which uses revision 1:3.0~a9-1. We'll need to keep this patch as the debian top-of-tree exhibits the same error.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "live-manual-ftbfs-831392.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

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

This bug was fixed in the package live-manual - 1:3.0~a9-1ubuntu1

---------------
live-manual (1:3.0~a9-1ubuntu1) precise; urgency=low

  * fix FTBFS by adding a dependency on language-pack-en and setting the
    LC_ALL to en_US.UTF-8 (LP: #831392)
 -- Matthew Fischer <email address hidden> Sat, 03 Mar 2012 21:36:04 -0700

Changed in live-manual (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Not sure this is worth a SRU as the binay package has never been published for Oneiric. Uploading anyway, and will let the archive admin decide.

Changed in live-manual (Ubuntu Oneiric):
status: Confirmed → Fix Committed
Changed in live-manual (Debian):
status: Unknown → New
Revision history for this message
Jonathan Riddell (jr) wrote :

It is up to ubuntu-sru to decide on SRUs, subscribed. In oneiric-proposed awaiting decision.

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Matthias, or anyone else affected,

Accepted live-manual into oneiric-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Changed in live-manual (Debian):
status: New → Fix Committed
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

As you can see at https://launchpad.net/ubuntu/+source/live-manual/1:3.0~a7-1ubuntu0.1, the package builds fine. As It's still waiting in New, I cant validate that it installs fine.

Not sure I can change it to verification-done....

Fabrice

Changed in live-manual (Debian):
status: Fix Committed → Fix Released
tags: added: verification-done
removed: verification-needed
Revision history for this message
Colin Watson (cjwatson) 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 live-manual - 1:3.0~a7-1ubuntu0.1

---------------
live-manual (1:3.0~a7-1ubuntu0.1) oneiric-proposed; urgency=low

  * fix FTBFS by adding a build dependency on language-pack-en and setting the
    LC_ALL to en_US.UTF-8 in debian/rules (LP: #831392)
 -- Matthew Fischer <email address hidden> Sat, 03 Mar 2012 21:36:04 -0700

Changed in live-manual (Ubuntu Oneiric):
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.