Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 212696
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Roy Marples <roy@marples.name>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
openrc-0.1.ebuild openrc-0.1.ebuild text/plain Roy Marples 2008-03-08 11:33 0000 4.08 KB Details
baselayout-2.0.0.ebuild baselayout-2.0.0.ebuild text/plain Roy Marples 2008-03-08 11:33 0000 3.95 KB Details
openrc-0.1.ebuild openrc-0.1.ebuild text/plain Benedikt Böhm 2008-03-10 11:13 0000 4.07 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212696 depends on: 213988 214401 Show dependency tree
Bug 212696 blocks: 214957
Votes: 0    Show votes for this bug    Vote for this bug

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2008-03-08 11:32 0000
I'm not going to host the baselayout tarball forever - I suggest that the
current svn repo is trimmed to match it and is maintained there.

I'm also not going to request keywords or stable keywords - that's entirely up
to you guys now.

Thanks!

------- Comment #1 From Roy Marples 2008-03-08 11:33:06 0000 -------
Created an attachment (id=145541) [details]
openrc-0.1.ebuild

------- Comment #2 From Roy Marples 2008-03-08 11:33:30 0000 -------
Created an attachment (id=145542) [details]
baselayout-2.0.0.ebuild

------- Comment #3 From Duncan 2008-03-08 12:48:08 0000 -------
Where do (upstream, I think) bugs go, now?  Others will probably want to know
too, so having the pointer here should be a good thing.

------- Comment #4 From Roy Marples 2008-03-08 12:50:55 0000 -------
(In reply to comment #3)
> Where do (upstream, I think) bugs go, now?  Others will probably want to know
> too, so having the pointer here should be a good thing.

http://bugs.marples.name/enter_bug.cgi?product=OpenRC

True, I'll not be actively looking for bugs after it's in portage, but I'm also
happy to be CC'ed here.

------- Comment #5 From Jakub Moc (RETIRED) 2008-03-08 22:33:25 0000 -------
(In reply to comment #1)
> Created an attachment (id=145541) [edit] [details]
> openrc-0.1.ebuild

On a side note, this has a broken inherit w/ [[ "${PV}" = "9999" ]], you are
overriding all the previous inherit lines there.

------- Comment #6 From Benedikt Böhm 2008-03-10 11:13:49 0000 -------
Created an attachment (id=145719) [details]
openrc-0.1.ebuild

updated ebuild with sane inherit and fixed MAKE_ARG vs. MAKE_ARGS

------- Comment #7 From Roy Marples 2008-03-10 12:36:06 0000 -------
Is this allowed?

if [ "${PV}" = "9999" ]; then
   GIT=git
else
   GIT=
fi
inherit foo ${GIT}

I've updated my git ebuild like so and it seems to work. I've also sucked in
Hollows fix - thanks.

------- Comment #8 From Petteri Räty 2008-03-10 18:50:03 0000 -------
(In reply to comment #7)
> Is this allowed?
> 
> if [ "${PV}" = "9999" ]; then
>    GIT=git
> else
>    GIT=
> fi
> inherit foo ${GIT}
> 

It is.

------- Comment #9 From Petteri Räty 2008-03-10 18:50:48 0000 -------
(In reply to comment #8)
> 
> It is.
> 

Just remove the useless else.

------- Comment #10 From Roy Marples 2008-03-10 19:51:28 0000 -------
(In reply to comment #9)
> Just remove the useless else.

So package managers clean the working environment then?

------- Comment #11 From Petteri Räty 2008-03-10 21:32:31 0000 -------
(In reply to comment #10)
> (In reply to comment #9)
> > Just remove the useless else.
> 
> So package managers clean the working environment then?
> 

What do you mean? The conditional inherit trick is in devmanual:
http://devmanual.gentoo.org/general-concepts/portage-cache/index.html

------- Comment #12 From Sven 2008-03-11 00:53:08 0000 -------
> What do you mean? The conditional inherit trick is in devmanual:
> http://devmanual.gentoo.org/general-concepts/portage-cache/index.html

Look at comment #7. Roy has used a variable GIT which should be cleared prior
to the if or inside the else-case. Otherwise, it could be undefined in certain
situations.

------- Comment #13 From Doug Goldstein 2008-03-20 05:02:56 0000 -------
Just so the bug is aware, I've been taking this up to get it in the tree on
behalf of base-system. It will hit the tree next week most likely since I will
be out of town this coming weekend. Also I need to finish coordinating with
everyone.

------- Comment #14 From SpanKY 2008-03-22 23:05:43 0000 -------
(From update of attachment 145541 [details])
comment #5 is wrong, the code Roy has is correct wrt inherit

------- Comment #15 From Jakub Moc (RETIRED) 2008-03-22 23:08:33 0000 -------
(In reply to comment #14)
> (From update of attachment 145541 [details] [edit])
> comment #5 is wrong, the code Roy has is correct wrt inherit

Well, if it's correct, then someone should fix portage to stop spitting
warnings about it. Or more likely you didn't see them since you didn't emerge
the 9999 version.

------- Comment #16 From Doug Goldstein 2008-03-27 14:54:16 0000 -------
openrc-0.2 and baselayout-2.0.0 have hit the tree and are ready for use and
consumption.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug