Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763648 - app-emulation/containerd-1.4.3-r1 : make: *** No rule to make target no-PIC. Stop.
Summary: app-emulation/containerd-1.4.3-r1 : make: *** No rule to make target no-PIC. ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
: 763876 (view as bug list)
Depends on:
Blocks: bash-5.1
  Show dependency tree
 
Reported: 2021-01-05 08:25 UTC by Toralf Förster
Modified: 2021-01-12 22:46 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.69 KB, text/plain)
2021-01-05 08:25 UTC, Toralf Förster
Details
app-emulation:containerd-1.4.3-r1:20210105-034834.log (app-emulation:containerd-1.4.3-r1:20210105-034834.log,2.01 KB, text/plain)
2021-01-05 08:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,560.74 KB, text/plain)
2021-01-05 08:25 UTC, Toralf Förster
Details
environment (environment,57.85 KB, text/plain)
2021-01-05 08:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,39.97 KB, application/x-bzip)
2021-01-05 08:25 UTC, Toralf Förster
Details
The new ebuid fixed this bug (containerd-1.4.3-r1.ebuild,1.90 KB, text/plain)
2021-01-05 13:44 UTC, vowstar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-01-05 08:25:42 UTC
make -j1 'BUILDTAGS=apparmor seccomp' DESTDIR=/var/tmp/portage/app-emulation/containerd-1.4.3-r1/image LDFLAGS=-extldflags -fno-PIC all man 
make: no-PIC: No such file or directory
make: *** No rule to make target 'no-PIC'.  Stop.
 * ERROR: app-emulation/containerd-1.4.3-r1::gentoo failed (compile phase):
 *   emake failed
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20201219-112410

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
  [3]   python3.6 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Jan  5 01:07:37 AM UTC 2021

emerge -qpvO app-emulation/containerd
[ebuild  N    ] app-emulation/containerd-1.4.3-r1  USE="apparmor btrfs cri device-mapper hardened seccomp (-selinux) -test"
Comment 1 Toralf Förster gentoo-dev 2021-01-05 08:25:43 UTC
Created attachment 681178 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-05 08:25:45 UTC
Created attachment 681181 [details]
app-emulation:containerd-1.4.3-r1:20210105-034834.log
Comment 3 Toralf Förster gentoo-dev 2021-01-05 08:25:46 UTC
Created attachment 681184 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-01-05 08:25:48 UTC
Created attachment 681187 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-01-05 08:25:49 UTC
Created attachment 681190 [details]
etc.portage.tbz2
Comment 6 Agostino Sarubbo gentoo-dev 2021-01-05 13:22:38 UTC
*** Bug 763876 has been marked as a duplicate of this bug. ***
Comment 7 vowstar 2021-01-05 13:44:05 UTC
Created attachment 681295 [details]
The new ebuid fixed this bug

This is the fixed ebuild.
Change 
LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '')
to
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')"
fixed this bug.
Comment 8 Larry the Git Cow gentoo-dev 2021-01-12 22:46:38 UTC
The bug has been closed via the following commit(s):

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

commit c36f073341898c359069072c5a2dc86db1ee4d53
Author:     Hector Martin <marcan@marcan.st>
AuthorDate: 2021-01-04 07:39:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-12 22:46:04 +0000

    app-emulation/containerd: fix USE=hardened
    
    This probably broke with the recent bash update.
    
    Signed-off-by: Hector Martin <marcan@marcan.st>
    Closes: https://bugs.gentoo.org/763648
    Closes: https://github.com/gentoo/gentoo/pull/18937
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/containerd/containerd-1.3.7.ebuild    | 2 +-
 app-emulation/containerd/containerd-1.3.9.ebuild    | 2 +-
 app-emulation/containerd/containerd-1.4.3-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)