Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148951 - [GCC 4.1] Stabilize media-sound/noteedit-2.8.1
Summary: [GCC 4.1] Stabilize media-sound/noteedit-2.8.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on: 99988 173272
Blocks: 133102 gcc41-stable
  Show dependency tree
 
Reported: 2006-09-24 07:52 UTC by Dominique Michel
Modified: 2007-04-15 16:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2006-09-24 07:52:17 UTC
Hi,

With the ~x86 version, I get this:

checking for kde-config... /usr/kde/3.5/bin/kde-config
checking for meinproc... /usr/kde/3.5/bin/meinproc
Testing compiler version ... 4

Cannot determine g++ version
Check your compiler installation or
try to find out why "./compvers" doesn't
supply "2" or "3"!

make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: media-sound/noteedit-2.7.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  noteedit-2.7.4.ebuild, line 26:   Called die

With the x86 version:

checking for meinproc... /usr/kde/3.5/bin/meinproc
Testing compiler version ... 4

Cannot determine g++ version
Check your compiler installation or
try to find out why "./compvers" doesn't
supply "2" or "3"!

make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: media-sound/noteedit-2.6.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  noteedit-2.6.2.ebuild, line 28:   Called die

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.16-rt29-3D-fb i686)
=================================================================
System uname: 2.6.16-rt29-3D-fb i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 22 Sep 2006 09:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://gentoo.mirror.solnet.ch"
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="fr en sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/test /usr/portage/local/layman/science /usr/portage/local/layman/kpex-media /usr/portage/local/layman/pro-audio /usr/portage/local/layman/WTK-Testing /usr/portage/local/layman/xfce4-svn"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acpi aim alsa arts audiofile avi berkdb bidi bindist bitmap-fonts bxip2 bzip2 cairo cdparanoia cdr cjk cli crypt cups dbus dga dio div4linux dlloader dri dssi dts dv dvb dvd dvdr dvdread eds elibc_glibc emacs emacs-w3 emboss encode esd exif expat fam ffmpeg fftw firefox flac flash fluidsynth foomaticdb fortran ftp gb gd gdbm gif gnome gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal howl icq ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber jack jack-tmpfs jackmidi java jbig jpeg jpeg2k kde kernel_linux ladspa lapack lash lcms ldap libedit libg++ libsamplerate linguas_en linguas_fr linguas_sv mad mikmod mime mmx mng motif mp3 mpeg mpi msn mule mysql nas ncurses nls nptl nptlonly offensive ogg openal opengl oscar oss pam pcre pdflib perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline recode reflection scanner sdl seamonkey session shorten slang slp sndfile sox speex spell spl sse sse2 ssl svg tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l vcd video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa vorbis vst win32codecs wmf wxwindows xface xine xinerama xml xml2 xmms xorg xosd xpm xv xvid yahoo zlib"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS

As I have gcc-3.4.6 on my system, I try to use it, but get:

Testing compiler version ... 3
checking for bison... bison -y
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking libtse3... libs in /usr/lib; includes in /usr/include

      ERROR: TSE3 found but unable to link a simple TSE3 example!
            Please see example file "tse3vtest.cc" and try to find out
      why it doesn't compile using the following command:
      c++ -W -Wall -ansi -pedantic -g tse3vtest.cc -I/usr/include -I/usr/kde/3.5/include -L/usr/lib -Wl,-rpath /usr/lib -ltse3 -L/usr/kde/3.5/lib -Wl,-rpath /usr/kde/3.5/lib -o tse3vtest

make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: media-sound/noteedit-2.7.4 failed.

I get the same error with the 2.6.2 version.

I unmasked the 2.8.0 and it did compile and run just fine in my box. I try to compile the last 2.8.1 version by hand (without any patch), and it run just fine too. Both with gcc-4.1.1

Best,
Dominique
Comment 1 kavol 2006-11-04 02:34:31 UTC
the same for me ... 2.6.2 and 2.7.4 require GCC < 4

unfortunatelly, 2.8.0 compiles but it crashes:

$ noteedit
LilyPond check: found version: 2.8.0
terminate called after throwing an instance of 'TSE3::MidiSchedulerError'
  what():  Failed to create the MIDI scheduler
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = noteedit path = <unknown> pid = 31310


the backtrace does not seem any useful to me:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47822692530416 (LWP 31310)]
0x00002b7e967fc8f0 in nanosleep () from /lib/libc.so.6
#0  0x00002b7e967fc8f0 in nanosleep () from /lib/libc.so.6
#1  0x00002b7e967fc744 in sleep () from /lib/libc.so.6
#2  0x00002b7e9361b22f in KCrash::startDrKonqi (argv=0x7fff18a18de0, argc=17)
    at kcrash.cpp:311
#3  0x00002b7e9361b860 in KCrash::defaultCrashHandler (sig=5354320)
    at kcrash.cpp:228
#4  0x00002b7e9679c5d0 in killpg () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()


on AMD64
Comment 2 kavol 2006-11-04 04:13:46 UTC
version 2.8.1 (after renaming the ebuild and removing the patches) is the same, running with --noalsa and --nooss won't help :-(
Comment 3 Ruben Jenster 2006-11-15 23:12:09 UTC
I had the same problem. It's not a noteedit problem, it is tse3 not being properly configured to work with alsa 1.0.x. 
In http://bugs.gentoo.org/show_bug.cgi?id=91664 you'll find a fix for this problem. 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-26 07:13:03 UTC
(In reply to comment #3)
> I had the same problem. It's not a noteedit problem, it is tse3 not being
> properly configured to work with alsa 1.0.x. 
> In http://bugs.gentoo.org/show_bug.cgi?id=91664 you'll find a fix for this
> problem. 

Someone try w/ media-libs/tse3-0.3.1, the above bug doesn't make any sense.

Comment 5 Alexis Ballier gentoo-dev 2007-02-08 18:22:26 UTC
I've just commited noteedit 2.8.1 is gcc 4.1 compliant, I've updated tse3's deps to force an alsa 1 compliant version otherwise it would crash immediately at startup.



However 2.8.1 will have to wait a bit until it can be stabilized.
Comment 6 Dominique Michel 2007-02-09 15:46:36 UTC
Thank you,

the 2.8.1 ebuild worked fine, but noteedit is crashing when starting with the following message:

Can't find /usr/kde/3.5/share/apps/noteedit/resources/nbase.ppm under /usr/kde/3.5/share/apps/noteedit/resources/! Check your installation.

Step to reproduce it:
1) Start noteedit.

And I don't get this error when installing noteedit from the sources without the ebuild with just "configure --prefix=/usr/kde/3.5"
Comment 7 Alexis Ballier gentoo-dev 2007-02-15 23:56:56 UTC
Don't you have some remaining files of your noteedit installation without portage ? 

$locate nbase.ppm
/usr/share/apps/noteedit/resources/nbase.ppm


and noteedit works fine here.
Comment 8 Dominique Michel 2007-02-16 13:07:42 UTC
I just try to uninstall noteedit from my custom installation and to reinstall it with the 2.8.1 ebuild. In /usr/kde/3.5/share/apps/noteedit I get the directories, but the files are installed in /usr/share/apps/noteedit. So I unmerged noteedit, deleted the remaining dir in /usr/kde/3.5/share/apps and checked at it was nothing left in /usr/share/apps for noteedit. I also checked at it was no library left on /usr/lib and /usr/kde/3.5/lib.

emerge -v noteedit
...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-libtse3 --without-libkmid --with-x --enable-mitshm --with-xinerama --with-qt-dir=/usr/qt/3 --enable-mt --with-qt-libraries=/usr/qt/3/lib --disable-dependency-tracking --disable-debug --without-debug --with-arts --with-extra-includes=/usr/kde/3.5/include --with-extra-libs=/usr/kde/3.5/lib --build=i686-pc-linux-gnu

It look like the prefix is wrong. Must be /usr/kde/3.5
>>> Merging media-sound/noteedit-2.8.1 to /
 * KDE Team warning: this package (noteedit-2.8.1) is installing
 *       .desktop files in the obsolete applnk path:
 *       /usr/share/applnk. It won't be shown on non-KDE
 *       menus and applications.
--- /usr/
--- /usr/bin/
>>> /usr/bin/noteedit
--- /usr/lib/
>>> /usr/lib/libnoteedit.so.0.1.0
>>> /usr/lib/libnoteedit.la
>>> /usr/lib/libnoteedit.so -> libnoteedit.so.0.1.0
>>> /usr/lib/libnoteedit.so.0 -> libnoteedit.so.0.1.0
--- /usr/share/
...
>>> /usr/share/apps/noteedit/icons/hicolor/48x48/mimetypes/chordnames.png
>>> /usr/share/apps/noteedit/icons/hicolor/64x64/
>>> /usr/share/apps/noteedit/icons/hicolor/64x64/apps/
>>> /usr/share/apps/noteedit/icons/hicolor/64x64/apps/noteedit.png
>>> /usr/share/apps/noteedit/noteeditui.rc
>>> /usr/share/apps/noteedit/resources/
>>> /usr/share/apps/noteedit/resources/rhalf_red.ppm
>>> /usr/share/apps/noteedit/resources/per_cross_circ.ppm
>>> /usr/share/apps/noteedit/resources/per_cross_circ.xbm
>>> /usr/share/apps/noteedit/resources/r16_mag.ppm
...
But noteedit is working now. So it was the noteedit directory in /usr/kde/3.5/share that was confusing it.

Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2007-04-03 14:24:34 UTC
(In reply to comment #5)
> I've just commited noteedit 2.8.1 is gcc 4.1 compliant, I've updated tse3's
> deps to force an alsa 1 compliant version otherwise it would crash immediately
> at startup.
> However 2.8.1 will have to wait a bit until it can be stabilized.
> 

Alexis, can we do that now? It's been ~2 months and it would close also bug 133102.
Comment 10 Alexis Ballier gentoo-dev 2007-04-03 19:02:03 UTC
yep let's do it but we need tse3 stable first, bug #173272
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2007-04-04 15:23:18 UTC
x86, mark media-sound/noteedit-2.8.1 stable but leave this bug open, we are still waiting for amd64 and ppc for deps.
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2007-04-04 18:30:35 UTC
x86 stable
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2007-04-12 20:09:35 UTC
PPC, please mark noteedit-2.8.1 stable (don't close this bug, still waiting for amd64 for deps)
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2007-04-13 15:41:17 UTC
amd64, first you need bug 173272 to take care of this. stabilize, please.
Comment 15 Tobias Heinlein (RETIRED) gentoo-dev 2007-04-13 22:00:58 UTC
emerges and starts up fine on amd64. But since I don't have midi configured here, I can't test it any further.


# emerge --info
Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 13 Apr 2007 21:30:06 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.public.fix.fi/gentoo/ ftp://ftp.public.fix.fi/gentoo http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ "
LANG="en_US"
LC_ALL="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/repodoc-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib addbookmarks alias alsa amarok amd64 arts asf avahi bash-completion berkdb bitmap-fonts browserplugin bzip2 c++ cairo calendar caps cdr cdrom cdsound chroot cli colordiff cracklib crypt cups curl cvs dbus de_tvtoday dhcp dri dvb dvd dvdr dvdread eds emboss encode esd fam fastcgi ffmpeg firefox flac fortran gdbm gif gimp gimpprint glitz gnome gnutls gpgme gpm gsm gstreamer gtk gtk2 gzip hal hald highlight history howl iconv icq idn imagemagick imap irc irssi isdnlog jack java javascript jpeg kde kdm kipi lame lcms ldap libg++ live logitech-mouse mad madwifi mbox md5sum midi mikmod mng mp3 mpeg nas ncurses nls nntp nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openssh oss pam panel-plugin pcre pdf perl png pop ppds pppd python qt3 qt3support qt4 quicktime readline reflection rss ruby samba sasl scanner scp sdl server session smime smp speex spell spl sql ssl subversion svg symlink tcl tcltk tcpd tetex thunar-vfs tiff tk transcode truetype truetype-fonts type1-fonts unicode unzip usb v4l v4l2 vcd vim visualization vorbis wmf wxwindows x264 xcomposite xine xinerama xml xorg xv xvid xvmc zip 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 16 Peter Weller (RETIRED) gentoo-dev 2007-04-14 06:34:59 UTC
amd64 done
Comment 17 Matti Bickel (RETIRED) gentoo-dev 2007-04-15 16:16:16 UTC
ppc done, i think it's intentional that there's no (synthesized) audio output?