Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323633 - gentoo prefix, invalid shebangs in misc-functions.sh, ebuild.sh, etc.
Summary: gentoo prefix, invalid shebangs in misc-functions.sh, ebuild.sh, etc.
Status: RESOLVED DUPLICATE of bug 323621
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-12 04:05 UTC by Ray Song
Modified: 2010-06-12 10:24 UTC (History)
0 users

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 Ray Song 2010-06-12 04:05:18 UTC
I could emerge nothing because some .sh files (misc-functions.sh, ebuild.sh, etc.) use invalid (possible non-prefixed) shebangs "#!@PORTAGE_BASH@"

Reproducible: Always

Steps to Reproduce:
1. Follow http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml
2. emerge ncurses which is bash's dependency

Actual Results:  
* QA Notice: the following files use invalid (possible non-prefixed) shebangs:
* home/*********/gentoo/usr/bin/ncurses5-config:/bin/sh
* home/********/gentoo/usr/bin/ncursesw5-config:/bin/sh
* ERROR: sys-libs/ncurses-5.7-r3 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"
*

Expected Results:  
ncurses should be emerged

 $ emerge --info
Portage 2.2.00.15842-prefix (prefix/linux/x86, gcc-4.4.3, unavailable, 2.6.32-22-generic i686)
=================================================================
System uname: Linux-2.6.32-22-generic-i686-with-Ubuntu-10.04-lucid
Timestamp of tree: Sun, 09 May 2010 21:37:55 +0000
ACCEPT_KEYWORDS="~x86-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -m32"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CPPFLAGS="-I/home/********/gentoo/usr/include"
CXXFLAGS="-O2 -march=i686 -pipe -m32"
DISTDIR="/home/********/gentoo/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-L/home/********/gentoo/usr/lib -R/home/********/gentoo/usr/lib -L/home/********/gentoo/lib -R/home/********/gentoo/lib"
PKGDIR="/home/********/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/********/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/********/gentoo/var/tmp"
PORTDIR="/home/********/gentoo/usr/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="bootstrap bzip2 cli cracklib crypt cxx dri iconv ipv6 modules mudflap ncurses nptl nptlonly openmp perl pppd prefix readline reflection session spl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Daniel Pielmeier gentoo-dev 2010-06-12 10:24:37 UTC

*** This bug has been marked as a duplicate of bug 323621 ***