Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564414 - media-sound/ardour-4.4 failed to build
Summary: media-sound/ardour-4.4 failed to build
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: 2015-10-29 13:09 UTC by tman
Modified: 2015-11-01 12:12 UTC (History)
1 user (show)

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


Attachments
/var/tmp/portage/media-sound/ardour-4.4/temp/build.log (build.log.tar.gz,115.18 KB, application/gzip)
2015-10-29 21:17 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2015-10-29 13:09:49 UTC
-> task in 'libpbd' failed (exit status 1): 
	{task 140680471411280: cxx boost_debug.cc -> boost_debug.cc.2.o}
['x86_64-pc-linux-gnu-g++', '-I/var/tmp/portage/media-sound/ardour-4.4/work/ardour-4.4', '-march=corei7', '-O2', '-pipe', '-lboost_system', '-DWAF_BUILD', '-DNDEBUG', '-fshow-column', '-pipe', '-DARCH_X86', '-mmmx', '-msse', '-mfpmath=sse', '-DUSE_XMMINTRIN', '-DBUILD_SSE_OPTIMIZATIONS', '-DLXVST_64BIT', '-Wall', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', '-Wno-unused-parameter', '-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-DENABLE_NLS', '-DPROGRAM_NAME="Ardour"', u'-DPROGRAM_VERSION="4"', '-Woverloaded-virtual', '-Wno-unused-local-typedefs', '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', '-DCANVAS_COMPATIBILITY', '-DCANVAS_DEBUG', '-fPIC', '-fPIC', '-pthread', '-I/var/tmp/portage/media-sound/ardour-4.4/work/ardour-4.4/build/libs/pbd', '-I/var/tmp/portage/media-sound/ardour-4.4/work/ardour-4.4/libs/pbd', '-I/usr/include/glibmm-2.4', '-I/usr/lib64/glibmm-2.4/include', '-I/usr/include/glib-2.0', '-I/usr/lib64/glib-2.0/include', '-I/usr/include/sigc++-2.0', '-I/usr/lib64/sigc++-2.0/include', '-I/usr/include/libxml2', '-I/usr/include/giomm-2.4', '-I/usr/lib64/giomm-2.4/include', '-I/var/tmp/portage/media-sound/ardour-4.4/work/ardour-4.4/build', '-DINTERNAL_SHARED_LIBS=1', '-DHAVE_DLOPEN=1', '-DHAVE_ALSA=1', '-DHAVE_GLIB=1', '-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-DHAVE_SNDFILE=1', '-DHAVE_GIOMM=1', '-DHAVE_CURL=1', '-DHAVE_LO=1', '-DHAVE_TAGLIB=1', '-DHAVE_VAMPSDK=1', '-DHAVE_VAMPHOSTSDK=1', '-DHAVE_RUBBERBAND=1', '-DEXPORT_VISIBILITY_HIDDEN=False', '-DPHONE_HOME=1', '-DENABLE_NLS=1', '-DLXVST_SUPPORT=1', '-DCONFIG_ARCH="x86_64"', '-DHAVE_TOOLS_SANITY_CHECK=1', '-DHAVE_TOOLS_GCCABICHECK=1', '-DHAVE_LIBS_CLEARLOOKS_NEWER=1', '-DHAVE_LIBS_QM_DSP=1', '-DHAVE_FFTW3F=1', '-DHAVE_AUBIO=1', '-DHAVE_AUBIO4=1', '-DHAVE_LIBS_VAMP_PLUGINS=1', '-DHAVE_LIBS_LIBLTC=1', '-DHAVE_LIBS_PTFORMAT=1', '-DHAVE_XML=1', '-DHAVE_SIGCPP=1', '-DHAVE_GETMNTENT=1', '-DHAVE_EXECINFO=1', '-DHAVE_POSIX_MEMALIGN=1', '-DHAVE_LOCALTIME_R=1', '-DHAVE_LIBS_PBD=1', '-DHAVE_CPPUNIT=1', '-DHAVE_LIBS_MIDIPP2=1', '-DHAVE_LIBS_EVORAL=1', '-DHAVE_CONTROL_PROTOCOL=1', '-DHAVE_GENERIC_MIDI=1', '-DHAVE_MACKIE=1', '-DHAVE_LIBS_SURFACES=1', '-DHAVE_2IN2OUT=1', '-DHAVE_1IN2OUT=1', '-DHAVE_VBAP=1', '-DHAVE_STEREOBALANCE=1', '-DHAVE_LIBS_PANNERS=1', '-DHAVE_JACK=1', '-DHAVE_JACK_METADATA=1', '-DHAVE_LIBS_BACKENDS=1', '-DHAVE_LIBS_TIMECODE=1', '-DHAVE_LRDF=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_OGG=1', '-DHAVE_FLAC=1', '-DUSE_RUBBERBAND=1', '-DCURRENT_SESSION_FILE_VERSION=3001', '-DHAVE_SYS_VFS_H=1', '-DHAVE_SYS_STATVFS_H=1', '-DHAVE_UNISTD=1', '-DHAVE_BOOST_SCOPED_PTR_HPP=1', '-DHAVE_BOOST_PTR_CONTAINER_PTR_LIST_HPP=1', '-DHAVE_LIBS_ARDOUR=1', '-DHAVE_GTKMM=1', '-DHAVE_GTK=1', '-DHAVE_LIBS_GTKMM2EXT=1', '-DHAVE_BOOST_FORMAT_HPP=1', '-DHAVE_LIBS_AUDIOGRAPHER=1', '-DHAVE_CAIROMM=1', '-DHAVE_LIBS_CANVAS=1', '-DHAVE_LIBS_PLUGINS_REASONABLESYNTH_LV2=1', '-DHAVE_X11=1', '-DHAVE_FONTCONFIG=1', '-DHAVE_BOOST_SHARED_PTR_HPP=1', '-DHAVE_BOOST_WEAK_PTR_HPP=1', '-DHAVE_GTK2_ARDOUR=1', '-DHAVE_EXPORT=1', '-DHAVE_MIDI_MAPS=1', '-DHAVE_MCP=1', '-DHAVE_PATCHFILES=1', '-DHAVE_HEADLESS=1', '-DHAVE_LIBS_FST=1', '-DHAVE_LIBS_VFORK=1', '-DHAVE_DBUS=1', '-DHAVE_LIBS_ARDOURALSAUTIL=1', '-DHAVE_CFGTOOL=1', '-DLIBPBD_DLL_EXPORTS=1', '-DPACKAGE="libpbd4"', '-DUSE_X86_64_ASM', '../libs/pbd/boost_debug.cc', '-c', '-o', 'libs/pbd/boost_debug.cc.2.o']
 * ERROR: media-sound/ardour-4.4::gentoo failed (compile phase):
 *   build failed
 * 


Reproducible: Always




Portage 2.2.23 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r1, 4.2.5-gentoo x86_64)
=================================================================
System uname: Linux-4.2.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24626508 total,  21958496 free
KiB Swap:   26488828 total,  26488828 free
Timestamp of repository gentoo: Thu, 29 Oct 2015 12:30:01 +0000
Timestamp of repository poly-c: Thu, 29 Oct 2015 09:35:04 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo, 3.5.0-r1::gentoo
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /mnt/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bitcoin
    location: /mnt/portage/local/layman/bitcoin
    masters: gentoo
    priority: 1

bumblebee
    location: /mnt/portage/local/layman/bumblebee
    masters: gentoo
    priority: 2

dotnet
    location: /mnt/portage/local/layman/dotnet
    masters: gentoo
    priority: 3

poly-c
    location: /mnt/portage/local/layman/poly-c
    masters: gentoo
    priority: 4

steam-overlay
    location: /mnt/portage/local/layman/steam-overlay
    masters: gentoo
    priority: 5

media-overlay
    location: /mnt/portage/local/layman/media-overlay
    masters: gentoo
    priority: 6

dr
    location: /mnt/portage/local/layman/dr
    masters: gentoo
    priority: 7

brother-overlay
    location: /mnt/portage/local/layman/brother-overlay
    masters: gentoo
    priority: 8

lokal
    location: /mnt/portage/local/local-overlay
    masters: gentoo
    priority: 9

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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://distfiles.gentoo.org"
LANG="C"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/portage/packages"
PORTAGE_CONFIGROOT="/"
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-10-29 16:16:43 UTC
Please attach the full build log.
Comment 2 tman 2015-10-29 21:17:54 UTC
Created attachment 415726 [details]
/var/tmp/portage/media-sound/ardour-4.4/temp/build.log
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-10-30 08:20:06 UTC
What version of dev-libs/libsigc++ do you have installed?
Comment 4 tman 2015-10-30 20:16:39 UTC
 # eix dev-libs/libsigc++
[I] dev-libs/libsigc++
     Available versions:  
     (1.2)  1.2.7
     (2)    2.4.0 2.4.1 (~)2.6.1_pre^m[1]
       {debug doc static-libs test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.6.1_pre(2)^m[1](11:30:09 22.10.2015)(-doc -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            http://libsigc.sourceforge.net/
     Description:         Typesafe callback system for standard C++

[1] "poly-c" /mnt/portage/local/layman/poly-c
Comment 5 Andreas Schürch gentoo-dev 2015-10-30 21:29:51 UTC
The failure really looks like from a faulty libsigc++ build.

[01m[K/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:17:57:[m[K [01;31m[Kerror: [m[Kparse error in template argument list
   #define SIGC_WORKAROUND_OPERATOR_PARENTHESES template operator()

As your package is from the poly-c overlay and he is actually here, he might can tell if 2.6.1_pre works in general with ardour or not!? :-)

Have you tried just rebuilding that package? Maybe you need to downgrade!?

@poly-c
I wonder if I should steal your pkg_setup in the ardour ebuild!? :-)
...The sed-lines for the flags are much cleaner since 4.4 and the pkg_setup seems the only difference right now. Maybe we could merge? ;-)
Also, feel free to touch the ebuild if you see something missing!
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-10-30 22:59:48 UTC
(In reply to Andreas Schürch from comment #5)
> The failure really looks like from a faulty libsigc++ build.
> 
> [01m[K/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:17:57:[m[K
> [01;31m[Kerror: [m[Kparse error in template argument list
>    #define SIGC_WORKAROUND_OPERATOR_PARENTHESES template operator()
> 
> As your package is from the poly-c overlay and he is actually here, he might
> can tell if 2.6.1_pre works in general with ardour or not!? :-)

The error comes from ardour not adding -std=c++11 to CXXFLAGS when >=libsigcp++-2.6.0 is installed. I had to add this package to my overlay to get latest glib/gtk+ package to work. So this was an unintended side effect.

> Have you tried just rebuilding that package? Maybe you need to downgrade!?

I added the pkg_setup() function in the ardour-4.4 ebuild in my overlay because of this bug. So at the moment the bug can be circumvbented by emerging ardour fom my overlay.

> @poly-c
> I wonder if I should steal your pkg_setup in the ardour ebuild!? :-)
> ...The sed-lines for the flags are much cleaner since 4.4 and the pkg_setup
> seems the only difference right now. Maybe we could merge? ;-)
> Also, feel free to touch the ebuild if you see something missing!

Of course we could pro-actively add the pkg_setup() function to the official ardour ebuild. That way it would be at least prepared for the time when >=libsigc++-2.6.0 entered portage. Please keep in mind that I use the "_pre" tag in my overlay's package's version numbers for a specific reason which differs from the official usage for _pre version numbers. So the "if has_version" line shoud be added without "_pre" in the version number.
Comment 7 tman 2015-10-31 07:40:31 UTC
well i have the poly-c overlay on, and the ardour-4.4 is automatically emerged by portage, so maybe its really time for libsigcp++-2.6.0 in portage and the ebuild in portage get an update so that all get working again
Comment 8 Andreas Schürch gentoo-dev 2015-11-01 12:12:11 UTC
Ok, I added the pkg_setup() from poly-c with >=libsigc++-2.6 to get the -std=c++11 flag set if necessary.

Thanks all!