Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778260 - media-sound/mac-4.11.4.5.7-r1 - rdlibtool: error: ASM is not a valid option value for [--tag]={CC|CXX|FC|F77|NASM|RC|disable-stati
Summary: media-sound/mac-4.11.4.5.7-r1 - rdlibtool: error: ASM is not a valid option v...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-25 21:19 UTC by Toralf Förster
Modified: 2021-03-26 17:13 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.79 KB, text/plain)
2021-03-25 21:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,269.74 KB, text/plain)
2021-03-25 21:19 UTC, Toralf Förster
Details
environment (environment,72.43 KB, text/plain)
2021-03-25 21:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.95 KB, application/x-bzip)
2021-03-25 21:20 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.29 KB, application/x-bzip)
2021-03-25 21:20 UTC, Toralf Förster
Details
media-sound:mac-4.11.4.5.7-r1:20210325-211330.log (media-sound:mac-4.11.4.5.7-r1:20210325-211330.log,22.14 KB, text/plain)
2021-03-25 21:20 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.54 KB, application/x-bzip)
2021-03-25 21:20 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 21:19:54 UTC
rdlibtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../src/Shared -DSHNTOOL -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -Wno-long-long -c common.cpp -DPIC -fPIC -o .libs/common.o
rdlibtool --mode=compile --tag=ASM sh ../../../strip_fPIC.sh /usr/bin/yasm -f elf -m amd64 -o x86_64_mmx.lo x86_64_mmx.asm 
rdlibtool: error: 'ASM' is not a valid option value for [--tag]={CC|CXX|FC|F77|NASM|RC|disable-static|disable-shared}
make[3]: *** [Makefile:617: x86_64_mmx.lo] Error 2
make[3]: Leaving directory '/var/tmp/portage/media-sound/mac-4.11.4.5.7-r1/work/monkeys-audio-4.11-u4-b5-s7/src/MACLib/Assembly'
make[2]: *** [Makefile:591: all-recursive] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210320-151517

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
/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-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 20:50:44 UTC 2021

emerge -qpvO media-sound/mac
[ebuild  N    ] media-sound/mac-4.11.4.5.7-r1  USE="-static-libs" CPU_FLAGS_X86="mmx"
Comment 1 Toralf Förster gentoo-dev 2021-03-25 21:19:56 UTC
Created attachment 693747 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-25 21:19:57 UTC
Created attachment 693750 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-25 21:19:59 UTC
Created attachment 693753 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-25 21:20:00 UTC
Created attachment 693756 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-25 21:20:01 UTC
Created attachment 693759 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-25 21:20:02 UTC
Created attachment 693762 [details]
media-sound:mac-4.11.4.5.7-r1:20210325-211330.log
Comment 7 Toralf Förster gentoo-dev 2021-03-25 21:20:03 UTC
Created attachment 693765 [details]
temp.tar.bz2
Comment 8 orbea 2021-03-25 21:44:18 UTC
GNU libtool prints this:

/bin/sh ../../../libtool --mode=compile --tag=ASM sh ../../../strip_fPIC.sh /usr/bin/yasm -f elf -m amd64 -o x86_64_mmx.lo x86_64_mmx.asm 
libtool: compile: ignoring unknown tag ASM
Comment 9 orbea 2021-03-25 21:49:05 UTC
Builds with this in src_prepare():

  sed -i 's/tag=ASM/tag=NASM/' src/MACLib/Assembly/Makefile.am || die
  eautoreconf

However GNU libtool still complains about the unknown tag same as before.
Comment 10 Larry the Git Cow gentoo-dev 2021-03-26 17:13:04 UTC
The bug has been closed via the following commit(s):

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

commit 24165fcf3b3d275950c05db60da87c7d06ca3233
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-26 17:12:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-26 17:12:43 +0000

    media-sound/mac: fix build with slibtool
    
    Thanks-to: orbea <orbea@riseup.net>
    Closes: https://bugs.gentoo.org/778260
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/mac/mac-4.11.4.5.7-r1.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)