Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333237 - New package: media-sound/soundtracker (GTK+-2 port)
Summary: New package: media-sound/soundtracker (GTK+-2 port)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2010-08-17 21:13 UTC by Marcin
Modified: 2018-06-07 14:55 UTC (History)
2 users (show)

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


Attachments
gtk2 patch for soundtracker 0.6.8 (soundtracker-0.6.8-gtk2.patch,261.46 KB, patch)
2010-08-17 21:15 UTC, Marcin
Details | Diff
ebuild for soundtracker-gtk2 (soundtracker-0.6.8-r1.ebuild,1.70 KB, text/plain)
2010-08-17 21:17 UTC, Marcin
Details
gtk2 patch for soundtracker 0.6.8 (soundtracker-0.6.8-gtk2.patch,288.01 KB, text/plain)
2010-09-23 09:28 UTC, Marcin
Details
ebuild for soundtracker-gtk2 (soundtracker-0.6.8-r1.ebuild,1.59 KB, text/plain)
2010-09-23 09:28 UTC, Marcin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin 2010-08-17 21:13:21 UTC
A patch for soundtracker 0.6.8 for gtk2 mostly done by Yury Aliaev. I also corrected some race conditions for SDL driver and other problems.

Reproducible: Always
Comment 1 Marcin 2010-08-17 21:15:14 UTC
Created attachment 243391 [details, diff]
gtk2 patch for soundtracker 0.6.8
Comment 2 Marcin 2010-08-17 21:17:00 UTC
Created attachment 243393 [details]
ebuild for soundtracker-gtk2
Comment 3 Simon 2010-09-21 22:15:32 UTC
Erstmal danke für das ebuild aber spuckt bei mir das hier aus:
tracer.c:327: Warnung: »tracer_dumpall« definiert, aber nicht verwendet
x86_64-pc-linux-gnu-gcc  -O2 -march=core2 -pipe -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Wl,-O1 -Wl,--as-needed -o soundtracker  audio.o audioconfig.o cheat-sheet.o clavier.o endian-conv.o envelope-box.o errors.o event-waiter.o extspinbutton.o file-operations.o gui-settings.o gui-subs.o gui.o instrument-editor.o keys.o main.o menubar.o module-info.o playlist.o poll.o preferences.o recode.o sample-display.o sample-editor.o scope-group.o st-subs.o time-buffer.o tips-dialog.o track-editor.o tracker.o tracker-settings.o transposition.o xm.o xm-player.o tracer.o scalablepic.o   drivers/libdrivers.a mixers/libmixers.a -ljack -lpthread -ldl -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lsndfile   -lSDL -lpthread
mixers/libmixers.a(kb-x86.o): In function `kb_x86_call_mixer':
kb-x86.c:(.text+0x770): undefined reference to `kbasm_mix'
mixers/libmixers.a(kb-x86.o): In function `kb_x86_mix':
kb-x86.c:(.text+0x1033): undefined reference to `kbasm_post_mixing'
collect2: ld gab 1 als Ende-Status zurück
make[3]: *** [soundtracker] Fehler 1
Comment 4 Simon 2010-09-22 20:29:20 UTC
Ups, sry for german, i said, thanks for the ebuild but i get an error as show ;)
Comment 5 Marcin 2010-09-23 09:28:18 UTC
Created attachment 248432 [details]
gtk2 patch for soundtracker 0.6.8
Comment 6 Marcin 2010-09-23 09:28:59 UTC
Created attachment 248433 [details]
ebuild for soundtracker-gtk2
Comment 7 Marcin 2010-09-23 09:36:13 UTC
(In reply to comment #4)
> Ups, sry for german, i said, thanks for the ebuild but i get an error as show
> ;)
> 

Well, I don't have access to 64-bit machine at this moment, but probably the problem is with the assembly code. Therefore, I removed it altogether. Please try this version.
Comment 8 Simon 2010-09-23 11:47:08 UTC
Well at least the undefined reference is now an other one, thanks anyway:
tracer.c:327: Warnung: »tracer_dumpall« definiert, aber nicht verwendet
x86_64-pc-linux-gnu-gcc  -O2 -march=core2 -pipe -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Wl,-O1 -Wl,--as-needed -o soundtracker  audio.o audioconfig.o cheat-sheet.o clavier.o endian-conv.o envelope-box.o errors.o event-waiter.o extspinbutton.o file-operations.o gui-settings.o gui-subs.o gui.o instrument-editor.o keys.o main.o menubar.o module-info.o playlist.o poll.o preferences.o recode.o sample-display.o sample-editor.o scope-group.o st-subs.o time-buffer.o tips-dialog.o track-editor.o tracker.o tracker-settings.o transposition.o xm.o xm-player.o tracer.o scalablepic.o   drivers/libdrivers.a mixers/libmixers.a -ljack -lpthread -ldl -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lsndfile   -lSDL -lpthread
main.o: In function `main':
main.c:(.text+0xbc): undefined reference to `mixer_kbfloat'
main.c:(.text+0xdf): undefined reference to `mixer_integer32'
collect2: ld gab 1 als Ende-Status zurück
make[3]: *** [soundtracker] Fehler 1
Comment 9 Marcin 2010-09-23 17:54:41 UTC
At this point it is a little hard to say what the problem is.
Since mixer_kbfloat and mixer_integer32 are clearly defined in mixers.
I will try to get access to 64-bit Gentoo to see if this is the problem.
I only mention that for me (32-bit) everything seems to work correctly.
This also can be a problem with configuration (automake, autoconf, ...).
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-09-23 18:06:22 UTC
Only a guess, but what a heck: 
Might be problem with missing linking in Makefile's exposed by LDFLAGS="-Wl,--as-needed"
Comment 11 Marcin 2010-09-23 18:50:36 UTC
(In reply to comment #10)
> Only a guess, but what a heck: 
> Might be problem with missing linking in Makefile's exposed by
> LDFLAGS="-Wl,--as-needed"

I've tried LDFLAGS="Wl,-O1 -Wl,--as-needed" and for me it compiles anyway,
but it is worth to try on Simon machine. On the other hand, a library
mixers/libmixers.a (with mixer_kbfloat, mixer_integer32) seems to linked.
Unless there is a problem with libmixers.a

Simon can you try the following command after the ebuild fails:

# nm /var/tmp/portage/media-sound/soundtracker-0.6.8-r1/work/soundtracker-0.6.8/app/mixers/libmixers.a | grep mixer_kbfloat

You should obtain something like

00000000 D mixer_kbfloat

and the same with mixer_integer32.
Comment 12 Marcin 2010-09-24 08:03:23 UTC
Simon, please attach also the output of 'emerge --info'
Comment 13 Simon 2010-09-25 23:21:38 UTC
Bingo, libmixers.a is a textfile and does only contain "!<arch>" so nm doesnt produce any output.

emerge --info (hmpf hate these emerge --info requests, but here you are ;) ):
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 21 Sep 2010 20:30:01 +0000
ccache version 2.4 [disabled]
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/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 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.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
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/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms sign strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="rsync://192.168.0.20 http://gentoo.ussg.indiana.edu http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j4"
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"
PORTDIR_OVERLAY="/root/system/overportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr apache2 apic arch_perfmon berkdb bts bzip2 cdda cddax cdio cdrkit clflush cli cmov constant_tsc cracklib crypt css cuda cups cx16 cx8 cxx dbus de dirac dri ds_cpl dts dvd dvdr dvdread encode est exif ffmpeg flac fortran fpu ftp fxsr gd gdbm gif gimp glitz gpm gstreamer gtk hal ht iconv ida imagemagick iproute2 ipv6 ipw4965 jack jpeg kerberos kipi kqemu lahf_lm latex lm lm_sensors math mca mce mmx modules monitor mp3 mpeg msr mtrr mudflap multilib musicbrainz mysql ncurses nls nptl nptlonly nsplugin nx offensive ogg opengl openmp pae pam pat pbe pcmcia pcre pebs perl pge png pni pppd pse pse36 python qt qt3 qt3support readline reflection rep_good schroedinger sdl sep session spell ss sse sse2 ssl ssse3 svg syscall sysfs tcpd tetex threads thunar tiff tm tm2 tsc unicode usb v4l v4l2 vaapi vcd vim-syntax vme vmx vorbis vpx wifi wxwidgets wxwindows x264 xorg xtpr xulrunner xvid zlib zsh-completion" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" SANE_BACKENDS="primascan" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vga v4l fbdev" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS