Bug #8910

config/chroot_local-packages feature is broken by 19-install-tor-browser-AppArmor-profile

Added by kytv 2015-02-16 16:57:48 . Updated 2015-03-23 02:01:31 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Build system
Target version:
Start date:
2015-02-16
Due date:
% Done:

100%

Feature Branch:
kytv:bugfix/8910-19-install-tor-browser-AppArmor-profile
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

Similar to Bug #8756

In the testing branch, I added config/chroot_local-packages/i2p_0.9.17-3_all.deb (my apparmor-enabled test package for Feature #7724) and started a build. It failed with:

Get:1 Downloading iceweasel-l10n-zh-cn 1:31.4.0esr-1~deb7u1 [460 kB]
Fetched 460 kB in 0s (9333 kB/s)
Removing unwanted browser search plugins
Overriding TBB branding with our own
Setting up localized browser search plugins
Generating Tor Browser profile
Creating symbolic link for potentially persistent browser bookmarks
Configuring I2P
Removing traces of the nameservers used when building
Tweaking the offline website's CSS
Installing AppArmor profile for Tor Browser
Get:1 file: ./ Release.gpg [316 B]
Get:2 file: ./ Release [1232 B]
Hit http://deb.torproject.org obfs4proxy Release.gpg
Hit http://security.debian.org wheezy/updates Release.gpg

[......................snipped.....................]

Get:21 http://ftp.us.debian.org testing/contrib Sources [51.5 kB]
Get:22 http://ftp.us.debian.org testing/non-free Sources [100 kB]
Fetched 22.5 MB in 34s (646 kB/s)
W: Failed to fetch file:/root/local-packages/./Release  Unable to find expected entry 'Sources' in Release file (Wrong sources.list entry or malformed fil
e)

E: Some index files failed to download. They have been ignored, or old ones used instead.
E: config/chroot_local-hooks/19-install-tor-browser-AppArmor-profile failed (exit non-zero). You should check for errors.
P: Begin unmounting filesystems...

real    10m54.052s
user    7m9.180s
sys     1m56.072s
lb build failed (1).

Subtasks


Related issues

Copied from Tails - Bug #8756: config/chroot_local-packages feature is broken Resolved 2015-01-21

History

#1 Updated by kytv 2015-02-16 16:57:49

  • copied from Bug #8756: config/chroot_local-packages feature is broken added

#2 Updated by kytv 2015-02-16 16:58:09

  • Status changed from New to Confirmed

#3 Updated by kytv 2015-02-16 17:00:14

  • Subject changed from config/chroot_local-packages feature is broken to config/chroot_local-packages feature is broken by 19-install-tor-browser-AppArmor-profile

#4 Updated by kytv 2015-02-16 18:03:28

  • % Done changed from 100 to 50
  • QA Check set to Ready for QA
  • Feature Branch set to kytv:bugfix/8910-19-install-tor-browser-AppArmor-profile

I can confirm that the fix from https://labs.riseup.net/code/issues/8724#note-12 resolves the issue here too.

#5 Updated by kytv 2015-02-16 18:06:56

  • Start date changed from 2015-01-21 to 2015-02-16

#6 Updated by intrigeri 2015-02-16 18:49:10

  • Priority changed from Normal to Elevated

#7 Updated by kytv 2015-02-25 18:54:21

Patch re-applied against the rewritten Git repo.

#8 Updated by BitingBird 2015-02-25 21:11:10

  • Status changed from Confirmed to In Progress

#9 Updated by kytv 2015-03-02 16:57:06

Applied in changeset commit:c47f5dd625c469d3196cf26083a6ba44695db05c.

#10 Updated by intrigeri 2015-03-02 16:58:47

  • Status changed from In Progress to Fix committed
  • Assignee deleted (intrigeri)
  • % Done changed from 50 to 100
  • QA Check changed from Ready for QA to Pass

Cherry-picked (as kytv’s branch was based on devel), fixed some more whitespace (commit:ebf1a45) on top.

#11 Updated by BitingBird 2015-03-22 11:52:01

  • Target version changed from Tails_1.3.2 to Tails_1.3.1

#12 Updated by BitingBird 2015-03-23 02:01:31

  • Status changed from Fix committed to Resolved