* Package: games-emulation/libretro-nestopia-0.0.1_pre20180723 * Repository: gentoo * Maintainer: candrews@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking libretro-nestopia-0.0.1_pre20180723.tar.gz to /var/tmp/portage/games-emulation/libretro-nestopia-0.0.1_pre20180723/work >>> Source unpacked in /var/tmp/portage/games-emulation/libretro-nestopia-0.0.1_pre20180723/work >>> Preparing source in /var/tmp/portage/games-emulation/libretro-nestopia-0.0.1_pre20180723/work/nestopia-9c335527c5dfa11dfa29bc22ee4ba6efa23c8890/libretro ... sed: -e expression #2, char 86: unknown option to `s' * ERROR: games-emulation/libretro-nestopia-0.0.1_pre20180723::gentoo failed (prepare phase): * Failed to use custom cflags in /var/tmp/portage/games-emulation/libretro-nestopia-0.0.1_pre20180723/work/nestopia-9c335527c5dfa11dfa29bc22ee4ba6efa23c8890/libretro/Makefile * * Call stack: * ebuild.sh, line 125: Called src_prepare * environment, line 1566: Called libretro-core_src_prepare * environment, line 1205: Called die * The specific snippet of code: * sed -e 's/ $//g' -e "/flags.*=/s:-O[[:digit:]]:${CFLAGS}:g" -e "/CFLAGS.*=/s:-O[[:digit:]]:${CFLAGS}:g" -e "/CXXFLAGS.*=/s:-O[[:digit:]]:${CXXFLAGS}:g" -e "/.*,--version-script=.*/s:$: ${LDFLAGS} ${LIBS}:g" -e "/\$(CC)/s:\(\$(SHARED)\):\1 ${LDFLAGS} ${LIBS}:" -e 's:\(\$(CC)\):\1 \$(CFLAGS):g' -e "s/GIT_VERSION\s.=.*$/GIT_VERSION=${custom_libretro_commit_sha}/g" -i "${makefile}" || die "Failed to use custom cflags in ${makefile}"; * * If you need support, post the output of `emerge --info '=games-emulation/libretro-nestopia-0.0.1_pre20180723::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-emulation/libretro-nestopia-0.0.1_pre20180723::gentoo'`. * The complete build log is located at '/var/log/portage/games-emulation:libretro-nestopia-0.0.1_pre20180723:20200227-135546.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/libretro-nestopia-0.0.1_pre20180723/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/libretro-nestopia-0.0.1_pre20180723/temp/environment'. * Working directory: '/var/tmp/portage/games-emulation/libretro-nestopia-0.0.1_pre20180723/work/nestopia-9c335527c5dfa11dfa29bc22ee4ba6efa23c8890/libretro' * S: '/var/tmp/portage/games-emulation/libretro-nestopia-0.0.1_pre20180723/work/nestopia-9c335527c5dfa11dfa29bc22ee4ba6efa23c8890/libretro'