D09add_universe hook does not work for armhf
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/
Get:1 http://
Get:2 http://
Hit http://
Hit http://
Get:3 http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Get:4 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Err http://
Err http://
404 Not Found [IP: 91.189.92.201 80]
Fetched 3902 kB in 11s (342 kB/s)
W: GPG error: http://
W: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
I: unmounting results filesystem
I: unmounting /var/cache/
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/
ERROR:pbuilderj
ERROR:pbuilderj
[Testcase]
https:/
Changed in pbuilderjenkins: | |
assignee: | nobody → Francis Ginther (fginther) |
status: | New → Triaged |
importance: | Undecided → Critical |
This should work:
export ARCH=`dpkg --print- architecture` ports.ubuntu. com/ubuntu- ports archive. ubuntu. com/ubuntu/
if [ $ARCH == 'armhf' ]; then
ARCHIVE_SOURCE=http://
else
ARCHIVE_SOURCE=http://
fi
echo deb $ARCHIVE_SOURCE $DISTRIB_CODENAME universe >> /etc/apt/ sources. list