Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736984 - media-sound/ardour-6.2-r1: USE=-nls -> ../libs/ardour/gettext.h:59:27: error: expected unqualified-id before 'const'
Summary: media-sound/ardour-6.2-r1: USE=-nls -> ../libs/ardour/gettext.h:59:27: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-13 15:09 UTC by CaptainBlood
Modified: 2020-08-22 08:02 UTC (History)
3 users (show)

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


Attachments
build log (media-sound:ardour-6.2-r1:20200813-145437.log.lzma,22.75 KB, application/x-lzma)
2020-08-13 15:12 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2020-08-13 15:09:51 UTC
emerge --info ardour 
--- Invalid atom in /var/db/repos/go-overlay/profiles/package.mask: Slot deps are not allowed in EAPI 0: 'dev-lang/go:stable'
 * Failed to change nice value to '-10'
 * [Errno 1] Operation not permitted

Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-9.3.0, glibc-2.31-r6, 5.8.0-gentoo-r1-classic x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.8.0-gentoo-r1-classic-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-gentoo-2.6
KiB Mem:     3939228 total,    916392 free
KiB Swap:    8048528 total,   7427776 free
Timestamp of repository audio-overlay: Mon, 10 Aug 2020 09:14:14 +0000
Head commit of repository audio-overlay: 213bb6177fcd78590f6c6c7aafd298c4b0e5cdcf

Timestamp of repository bobwya: Mon, 10 Aug 2020 09:13:22 +0000
Head commit of repository bobwya: 2d1f24d67f46415b8d9d97eb9cc976ee2a6e11cf

Timestamp of repository calculate: Wed, 12 Aug 2020 12:35:31 +0000
Head commit of repository calculate: b5323e0e4564c94e280ee978d9e877900ee3ae67

Timestamp of repository go-overlay: Mon, 10 Aug 2020 09:13:55 +0000
Head commit of repository go-overlay: 56b684348b133aedbdb0be40bc3dd3a1fd499553

Timestamp of repository linxon: Mon, 10 Aug 2020 09:14:15 +0000
Head commit of repository linxon: 3a426488c03873f6cbfb749e47fc8d84d206846e

Timestamp of repository pentoo: Wed, 12 Aug 2020 23:35:32 +0000
Head commit of repository pentoo: 38563ebf61bcfe85221da9c6dbd65bbe32bb865d

Timestamp of repository raiagent: Mon, 10 Aug 2020 09:13:43 +0000
Head commit of repository raiagent: 415cefe451f6c596eccf08f7ef19e5bd6d1dec76

Timestamp of repository rukruk: Mon, 10 Aug 2020 09:14:03 +0000
Head commit of repository rukruk: 1625c3550184d3f8ab6d10488b5b4829e667f2c8

Timestamp of repository seden: Mon, 10 Aug 2020 09:13:46 +0000
Head commit of repository seden: 2d2452ebfda3569e121b8944f36d94d477f52608

Head commit of repository smoverlay: 01a4b5763a6cd79016a3230f5820b224f011a44f

Timestamp of repository thegreatmcpain: Mon, 10 Aug 2020 09:14:41 +0000
Head commit of repository thegreatmcpain: 53bb49dc82366de0f04bf77d782a61d247e397c4

Timestamp of repository waebbl: Mon, 10 Aug 2020 09:14:16 +0000
Head commit of repository waebbl: 48d17d180a9424fb1ffde6b148c278911c94824a

Timestamp of repository gentoo: Thu, 13 Aug 2020 14:00:01 +0000
Head commit of repository gentoo: 343d39f2ed30b19b99c8dd1eeb2c7035c41d2fdf
Timestamp of repository ricerlay: Thu, 13 Aug 2020 14:05:43 +0000
Head commit of repository ricerlay: 1ff4b6949758967f23b2202eee154c75b24b331a

sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.4-r1::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo, 10.2.0::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

audio-overlay
    location: /var/db/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/audio-overlay.git
    masters: gentoo
    priority: -10001

bobwya
    location: /var/db/repos/bobwya
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/bobwya.git
    masters: gentoo
    priority: -10001

calculate
    location: /var/db/repos/calculate
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/calculate.git
    masters: gentoo
    priority: -10001

go-overlay
    location: /var/db/repos/go-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/go-overlay.git
    masters: gentoo
    priority: -10001

linxon
    location: /var/db/repos/linxon
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/linxon.git
    masters: gentoo
    priority: -10001

pdm-bashtop
    location: /var/lib/layman/pdm-bashtop
    sync-type: laymansync
    sync-uri: https://gitlab.com/gentoo-pdm/sys-process/bashtop/pdm-bashtop.git
    masters: gentoo
    priority: -10001

pdm-screenkey
    location: /var/lib/layman/pdm-screenkey
    sync-type: laymansync
    sync-uri: https://gitlab.com/gentoo-pdm/x11-misc/screenkey/pdm-screenkey.git
    masters: gentoo
    priority: -10001

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    priority: -10001

raiagent
    location: /var/db/repos/raiagent
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/raiagent.git
    masters: gentoo
    priority: -10001

rukruk
    location: /var/db/repos/rukruk
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/rukruk.git
    masters: gentoo
    priority: -10001

seden
    location: /var/db/repos/seden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/seden.git
    masters: gentoo
    priority: -10001

smoverlay
    location: /var/db/repos/smoverlay
    sync-type: git
    sync-uri: https://git.s-morozov.net/gentoo-overlays/smoverlay.git
    masters: gentoo
    priority: -10001

thegreatmcpain
    location: /var/db/repos/thegreatmcpain
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/thegreatmcpain.git
    masters: gentoo bobwya
    priority: -10001

waebbl
    location: /var/db/repos/waebbl
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/waebbl.git
    masters: gentoo raiagent
    priority: -10001

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ricerlay
    location: /var/db/repos/ricerlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ricerlay.git
    masters: gentoo

das-labor
    location: /var/lib/layman/das-labor
    sync-type: laymansync
    sync-uri: https://github.com/das-labor/overlay.git
    masters: gentoo
    priority: 50

gnu-elpa
    location: /var/lib/layman/gnu-elpa
    sync-type: laymansync
    sync-uri: gs-elpa gnu-elpa
    masters: gentoo
    priority: 50

melpa
    location: /var/lib/layman/melpa
    sync-type: laymansync
    sync-uri: gs-elpa melpa
    masters: gnu-elpa gentoo
    priority: 50

vayerx
    location: /var/lib/layman/vayerx
    sync-type: laymansync
    sync-uri: https://github.com/vayerx/vayerx-gentoo.git
    masters: gentoo
    priority: 50

local-repo
    location: /var/db/repos/local-repo
    masters: gentoo
    priority: 10000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mtune=skylake   -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize  "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=skylake -mtune=skylake   -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize      "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alert y 			--alphabetical 			--ask-enter-invalid 			--autounmask y  			--autounmask-only n  			--autounmask-unrestricted-atoms y  		--autounmask-write y 			--misspell-suggestions n 			--noconfmem 			--nospinner   			--tree 			--with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=skylake -mtune=skylake   -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize  "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=skylake -mtune=skylake   -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize  "
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ https://mirrors.evowise.com/gentoo/ http://mirror.dkm.cz/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://gentoo.mirror.web4u.cz/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="fr_FR.utf8"
LDFLAGS="  -Wl,-O1       -Wl,-fuse-ld=bfd  -Wl,--enable-new-dtags  -Wl,-z,relro -Wl,-z,now -fno-plt -march=skylake -mtune=skylake   -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize   "
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
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"
USE="amd64 asm libglvnd minimal split-usr" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" PHP_TARGETS="php7-4" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-sound/ardour-6.2::gentoo was built with the following:
USE="(-altivec) -doc jack -nls -phonehome" ABI_X86="(64)" CPU_FLAGS_X86="-3dnow mmx sse"
CFLAGS="-march=skylake -mtune=skylake -O2 -pipe -ftree-loop-vectorize -ftree-slp-vectorize -lboost_system"
CXXFLAGS="-march=skylake -mtune=skylake -O2 -pipe -ftree-loop-vectorize -ftree-slp-vectorize -std=c++11 -lboost_system"


Reproducible: Always
Comment 1 CaptainBlood 2020-08-13 15:12:32 UTC
Created attachment 654442 [details]
build log
Comment 2 Miroslav Šulc gentoo-dev 2020-08-13 15:52:57 UTC
this code is only used when USE=-nls. current workaround is to set USE=nls.
Comment 3 Larry the Git Cow gentoo-dev 2020-08-22 08:02:48 UTC
The bug has been closed via the following commit(s):

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

commit f7007349f10f40f8f8327f414f474ad3505d3bdf
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-08-22 08:02:26 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-08-22 08:02:43 +0000

    media-sound/ardour: fixed -nls and source availability in 6.2-r1
    
    1) copied source tarball to my dev space
    2) applied upstream patch to fix compilation
       of ardour with -nls
       thanks to Lars Wendler <polynomial-c@gentoo.org>
       for reporting it upstream
    
    Closes: https://bugs.gentoo.org/736984
    Closes: https://bugs.gentoo.org/640168
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/ardour/ardour-6.2-r1.ebuild            |   8 +-
 .../ardour/files/ardour-6.2-fix-no-nls.patch       | 474 +++++++++++++++++++++
 2 files changed, 480 insertions(+), 2 deletions(-)