The net-misc/ebayagent (as of 0.9.11) ebuild has a missing dependency for dev-perl/perl-tk. Reproducible: Always Steps to Reproduce: 1.emerge ebayagent without perl-tk installed on the system 2.start XebayAgent Actual Results: it does not work but throw an error message Expected Results: It should have started. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.9swsusp2 i686) ================================================================= System uname: 2.6.9swsusp2 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 30 2005, 09:40:54)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.5, 1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.19-r1, 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/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/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="de_DE" LINGUAS="DE" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.mausehaus.org/gentoo-portage" USE="x86 X aac acl alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts cap cdparanoia crypt cups curl dga doc dvd emboss encode esd expat f77 fam ffmpeg flac foomaticdb fortran ftp gb gcj gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 guile imagemagick imap imlib ipv6 jabber java jikes jpeg junit kde krb4 lcms libg++ libwww lirc lynxkeymap mad maildir mikmod mime mmx mng motif mozilla mp3 mpeg mysql ncurses nls nntp objc ogg oggvorbis opengl pam pcmcia pcre pdflib perl plotutils png pnp python qt quicktime readline ruby samba scanner sdl slang slp speex spell sse ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vhosts videos vorbis wavelan wifi wmf wxwindows xchatdccserver xchattext xine xml xml2 xmms xv zlib video_cards_radeon linguas_DE userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
I'm thinking that perl-tk should be invoked by use flag though - the app is a console app as well after all. Comments?
I think the "X" useflag would be useful. If present: Build/install the X version and depend on perl-tk.
The X version also doesn't work when perl-tk is installed. It pops up a requester asking for a eBayAgent.pl file that is not installed by the ebuild and refuses to work otherwise.
The pop up is fixed (I am cursing myself for every accepting this user contributed ebuild). added an optional dep on perl-tk. let me know how you fare with -r1.
Adding a cc for the user that submitted this ebuild to begin with, just so he's aware of problems at least.
Created attachment 60737 [details] ebayagent-0.9.11-r2.ebuild Sorry for the buggy ebuild I provided I hope this will be better with USE tcltk it will install /usr/bin/XeBayAgent with USE tools it will install /usr/bin/runrepebay /usr/bin/repebay /usr/bin/eBayAgent_Skript the patch from ebayagent-0.9.11-r1.ebuild won
Created attachment 60737 [details] ebayagent-0.9.11-r2.ebuild Sorry for the buggy ebuild I provided I hope this will be better with USE tcltk it will install /usr/bin/XeBayAgent with USE tools it will install /usr/bin/runrepebay /usr/bin/repebay /usr/bin/eBayAgent_Skript the patch from ebayagent-0.9.11-r1.ebuild won´t is not correct why use files/ebayagent.patch if sed is sufficient? sed does the job very well sed now also patches XeBayAgent and set the path to eBayAgent. eBayAgent_Skript gets also patched correctly
Created attachment 60739 [details] ebayagent-0.9.11-r2.ebuild sed edit also repebay and runrepebay
Because your sed was messy, sed is not universal in syntax, and patching is cleaner all around. and because once in the tree, i get the bugs :)
I really dislike the "patch-way" -- but you
I really dislike the "patch-way" -- but you´re getting the bugs so if you like I provide a patch thx
Ebuild updated, closing this bug.