FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 10-07-2010, 02:43 AM
 
Default seq24 fails to comoile

Hi,

The application seq24 fails to compile on my recent Gentoo AMD64
system.


The screen says:
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -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/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -Wall -march=amdfam10 -O2 -pipe -msse3 -MT seqevent.o -MD -MP -MF .deps/seqevent.Tpo -c -o seqevent.o seqevent.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -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/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -Wall -march=amdfam10 -O2 -pipe -msse3 -MT seqkeys.o -MD -MP -MF .deps/seqkeys.Tpo -c -o seqkeys.o seqkeys.cpp
make[2]: *** [mainwnd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
perform.cpp: In member function 'void perform:utput_func()':
perform.cpp:1152: warning: unused variable 'jack_ticks_converted'
perform.cpp:1153: warning: unused variable 'jack_ticks_converted_last'
perform.cpp:1154: warning: unused variable 'jack_ticks_delta'
perform.cpp: In member function 'void perform::add_sequence(sequence*, int)':
perform.cpp:353: warning: array subscript is below array bounds
mv -f .deps/options.Tpo .deps/options.Po
mv -f .deps/perform.Tpo .deps/perform.Po
mv -f .deps/perftime.Tpo .deps/perftime.Po
mv -f .deps/perfnames.Tpo .deps/perfnames.Po
mv -f .deps/seqdata.Tpo .deps/seqdata.Po
mv -f .deps/seqkeys.Tpo .deps/seqkeys.Po
mv -f .deps/seqevent.Tpo .deps/seqevent.Po
mv -f .deps/perfroll.Tpo .deps/perfroll.Po
mv -f .deps/seq24.Tpo .deps/seq24.Po
mv -f .deps/perfedit.Tpo .deps/perfedit.Po
mv -f .deps/seqedit.Tpo .deps/seqedit.Po
make[2]: Leaving directory `/var/tmp/portage/media-sound/seq24-0.9.0/work/seq24-0.9.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-sound/seq24-0.9.0/work/seq24-0.9.0/src'
make: *** [all-recursive] Error 1
* ERROR: media-sound/seq24-0.9.0 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 2312: Called _eapi2_src_compile
* ebuild.sh, line 646: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =media-sound/seq24-0.9.0',
* the complete build log and the output of 'emerge -pqv =media-sound/seq24-0.9.0'.
* The complete build log is located at '/var/tmp/portage/media-sound/seq24-0.9.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/seq24-0.9.0/temp/environment'.
* S: '/var/tmp/portage/media-sound/seq24-0.9.0/work/seq24-0.9.0'

>>> Failed to emerge media-sound/seq24-0.9.0, Log file:

>>> '/var/tmp/portage/media-sound/seq24-0.9.0/temp/build.log'



solfire:/home/mccramer>emerge --info =media-sound/seq24-0.9.0
zsh: media-sound/seq24-0.9.0 not found

emerge -pqv =media-sound/seq24-0.9.0'.
* The complete build log is located at '/var/tmp/portage/media-sound/seq24-0.9.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/seq24-0.9.0/temp/environment'.
* S: '/var/tmp/portage/media-sound/seq24-0.9.0/work/seq24-0.9.0'

>>> Failed to emerge media-sound/seq24-0.9.0, Log file:

>>> '/var/tmp/portage/media-sound/seq24-0.9.0/temp/build.log'

solfire:/home/mccramer>emerge -pqv "=media-sound/seq24-0.9.0"
[ebuild N ] media-sound/seq24-0.9.0 USE="-jack -lash"
solfire:/home/mccramer>emerge --info "=media-sound/seq24-0.9.0"
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35.7 x86_64)
================================================== ===============
System Settings
================================================== ===============
System uname: Linux-2.6.35.7-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-1.12.13
Timestamp of tree: Thu, 07 Oct 2010 01:50:01 +0000
app-shells/bash: 4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python: 2.6.5-r3, 3.1.2-r4
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 2.3-r1
sys-devel/autoconf: 2.13, 2.65-r1
sys-devel/automake: 1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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=amdfam10 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ rsync://de-mirror.org/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://mirror.opteamax.de/gentoo/ rsync://mirror.opteamax.de/gentoo/ http://mirror.opteamax.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp.join.uni-muenster.de/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j 12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dvb dvd dvdr dvdread fortran gdbm gpm gtk hal iconv ipv6 jpeg kpathsea mmx modules mudflap multilib ncurses nls nptl nptlonly nvidia openmp pam pcre perl png pppd python qt3support readline reflection session sndfile sse sse2 ssl sysfs tcpd tk xorg xvmc 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" 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" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

solfire:/home/mccramer>emerge -pqv "=media-sound/seq24-0.9.0"
[ebuild N ] media-sound/seq24-0.9.0 USE="-jack -lash"

The build.log file and the file environment file (both compressed) are
attached to this mail


What can I do to compile and install seq24 correctly?

Thank you very much in advance for any help!

Best regards
mcc
 
Old 10-07-2010, 05:27 AM
"Walter Dnes"
 
Default seq24 fails to comoile

On Thu, Oct 07, 2010 at 04:43:55AM +0200, meino.cramer@gmx.de wrote

> ================================================== ===============
> System Settings
> ================================================== ===============


> CFLAGS="-march=amdfam10 -O2 -pipe -msse3"

Let the compiler figure out the CPU. Change that line to...
CFLAGS="-march=native -O2 -pipe"

> CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3"

The recommended way of doing things here is...

CXXFLAGS="${CFLAGS}"

...which exactly copies whatever settings you have there.
Synchronization between CFLAGS and CXXFLAGS becomes automatic this way.

> MAKEOPTS="-j 12"

Arrrrrrrrgh Nooooooooo!!! That's probably your problem right there.
The recommendation in the manual is N+1, where N == number of cores. Do
you have 11 or more cores? I find that even that isn't always safe. I
set...

MAKEOPTS="-j 1"

and it solves quite a few problems. Note that the final binary is just
as fast, regardless of that setting. The compile speed is somewhat
faster with a higher number. But you quickly lose any "time savings"
from that, the first time you waste several hours trying to figure out
why something isn't compiling. MAKEOPTS="-j 1" should be mandatory.

--
Walter Dnes <waltdnes@waltdnes.org>
 
Old 10-07-2010, 05:40 AM
 
Default seq24 fails to comoile

Walter Dnes <waltdnes@waltdnes.org> [10-10-07 07:32]:
> On Thu, Oct 07, 2010 at 04:43:55AM +0200, meino.cramer@gmx.de wrote
>
> > ================================================== ===============
> > System Settings
> > ================================================== ===============
>
>
> > CFLAGS="-march=amdfam10 -O2 -pipe -msse3"
>
> Let the compiler figure out the CPU. Change that line to...
> CFLAGS="-march=native -O2 -pipe"
>
> > CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3"
>
> The recommended way of doing things here is...
>
> CXXFLAGS="${CFLAGS}"
>
> ...which exactly copies whatever settings you have there.
> Synchronization between CFLAGS and CXXFLAGS becomes automatic this way.
>
> > MAKEOPTS="-j 12"
>
> Arrrrrrrrgh Nooooooooo!!! That's probably your problem right there.
> The recommendation in the manual is N+1, where N == number of cores. Do
> you have 11 or more cores? I find that even that isn't always safe. I
> set...
>
> MAKEOPTS="-j 1"
>
> and it solves quite a few problems. Note that the final binary is just
> as fast, regardless of that setting. The compile speed is somewhat
> faster with a higher number. But you quickly lose any "time savings"
> from that, the first time you waste several hours trying to figure out
> why something isn't compiling. MAKEOPTS="-j 1" should be mandatory.
>
> --
> Walter Dnes <waltdnes@waltdnes.org>
>

Hi Walter,

thank you for your help,

I made the changes you suggested and now got an different error ... it
still does not compile.

Here is the output:
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -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/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -Wall -march=native -O2 -pipe -msse3 -MT mainwnd.o -MD -MP -MF .deps/mainwnd.Tpo -c -o mainwnd.o mainwnd.cpp
mainwnd.cpp: In member function 'void mainwnd::file_import_dialog()':
mainwnd.cpp:531: error: invalid conversion from 'Gtk::ButtonBox*' to 'Gtk::HButtonBox*'
make[2]: *** [mainwnd.o] Error 1

To not to pollute the mailing list again with a dozen of outputs and
logs I haven't attached those to this different posting. If you need
a certain file/log/output or whatever to fix this, please let me now!


Best regards,
mcc
 
Old 10-07-2010, 08:38 AM
"Arttu V."
 
Default seq24 fails to comoile

On 10/7/10, meino.cramer@gmx.de <meino.cramer@gmx.de> wrote:
> I made the changes you suggested and now got an different error ... it
> still does not compile.

It's most likely the same error. AFAICT the cause of the error is
missing in your first email. Using -j12 was probably just hiding it so
far above your snippet that it was overlooked.

As for seq24 -- there has been a bug open for a few months:

http://bugs.gentoo.org/show_bug.cgi?id=326795

I added a link to a possible upstream one-line patch in a comment in
the bug (didn't try compiling it myself).

--
Arttu V. -- Running Gentoo is like running with scissors
 
Old 10-07-2010, 09:15 AM
Stroller
 
Default seq24 fails to comoile

On 7 Oct 2010, at 06:40, meino.cramer@gmx.de wrote:
>> ...
>>> MAKEOPTS="-j 12"
>>
>> Arrrrrrrrgh Nooooooooo!!! That's probably your problem right there.
>> The recommendation in the manual is N+1, where N == number of cores. Do
>> you have 11 or more cores? I find that even that isn't always safe. I
>> set...
>>
>> MAKEOPTS="-j 1"
>> ...
>
> I made the changes you suggested and now got an different error ... it
> still does not compile.

Did you reduce it to (the number of cores in your system + 1) or to "-j 1"?

If the former, try the latter.

Stroller.
 
Old 10-07-2010, 10:01 AM
 
Default seq24 fails to comoile

Stroller <stroller@stellar.eclipse.co.uk> [10-10-07 11:53]:
>
> On 7 Oct 2010, at 06:40, meino.cramer@gmx.de wrote:
> >> ...
> >>> MAKEOPTS="-j 12"
> >>
> >> Arrrrrrrrgh Nooooooooo!!! That's probably your problem right there.
> >> The recommendation in the manual is N+1, where N == number of cores. Do
> >> you have 11 or more cores? I find that even that isn't always safe. I
> >> set...
> >>
> >> MAKEOPTS="-j 1"
> >> ...
> >
> > I made the changes you suggested and now got an different error ... it
> > still does not compile.
>
> Did you reduce it to (the number of cores in your system + 1) or to "-j 1"?
>
> If the former, try the latter.
>
> Stroller.
>>

Yes, I reduces -j <n> to n=1 (why exist this option, if it does not
work?)

mcc
 
Old 10-07-2010, 11:26 AM
Alan McKinnon
 
Default seq24 fails to comoile

Apparently, though unproven, at 12:01 on Thursday 07 October 2010,
meino.cramer@gmx.de did opine thusly:

> Stroller <stroller@stellar.eclipse.co.uk> [10-10-07 11:53]:
> > On 7 Oct 2010, at 06:40, meino.cramer@gmx.de wrote:
> > >> ...
> > >>
> > >>> MAKEOPTS="-j 12"
> > >>
> > >> Arrrrrrrrgh Nooooooooo!!! That's probably your problem right there.
> > >> The recommendation in the manual is N+1, where N == number of cores.
> > >> Do you have 11 or more cores? I find that even that isn't always
> > >> safe. I set...
> > >>
> > >> MAKEOPTS="-j 1"
> > >> ...
> > >
> > > I made the changes you suggested and now got an different error ... it
> > > still does not compile.
> >
> > Did you reduce it to (the number of cores in your system + 1) or to "-j
> > 1"?
> >
> > If the former, try the latter.
> >
> > Stroller.
>
> Yes, I reduces -j <n> to n=1 (why exist this option, if it does not
> work?)


You misunderstand. The option works just fine and does (correctly) what it is
supposed to do.

Not all software's build systems out there plays nicely with parallel
compiles. ooO for instance is really finicky about it.

You can't blame portage for stupid coding errors that other people make, or
stupid configurations that you make.





--
alan dot mckinnon at gmail dot com
 

Thread Tools




All times are GMT. The time now is 03:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org