LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 606|回复: 1

gentoo prefix 问题,misc-functions.sh invalid shebangs

[复制链接]
发表于 2010-6-10 20:07:18 | 显示全部楼层 |阅读模式
* 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"
*


发现 $EPREFIX/usr/lib/portage/bin/ebuild.sh 里有如下用法
#!@PORTAGE_BASH@
 楼主| 发表于 2010-6-10 20:08:47 | 显示全部楼层
$ 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
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表