pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46272: audio/arts: build failed
>Number: 46272
>Category: pkg
>Synopsis: audio/arts: build failed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 28 07:55:00 +0000 2012
>Originator: Andrey N. Oktyabrski
>Release: OpenIndiana 151a2
>Organization:
>Environment:
$ uname -a
SunOS thinkpot 5.11 oi_151a2 i86pc i386 i86pc Solaris
$ isainfo
amd64 i386
$ which gcc
/usr/gcc/4.6/bin/gcc
$ /usr/gcc/4.6/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/gcc/4.6/bin/gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.2/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.2/configure --prefix=/usr/gcc/4.6
--libdir=/usr/gcc/4.6/lib --libexecdir=/usr/gcc/4.6/lib
--mandir=/usr/gcc/4.6/share/man --infodir=/usr/gcc/4.6/info
--with-build-time-tools=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/bin/ld --without-gnu-ld --enable-languages=c,c++,fortran,objc
--enable-shared --disable-static --enable-decimal-float --with-gmp=/usr/gnu
--with-mpfr=/usr/gnu --with-mpc=/usr/gnu --with-libiconv-prefix=/usr/gnu
-enable-nls
Thread model: posix
gcc version 4.6.2 (GCC)
>Description:
/usr/pkg/bin/pdksh ../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I.. -I../mcop -I../artsc -I../mcop -I../mcop
-I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/pkg/include
-I/usr/pkg/include -I../libltdl -mt -DQT_THREAD_SUPPORT -I/usr/pkg/include
-I/usr/pkg/qt3/include -I/usr/pkg/include/freetype2 -I/usr/include -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_REENTRANT -D_PTHREADS
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-DQT_CLEAN_NAMESPACE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG
-DNO_DEBUG -O2 -O -D_XOPEN_SOURCE=600 -std=c99 -I/usr/pkg/include
-I/usr/pkg/qt3/include -I/usr/pkg/include/freetype2 -I/usr/include
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-ftemplate-depth-99 -MT audioiolibaudioio.lo -MD -MP -MF
.deps/audioiolibaudioio.Tpo -c -o audioiolibaudioio.lo audioiolibaudioio.cc
cc1plus: warning: command line option '-std=c99' is valid for C/ObjC but not
for C++ [enabled by default]
audioiolibaudioio.cc: In member function 'virtual bool
Arts::AudioIOLibAudioIO::open()':
audioiolibaudioio.cc:132:27: error: 'strerror' was not declared in this scope
gmake[3]: *** [audioiolibaudioio.lo] Error 1
gmake[3]: Leaving directory `/var/tmp/pkgwrk/audio/arts/work/arts-1.5.10/flow'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/pkgwrk/audio/arts/work/arts-1.5.10/flow'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/pkgwrk/audio/arts/work/arts-1.5.10'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/audio/arts
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/audio/arts
>How-To-Repeat:
$ cd /usr/pkgsrc/audio/arts
$ bmake
>Fix:
--- flow/audioiolibaudioio.cc.orig 2012-03-28 10:01:59.225938658 +0400
+++ flow/audioiolibaudioio.cc 2012-03-28 09:57:33.504498851 +0400
@@ -48,6 +48,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
#include <iostream>
#include <algorithm>
Home |
Main Index |
Thread Index |
Old Index