rosegarden failed to build on i586 for dockyard-devel.
Last 2500 lines of build log:
Installing rosegarden-0.9.7-1ark.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.22082
+ umask 022
+ cd /build-rosegarden-i586/BUILD
+ cd /build-rosegarden-i586/BUILD
+ rm -rf rosegarden-4-0.9.7
+ /usr/bin/bzip2 -dc /usr/src/ark/SOURCES/rosegarden-4-0.9.7.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd rosegarden-4-0.9.7
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #1 (rosegarden-4-0.9.7-ark-menu.patch):'
Patch #1 (rosegarden-4-0.9.7-ark-menu.patch):
+ patch -p1 -b --suffix .arkmenu -s
+ echo 'Patch #2 (rosegarden-4-0.9.6-ark-Xft2.patch):'
Patch #2 (rosegarden-4-0.9.6-ark-Xft2.patch):
+ patch -p1 -b --suffix .arkXft2 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4956
+ umask 022
+ cd /build-rosegarden-i586/BUILD
+ cd rosegarden-4-0.9.7
+ unset QTDIR
+ . /etc/profile.d/qt.sh
++ '[' -z '' ']'
++ QTDIR=/usr/lib/qt3-gcc3.4
++ export QTDIR
+ export 'KDEDIR=%{prefix}'
+ KDEDIR='%{prefix}'
+ CFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb
-frename-registers'
+ export CFLAGS
+ CXXFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb
-frename-registers -fvisibility-inlines-hidden'
+ export CXXFLAGS
+ FFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb
-frename-registers'
+ export FFLAGS
+ '[' 0 = 1 ']'
+ '[' 0 = 1 ']'
+ CROSSCOMPILE='--target=i586-ark-linux --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu'
+ '[' %cross '!=' %cross -a -n %cross ']'
+ export CROSSCOMPILE
+ ./configure --target=i586-ark-linux --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr
--program-prefix= --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --with-qt-dir=/usr/lib/qt3
--without-xft --with-jack
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i586-ark-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for i686-pc-linux-gnu-g++... no
checking for i686-pc-linux-gnu-c++... no
checking for i686-pc-linux-gnu-gpp... no
checking for i686-pc-linux-gnu-aCC... no
checking for i686-pc-linux-gnu-CC... no
checking for i686-pc-linux-gnu-cxx... no
checking for i686-pc-linux-gnu-cc++... no
checking for i686-pc-linux-gnu-cl... no
checking for i686-pc-linux-gnu-FCC... no
checking for i686-pc-linux-gnu-KCC... no
checking for i686-pc-linux-gnu-RCC... no
checking for i686-pc-linux-gnu-xlC_r... no
checking for i686-pc-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
not using lib directory suffix
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... no
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... libraries /usr/lib/qt3/lib, headers /usr/lib/qt3/include
using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/lib/qt3/bin/moc
checking for uic... /usr/lib/qt3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/lib, headers /usr/include/kde
checking for KDE paths... defaults
checking for dcopidl... /usr/bin/dcopidl
checking for dcopidl2cpp... /usr/bin/dcopidl2cpp
checking for kde-config... /usr/bin/kde-config
checking for meinproc... /usr/bin/meinproc
checking for libtiff tiff... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for usleep... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... found.
checking for snd_ctl_open in -lasound... yes
checking for pkg-config... /usr/bin/pkg-config
checking for jack >= 0.77.0... yes
checking JACK_CFLAGS...
checking JACK_LIBS... -ljack
checking for shm_open in -lrt... yes
checking ladspa.h usability... yes
checking ladspa.h presence... yes
checking for ladspa.h... yes
checking lrdf.h usability... yes
checking lrdf.h presence... yes
checking for lrdf.h... yes
checking for lrdf_init in -llrdf... yes
checking for mad_bit_length in -lmad... yes
Installation Summary
--------------------
Install Directory : /usr
ALSA MIDI support : yes
JACK audio support : yes
LADSPA plugin support : yes
liblrdf metadata support : yes
aRTS MIDI and audio : no
Xft notation font support : no
checking if base should be compiled... yes
checking if gui should be compiled... yes
checking if po should be compiled... yes
checking if sequencer should be compiled... yes
checking if sound should be compiled... yes
configure: creating ./config.status
can't open ./gui/docs/de/Makefile.in: No such file or directory
fast creating Makefile
fast creating base/Makefile
fast creating gui/Makefile
fast creating gui/docs/Makefile
fast creating gui/docs/de/Makefile
fast creating gui/docs/en/Makefile
fast creating po/Makefile
fast creating sequencer/Makefile
fast creating sound/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Good - your configure finished. Start make now
+ make
make all-recursive
make[1]: Entering directory `/build-rosegarden-i586/BUILD/rosegarden-4-0.9.7'
Making all in base
make[2]: Entering directory
`/build-rosegarden-i586/BUILD/rosegarden-4-0.9.7/base'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I/usr/include/kde -I/usr/lib/qt3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -DRGKDE3 -Wnon-virtual-dtor -Wno-long-long
-Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2
-march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers
-fvisibility-inlines-hidden -fno-exceptions -fno-check-new -fno-gcse
-fexceptions -MT AnalysisTypes.lo -MD -MP -MF ".deps/AnalysisTypes.Tpo" \
-c -o AnalysisTypes.lo `test -f 'AnalysisTypes.C' || echo
'./'`AnalysisTypes.C; \
then mv -f ".deps/AnalysisTypes.Tpo" ".deps/AnalysisTypes.Plo"; \
else rm -f ".deps/AnalysisTypes.Tpo"; exit 1; \
fi
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
Ada/C/ObjC but not for C++
In file included from Composition.h:28,
from AnalysisTypes.C:37:
FastVector.h:152: error: expected `;' before "operator"
FastVector.h:157: error: expected `;' before "protected"
FastVector.h: In member function `T& FastVector<T>::iterator::operator*()':
FastVector.h:177: error: `m_v' undeclared (first use this function)
FastVector.h:177: error: (Each undeclared identifier is reported only once for
each function it appears in.)
FastVector.h:177: error: `m_i' undeclared (first use this function)
FastVector.h: In member function `const T& FastVector<T>::iterator::operator*()
const':
FastVector.h:180: error: `m_v' undeclared (first use this function)
FastVector.h:180: error: `m_i' undeclared (first use this function)
FastVector.h: In member function `T&
FastVector<T>::reverse_iterator::operator*()':
FastVector.h:199: error: `m_v' undeclared (first use this function)
FastVector.h:199: error: `m_i' undeclared (first use this function)
FastVector.h: In member function `const T&
FastVector<T>::reverse_iterator::operator*() const':
FastVector.h:202: error: `m_v' undeclared (first use this function)
FastVector.h:202: error: `m_i' undeclared (first use this function)
FastVector.h: In member function `const T&
FastVector<T>::const_iterator::operator*() const':
FastVector.h:221: error: `m_v' undeclared (first use this function)
FastVector.h:221: error: `m_i' undeclared (first use this function)
FastVector.h: In member function `const T&
FastVector<T>::const_reverse_iterator::operator*() const':
FastVector.h:241: error: `m_v' undeclared (first use this function)
FastVector.h:241: error: `m_i' undeclared (first use this function)
In file included from AnalysisTypes.C:40:
Sets.h: In member function `virtual bool Rosegarden::AbstractSet<Element,
Container>::sample(const typename Container::iterator&)':
Sets.h:298: error: invalid use of undefined type `const struct
Rosegarden::Quantizer'
AnalysisTypes.h:41: error: forward declaration of `const struct
Rosegarden::Quantizer'
Sets.h:302: error: invalid use of undefined type `const struct
Rosegarden::Quantizer'
AnalysisTypes.h:41: error: forward declaration of `const struct
Rosegarden::Quantizer'
Sets.h:307: error: invalid use of undefined type `const struct
Rosegarden::Quantizer'
AnalysisTypes.h:41: error: forward declaration of `const struct
Rosegarden::Quantizer'
Sets.h: In constructor `Rosegarden::GenericChord<Element, Container,
singleStaff>::GenericChord(const Container&, typename Container::iterator,
const Rosegarden::Quantizer*, Rosegarden::PropertyName)':
Sets.h:341: error: invalid use of undefined type `const struct
Rosegarden::Quantizer'
AnalysisTypes.h:41: error: forward declaration of `const struct
Rosegarden::Quantizer'
Sets.h:344: error: there are no arguments to `initialise' that depend on a
template parameter, so a declaration of `initialise' must be available
Sets.h:344: error: (if you use `-fpermissive', G++ will accept your code, but
allowing the use of an undeclared name is deprecated)
Sets.h:346: error: there are no arguments to `size' that depend on a template
parameter, so a declaration of `size' must be available
Sets.h:347: error: there are no arguments to `begin' that depend on a template
parameter, so a declaration of `begin' must be available
Sets.h:347: error: there are no arguments to `end' that depend on a template
parameter, so a declaration of `end' must be available
Sets.h: In member function `virtual bool Rosegarden::GenericChord<Element,
Container, singleStaff>::test(const typename Container::iterator&)':
Sets.h:385: error: there are no arguments to `getQuantizer' that depend on a
template parameter, so a declaration of `getQuantizer' must be available
Sets.h: In member function `virtual bool Rosegarden::GenericChord<Element,
Container, singleStaff>::sample(const typename Container::iterator&)':
Sets.h:411: error: `m_baseIterator' undeclared (first use this function)
Sets.h:411: error: there are no arguments to `getContainer' that depend on a
template parameter, so a declaration of `getContainer' must be available
Sets.h:413: error: there are no arguments to `getAsEvent' that depend on a
template parameter, so a declaration of `getAsEvent' must be available
Sets.h: In member function `virtual std::vector<Rosegarden::Accidental,
std::allocator<Rosegarden::Accidental> > Rosegarden::GenericChord<Element,
Container, singleStaff>::getMarksForChord() const':
Sets.h:456: error: there are no arguments to `size' that depend on a template
parameter, so a declaration of `size' must be available
Sets.h: In member function `virtual std::vector<int, std::allocator<int> >
Rosegarden::GenericChord<Element, Container, singleStaff>::getPitches() const':
Sets.h:479: error: there are no arguments to `begin' that depend on a template
parameter, so a declaration of `begin' must be available
Sets.h:479: error: there are no arguments to `end' that depend on a template
parameter, so a declaration of `end' must be available
Sets.h: In member function `virtual bool Rosegarden::GenericChord<Element,
Container, singleStaff>::contains(const typename Container::iterator&) const':
Sets.h:498: error: there are no arguments to `begin' that depend on a template
parameter, so a declaration of `begin' must be available
Sets.h:499: error: there are no arguments to `end' that depend on a template
parameter, so a declaration of `end' must be available
Sets.h: In member function `virtual typename Rosegarden::GenericChord<Element,
Container, singleStaff>::Iterator Rosegarden::GenericChord<Element, Container,
singleStaff>::getPreviousNote()':
Sets.h:510: error: there are no arguments to `getInitialElement' that depend on
a template parameter, so a declaration of `getInitialElement' must be available
Sets.h:512: error: there are no arguments to `getContainer' that depend on a
template parameter, so a declaration of `getContainer' must be available
Sets.h:512: error: there are no arguments to `getContainer' that depend on a
template parameter, so a declaration of `getContainer' must be available
Sets.h: In member function `virtual typename Rosegarden::GenericChord<Element,
Container, singleStaff>::Iterator Rosegarden::GenericChord<Element, Container,
singleStaff>::getNextNote()':
Sets.h:525: error: there are no arguments to `getFinalElement' that depend on a
template parameter, so a declaration of `getFinalElement' must be available
Sets.h:526: error: there are no arguments to `getContainer' that depend on a
template parameter, so a declaration of `getContainer' must be available
Sets.h:527: error: there are no arguments to `getContainer' that depend on a
template parameter, so a declaration of `getContainer' must be available
Sets.h:532: error: there are no arguments to `getContainer' that depend on a
template parameter, so a declaration of `getContainer' must be available
make[2]: *** [AnalysisTypes.lo] Error 1
make[2]: Leaving directory
`/build-rosegarden-i586/BUILD/rosegarden-4-0.9.7/base'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build-rosegarden-i586/BUILD/rosegarden-4-0.9.7'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.4956 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.4956 (%build)
|