Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 789711

Summary: app-admin/sudo-1.9.7 - make[1]: *** [Makefile:<snip>: install-noexec] Error 2
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED UPSTREAM    
Severity: normal CC: orbea, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/sudo-project/sudo/pull/102
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 765709    
Attachments: emerge-info.txt
app-admin:sudo-1.9.7:20210512-161627.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
Patch to remove a hack and fix the build.

Description Toralf Förster gentoo-dev 2021-05-12 16:55:04 UTC
rdlibtool: error logged in slbt_exec_install_entry(), line 516: path not found: .libs/sudo_noexec.so.def.host.
rdlibtool: < returned to > slbt_exec_install(), line 875.
make[1]: *** [Makefile:243: install-noexec] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-admin/sudo-1.9.7/work/sudo-1.9.7/src'
make: *** [Makefile:190: install] Error 2
 * ERROR: app-admin/sudo-1.9.7::gentoo failed (install phase):
 *   emake failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j2-20210510-164358

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed May 12 15:50:33 UTC 2021

emerge -qpvO app-admin/sudo
[ebuild     U ] app-admin/sudo-1.9.7 [1.9.6_p1-r1] USE="nls pam sasl secure-path sendmail ssl -gcrypt -ldap -offensive (-selinux) -skey -sssd"
Comment 1 Toralf Förster gentoo-dev 2021-05-12 16:55:05 UTC
Created attachment 707658 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-12 16:55:07 UTC
Created attachment 707661 [details]
app-admin:sudo-1.9.7:20210512-161627.log
Comment 3 Toralf Förster gentoo-dev 2021-05-12 16:55:08 UTC
Created attachment 707664 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-12 16:55:10 UTC
Created attachment 707667 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-12 16:55:11 UTC
Created attachment 707670 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-12 16:55:12 UTC
Created attachment 707673 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-12 16:55:13 UTC
Created attachment 707676 [details]
temp.tar.bz2
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-05-12 17:04:50 UTC
sys-devel/slibtool issue...
Comment 9 orbea 2021-05-13 04:09:21 UTC
Created attachment 707775 [details, diff]
Patch to remove a hack and fix the build.

This is the result of a hack/bug in sudo which was made for darwin and is now exposed by slibtool-0.5.34.

I can not test darwin and I do not know if this is still a problem there, but it can be fixed in at least gentoo with the attached patch.
Comment 10 orbea 2021-06-17 21:58:37 UTC
This is fixed in sudo-1.9.7_p1 everywhere except maybe on darwin which I will not be able to confirm or test.

See:

https://github.com/sudo-project/sudo/commit/2e492267e7bd8acb54db685c0467c09881c95d63

https://github.com/sudo-project/sudo/pull/102