Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263603 - dev-lisp/sbcl-1.0.26-r10 misc ebuild errors not being caught
Summary: dev-lisp/sbcl-1.0.26-r10 misc ebuild errors not being caught
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-24 15:09 UTC by Armando Di Cianno
Modified: 2009-05-10 12:39 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 Armando Di Cianno 2009-03-24 15:09:30 UTC
I caught this at the end of an sbcl emerge:
<snip>
} \;
make: Leaving directory `/Library/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.0.26-r10/work/sbcl-1.0.26/contrib/sb-simple-streams'
make: Entering directory `/Library/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.0.26-r10/work/sbcl-1.0.26/contrib/sb-sprof'
cp sb-sprof.fasl "/Library/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.0.26-r10/image/Library/Gentoo//usr/lib/sbcl/sb-sprof"
make: Leaving directory `/Library/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.0.26-r10/work/sbcl-1.0.26/contrib/sb-sprof'

SBCL has been installed:
 binary /Library/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.0.26-r10/image/Library/Gentoo//usr/bin/sbcl
 core and contribs in /Library/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.0.26-r10/image/Library/Gentoo//usr/lib/sbcl/

Documentation:
 man /Library/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.0.26-r10/image/Library/Gentoo//usr/share/man/man1/sbcl.1
cp: cannot stat `doc/manual/*.info': No such file or directory
cp: cannot stat `doc/manual/*.info-*': No such file or directory
cp: cannot stat `doc/manual/*.pdf': No such file or directory
>>> Completed installing sbcl-1.0.26-r10 into /Library/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.0.26-r10/image/Library/Gentoo/

ecompressdir: bzip2 -9 /Library/Gentoo/usr/share/man
>>> Done.

>>> Installing dev-lisp/sbcl-1.0.26-r10
/Library/Gentoo/var/tmp/binpkgs/dev-lisp/sbcl-1.0.19/temp/environment: line 2288: standard-impl-postrm: command not found
</snip>

So, there are two errors not being caught:
1) Misc files being copied out of ./doc
2) standard-impl-postrm (from the eclass, IIRC) not found

I'm more concerned about issue 2, as I ported a much earlier sbcl to osx-prefix last year, and had to deal with trickery in the eclass to get files installed correctly.



Reproducible: Always

Steps to Reproduce:
1. emerge sbcl
2. Note the errors at the end of the emerge
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-03-31 17:34:04 UTC
ah, yes. the eclasses are pretty bad here. However, sbcl-1.0.26 doesn't even inherit common-list-common. Just: "inherit eutils flag-o-matic" - am I missing something?
Comment 2 Armando Di Cianno 2009-03-31 18:27:32 UTC
(In reply to comment #1)
> ah, yes. the eclasses are pretty bad here. However, sbcl-1.0.26 doesn't even
> inherit common-list-common. Just: "inherit eutils flag-o-matic" - am I missing
> something?
> 

Ah, I didn't notice it didn't inherit form that eclass -- that must explain the "standard-impl-postrm" error.  The cp errors are probably just path issues or are deprecated.
Comment 3 Fabian Groffen gentoo-dev 2009-04-03 15:14:50 UTC
Let's ask the lisp team, it seems to me this is non-prefix specific, but I can be wrong.  (I finally managed to fix sbcl-1.0.26 for PPC)
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2009-04-03 22:01:49 UTC
The new 1.0.26 doesn't use the hack to work around timestamp modification by the package manager (which is the only use for the eclass) anymore and does not contain any calls to `standard-impl-postrm'. The output:

  >>> Installing dev-lisp/sbcl-1.0.26-r10
  /Library/Gentoo/var/tmp/binpkgs/dev-lisp/sbcl-1.0.19/temp/environment: line
  2288: standard-impl-postrm: command not found

mentions the 1.0.19 environment for some reason. Why?
Comment 5 Fabian Groffen gentoo-dev 2009-04-04 10:32:27 UTC
can it be because it upgraded from that version and ran pkg_postinst or something?
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2009-04-04 16:23:08 UTC
Yes, 1.0.19 does:

pkg_postrm() {
        standard-impl-postrm sbcl /usr/bin/sbcl
}

which is from the eclass. The question is why the eclass is not found.
Comment 7 Fabian Groffen gentoo-dev 2009-05-10 11:50:11 UTC
probably because it was not in the inherit line in Prefix somehow.
Comment 8 Fabian Groffen gentoo-dev 2009-05-10 12:39:54 UTC
I did some fix0r to the ebuild and eclass, I think it's better now.