Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642758 - >=media-sound/audacity-2.1.3-r1: libtool: tag not specified (build error) when using ENV
Summary: >=media-sound/audacity-2.1.3-r1: libtool: tag not specified (build error) whe...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Professional Audio Applications Maintainers
Keywords: PATCH
Depends on:
Reported: 2017-12-30 21:15 UTC by Toni Ballesta
Modified: 2020-09-26 12:32 UTC (History)
7 users (show)

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

Build error (file_642758.txt,3.00 KB, text/plain)
2017-12-30 21:15 UTC, Toni Ballesta
Proposed fix (audacity-2.2.2-add-libtool-tag.patch,384 bytes, patch)
2018-09-04 17:02 UTC, Yarda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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:

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

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

CFLAGS="-march=amdfam10 -O2 -pipe"
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"
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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
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)
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.