Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97674 - media-sound/zinf misses UI plugin
Summary: media-sound/zinf misses UI plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 102797 108503 (view as bug list)
Depends on:
Blocks: 69311
  Show dependency tree
 
Reported: 2005-07-01 18:14 UTC by mren
Modified: 2005-10-08 09:06 UTC (History)
6 users (show)

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


Attachments
Changes the "so_ext" variable value from ".so" to "" in Makefile.am (zinf-2.2.5-plugin-extensions.patch,299 bytes, patch)
2005-07-12 10:43 UTC, email_deleted_GqKU
Details | Diff
zinf-2.2.5-r2.ebuild (zinf-2.2.5-r2.ebuild,2.14 KB, text/plain)
2005-07-31 12:50 UTC, Marcelo Goes (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mren 2005-07-01 18:14:43 UTC
After emrege zinf I want to run zinf ;-) 
But I only get an error message:

No UI plugin in '.:~/.zinf:/usr/lib/zinf' matched 'plugins/musicbrowser.ui' or
'plugins/musicbrowser.ui.ui.'
Zinf will quit.

No, I don't edited any preference file - it's all out of the box.

`qpkg -l zinf` gives me

media-sound/zinf-2.2.5-r1 *
CONTENTS:
/usr
/usr/bin
/usr/bin/zinf
/usr/lib
/usr/lib/zinf
/usr/lib/zinf/plugins
/usr/share
/usr/share/zinf
/usr/share/zinf/themes
/usr/share/zinf/themes/Aquatica.fat
/usr/share/zinf/themes/Makefile
/usr/share/zinf/themes/Makefile.am
/usr/share/zinf/themes/Makefile.in
/usr/share/zinf/themes/ZinfClassic.fat
/usr/share/zinf/themes/Zinf.fat
/usr/share/doc
/usr/share/doc/zinf-2.2.5-r1
/usr/share/doc/zinf-2.2.5-r1/AUTHORS.gz
/usr/share/doc/zinf-2.2.5-r1/NEWS.gz
/usr/share/doc/zinf-2.2.5-r1/ChangeLog.gz
/usr/share/doc/zinf-2.2.5-r1/README.gz


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 email_deleted_GqKU 2005-07-11 04:51:01 UTC
Same here...

I tried with USE="+X +alsa -arts -debug -esd -gnome +gtk -ipv6 +nls +vorbis
+xosd" and USE="-X -alsa -arts -debug -esd -gnome -gtk -ipv6 -nls -vorbis
-xosd"... no difference: /usr/lib/zinf is not created, and no UI plugin is found.

End of emerge =media-sound/zinf-2.2.5-r1
################################################################

[...]

make[1]: Leaving directory `/var/tmp/portage/zinf-2.2.5-r1/work/zinf-2.2.5/themes'
make[1]: Entering directory `/var/tmp/portage/zinf-2.2.5-r1/work/zinf-2.2.5'
rm -rf plugins
mkdir plugins || true
for plugin in ui/cmdline/cmdline-ui.la ui/ncurses/ncurses-ui.la
ui/mpg123/mpg123-ui.la ui/zinf/zinf-ui.la ui/musicbrowser/musicbrowser-ui.la
ui/musicbrowsermm/musicbrowsermm-ui.la ui/download/download-ui.la
ui/irman/irman-ui.la ui/lcd/lcd-ui.la ui/corba/corba-ui.la
lmc/vorbis/vorbis-lmc.la lmc/xingmp3/xingmp3-lmc.la lmc/cd/cd-lmc.la
lmc/wav/wav-lmc.la io/local/local-pmi.la io/cd/cd-pmo.la io/alsa/alsa-pmo.la
io/arts/arts-pmo.la io/soundcard/unix/linux/soundcard-pmo.la
io/esound/esound-pmo.la io/obs/obs-pmi.la io/http/http-pmi.la
io/wavout/wavout-pmo.la plm/metadata/vorbis/vorbis-mdf.la
plm/metadata/id3lib/id3lib-mdf.la plm/metadata/misc/misc-mdf.la
plm/metadata/mbcd/mbcd-mdf.la plm/playlist/m3u/m3u-plf.la
plm/playlist/pls/pls-plf.la plm/portable/pmp300/pmp300-ppp.la mdb/mdb-mdb.la
ftc/kjofol/kjofol-ftf.la ftc/winamp/winamp-ftf.la; do \
   dir=`dirname $plugin`; \
   name=`basename $plugin .la`; \
   lib="$dir/.libs/$name.so"; \
   if [ -e "$lib" ]; then \
     ln -s ../$lib plugins/`echo $name | sed 's/-/./'`; \
   fi \
done
make[1]: Leaving directory `/var/tmp/portage/zinf-2.2.5-r1/work/zinf-2.2.5'
>>> Test phase [not enabled]: media-sound/zinf-2.2.5-r1

>>> Install zinf-2.2.5-r1 into /var/tmp/portage/zinf-2.2.5-r1/image/ category
media-sound
install: cannot stat `plugins/*': No such file or directory
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/bin/zinf
>>> Completed installing zinf-2.2.5-r1 into /var/tmp/portage/zinf-2.2.5-r1/image/

>>> Merging media-sound/zinf-2.2.5-r1 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/zinf
--- /usr/lib/
>>> /usr/lib/zinf/
>>> /usr/lib/zinf/plugins/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/zinf-2.2.5-r1/
>>> /usr/share/doc/zinf-2.2.5-r1/README.gz
>>> /usr/share/doc/zinf-2.2.5-r1/NEWS.gz
>>> /usr/share/doc/zinf-2.2.5-r1/AUTHORS.gz
>>> /usr/share/doc/zinf-2.2.5-r1/ChangeLog.gz
--- /usr/share/zinf/
--- /usr/share/zinf/themes/
>>> /usr/share/zinf/themes/Makefile
>>> /usr/share/zinf/themes/Zinf.fat
>>> /usr/share/zinf/themes/ZinfClassic.fat
>>> /usr/share/zinf/themes/Makefile.am
>>> /usr/share/zinf/themes/Makefile.in
>>> /usr/share/zinf/themes/Aquatica.fat
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/zinf/themes/ZinfClassic.fat
--- !mtime obj /usr/share/zinf/themes/Zinf.fat
--- !mtime obj /usr/share/zinf/themes/Makefile.in
--- !mtime obj /usr/share/zinf/themes/Makefile.am
--- !mtime obj /usr/share/zinf/themes/Makefile
--- !mtime obj /usr/share/zinf/themes/Aquatica.fat
--- !mtime obj /usr/share/doc/zinf-2.2.5-r1/README.gz
--- !mtime obj /usr/share/doc/zinf-2.2.5-r1/NEWS.gz
--- !mtime obj /usr/share/doc/zinf-2.2.5-r1/ChangeLog.gz
--- !mtime obj /usr/share/doc/zinf-2.2.5-r1/AUTHORS.gz
--- !mtime obj /usr/bin/zinf
<<<        dir /usr/lib/zinf/plugins
<<<        dir /usr/lib/zinf
--- !empty dir /usr/share/zinf/themes
--- !empty dir /usr/share/zinf
--- !empty dir /usr/share/doc/zinf-2.2.5-r1
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/lib
--- !empty dir /usr/bin
--- !empty dir /usr
>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> media-sound/zinf-2.2.5-r1 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

################################################################

Ok, you see the "lib="$dir/.libs/$name.so"; if [ -e "$lib" ]; then" part? 

When using portage, and if we take, for example, the command line UI, you get
(after an "ebuild /usr/portage/media-sound/zinf/zinf-2.2.5-r1.ebuild unpack
compile", for example), in
/var/tmp/portage/zinf-2.2.5-r1/work/zinf-2.2.5/ui/cmdline/.libs/

drwxr-xr-x  2 portage portage   176 Jul 11 13:07 .
drwxr-xr-x  4 portage portage   312 Jul 11 13:07 ..
-rwxr-xr-x  1 portage portage 21809 Jul 11 13:07 cmdline-ui
lrwxrwxrwx  1 portage portage    16 Jul 11 13:07 cmdline-ui.la -> ../cmdline-ui.la
-rw-r--r--  1 portage portage   976 Jul 11 13:07 cmdline-ui.lai
-rw-r--r--  1 portage portage 17640 Jul 11 13:07 cmdlineUI.o

But if I compile zinf-2.2.5 by myself (./configure && make), I get:

drwxr-xr-x  2 motoko users   176 Jul 11 13:00 .
drwxr-xr-x  4 motoko users   312 Jul 11 13:00 ..
lrwxrwxrwx  1 motoko users    16 Jul 11 13:00 cmdline-ui.la -> ../cmdline-ui.la
-rw-r--r--  1 motoko users  1006 Jul 11 13:00 cmdline-ui.lai
-rw-r--r--  1 motoko users 17368 Jul 11 13:00 cmdlineUI.o
-rwxr-xr-x  1 motoko users 21809 Jul 11 13:00 cmdline-ui.so

The "cmdline-ui" file must have a .so extension for the link in the 'plugins'
directory to be created... using portage, it does not, so the link is not
created, and when the build want to "doexe plugins/*", it finds nothing, as it's
the same with all other UI...

Well, this said, I don't how to correct the problem in portage...

If you want to use zinf, emerge it, then fetch
http://prdownloads.sourceforge.net/zinf/zinf-2.2.5.tar.gz manually, "./configure
&& make" it (do not "make install" it), and do a "mkdir -p ~/.zinf/plugins && cp
zinf-2.2.5/plugins/*.so ~/.zinf/plugins/" (zinf-2.2.5 being the directory where
you extracted the files from the tarball)... It should work perfectly until
someone find the problem with the ported zinf :)
Comment 2 Alan McGinlay 2005-07-12 04:46:34 UTC
I think this applys to everyone, I and everyone I have asked get the same issue,
can the maintainer not fix this ebuild??
Comment 3 email_deleted_GqKU 2005-07-12 10:43:06 UTC
Created attachment 63245 [details, diff]
Changes the "so_ext" variable value from ".so" to "" in Makefile.am

Corrects the "install: cannot stat `plugins/*': No such file or directory"
problem in zinf-2.2.5-r1 by changing the "so_ext" variable value from ".so" to
"" in the Makefile.am file.

/!\ Caution: I can't guarantee there is no side effects from this change, but
the /usr/lib/zinf/plugins directory is correctly filled, which does correct the
problem...

I don't know if it's the way to go, as I don't know why the files which must
have a .so extension have no extensions when using the ported zinf... (no
problem with a ./configure && make, as said in comments)

Also, I bumped the version to 2.2.5-r2 in my patch... Well, the maintainer will
do as he wishes, it's just a note for people who wants to test the patch...
Comment 4 email_deleted_GqKU 2005-07-18 14:34:17 UTC
Ok, some people don't have the problem... Here is my 'emerge info':

################################################################

:[root@665334-net]::[~]: $ emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.12
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
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/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirror.sdv.fr
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.easynet.nl/mirror/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en fr ja de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 apm audiofile avi berkdb bitmap-fonts bzlib
cdr cjk clibpdf crypt ctype cups curl dba dbx dga directfb divx4linux dvd dvdr
emboss encode exif fam fbcon flac flash foomaticdb fortran freewnn ftp gd gdbm
ggi gif gmp gnutls gpm gtk gtk2 guile hal iconv imagemagick imlib innodb java
jikes jpeg kde kdeenablefinal kerberos krb4 ldap libg++ libwww lirc m17n-lib mad
mailwrapper matroska mbox memlimit mhash mikmod mime ming mmx mng motif mozilla
mp3 mpeg mysql nas ncurses nls nptl odbc ogg oggvorbis opengl oss pam pcre
pdflib perl php pic png posix ppds python qt quicktime readline ruby samba sasl
scanner sdl session simplexml sndfile soap sockets socks5 spell spl sse ssl svg
svga tcltk tcpd tetex tidy tiff tokenizer truetype truetype-fonts type1-fonts
unicode usb vcd vhosts vorbis wmf xml xml2 xmms xpm xprint xsl xv xvid zlib
video_cards_radeon linguas_en linguas_fr linguas_ja linguas_de userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

################################################################
Comment 5 Jesse Adelman 2005-07-23 14:41:42 UTC
Just a "Me Too" here.

jesse@laptop ~ $ emerge -pv zinf

These are the packages that I would merge, in order:

Calculating dependencies ...done!

[ebuild   R   ] media-sound/zinf-2.2.5-r1  +X +alsa -arts -debug -esd -gnome
+gtk -ipv6 +nls +vorbis +xosd 0 kB 

jesse@laptop ~ $ zinf
No UI plugin in '.:~/.zinf:/usr/lib/zinf' matched 'plugins/musicbrowser.ui' or
'plugins/musicbrowser.ui.ui.'
Zinf will quit.

I'll try the patch above in a little while.
Comment 6 Marcelo Goes (RETIRED) gentoo-dev 2005-07-31 11:33:07 UTC
I am getting this problem too.

I do not understand why this ebuild's src_install does not use "make install".
Anyway, musicbrowser.ui still does not get found with "make install", even
though a lot more stuff gets installed. I made a symlink using the following
src_install(),

src_install() {
  make DESTDIR=${D} install || die
  dosym ${D}/usr/lib/zinf/plugins/musicbrowser-ui \
  /usr/lib/zinf/plugins/musicbrowser.ui
}

but now I get:
/usr/lib/zinf/plugins/musicbrowser.ui: undefined symbol: _ZN5CDPMO5EjectEv
Comment 7 Marcelo Goes (RETIRED) gentoo-dev 2005-07-31 12:50:38 UTC
Created attachment 64812 [details]
zinf-2.2.5-r2.ebuild

Working ebuild while this can't be fixed.
I'm having problems with the configure patch and xosd.
Comment 8 Marcelo Goes (RETIRED) gentoo-dev 2005-07-31 13:21:20 UTC
I traced it back to libtoolize; It has nothing to do with the configure patch or
xosd.

Changed the ebuild to inherit libtool and use elibtoolize, seems to solve
unresolved symbol issue.

zinf-2.2.5-r2 is in cvs, please test if it works and report back!
Comment 9 email_deleted_GqKU 2005-07-31 23:59:54 UTC
(In reply to comment #8)
> zinf-2.2.5-r2 is in cvs, please test if it works and report back!

Works fine, thanx :)
Comment 10 Marcelo Goes (RETIRED) gentoo-dev 2005-08-01 10:28:24 UTC
Cool, thanks!
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-08-17 04:18:35 UTC
*** Bug 102797 has been marked as a duplicate of this bug. ***
Comment 12 onip 2005-09-02 11:06:58 UTC
works correctly on x86, Thanks
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-10-08 08:16:24 UTC
*** Bug 108503 has been marked as a duplicate of this bug. ***
Comment 14 Marcelo Goes (RETIRED) gentoo-dev 2005-10-08 09:06:36 UTC
I just marked 2.2.5-r2 x86 stable so that people stop bumping into this problem.