Created attachment 491324 [details] build.log I am trying to emerge espeak on cygwin/prefix. This pulls in media-sound/gsm-1.0.13-r1, which fails installing due to missing libgsm*.dll.a* Indeed: dcolle@yoga ~ $ find /prefix -name "libgsm*" /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix/usr/lib/libgsm.a /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/work/gsm-1.0-pl13-.amd64/lib/libgsm.a /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/work/gsm-1.0-pl13-.amd64/lib/libgsm.so /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/work/gsm-1.0-pl13-.amd64/lib/libgsm.so.1 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/work/gsm-1.0-pl13-.amd64/lib/libgsm.so.1.0.13 The relevant line in the ebuild: dcolle@yoga ~ $ grep dolib /prefix/usr/portage/media-sound/gsm/gsm-1.0.13-r1.ebuild dolib lib/libgsm*$(get_libname)* build.log (see also attachment), emerge --info and emerge -pqv: dcolle@yoga ~ $ tail -n 40 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/temp/build.log rm /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/include/gsm/gsm.h rm: cannot remove '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/include/gsm/gsm.h': No such file or directory make[1]: [Makefile:420: /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/include/gsm/gsm.h] Error 1 (ignored) cp inc/gsm.h /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/include/gsm/gsm.h chmod 444 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/include/gsm/gsm.h rm /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm.3 rm: cannot remove '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm.3': No such file or directory make[1]: [Makefile:400: /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm.3] Error 1 (ignored) cp man/gsm.3 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm.3 chmod 444 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm.3 rm /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_explode.3 rm: cannot remove '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_explode.3': No such file or directory make[1]: [Makefile:410: /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_explode.3] Error 1 (ignored) cp man/gsm_explode.3 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_explode.3 chmod 444 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_explode.3 rm /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_option.3 rm: cannot remove '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_option.3': No such file or directory make[1]: [Makefile:405: /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_option.3] Error 1 (ignored) cp man/gsm_option.3 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_option.3 chmod 444 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_option.3 rm /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_print.3 rm: cannot remove '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_print.3': No such file or directory make[1]: [Makefile:415: /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_print.3] Error 1 (ignored) cp man/gsm_print.3 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_print.3 chmod 444 /prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/image/prefix//usr/share/man/man3/gsm_print.3 make[1]: Leaving directory '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/work/gsm-1.0-pl13-.amd64' install: Done. !!! dolib: lib/libgsm*.dll.a* does not exist * ERROR: media-sound/gsm-1.0.13-r1::gentoo_prefix failed (install phase): * dolib failed * * If you need support, post the output of `emerge --info '=media-sound/gsm-1.0.13-r1::gentoo_prefix'`, * the complete build log and the output of `emerge -pqv '=media-sound/gsm-1.0.13-r1::gentoo_prefix'`. * The complete build log is located at '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/temp/build.log'. * The ebuild environment file is located at '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/temp/environment'. * Working directory: '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/work/gsm-1.0-pl13-.amd64' * S: '/prefix/var/tmp/portage/media-sound/gsm-1.0.13-r1/work/gsm-1.0-pl13' * QA Notice: file does not exist: * * dolib: lib/libgsm*.dll.a* does not exist dcolle@yoga ~ $ emerge --info =media-sound/gsm-1.0.13-r1 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 =media-sound/gsm-1.0.13-r1 [ebuild N ] media-sound/gsm-1.0.13-r1
Your ebuild appears to come from an overlay. I have fixed the paths in the main ebuild but this doesn't have the "dolib lib/libgsm*$(get_libname)*" line so it would still fail on Cygwin. I'd want someone to test that before I commit it.