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

Bug 642758

Summary: >=media-sound/audacity-2.1.3-r1: libtool: tag not specified (build error) when using ENV
Product: Gentoo Linux Reporter: Toni Ballesta <info>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED FIXED    
Severity: normal CC: alexander, bfg, fedeliallalinea, fordfrog, jstein, richard, robink
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build error
Proposed fix

Description Toni Ballesta 2017-12-30 21:15:57 UTC
Created attachment 512096 [details]
Build error

Audacity have a build problem due to lacking tag. Probably due when is using ENV configuration, because I build with -ggdb. I paste the error log, but all is speaked on this forum thread:

https://forums.gentoo.org/viewtopic-t-1068976.html

The patch (working on version 2.2.1 too) is found on the same thread.

----
# emerge --info
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.9.49-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.49-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.4.1
KiB Mem:     8177320 total,   6122064 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Sat, 30 Dec 2017 07:15:01 +0000
Head commit of repository gentoo: 680dabff015bc411643e0d0fcab7e5bd9ac7262c
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.fr.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/ http://gentoo.modulix.net/gentoo/ http://mirror.qubenet.net/mirror/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
Comment 1 Toni Ballesta 2018-03-14 21:11:50 UTC
With version 2.2.2, same problem.
Comment 2 Florian Berger 2018-08-15 12:14:31 UTC
Confirmed for stable 2.1.3, which ceases to build now.
Comment 3 Progenyx 2018-08-19 14:47:51 UTC
I can also confirm that the patch doesn't help.
Comment 4 Yarda 2018-09-04 15:50:13 UTC
I encountered it with media-sound/audacity-2.2.2 which got stable.
Comment 5 Yarda 2018-09-04 17:02:12 UTC
Created attachment 545924 [details, diff]
Proposed fix

Attached patch fixed the problem for me. Without it I am unable to build the stable audacity-2.2.2 (by just running emerge -u).
Comment 6 Mark Wright gentoo-dev 2018-09-22 07:10:17 UTC
(In reply to Yarda from comment #5)
> Created attachment 545924 [details, diff] [details, diff]
> Proposed fix
> 
> Attached patch fixed the problem for me. Without it I am unable to build the
> stable audacity-2.2.2 (by just running emerge -u).

Thanks, I reproduced the problem with media-sound/audacity-2.2.2. I then applied this patch and it builds fine.
Comment 7 Alexander Tsoy 2019-08-28 12:23:30 UTC
This is exactly the same problem as in bug 630072. It is caused by AC_PROG_OBJC.

(In reply to Toni Ballesta from comment #0)
> Probably due when is using ENV configuration, because I build with -ggdb.
Do you set CC or CCX variable in your environment? If you do so, you also need to set OBJC variable.
Comment 8 Alexander Tsoy 2019-08-28 12:32:59 UTC
(In reply to Alexander Tsoy from comment #7)
s/OBJC/OBJCXX/
Comment 9 Martin Gebert 2020-04-21 19:23:27 UTC
I've come across this issue and can confirm that the patch works for audacity-2.2.2. Why isn't this in portage yet?
Comment 10 Miroslav Šulc gentoo-dev 2020-09-19 11:31:27 UTC
please test with 2.4.2-r1 and report back
Comment 11 Miroslav Šulc gentoo-dev 2020-09-26 12:32:25 UTC
no reports, so closing.