public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* Fwd: Re: [gentoo-dev] strange ebuild error
@ 2003-08-14  4:01 Ben Calvert
  2003-08-14  4:12 ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Calvert @ 2003-08-14  4:01 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

ok - mike and max both tried to explain how to fix the version number within 
the *ebuild file, but having pretty much 0 python skillz it went straight 
over my head.  I replaced the code with the number, can someone show me 
exactly what i should have?  

<snip>

S=${WORKDIR}/AfterStep-2.00.beta1
DESCRIPTION="A window manager based on the NeXTStep interface."
SRC_URI="ftp://ftp.afterstep.org/stable/AfterStep-2.00.beta1.tar.bz2"

<snip>

thanks

[-- Attachment #2: Max Kalika <max@gentoo.org>: Re: [gentoo-dev] strange ebuild error --]
[-- Type: message/rfc822, Size: 2099 bytes --]

From: Max Kalika <max@gentoo.org>
To: Ben Calvert <ben@stonehenge-net.com>, gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] strange ebuild error
Date: Wed, 13 Aug 2003 20:30:08 -0700
Message-ID: <2147483647.1060806608@[192.168.26.4]>

Quoting Ben Calvert <ben@stonehenge-net.com>:

> Am trying my hand at an ebuild for afterstep-2.00.beta1 and am having the 
> following problem when adapting the 1.8.11-r2 file:  when trying to
> create  the digest, I get the following error:
> 
> ben@lorax afterstep $ sudo ebuild afterstep-2.00.beta1.ebuild digest
> Password:
> !!! Name error in 2.00.beta1
> !!! Error: PF is null; exiting.

Call the ebuild afterstep-2.00_beta1.ebuild (notice the underscore instead
of dot).  You can convert the underscore to the dot for $SRC_URI and $S
within the ebuild code with something like ${P/_beta/.beta/}.

--mk



[-- Attachment #3: Type: text/plain, Size: 37 bytes --]

--
gentoo-dev@gentoo.org mailing list

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fwd: Re: [gentoo-dev] strange ebuild error
@ 2003-08-14  4:09 Ben Calvert
  2003-08-14  5:01 ` Georgi Georgiev
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Calvert @ 2003-08-14  4:09 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]

ok, while waiting for someone to help me with my weak-ass python, i'm having 
the following problem:

at the install stage, i get the following error:

sudo ebuild afterstep-2.00_beta1.ebuild install
Password:
>>> md5 src_uri ;-) AfterStep-2.00.beta1.tar.bz2
>>> Checking AfterStep-2.00.beta1.tar.bz2's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> It appears that afterstep is already compiled; skipping.
>>> (clean to force compilation)

>>> Install afterstep-2.00_beta1 into 
/var/tmp/portage/afterstep-2.00_beta1/image/ category x11-wm
/bin/cp AfterStep.desktop /usr/share/gnome/wm-properties/
ACCESS DENIED  open_wr:   /usr/share/gnome/wm-properties/AfterStep.desktop
/bin/cp: cannot create regular file 
`/usr/share/gnome/wm-properties/AfterStep.desktop': Permission denied
make: *** [install.data] Error 1

!!! ERROR: x11-wm/afterstep-2.00_beta1 failed.
!!! Function src_install, Line 53, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
LOG FILE = "/tmp/sandbox-afterstep-2.00_beta1-24222.log"

open_wr:   /usr/share/gnome/wm-properties/AfterStep.desktop
--------------------------------------------------------------------------------

/tmp/sandbox-afterstep-2.00_beta1-24222.log:

open_wr:   /usr/share/gnome/wm-properties/AfterStep.desktop

[-- Attachment #2: Ben Calvert <ben@stonehenge-net.com>: Fwd: Re: [gentoo-dev] strange ebuild error --]
[-- Type: message/rfc822, Size: 4928 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 449 bytes --]

ok - mike and max both tried to explain how to fix the version number within 
the *ebuild file, but having pretty much 0 python skillz it went straight 
over my head.  I replaced the code with the number, can someone show me 
exactly what i should have?  

<snip>

S=${WORKDIR}/AfterStep-2.00.beta1
DESCRIPTION="A window manager based on the NeXTStep interface."
SRC_URI="ftp://ftp.afterstep.org/stable/AfterStep-2.00.beta1.tar.bz2"

<snip>

thanks

[-- Attachment #2.1.2: Max Kalika <max@gentoo.org>: Re: [gentoo-dev] strange ebuild error --]
[-- Type: message/rfc822, Size: 2099 bytes --]

From: Max Kalika <max@gentoo.org>
To: Ben Calvert <ben@stonehenge-net.com>, gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] strange ebuild error
Date: Wed, 13 Aug 2003 20:30:08 -0700
Message-ID: <2147483647.1060806608@[192.168.26.4]>

Quoting Ben Calvert <ben@stonehenge-net.com>:

> Am trying my hand at an ebuild for afterstep-2.00.beta1 and am having the 
> following problem when adapting the 1.8.11-r2 file:  when trying to
> create  the digest, I get the following error:
> 
> ben@lorax afterstep $ sudo ebuild afterstep-2.00.beta1.ebuild digest
> Password:
> !!! Name error in 2.00.beta1
> !!! Error: PF is null; exiting.

Call the ebuild afterstep-2.00_beta1.ebuild (notice the underscore instead
of dot).  You can convert the underscore to the dot for $SRC_URI and $S
within the ebuild code with something like ${P/_beta/.beta/}.

--mk



[-- Attachment #2.1.3: Type: text/plain, Size: 37 bytes --]

--
gentoo-dev@gentoo.org mailing list

[-- Attachment #3: Type: text/plain, Size: 37 bytes --]

--
gentoo-dev@gentoo.org mailing list

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: Re: [gentoo-dev] strange ebuild error
  2003-08-14  4:01 Ben Calvert
@ 2003-08-14  4:12 ` Mike Frysinger
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2003-08-14  4:12 UTC (permalink / raw
  To: gentoo-dev

On Thursday 14 August 2003 00:01, Ben Calvert wrote:
> ok - mike and max both tried to explain how to fix the version number
> within the *ebuild file, but having pretty much 0 python skillz it went
> straight over my head.  I replaced the code with the number, can someone
> show me exactly what i should have?
>
> <snip>
>
> S=${WORKDIR}/AfterStep-2.00.beta1
> DESCRIPTION="A window manager based on the NeXTStep interface."
> SRC_URI="ftp://ftp.afterstep.org/stable/AfterStep-2.00.beta1.tar.bz2"
>
> <snip>

well, i think you mean bash and not python since thats what ebuilds are 
written in :)
try this:
MY_PV=${PV/_/.}
S=${WORKDIR}/AfterStep-${MY_PV}
SRC_URI="ftp://ftp.afterstep.org/stable/AfterStep-${MY_PV}.tar.bz2"
-mike

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: Re: [gentoo-dev] strange ebuild error
  2003-08-14  4:09 Fwd: Re: [gentoo-dev] strange ebuild error Ben Calvert
@ 2003-08-14  5:01 ` Georgi Georgiev
  0 siblings, 0 replies; 4+ messages in thread
From: Georgi Georgiev @ 2003-08-14  5:01 UTC (permalink / raw
  To: gentoo-dev

On 13/08/2003 at 21:09:22(-0700), Ben Calvert used 6.6K just to say:
> ok, while waiting for someone to help me with my weak-ass python, i'm having 
> the following problem:
> 
> at the install stage, i get the following error:
> 
> sudo ebuild afterstep-2.00_beta1.ebuild install
> Password:
> >>> md5 src_uri ;-) AfterStep-2.00.beta1.tar.bz2
> >>> Checking AfterStep-2.00.beta1.tar.bz2's mtime...
> >>> WORKDIR is up-to-date, keeping...
> >>> It appears that afterstep is already compiled; skipping.
> >>> (clean to force compilation)
> 
> >>> Install afterstep-2.00_beta1 into 
> /var/tmp/portage/afterstep-2.00_beta1/image/ category x11-wm
> /bin/cp AfterStep.desktop /usr/share/gnome/wm-properties/
> ACCESS DENIED  open_wr:   /usr/share/gnome/wm-properties/AfterStep.desktop
> /bin/cp: cannot create regular file 
> `/usr/share/gnome/wm-properties/AfterStep.desktop': Permission denied
> make: *** [install.data] Error 1
> 
> !!! ERROR: x11-wm/afterstep-2.00_beta1 failed.
> !!! Function src_install, Line 53, Exitcode 2
> !!! (no error message)
> 
> --------------------------- ACCESS VIOLATION SUMMARY 
> ---------------------------
> LOG FILE = "/tmp/sandbox-afterstep-2.00_beta1-24222.log"
> 
> open_wr:   /usr/share/gnome/wm-properties/AfterStep.desktop
> --------------------------------------------------------------------------------
> 
> /tmp/sandbox-afterstep-2.00_beta1-24222.log:
> 
> open_wr:   /usr/share/gnome/wm-properties/AfterStep.desktop

Your ebuild is not installing in ${D} obviously. Make sure it does.  Use
einstall or "make DESTDIR=${D} install" instead of "make install".
Read the comments in /usr/portage/skel.ebuild for a better explanation.

If it still doesn't work, you may need to tweak the Makefile itself.

-- 
()   Georgi Georgiev   () It is sweet to let the mind unbend on        ()
()    chutz@gg3.net    () occasion. -- Quintus Horatius Flaccus        ()
()  +81(90)6266-1163   () (Horace)                                     ()

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-14  5:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-14  4:09 Fwd: Re: [gentoo-dev] strange ebuild error Ben Calvert
2003-08-14  5:01 ` Georgi Georgiev
  -- strict thread matches above, loose matches on Subject: below --
2003-08-14  4:01 Ben Calvert
2003-08-14  4:12 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox