Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308455 - QA failures for dev-libs/openssl-0.9.8n
Summary: QA failures for dev-libs/openssl-0.9.8n
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 308609
Blocks:
  Show dependency tree
 
Reported: 2010-03-08 12:30 UTC by Stuart Shelton
Modified: 2010-09-29 06:36 UTC (History)
2 users (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 Stuart Shelton 2010-03-08 12:30:53 UTC
Under prefix, dev-libs/openssl-0.9.8l-r2 fails with:

>>> Completed installing openssl-0.9.8l-r2 into /usr/opt/portage/var/tmp/portage/dev-libs/openssl-0.9.8l-r2/image/opt/portage/

ecompressdir: bzip2 -9 /opt/portage/usr/share/man
 * prefixing shebang of opt/portage/etc/ssl/misc/CA.sh
 * invalid shebang in opt/portage/etc/ssl/misc/CA.pl: /usr/bin/perl5
 * prefixing shebang of opt/portage/etc/ssl/misc/c_hash
 * prefixing shebang of opt/portage/etc/ssl/misc/c_info
 * prefixing shebang of opt/portage/etc/ssl/misc/c_issuer
 * prefixing shebang of opt/portage/etc/ssl/misc/c_name
 * QA Notice: the following files use invalid (possible non-prefixed) shebangs:
 * opt/portage/usr/bin/c_rehash:/usr/bin/perl5
 * ERROR: dev-libs/openssl-0.9.8l-r2 failed:
 *   Aborting due to QA concerns: invalid shebangs found
 *
 * Call stack:
 *   misc-functions.sh, line 1432:  Called install_qa_check
 *   misc-functions.sh, line   94:  Called install_qa_check_prefix
 *   misc-functions.sh, line  649:  Called die
 * The specific snippet of code:
 *              die "Aborting due to QA concerns: invalid shebangs found"

I already have this version of this package installed, so this is either a new problem caused by a change make without bumping the package-version, or portage is now more strict than it was when this package was originally built.

I suspect the latter, as the installed files do have their interpreter set to non-prefix '/usr/bin/perl5'.
Comment 1 Fabian Groffen gentoo-dev 2010-03-08 16:08:51 UTC
portage got more strict
Comment 2 Fabian Groffen gentoo-dev 2010-03-08 16:18:26 UTC
should be fixed now
Comment 3 Stuart Shelton 2010-04-01 12:28:35 UTC
Still not fixed, I'm afraid - and this system *doesn't* have a perl5 symlink under prefix (although the OS does provide '/usr/bin/perl5 -> ../sbin/perl5.00405'):

>>> Completed installing openssl-0.9.8n into /usr/opt/portage/var/tmp/portage/dev-libs/openssl-0.9.8n/image/opt/portage/

ecompressdir: bzip2 -9 /opt/portage/usr/share/man
 * prefixing shebang of opt/portage/etc/ssl/misc/CA.sh
 * invalid shebang in opt/portage/etc/ssl/misc/CA.pl: /usr/bin/perl5
 * prefixing shebang of opt/portage/etc/ssl/misc/c_hash
 * prefixing shebang of opt/portage/etc/ssl/misc/c_info
 * prefixing shebang of opt/portage/etc/ssl/misc/c_issuer
 * prefixing shebang of opt/portage/etc/ssl/misc/c_name
 * QA Notice: the following files use invalid (possible non-prefixed) shebangs:
 * opt/portage/usr/bin/c_rehash:/usr/bin/perl5
 * ERROR: dev-libs/openssl-0.9.8n failed:
 *   Aborting due to QA concerns: invalid shebangs found
 * 
 * Call stack:
 *   misc-functions.sh, line 1487:  Called install_qa_check
 *   misc-functions.sh, line   94:  Called install_qa_check_prefix
 *   misc-functions.sh, line  657:  Called die
 * The specific snippet of code:
 *              die "Aborting due to QA concerns: invalid shebangs found"
Comment 4 Stuart Shelton 2010-04-03 16:34:46 UTC
Same problem as Bug 308609?
Comment 5 Peter Abrahamsen 2010-08-06 21:06:49 UTC
I just upgraded to 0.9.8n, and portage wants to update all the scripts in $EPREFIX/etc/ssl/misc/* to remove $EPREFIX from the shebang:

--- /gentoo/etc/ssl/misc/CA.sh  2010-04-13 17:42:48.000000000 -0700
+++ /gentoo/etc/ssl/misc/._cfg0000_CA.sh  2010-08-06 12:43:07.000000000 -0700
@@ -1,4 +1,4 @@
-#!/gentoo/bin/sh
+#!/bin/sh
Comment 6 Fabian Groffen gentoo-dev 2010-09-29 06:36:34 UTC
that's more likely to be a portage bug.  The original problem of this bug was fixed