First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 81432
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Chris White (RETIRED) <chriswhite@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexandre Oliveira <aoliveira@kdemail.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libvisual-plugins-0.2.0.diff Patch to sources to allow build patch Gen Zhang 2005-02-14 08:46 0000 458 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 81432 depends on: Show dependency tree
Show dependency graph
Bug 81432 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-09 17:08 0000
0.2.0 is out, released today.
libvisual worked by just renaming the ebuild that is in portage (I had to change the URL too, but I guess that was because the file wasn't properly mirrored yet, as I've tested right after the release).
libvisual-plugins, though, does not work, and fails complaining about files not found. Guess it will require some hack on the configure files, but I couldn't figure it out.
It fails at this point:

/bin/sh ../../../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=athlon-xp -pipe   -DUNIX_X -D_REENTRANT  -Wl,-rpath, -L -o actor_infinite.la  -rpath /usr/lib/libvisual/actor -module -avoid-version  compute.lo display.lo renderer.lo file.lo lv_infinite.lo  -L. -L/usr/lib -lpthread -lm -ldl -lvisual
i686-pc-linux-gnu-gcc -shared  .libs/compute.o .libs/display.o .libs/renderer.o .libs/file.o .libs/lv_infinite.o  -L/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0/plugins/actor/infinite -L/usr/lib -lpthread -lm -ldl /usr/lib/libvisual.so  -march=athlon-xp -Wl,-rpath -Wl,-soname -Wl,actor_infinite.so -o.libs/actor_infinite.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: actor_infinite.so: No such file: No such file or directory
collect2: ld returned 1 exit status
make[4]: *** [actor_infinite.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0/plugins/actor/infinite'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0/plugins/actor'

If I disable infinite plugin I just get similar errors while it's compiling other plugins.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Stefan Briesenick 2005-02-13 12:44:49 0000 -------
latest amarok (1.2 is out!) needs latest libvisual. So we need this ASAP. ;-)

------- Comment #2 From Gen Zhang 2005-02-14 07:36:48 0000 -------
I've got a patch that solves this -- it's to do with the recent work that's
been done with moving /usr/X11R6/lib to /usr/lib -- and autotools trying to be
too clever. There's a trivial edit in configure.ac that needs to be made. I
will upload a patch as soon as I get the time.

------- Comment #3 From Gen Zhang 2005-02-14 08:46:30 0000 -------
Created an attachment (id=51211) [edit]
Patch to sources to allow build

After patching (with -p1), run autoconf in the source tree. I will try and
provide an ebuild later.

------- Comment #4 From Alexandre Oliveira 2005-02-14 14:25:13 0000 -------
Even after applying your patch, I can't get it to compile. Can you explain it
better?

------- Comment #5 From Gen Zhang 2005-02-15 00:01:18 0000 -------
After applying the patch, run autoconf, then start again from configure:
$ patch -p1 < {patch}
$ autoconf
$ configure --prefix=/usr ....
$ make

Report back..! And error messages would be helpful :)

------- Comment #6 From Alexandre Oliveira 2005-02-15 05:00:54 0000 -------
Well, after running make, it would output many warnings, and them start running
a configure that ended as:

"
checking for strip... strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.10, ltmain.sh = 1.5.6) ***
Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

make: *** [config.status] Error 1
"

I just followed what it says, "libtoolize --copy --force", then make again and
it works! Thanks.

------- Comment #7 From Gen Zhang 2005-02-15 05:03:22 0000 -------
I haven't managed to get amarok to actually use this yet, though... Will report
back later.

------- Comment #8 From Alexandre Oliveira 2005-02-15 05:13:00 0000 -------
I could, though some of them don't work. Just recompile amarok-1.2 after having
installed libvisual-0.2.0. 
I get them in amaroK, but some of them don't work:
gdkpixbuf, jakdaw, lv_gltest, madspin and nebulus.
When I check their checkbox, I can see their window, but it just closes itself
and uncheck the box.

------- Comment #9 From Gen Zhang 2005-02-15 05:19:35 0000 -------
Ah. This is going to be interesting. There are two things I can recommend you
do from here (I was going to do them later, after work):
1. Make a symlinks in /usr/lib/libvisual from morph to transform. Run
amarok_libvisual in a terminal, and see that it doesn't give any warnings, just
a list of available visualisations. See if that solves anything.
2. Install goom2k4 (
http://prdownloads.sourceforge.net/goom/goom-2k4-0-src.tar.gz?download ), and
then recompile/install libvisual-plugins. See if that works.

I haven't got any ideas from here...

Actually, I lie: are there any helpful debugging output if you run amarok in a
terminal?

------- Comment #10 From Alexandre Oliveira 2005-02-15 05:46:22 0000 -------
he, I've found out that glx wasn't available (compiled a new kernel and forgot
to emerge ati-drivers again :-) ).
That changed the situation a little.

After making the symlink, amarok_libvisual does not give any warning.
Now these are the ones that don't work, and amarok output:


dancingparticles:
libvisual INFO: /usr/kde/3.3/bin/amarok_libvisual: negotiating plugin libvisual
Dancing Particles plugin
[amK] Libvisual version 0.2.0
[amK] bpp: 0
[amK]  GL: true
sorry, but the bug with strtof has come, please report..
Fatal signal: Floating Point Exception (SDL Parachute Deployed)
amarok: [SocketServer] recv() error, closing socket: 32
amarok: [SocketServer] Stopping visualization


gdkpixbuf:
libvisual INFO: /usr/kde/3.3/bin/amarok_libvisual: negotiating plugin GdkPixbuf
image loader
libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: visual_mem_malloc0():
assertion `nbytes > 0' failed
libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual:
precompute_row_table():assertion `video->pixel_rows != NULL' failed
libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: load_new_file():
assertion `priv->pixbuf != NULL' failed

(process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246
(gdk_pixbuf_scale_simple): assertion `src != NULL' failed
libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual:
update_scaled_pixbuf():assertion `priv->scaled != NULL' failed

(process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246
(gdk_pixbuf_scale_simple): assertion `src != NULL' failed
libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual:
update_scaled_pixbuf():assertion `priv->scaled != NULL' failed

(process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246
(gdk_pixbuf_scale_simple): assertion `src != NULL' failed
libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual:
update_scaled_pixbuf():assertion `priv->scaled != NULL' failed

(process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246
(gdk_pixbuf_scale_simple): assertion `src != NULL' failed
libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual:
update_scaled_pixbuf():assertion `priv->scaled != NULL' failed

(process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246
(gdk_pixbuf_scale_simple): assertion `src != NULL' failed
libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual:
update_scaled_pixbuf():assertion `priv->scaled != NULL' failed

(process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246
(gdk_pixbuf_scale_simple): assertion `src != NULL' failed
libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual:
update_scaled_pixbuf():assertion `priv->scaled != NULL' failed
[amK] Libvisual version 0.2.0
[amK] bpp: 3
[amK]  GL: false
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
amarok: [SocketServer] recv() error, closing socket: 33
amarok: [SocketServer] Stopping visualization


jakdaw:
libvisual INFO: /usr/kde/3.3/bin/amarok_libvisual: negotiating plugin Jakdaw
plugin
[amK] Libvisual version 0.2.0
[amK] bpp: 4
[amK]  GL: false
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
amarok: [SocketServer] recv() error, closing socket: 22
amarok: [SocketServer] Stopping visualization


All the others work. I will try compiling goom2k4, but can't do it now. I'll
keep posting in here if anything changes, thanks for the help.

------- Comment #11 From Alexandre Oliveira 2005-02-15 15:27:03 0000 -------
Compiled goom2k4, but libvisual-plugins configure does not find that.
Compiling xmms also gave me more options, and some others that don't work:


xmms_singit:
amarok: [SocketServer] Starting visualization..
[XMMSWrapper] Connecting to: /tmp/ksocket-untouchable/amarok.visualization_socket
amarok: [SocketServer] Connection requested: 32
amarok: [SocketServer] Registration pid: 22912
amarok: [SocketServer] false
[XMMSWrapper] Loading xmms plugin: libxmms_singit.so
[XMMSWrapper] init()
[XMMSWrapper] start()
amarok: [SocketServer] recv() error, closing socket: 32
amarok: [SocketServer] Stopping visualization

xmmsgoom2 window hangs and I have to kill it:
amarok: [SocketServer] Starting visualization..
[XMMSWrapper] Connecting to: /tmp/ksocket-untouchable/amarok.visualization_socket
amarok: [SocketServer] Connection requested: 32
amarok: [SocketServer] Registration pid: 22914
amarok: [SocketServer] false
[XMMSWrapper] Loading xmms plugin: libxmmsgoom2.so
[XMMSWrapper] init()
amarok: [SocketServer] Stopping visualization


------- Comment #12 From Scott Jubenville 2005-02-16 14:57:35 0000 -------
goom compiled and was recognized by libvisual-plugins for me if configured with
./configure --prefix=/usr --x-includes=/usr/include/X11

------- Comment #13 From Chris White (RETIRED) 2005-02-24 11:16:59 0000 -------
Anyone up for a somewhat short sumarry on what needs to be done to get this
bumped.  I'm somewhat confused in the chaos of patches and external deps.

------- Comment #14 From Gen Zhang 2005-02-24 12:15:03 0000 -------
The attached patch needs to be applied in the ebuild. Autoreconf needs to be
run after it. Certain plugins work, certain ones don't. For me at least, they
always die if I run amarok as amarok, and things work when I run as amarokapp.
This is known
http://sourceforge.net/mailarchive/forum.php?thread_id=6634893&forum_id=37495.

------- Comment #15 From Gregorio Guidi (RETIRED) 2005-02-24 12:48:39 0000 -------
Chris, I have some ebuilds ready here, can I commit?

I confirm that half of the plugins don't work, though.

------- Comment #16 From Gregorio Guidi (RETIRED) 2005-03-02 08:44:52 0000 -------
libvisual, libvisual-plugins, bmp-libvisual, xmms-libvisual now in portage.

First Last Prev Next    No search results available      Search page      Enter new bug