* Applying 0006-wusa-Improve-tracing-of-installation-process.patch ... [ ok ] * Applying 0007-wusa-Print-warning-when-encountering-msdelta-compres.patch ... [ ok ] * Applying tmp.QP9oZml6mT ... [ ok ] * ERROR: app-emulation/wine-1.9.7::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called src_prepare * environment, line 4507: Called die * The specific snippet of code: * [[ ! -z ${SUFFIX} ]] && sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die; * * If you need support, post the output of `emerge --info '=app-emulation/wine-1.9.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/wine-1.9.7::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.9.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.9.7/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/wine-1.9.7/work/wine-1.9.7' * S: '/var/tmp/portage/app-emulation/wine-1.9.7/work/wine-1.9.7' >>> Failed to emerge app-emulation/wine-1.9.7, Log file: >>> '/var/tmp/portage/app-emulation/wine-1.9.7/temp/build.log' * Messages for package app-emulation/wine-1.9.7: * Applying the Wine-Staging patchset. Any bug reports to the * Wine bugzilla should explicitly state that staging was used. * ERROR: app-emulation/wine-1.9.7::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called src_prepare * environment, line 4507: Called die * The specific snippet of code: * [[ ! -z ${SUFFIX} ]] && sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die; * * If you need support, post the output of `emerge --info '=app-emulation/wine-1.9.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/wine-1.9.7::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.9.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.9.7/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/wine-1.9.7/work/wine-1.9.7' * S: '/var/tmp/portage/app-emulation/wine-1.9.7/work/wine-1.9.7' emerge --info wine Portage 2.2.26 (python 2.7.10-final-0, hardened/linux/amd64, gcc-4.9.3, glibc-2.22-r4, 4.4.2-hardened x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.4.2-hardened-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2 KiB Mem: 20537296 total, 15936436 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 09 Apr 2016 06:26:49 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 0 mylocal location: /usr/local/portage masters: gentoo priority: 1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/mnt/sdb1/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aacs acl acpi alsa amd64 amr berkdb bluetooth bluray btrfs bzip2 cdda cddb cec chipcard clamav cli consolekit cracklib crypt cryptsetup css cups cxx dbus declarative device-mapper djvu dmraid dri dts dvb dvd ebook encode epub exif ext4 f2fs faac fat ffmpeg flac fuse gdbm geoip gif gimp google gpg gphoto2 gpm hardened hbci http2 iconv id3tag infinality ipv6 jfs joystick jpeg justify kipi ladspa lame lcms libsamplerate lirc lm_sensors lvm lz4 lzma mad matroska mdadm mjpeg mmx mmxext mng mobi modemmanager modules mp3 mpeg mtp multilib mysql ncurses networkmanager nfs nls nptl ntfs nvenc ogg opencl opengl openmp opus pam pax_kernel pcre pdf phonon pie plymouth pm-utils png policykit postscript ppp pvr qml qt3support qt5 rar raw rdesktop rdp readline reiser4 reiserfs s3tc samba scanner seccomp semantic-desktop session sftp smartcard smp sndfile sox squashfs sse sse2 ssl ssp svg tcpd tiff truetype twolame udev unicode upnp urandom usb v4l vaapi vcd vdpau vnc vorbis vpx webp widgets wifi wps x264 x265 xattr xcb xcomposite xfs xinerama xscreensaver xtpax xv xvid xvmc zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard joystick mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel virtualbox fbdev vesa nouveau nvidia" 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" USE_PYTHON="2.7" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-emulation/wine-1.9.5::gentoo was built with the following: USE="X alsa cups fontconfig gecko gphoto2 jpeg lcms mono mp3 ncurses nls opencl opengl perl png realtime run-exes s3tc samba scanner ssl staging threads truetype udisks v4l vaapi xcomposite xinerama xml -capi -custom-cflags -dos -gsm -gstreamer -ldap -netapi -odbc -openal -osmesa -oss -pcap -pipelight (-prelink) -pulseaudio (-selinux) -test" ABI_X86="32 64 -x32" LINGUAS="de en -ar -bg -ca -cs -da -el -en_US -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW"
Same error occurs also with the new version 1.9.6.
The ${SUFFIX} is empty and die is triggered by the failing ! -z test. Grouping die with the sed operation it is guarding seems to do the trick: --- a/wine-1.9.7.ebuild +++ b/wine-1.9.7.ebuild @@ -267,4 +267,4 @@ src_prepare() { # To differentiate unofficial staging releases [[ ! -z ${SUFFIX} ]] && \ - sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die + ( sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die ) fi Simply inverting the test should also work: --- a/wine-1.9.7.ebuild +++ b/wine-1.9.7.ebuild @@ -267,3 +267,3 @@ src_prepare() { # To differentiate unofficial staging releases - [[ ! -z ${SUFFIX} ]] && \ + [[ -z ${SUFFIX} ]] || \ sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die
Sorry about that, should be fixed in a971a53c94485d66d0e0345e34a298099ab9ec36