Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635908 - sys-apps/apparmor-2.11.1 fails src_install: rm: cannot remove ${D}/etc/init.d/boot.apparmor : No such file or directory
Summary: sys-apps/apparmor-2.11.1 fails src_install: rm: cannot remove ${D}/etc/init.d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Palimaka (kensington)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-30 18:38 UTC by Toralf Förster
Modified: 2017-10-31 12:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.78 KB, text/plain)
2017-10-30 18:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,130.31 KB, text/plain)
2017-10-30 18:38 UTC, Toralf Förster
Details
environment (environment,87.09 KB, text/plain)
2017-10-30 18:38 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.83 KB, application/x-bzip)
2017-10-30 18:38 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.92 KB, application/x-bzip)
2017-10-30 18:38 UTC, Toralf Förster
Details
sys-apps:apparmor-2.11.1:20171030-160907.log (sys-apps:apparmor-2.11.1:20171030-160907.log,22.40 KB, text/plain)
2017-10-30 18:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-10-30 18:38:36 UTC
install -m 755 -d /var/tmp/portage/sys-apps/apparmor-2.11.1/image//sbin
install -m 755 apparmor_parser /var/tmp/portage/sys-apps/apparmor-2.11.1/image//sbin
rm: cannot remove '/var/tmp/portage/sys-apps/apparmor-2.11.1/image//etc/init.d/boot.apparmor': No such file or directory
 * ERROR: sys-apps/apparmor-2.11.1::gentoo failed (install phase):
 *   (no error message)
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-gnome-systemd_libressl_20171027-204406

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sys-apps/apparmor
[ebuild  N    ] sys-apps/apparmor-2.11.1  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2017-10-30 18:38:39 UTC
Created attachment 500998 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-30 18:38:42 UTC
Created attachment 501000 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-10-30 18:38:46 UTC
Created attachment 501002 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-10-30 18:38:49 UTC
Created attachment 501004 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-10-30 18:38:52 UTC
Created attachment 501006 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-30 18:38:55 UTC
Created attachment 501008 [details]
sys-apps:apparmor-2.11.1:20171030-160907.log
Comment 7 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-31 04:13:04 UTC
 * Call stack:
 *     ebuild.sh, line 115:  Called src_install
 *   environment, line 2146:  Called die
 * The specific snippet of code:
 *       rm "${D}"/etc/init.d/boot.apparmor || die;
Comment 8 Michael Palimaka (kensington) gentoo-dev 2017-10-31 12:13:25 UTC
Apparently the files it installs depends on an automagic distro detection.
Comment 9 Larry the Git Cow gentoo-dev 2017-10-31 12:22:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01dab293acf4c1c779814b9a0b098a207b306ba1

commit 01dab293acf4c1c779814b9a0b098a207b306ba1
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-10-31 12:21:59 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-10-31 12:22:22 +0000

    sys-apps/apparmor: revision bump resolves automagic distro detection
    
    The automagic distro detection caused different files to be installed, for
    example if /usr/bin/rpm was present.
    
    Closes: https://bugs.gentoo.org/635908
    Package-Manager: Portage-2.3.8, Repoman-2.3.4

 .../apparmor/{apparmor-2.11.1.ebuild => apparmor-2.11.1-r1.ebuild}     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)