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

Bug 411367

Summary: [pro-audio overlay] media-sound/glashctl-0.4.[2|3] - lashserverinterface.cpp: In constructor 'LASHServerInterface::LASHServerInterface(lash_args_t*, const std::string&, int)': lashserverinterface.cpp:39: error: 'strdup' was not declared in this scope
Product: Gentoo Linux Reporter: audiomobster
Component: OverlaysAssignee: Frieder B├╝rzele <evermind>
Status: RESOLVED OBSOLETE    
Severity: normal CC: audiomobster, jstein
Priority: Normal    
Version: 10.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description audiomobster 2012-04-09 17:39:02 UTC
media-sound/glashctl-0.4.2 and media-sound/glashctl-0.4.3 fail to compile

Reproducible: Always




>>> Emerging (1 of 1) media-sound/glashctl-0.4.3 from proaudio
[media-sound/glashctl-0.4.3] bash: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
 * glashctl-0.4.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
[media-sound/glashctl-0.4.3] bash: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
sh: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
/var/tmp/portage/media-sound/glashctl-0.4.3/temp/environment: line 80: warning: setlocale: LC_ALL: cannot change locale (us)
>>> Unpacking source...
>>> Unpacking glashctl-0.4.3.tar.bz2 to /var/tmp/portage/media-sound/glashctl-0.4.3/work
>>> Source unpacked in /var/tmp/portage/media-sound/glashctl-0.4.3/work
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
sh: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
/var/tmp/portage/media-sound/glashctl-0.4.3/temp/environment: line 80: warning: setlocale: LC_ALL: cannot change locale (us)
>>> Compiling source in /var/tmp/portage/media-sound/glashctl-0.4.3/work/glashctl-0.4.3 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --prefix=/usr --CFLAGS=-march=core2 -O2 -fomit-frame-pointer -pipe
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)

Current configuration:

  __path_to_configure = ./configure
  prefix = /usr
  build = x86_64-pc-linux-gnu
  host = x86_64-pc-linux-gnu
  mandir = /usr/share/man
  infodir = /usr/share/info
  datadir = /usr/share
  sysconfdir = /etc
  localstatedir = /var/lib
  libdir = /usr/lib64
  prefix = /usr
  CFLAGS = -march=core2 -O2 -fomit-frame-pointer -pipe

Now run 'make install' to install your software!
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
make -j5 
Computing dependencies.../bin/sh: warning: setlocale: LC_ALL: cannot change locale (us)
........
g++ -c -o jackwrapper.o -fPIC -DPIC -march=core2 -O2 -fomit-frame-pointer -pipe -march=core2 -O2 -fomit-frame-pointer -pipe `pkg-config --cflags gtkmm-2.4 lash-1.0 jack`  jackwrapper.cpp
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (us)
g++ -c -o lashserverinterface.o -fPIC -DPIC -march=core2 -O2 -fomit-frame-pointer -pipe -march=core2 -O2 -fomit-frame-pointer -pipe `pkg-config --cflags gtkmm-2.4 lash-1.0 jack`  lashserverinterface.cpp
g++ -c -o lashwrapper.o -fPIC -DPIC -march=core2 -O2 -fomit-frame-pointer -pipe -march=core2 -O2 -fomit-frame-pointer -pipe `pkg-config --cflags gtkmm-2.4 lash-1.0 jack`  lashwrapper.cpp
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (us)
g++ -c -o popupmenu.o -fPIC -DPIC -march=core2 -O2 -fomit-frame-pointer -pipe -march=core2 -O2 -fomit-frame-pointer -pipe `pkg-config --cflags gtkmm-2.4 lash-1.0 jack` -DDATA_DIR=\"/usr/share/glashctl\" popupmenu.cpp
g++ -c -o sessionchooserdialog.o -fPIC -DPIC -march=core2 -O2 -fomit-frame-pointer -pipe -march=core2 -O2 -fomit-frame-pointer -pipe `pkg-config --cflags gtkmm-2.4 lash-1.0 jack`  sessionchooserdialog.cpp
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (us)
lashserverinterface.cpp: In constructor 'LASHServerInterface::LASHServerInterface(lash_args_t*, const std::string&, int)':
lashserverinterface.cpp:39: error: 'strdup' was not declared in this scope
make: *** [lashserverinterface.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from lashwrapper.cpp:35:
lashwrapper.hpp:35: error: conflicting declaration 'char*** argv'
lashwrapper.hpp:35: error: 'argv' has a previous declaration as 'int* argv'
lashwrapper.cpp:44: error: prototype for 'LASHWrapper::LASHWrapper(int*, char***)' does not match any in class 'LASHWrapper'
lashwrapper.hpp:32: error: candidates are: LASHWrapper::LASHWrapper(const LASHWrapper&)
lashwrapper.hpp:35: error:                 LASHWrapper::LASHWrapper(int*)
lashwrapper.cpp: In member function 'void LASHWrapper::really_stop_lashd()':
lashwrapper.cpp:192: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result
make: *** [lashwrapper.o] Error 1
emake failed
 * ERROR: media-sound/glashctl-0.4.3 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 1982:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-sound/glashctl-0.4.3',
 * the complete build log and the output of 'emerge -pqv =media-sound/glashctl-0.4.3'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/pro-audio/eclass/exteutils.eclass
 * This ebuild is from an overlay named 'proaudio': '/var/lib/layman/pro-audio/'
 * The complete build log is located at '/var/tmp/portage/media-sound/glashctl-0.4.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/glashctl-0.4.3/temp/environment'.
 * S: '/var/tmp/portage/media-sound/glashctl-0.4.3/work/glashctl-0.4.3'
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
sh: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
/var/tmp/portage/media-sound/glashctl-0.4.3/temp/environment: line 80: warning: setlocale: LC_ALL: cannot change locale (us)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (us)
sh: warning: setlocale: LC_ALL: cannot change locale (us)

>>> Failed to emerge media-sound/glashctl-0.4.3, Log file:

>>>  '/var/tmp/portage/media-sound/glashctl-0.4.3/temp/build.log'

 * Messages for package media-sound/glashctl-0.4.3:

 * ERROR: media-sound/glashctl-0.4.3 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 1982:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-sound/glashctl-0.4.3',
 * the complete build log and the output of 'emerge -pqv =media-sound/glashctl-0.4.3'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/pro-audio/eclass/exteutils.eclass
 * This ebuild is from an overlay named 'proaudio': '/var/lib/layman/pro-audio/'
 * The complete build log is located at '/var/tmp/portage/media-sound/glashctl-0.4.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/glashctl-0.4.3/temp/environment'.
 * S: '/var/tmp/portage/media-sound/glashctl-0.4.3/work/glashctl-0.4.3'
localhost linux #
Comment 1 audiomobster 2012-04-09 17:53:01 UTC
Portage 2.1.10.53 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.14.1-r2, 3.0.14-rt31-rt31 x86_64)
=================================================================
System uname: Linux-3.0.14-rt31-rt31-x86_64-Intel-R-_Core-TM-_i5_CPU_M_480_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Mon, 09 Apr 2012 17:15:01 +0000
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo proaudio
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apng bash-completion berkdb bluetooth bzip2 cairo cdda cli consolekit cracklib crypt cups cxx dbus dri extras fftw fluidsynth fortran gdbm gdu gnome gpm gtk gtk3 gudev hwdb iconv ipv6 jack jack-audio-connection-kit jackmidi java jpeg kde lash lv2 mad midi mmx modules mp3 mudflap multilib ncurses networkmanager nls nptl nptlonly objc ogg opengl openmp osc pam pcre png policykit pppd pulseaudio python qt3support readline session sqlite sse sse2 ssl stk sysfs tcpd threads udev unicode vorbis vst xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 audiomobster 2012-04-09 17:54:04 UTC
Portage 2.1.10.53 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.14.1-r2, 3.0.14-rt31-rt31 x86_64)
=================================================================
System uname: Linux-3.0.14-rt31-rt31-x86_64-Intel-R-_Core-TM-_i5_CPU_M_480_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Mon, 09 Apr 2012 17:15:01 +0000
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo proaudio
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apng bash-completion berkdb bluetooth bzip2 cairo cdda cli consolekit cracklib crypt cups cxx dbus dri extras fftw fluidsynth fortran gdbm gdu gnome gpm gtk gtk3 gudev hwdb iconv ipv6 jack jack-audio-connection-kit jackmidi java jpeg kde lash lv2 mad midi mmx modules mp3 mudflap multilib ncurses networkmanager nls nptl nptlonly objc ogg opengl openmp osc pam pcre png policykit pppd pulseaudio python qt3support readline session sqlite sse sse2 ssl stk sysfs tcpd threads udev unicode vorbis vst xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Jonas Stein gentoo-dev 2017-07-11 06:43:34 UTC
could not find the overlay on https://gpo.zugaina.org/Overlays any more.