| Summary: | webapp.eclass lacks a sanity check for ebuilds that override webapp_pkg_setup, producing bogus warnings and broken install | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Justin Findlay <jfindlay> |
| Component: | Eclasses | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | accounts, jakub |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | webapp.eclass.diff | ||
|
Description
Justin Findlay
2007-12-20 21:49:48 UTC
>>> Unpacking source... >>> Unpacking awstats-6.7.tar.gz to /var/tmp/portage/net-www/awstats-6.7-r1/work * Applying awstats-6.3-gentoo.diff ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-www/awstats-6.7-r1/work/awstats-6.7 ... >>> Source compiled. >>> Test phase [not enabled]: net-www/awstats-6.7-r1 >>> Install awstats-6.7-r1 into /var/tmp/portage/net-www/awstats-6.7-r1/image/ category net-www install: cannot create directory `': No such file or directory install: cannot create directory `': No such file or directory install: cannot create directory `': No such file or directory install: cannot create directory `': No such file or directory install: cannot create directory `': No such file or directory install: cannot create directory `': No such file or directory install: cannot create directory `': No such file or directory install: cannot create directory `': No such file or directory * (info) /usr/portage/net-www/awstats/files/postinst-en-r1.txt (lang: en) install: cannot create directory `': No such file or directory chown: invalid argument: `' chmod: invalid argument: `' >>> Completed installing awstats-6.7-r1 into /var/tmp/portage/net-www/awstats-6.7-r1/image/ * * The AWStats-Manual is available either inside * the /usr/share/doc/awstats-6.7-r1 - folder, or at * http://awstats.sourceforge.net/docs/index.html . * * Copy the /etc/awstats/awstats.model.conf to * /etc/awstats/awstats.<yourdomain>.conf and edit it. * * Add the following line to /etc/awstats/awstats.<yourdomain>.conf * to enable GeoIP plugin: * LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat" * * * This ebuild did not call webapp_src_install() at the end * of the src_install() function * * Please log a bug on http://bugs.gentoo.org * * You should use emerge -C to remove this package, as the * installation is incomplete * * * ERROR: net-www/awstats-6.7-r1 failed. * Call stack: * ebuild.sh, line 1682: Called qa_call 'pkg_postinst' * ebuild.sh, line 44: Called pkg_postinst * awstats-6.7-r1.ebuild, line 147: Called webapp_pkg_postinst * webapp.eclass, line 462: Called die * The specific snippet of code: * die "Ebuild did not call webapp_src_install() - report to http://bugs.gentoo.org" * The die message: * Ebuild did not call webapp_src_install() - report to http://bugs.gentoo.org * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/net-www:awstats-6.7-r1:20071221-162008.log'. * (In reply to comment #1) Totally unrelated and emerge --sync before reporting bugs. (In reply to comment #2) > Totally unrelated and emerge --sync before reporting bugs. I ran emerge --sync several two times after it and retried to emerge awstats five times with two -C cleanups to verify the issue. The post above is the contents of the first failure. If this issue isn't related altho the same error occurs please tell me to create a new report, I'd be happy to do so. (In reply to comment #3) > If this issue isn't related altho the same error occurs please tell me to > create a new report, I'd be happy to do so. There's no need to create a new bug for your issue since it's FIXED; as said you need to emerge --sync before reporting bugs. Now please keep the off-topic noise outta here. Ran emerge --sync at 18:55 p.m. GMT on Dec 22, 2007. Apparently this fix hasn't made it into the Portage tree yet, because I'm seeing this bug as well. Once again - problem mentioned in Comment #1 is unrelated and already fixed; stop hijacking this bug for off-topic stuff. http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/awstats/awstats-6.7-r1.ebuild?r1=1.1&r2=1.2 Fixed in 6.7-r2 (see Bug 203187), thanks and sorry. Leaving this bug open for getting the eclass fixed to die sanely with a useful message and way sooner. Created attachment 139221 [details, diff]
webapp.eclass.diff
See above.
fixed |