Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83969 - repoman nesteddie algorithm is incorrect
Summary: repoman nesteddie algorithm is incorrect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-03-03 09:43 UTC by Matthew Kennedy (RETIRED)
Modified: 2005-07-14 06:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kennedy (RETIRED) gentoo-dev 2005-03-03 09:43:29 UTC
This problem has some history: see Bug #21256 and Bug #33011 In my case the
algorithm/regexp fails on the following code:

pkg_postinst() {
        standard-impl-postinst sbcl
        if use callbacks; then
                mv /usr/lib/sbcl/sbcl.core /usr/lib/sbcl/sbcl-nocallbacks.core || die
                pushd ${WORKDIR}/sbcl-af
                sbcl --core /usr/lib/sbcl/sbcl-nocallbacks.core \
                        --load 'system' \
                        --eval '(sb-ext:save-lisp-and-die "/usr/lib/sbcl/sbcl.core")' || die
...

I don't think you can reliably detect these kinds of things without writing your
own Bash script parser in Python.  Certainly it will be tough to get right with
a regexp.

Workaround is to edit /usr/bin/repoman and disable/remove nesteddie test.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-04-13 07:13:25 UTC
Downgraded to a warning.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:47:44 UTC
Fixed on or before 2.0.51.22-r1 
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:30 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.