D09add_universe hook does not work for armhf

Bug #1206530 reported by Francis Ginther
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBuilderJenkins
Triaged
Critical
Francis Ginther

Bug Description

The armhf flavor uses a different archive source. As a result D09add_universe adds an usuable archive and the builds fail.

[log]
I: user script /var/cache/pbuilder/build//18369/tmp/hooks/D09add_universe starting
Get:1 http://ppa.launchpad.net saucy Release.gpg [316 B]
Get:2 http://archive.ubuntu.com saucy Release.gpg [933 B]
Hit http://ports.ubuntu.com saucy Release.gpg
Hit http://ppa.launchpad.net saucy Release.gpg
Get:3 http://archive.ubuntu.com saucy Release [40.8 kB]
Hit http://ports.ubuntu.com saucy Release
Hit http://ppa.launchpad.net saucy Release
Ign http://ppa.launchpad.net saucy Release
Hit http://ppa.launchpad.net saucy Release
Hit http://ports.ubuntu.com saucy/main Sources
Ign http://ppa.launchpad.net saucy/main Sources/DiffIndex
Hit http://ports.ubuntu.com saucy/restricted Sources
Ign http://ppa.launchpad.net saucy/main armhf Packages/DiffIndex
Hit http://ports.ubuntu.com saucy/universe Sources
Hit http://ports.ubuntu.com saucy/multiverse Sources
Hit http://ppa.launchpad.net saucy/main armhf Packages
Get:4 http://archive.ubuntu.com saucy/universe Translation-en [3860 kB]
Hit http://ports.ubuntu.com saucy/main armhf Packages
Hit http://ports.ubuntu.com saucy/restricted armhf Packages
Hit http://ppa.launchpad.net saucy/main Sources
Hit http://ports.ubuntu.com saucy/universe armhf Packages
Hit http://ppa.launchpad.net saucy/main armhf Packages
Hit http://ports.ubuntu.com saucy/multiverse armhf Packages
Hit http://ports.ubuntu.com saucy/main Translation-en
Hit http://ports.ubuntu.com saucy/multiverse Translation-en
Hit http://ports.ubuntu.com saucy/restricted Translation-en
Hit http://ports.ubuntu.com saucy/universe Translation-en
Ign http://ppa.launchpad.net saucy/main Translation-en
Ign http://ppa.launchpad.net saucy/main Translation-en
Err http://archive.ubuntu.com saucy/universe armhf Packages

Err http://archive.ubuntu.com saucy/universe armhf Packages
  404 Not Found [IP: 91.189.92.201 80]
Fetched 3902 kB in 11s (342 kB/s)
W: GPG error: http://ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C012599D727CC694
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.92.201 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
I: unmounting results filesystem
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//18369 and its subdirectories
ERROR:pbuilderjenkins:Error during build execution
ERROR:pbuilderjenkins:pdebuild failed

[Testcase]
https://jenkins.qa.ubuntu.com/job/upstart-app-launch-saucy-armhf-ci/29/console

Changed in pbuilderjenkins:
assignee: nobody → Francis Ginther (fginther)
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Francis Ginther (fginther) wrote :

This should work:

export ARCH=`dpkg --print-architecture`
if [ $ARCH == 'armhf' ]; then
    ARCHIVE_SOURCE=http://ports.ubuntu.com/ubuntu-ports
else
    ARCHIVE_SOURCE=http://archive.ubuntu.com/ubuntu/
fi

echo deb $ARCHIVE_SOURCE $DISTRIB_CODENAME universe >> /etc/apt/sources.list

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.