Created attachment 491322 [details] build.log I am trying to emerge tclx on cygwin. This pulls in tcl, which fails installing due to missing tclConfig.sh Below are build.log, emerge --info and emerge -pqv Relevant error msg: sed: can't read /prefix/var/tmp/portage/dev-lang/tcl-8.6.7/image/prefix//usr/lib/tclConfig.sh: No such file or directory Indeed: dcolle@yoga ~ $ find /prefix -name tclConfig.sh /prefix/var/tmp/portage/dev-lang/tcl-8.6.7/work/tcl8.6.7/unix/tclConfig.sh dcolle@yoga ~ $ tail -n 40 /prefix/var/tmp/portage/dev-lang/tcl-8.6.7/temp/build.log checking for timezone data... /usr/share/zoneinfo checking whether to enable DTrace support... no checking whether the cpuid instruction is usable... yes configure: creating ./config.status config.status: creating Makefile config.status: creating dltest/Makefile config.status: creating tclConfig.sh config.status: creating tcl.pc >>> Source configured. >>> Compiling source in /prefix/var/tmp/portage/dev-lang/tcl-8.6.7/work/tcl8.6.7/unix ... * .amd64: running multilib-minimal_abi_src_compile >>> Source compiled. >>> Test phase [not enabled]: dev-lang/tcl-8.6.7 >>> Install tcl-8.6.7 into /prefix/var/tmp/portage/dev-lang/tcl-8.6.7/image/ category dev-lang * .amd64: running multilib-minimal_abi_src_install sed: can't read /prefix/var/tmp/portage/dev-lang/tcl-8.6.7/image/prefix//usr/lib/tclConfig.sh: No such file or directory * ERROR: dev-lang/tcl-8.6.7::gentoo_prefix failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 115: Called __call-ebuildshell 'src_install' * ebuild.sh, line 529: Called src_install * environment, line 3815: Called multilib-minimal_src_install * environment, line 2945: Called multilib_foreach_abi 'multilib-minimal_abi_src_install' * environment, line 3139: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 2832: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 2830: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install' * environment, line 544: Called multilib-minimal_abi_src_install * environment, line 2935: Called multilib_src_install * environment, line 3361: Called die * The specific snippet of code: * sed -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" -e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die; * * If you need support, post the output of `emerge --info '=dev-lang/tcl-8.6.7::gentoo_prefix'`, * the complete build log and the output of `emerge -pqv '=dev-lang/tcl-8.6.7::gentoo_prefix'`. * The complete build log is located at '/prefix/var/tmp/portage/dev-lang/tcl-8.6.7/temp/build.log'. * The ebuild environment file is located at '/prefix/var/tmp/portage/dev-lang/tcl-8.6.7/temp/environment'. * Working directory: '/prefix/var/tmp/portage/dev-lang/tcl-8.6.7/work/tcl8.6.7/unix-.amd64' * S: '/prefix/var/tmp/portage/dev-lang/tcl-8.6.7/work/tcl8.6.7/unix' dcolle@yoga ~ $ emerge --info =dev-lang/tcl-8.6.7 Portage 2.3.8-prefix (python 2.7.12-final-0, prefix/windows/cygwin/x64, gcc-5.3.0, unavailable, 2.8.2-gentoo-r0 x86_64) ================================================================= System Settings ================================================================= System uname: CYGWIN_NT-6.3-2.8.2-gentoo-r0-x86_64-64bit Timestamp of repository gentoo_prefix: Fri, 01 Sep 2017 11:57:57 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.27 p1.0) 2.27 app-shells/bash: 4.3_p48-r1::gentoo_prefix dev-lang/perl: 5.24.2::gentoo_prefix dev-lang/python: 2.7.12::gentoo_prefix dev-util/pkgconfig: 0.29.1::gentoo_prefix sys-devel/autoconf: 2.69-r4::gentoo_prefix sys-devel/automake: 1.15.1-r1::gentoo_prefix sys-devel/binutils: 2.27::gentoo_prefix sys-devel/gcc: 5.3.0::gentoo_prefix sys-devel/gcc-config: 1.8-r01.1::gentoo_prefix sys-devel/libtool: 2.4.6-r4::gentoo_prefix sys-devel/make: 4.2.1-r1::gentoo_prefix Repositories: gentoo_prefix location: /prefix/usr/portage sync-type: rsync sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix priority: -1000 ACCEPT_KEYWORDS="~x64-cygwin" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-cygwin" CFLAGS=" -O2 -pipe" CHOST="x86_64-pc-cygwin" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/terminfo" CXXFLAGS=" -O2 -pipe" DISTDIR="/prefix/usr/portage/distfiles" FCFLAGS="" FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync multilib-strict news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/prefix/usr/portage/packages" PORTAGE_CONFIGROOT="/prefix/" 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 --exclude=/.git" PORTAGE_TMPDIR="/prefix/var/tmp" USE="cracklib cxx modules ncurses nls prefix prefix-guest readline ssl unicode x64-cygwin zlib" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Cygwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Winnt" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby22 ruby24" USERLAND="GNU" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS dcolle@yoga ~ $ emerge -pqv =dev-lang/tcl-8.6.7 [ebuild N ] dev-lang/tcl-8.6.7 USE="threads -debug" btw: any reason why emerging tclx would not work anyway on cygwin/prefix? In cygwin itself there is a tcl nut no tclx package; tclx provides extensions that include functions such as select and signal, which I assume are pretty low level/linked to the os...
sorry, this would have to be revisited using latest packages