FS#39162 - [sweep] build fails

Attached to Project: Arch Linux
Opened by Joel Teichroeb (klusark) - Tuesday, 04 March 2014, 19:48 GMT
Last edited by Ray Rashif (schivmeister) - Monday, 11 August 2014, 20:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ray Rashif (schivmeister)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include -I../src/tdb -I/usr/include -I/usr/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/alsa -D_FORTIFY_SOURCE=2 -DPACKAGE_DATA_DIR='"/usr/share/sweep"' -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -MT sweep-view.o -MD -MP -MF ".deps/sweep-view.Tpo" -c -o sweep-view.o `test -f 'view.c' || echo './'`view.c; \
then mv -f ".deps/sweep-view.Tpo" ".deps/sweep-view.Po"; else rm -f ".deps/sweep-view.Tpo"; exit 1; fi
view.c: In function 'create_proc_menu':
view.c:198:15: warning: variable 'li' set but not used [-Wunused-but-set-variable]
gint i = 0, li = 0;
^
view.c: In function 'view_new':
view.c:1627:8: warning: variable 'screen_width' set but not used [-Wunused-but-set-variable]
gint screen_width, screen_height;
^
view.c: In function 'view_set_progress_ready':
view.c:3346:6: warning: 'g_basename' is deprecated (declared at /usr/include/glib-2.0/glib/gfileutils.h:169): Use 'g_path_get_basename' instead [-Wdeprecated-declarations]
g_basename (view->sample->pathname),
^
view.c: In function 'view_close':
view.c:3400:8: warning: 'g_basename' is deprecated (declared at /usr/include/glib-2.0/glib/gfileutils.h:169): Use 'g_path_get_basename' instead [-Wdeprecated-declarations]
g_basename (sample->pathname));
^
view.c: In function 'view_refresh_title':
view.c:3450:7: warning: 'g_basename' is deprecated (declared at /usr/include/glib-2.0/glib/gfileutils.h:169): Use 'g_path_get_basename' instead [-Wdeprecated-declarations]
s->pathname ? g_basename (s->pathname) : _("Untitled"),
^
view.c:3463:7: warning: 'g_basename' is deprecated (declared at /usr/include/glib-2.0/glib/gfileutils.h:169): Use 'g_path_get_basename' instead [-Wdeprecated-declarations]
s->pathname ? g_basename (s->pathname) : _("Untitled"),
^
/bin/sh ../libtool --tag=CC --mode=link gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro -o sweep -Wl,-export-dynamic sweep-main.o sweep-about_dialog.o sweep-callbacks.o sweep-channelops.o sweep-cursors.o sweep-db_ruler.o sweep-db_slider.o sweep-driver.o sweep-driver_alsa.o sweep-driver_oss.o sweep-driver_solaris.o sweep-edit.o sweep-file_dialogs.o sweep-file_sndfile1.o sweep-file_mad.o sweep-file_speex.o sweep-file_vorbis.o sweep-format.o sweep-head.o sweep-interface.o sweep-levelmeter.o sweep-notes.o sweep-param.o sweep-paste_dialogs.o sweep-play.o sweep-plugin.o sweep-preferences.o sweep-print.o sweep-question_dialogs.o sweep-record.o sweep-sample-display.o sweep-samplerate.o sweep-sw_chooser.o sweep-sweep_filter.o sweep-sweep_sample.o sweep-sweep_sounddata.o sweep-sweep_selection.o sweep-sweep_typeconvert.o sweep-sweep_undo.o sweep-time_ruler.o sweep-timeouts.o sweep-undo_dialog.o sweep-view.o ../src/tdb/libtdb.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lpthread -lsndfile -L/usr/lib -logg -L/usr/lib -lvorbis -lm -lvorbisfile -lvorbisenc -lmad -lspeex -lm -lsamplerate -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lasound
mkdir .libs
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o sweep -Wl,-export-dynamic sweep-main.o sweep-about_dialog.o sweep-callbacks.o sweep-channelops.o sweep-cursors.o sweep-db_ruler.o sweep-db_slider.o sweep-driver.o sweep-driver_alsa.o sweep-driver_oss.o sweep-driver_solaris.o sweep-edit.o sweep-file_dialogs.o sweep-file_sndfile1.o sweep-file_mad.o sweep-file_speex.o sweep-file_vorbis.o sweep-format.o sweep-head.o sweep-interface.o sweep-levelmeter.o sweep-notes.o sweep-param.o sweep-paste_dialogs.o sweep-play.o sweep-plugin.o sweep-preferences.o sweep-print.o sweep-question_dialogs.o sweep-record.o sweep-sample-display.o sweep-samplerate.o sweep-sw_chooser.o sweep-sweep_filter.o sweep-sweep_sample.o sweep-sweep_sounddata.o sweep-sweep_selection.o sweep-sweep_typeconvert.o sweep-sweep_undo.o sweep-time_ruler.o sweep-timeouts.o sweep-undo_dialog.o sweep-view.o -pthread ../src/tdb/libtdb.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lpthread -lsndfile -L/usr/lib -logg -lvorbis -lvorbisfile -lvorbisenc -lmad -lspeex -lm -lsamplerate -lgthread-2.0 -lglib-2.0 -lasound
/usr/bin/ld: sweep-plugin.o: undefined reference to symbol 'g_module_symbol'
/usr/lib/libgmodule-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:418: recipe for target 'sweep' failed
make[3]: *** [sweep] Error 1
make[3]: Leaving directory '/build/sweep/src/sweep-0.9.3/src'
Makefile:1111: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/build/sweep/src/sweep-0.9.3/src'
Makefile:407: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/sweep/src/sweep-0.9.3'
Makefile:281: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Ray Rashif (schivmeister)
Monday, 11 August 2014, 20:41 GMT
Reason for closing:  Upstream
Additional comments about closing:  Temporary fix applied.
Comment by Doug Newgard (Scimmia) - Wednesday, 05 March 2014, 06:03 GMT
I edited the correct error into the report.
Comment by Ray Rashif (schivmeister) - Wednesday, 05 March 2014, 18:21 GMT
Deleted the first comment involving the edited error output. Anyway, will take a look, thanks for the report. It's been a while since this package has been touched.
Comment by Ray Rashif (schivmeister) - Monday, 11 August 2014, 20:13 GMT
Update: It has been more than four months and I still haven't gotten around to investigating this, mostly because I need the time to dig into the code and then report upstream if necessary. Anyone is welcome to fix it in the meantime.

edit: fixed with a tentative hack, will report upstream sometime in the near future as it is currently not a very high-priority package for me.

Loading...