Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778251 - sys-boot/netboot-0.10.2-r2 - * emake failed (line 314: [: syntax error: `--mode=execute' unexpected)
Summary: sys-boot/netboot-0.10.2-r2 - * emake failed (line 314: [: syntax error: `--m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-25 20:50 UTC by Toralf Förster
Modified: 2021-03-25 22:47 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.65 KB, text/plain)
2021-03-25 20:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,364.25 KB, text/plain)
2021-03-25 20:50 UTC, Toralf Förster
Details
environment (environment,55.37 KB, text/plain)
2021-03-25 20:50 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,37.46 KB, application/x-bzip)
2021-03-25 20:50 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.22 KB, application/x-bzip)
2021-03-25 20:50 UTC, Toralf Förster
Details
sys-boot:netboot-0.10.2-r2:20210325-204325.log (sys-boot:netboot-0.10.2-r2:20210325-204325.log,114.90 KB, text/plain)
2021-03-25 20:50 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.90 KB, application/x-bzip)
2021-03-25 20:50 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 2021-03-25 20:50:14 UTC
make: *** [Makefile:74: install] Error 1
 * ERROR: sys-boot/netboot-0.10.2-r2::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-boot/netboot-0.10.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/netboot-0.10.2-r2::gentoo'`.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210315-144814

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.50.0
  [2]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [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	Thu Mar 25 19:50:41 UTC 2021

emerge -qpvO sys-boot/netboot
[ebuild  N    ] sys-boot/netboot-0.10.2-r2  USE="berkdb bootrom lzo odbc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2021-03-25 20:50:15 UTC
Created attachment 693720 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-25 20:50:17 UTC
Created attachment 693723 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-25 20:50:18 UTC
Created attachment 693726 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-25 20:50:20 UTC
Created attachment 693729 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-25 20:50:21 UTC
Created attachment 693732 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-25 20:50:22 UTC
Created attachment 693735 [details]
sys-boot:netboot-0.10.2-r2:20210325-204325.log
Comment 7 Toralf Förster gentoo-dev 2021-03-25 20:50:24 UTC
Created attachment 693738 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-03-25 22:31:40 UTC
Just a quick look but seems like slibtool's name triggers alternate logic in instdrv.in:

        */libtool*)
                # It's OK when calling MD5PROG through libtool
                ;;
        *) [...]
And then: if [ -f $i/$MD5TMP ] will be [ -f $i/rdlibtool --mode=execute ... ]
Comment 9 Ionen Wolkens gentoo-dev 2021-03-25 22:35:44 UTC
(In reply to Ionen Wolkens from comment #8)
>                 # It's OK when calling MD5PROG through libtool
Also it's not OK given it'll pickup extra status text from slibtool in the output.
Comment 10 Larry the Git Cow gentoo-dev 2021-03-25 22:47:32 UTC
The bug has been closed via the following commit(s):

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

commit c9524e21283c383b848af79ec6e068217acefbe5
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-03-25 22:46:11 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-03-25 22:46:51 +0000

    sys-boot/netboot: fix compilation with slibtool
    
    Closes: https://bugs.gentoo.org/778251
    Package-Manager: Portage-3.0.16, Repoman-3.0.2
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 sys-boot/netboot/files/netboot-0.10.2-slibtool.patch | 11 +++++++++++
 sys-boot/netboot/netboot-0.10.2-r2.ebuild            |  7 +++++--
 2 files changed, 16 insertions(+), 2 deletions(-)