Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205710 - ebuild.nesteddie triggers on an sed that contains '('
Summary: ebuild.nesteddie triggers on an sed that contains '('
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-13 22:23 UTC by Bo Ørsted Andresen (RETIRED)
Modified: 2015-06-11 04:05 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 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-01-13 22:23:26 UTC
kde-base/kdelibs/kdelibs-9999.4.ebuild: Ebuild calls die in a subshell on line: 95

 94     find . -name CMakeLists.txt | \
 95         xargs sed -i -e "/add_subdirectory( test/s/^/#DONOTCOMPILE/" || die "Failed to disable KDE tests."

Portage 2.1.4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.22-suspend2-r2 i686)
=================================================================
System uname: 2.6.22-suspend2-r2 i686 Intel(R) Pentium(R) M processor 1600MHz
Timestamp of tree: Fri, 11 Jan 2008 23:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -Os -pipe -ggdb"
DISTDIR="/var/cache/paludis/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages parallel-fetch sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LANG="en_GB.utf8"
LINGUAS="da en en_GB"
MAKEOPTS="-j2"
PKGDIR="/var/cache/paludis/binpkg"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/repositories/gentoo"
PORTDIR_OVERLAY="/var/repositories/local /var/repositories/wgetpaste /var/repositories/vmware /home/bo/git/genkde4svn-dev"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi aiglx alsa asf avahi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups dri dvd dvdr dvdread emboss encode evo fam fat fbcon fbsplash ffmpeg firefox flac fortran gdbm gif gnokii gphoto2 gpm hal hddtemp i8x0 iconv ieee1394 imagemagick irda irmc isdnlog jfs jpeg kcal kde kdehiddenvisibility kerberos lcd lm_sensors logitech-mouse mad midi mikmod mmx mmxext mp3 mpeg mplayer msn mudflap musicbrainz ncurses network network-cron nls nptl nptlonly nsplugin ntfs ogg opengl openmp paludis paludis_hooks_eselect pam pcre pdf perl png pppd python qt3 qt3support quicktime rdesktop readline real reflection reiser4 reiserfs ruby scanner sdl session slp sms source spell spl sse sse2 ssl subversion svg svga syslog tcpd test tetex tiff truetype truetype-fonts type1-fonts unicode usb vcd vim vim-syntax vorbis wifi win32codecs x86 xcomposite xfs xine xml xorg xscreensaver xv xvid 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 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="evdev keyboard mouse synaptics void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da en en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev i810 radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Alex Xu (Hello71) 2015-06-11 00:38:28 UTC
die in subshell is legal in EAPI 5
Comment 2 Alex Xu (Hello71) 2015-06-11 00:39:02 UTC
oh, this is a bug in *repoman*. my point still stands though.
Comment 3 Zac Medico gentoo-dev 2015-06-11 04:05:41 UTC
(In reply to Alex Xu (Hello71) from comment #1)
> die in subshell is legal in EAPI 5

Not really, because PMS says "die is not guaranteed to work correctly if called from a subshell environment."

(In reply to Alex Xu (Hello71) from comment #2)
> oh, this is a bug in *repoman*. my point still stands though.

If it was legal, then that would be a reason to remove or disable the check for EAPI 5.

Anyway, this bug is actually fixed since portage-2.2_rc18:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=bcacfe9c1861d6efa250756f1380400e720eff7c