Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6015

Summary: [New Package]: msetimon-2.07.ebuild
Product: Gentoo Linux Reporter: Dan Naumov <jago>
Component: New packagesAssignee: Sascha Schwabbauer (RETIRED) <cybersystem>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: [New Package]: msetimon-2.07.ebuild
Updated working ebuild with OLD SRC_URL value.
Updated non-working ebuild with a new "proper" SRC_URL.
fixed ebuild (finally)

Description Dan Naumov 2002-08-04 15:57:41 UTC
What follows is my ebuild of msetimon, a GUI utility for monitoring the
SETI@Home client. It's written in Perl, using Perl-TK. Please note, that the
program currently has problems with displaying it's "Properties" window when run
under fluxbox/blackbox, but other then that, it's fully functional.
Comment 1 Dan Naumov 2002-08-04 15:58:57 UTC
Created attachment 2822 [details]
[New Package]: msetimon-2.07.ebuild

I propose "x11-misc/msetimon" for this.
Comment 2 Sascha Schwabbauer (RETIRED) gentoo-dev 2002-08-05 11:56:27 UTC
SLOT and KEYWORDS tags are missing.. please add them.. and for SRC_URI you should
use mirror://sourceforge/msetimon/${NAME}-perl-source-2-07.tar.gz instead of the
three addresses..

regards
sascha
Comment 3 Dan Naumov 2002-08-05 20:16:42 UTC
I stumbled across a very bizarre problem when fixing SRC_URL. When I am using the
"old version" of SRC_URL, which provides 3 URLs, everthing works fine. Yet, when
I change the SRC_URL to
SRC_URL="mirror://sourceforge/msetimon/${NAME}-perl-source-2-07.tar.gz", the
emerge fails with the following error:

----------------------------------------------------------------------
Calculating dependencies ...done!
>>> emerge x11-misc/msetimon-2.07 to /
>>> Unpacking source...
>>> Source unpacked.

>>> Install msetimon-2.07 into /var/tmp/portage/msetimon-2.07/image/ category
x11-misc
mv: cannot stat
`/var/tmp/portage/msetimon-2.07/work/msetimon-perl-source-2-07/msetimon.pl': No
such file or directory
install: cannot stat `msetimon': No such file or directory

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line -317, Exitcode 1
!!! install failed

!!! emerge aborting on  /usr/portage/x11-misc/msetimon/msetimon-2.07.ebuild .
----------------------------------------------------------------------

The most bizarre thing is, that when SRC_URL is set to
mirror://sourceforge/msetimon/${NAME}-perl-source-2-07.tar.gz, the ebuild fails
that way even though it never even TRIES to download the actual file. How it is
possible for emerge to attempt compiling/installing the program when the
distfile is not downloaded, is beyond me :o)
Comment 4 Dan Naumov 2002-08-05 20:18:50 UTC
Created attachment 2849 [details]
Updated working ebuild with OLD SRC_URL value.
Comment 5 Dan Naumov 2002-08-05 20:20:53 UTC
Created attachment 2850 [details]
Updated non-working ebuild with a new "proper" SRC_URL.

Anyone care to explain why this one behaves so weirdly ? :o)
Comment 6 Dan Naumov 2002-08-05 20:36:34 UTC
Pardon me, I clearly need more sleep. Problem fixed. Dumb me. Completely working
and "correct" ebuild follows below.
Comment 7 Dan Naumov 2002-08-05 20:37:44 UTC
Created attachment 2851 [details]
fixed ebuild (finally)

This one obsoletes all previous attachments.
Comment 8 Sascha Schwabbauer (RETIRED) gentoo-dev 2002-08-06 04:04:08 UTC
the final ebuild works fine, so i put it in the cvs-tree...
thanks for your contribution