I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details). Check the attached build log. Thanks, Diego
Created attachment 172959 [details] Build log
Looks like another candidate for punting given it uses glib and gtk 1.2 . Brotherhood any indication on this?
I'd love to punt it but I have simply not found any other application that is able to draw analog waveforms. There are version of gwave that use gtk2 but I have never been able to compile them, and I'm not the only one. There is a newer version so I'll try again. Denis.
(In reply to comment #3) > I'd love to punt it but I have simply not found any other application that is > able to draw analog waveforms. There are version of gwave that use gtk2 but I > have never been able to compile them, and I'm not the only one. There is a > newer version so I'll try again. > > Denis. > So, it is useful. Roger, treecleaners out. ;)
(In reply to comment #3) > I'd love to punt it but I have simply not found any other application that is > able to draw analog waveforms. There are version of gwave that use gtk2 but I > have never been able to compile them, and I'm not the only one. There is a > newer version so I'll try again. > > Denis. > I started an ebuild and filed an issue upstream. Let's see what happens. http://sourceforge.net/tracker/?func=detail&aid=2887329&group_id=211903&atid=1019623
I am also working on it, without success. :(
Created attachment 218691 [details, diff] adding patch to ebuild
Created attachment 218693 [details, diff] fixing as-needed issues
Created attachment 218695 [details, diff] fixing as-needed issues
Created attachment 218739 [details] build log
Created attachment 218741 [details] emerge info
Just for reference the update to 20090213 was reported in bug 293397. Nothing about --as-needed there though.
I can't confirm this error with --as-needed. The package works fine here. I've fixed the unique --as-needed error of the version 20090213 with Denis, when we committed this version to the portage tree.
BTW, I think that this bug is still open because the other versions in the portage tree still fails with forced --as-needed, but as they use gtk+-1, the better approach should be stabilize the last version ASAP and remove the oldest.
(In reply to comment #14) > BTW, I think that this bug is still open because the other versions in the > portage tree still fails with forced --as-needed It's still open because __gwave-20090213__ fails with as-needed Look at the linking order: x86_64-pc-linux-gnu-gcc -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/libpng12 -O2 -march=k8 -pipe -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 -lglib-2.0 -Wl,--as-needed -o sp2sp sp2sp.o libspicefile.a which translates to: <CC> <bunch of -I> <CFLAGS> <LIBS> <LDFLAGS> -o sp2sp <OBJECT> libspicefile.a This is wrong, should be: <CC> <bunch of -I> <CFLAGS> <LDFLAGS> <OBJECT> -o sp2sp libspicefile.a <LIBS> Best regards, Kacper Kowalik
(In reply to comment #15) > (In reply to comment #14) > > BTW, I think that this bug is still open because the other versions in the > > portage tree still fails with forced --as-needed > It's still open because __gwave-20090213__ fails with as-needed > > Look at the linking order: > x86_64-pc-linux-gnu-gcc -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/libpng12 -O2 -march=k8 -pipe > -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 -lglib-2.0 -Wl,--as-needed -o sp2sp sp2sp.o libspicefile.a > > which translates to: > > <CC> <bunch of -I> <CFLAGS> <LIBS> <LDFLAGS> -o sp2sp <OBJECT> libspicefile.a > > This is wrong, should be: > > <CC> <bunch of -I> <CFLAGS> <LDFLAGS> <OBJECT> -o sp2sp libspicefile.a <LIBS> > > Best regards, > Kacper Kowalik > I'll tests this later. thanks, Rafael
(In reply to comment #15) > (In reply to comment #14) > > BTW, I think that this bug is still open because the other versions in the > > portage tree still fails with forced --as-needed > It's still open because __gwave-20090213__ fails with as-needed > > Look at the linking order: > x86_64-pc-linux-gnu-gcc -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/libpng12 -O2 -march=k8 -pipe > -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 -lglib-2.0 -Wl,--as-needed -o sp2sp sp2sp.o libspicefile.a > > which translates to: > > <CC> <bunch of -I> <CFLAGS> <LIBS> <LDFLAGS> -o sp2sp <OBJECT> libspicefile.a > > This is wrong, should be: > > <CC> <bunch of -I> <CFLAGS> <LDFLAGS> <OBJECT> -o sp2sp libspicefile.a <LIBS> > > Best regards, > Kacper Kowalik > Your provided patches works well and fixes the problem. Thanks.
Fixed in gwave-20090213-r1. Thanks Xarthisius. +*gwave-20090213-r1 (30 May 2010) + + 30 May 2010; Thomas Beierlein <tomjbe@gentoo.org> + +gwave-20090213-r1.ebuild, +files/gwave-20090213-as-needed.patch: + Fix for bug #248351