Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 633894

Summary: app-arch/snappy-1.1.7 build fails - snappy-test.h:55:21: fatal error: windows.h: No such file or directory
Product: Gentoo Linux Reporter: Enne Eziarc <gentoo+bugs>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Enne Eziarc 2017-10-09 22:34:00 UTC
Created attachment 498274 [details]
build log

I have 1.1.3-r1 installed, 1.1.6 failed the same way too.

The generated config.h seems to think I have a windows.h, but looking at the CMakeLists.txt I have no idea why. No problems on my amd64 machine, maybe the authors didn't bother to try it on 32-bit?


# emerge -pqv '=app-arch/snappy-1.1.7::gentoo'
[ebuild  r  U ] app-arch/snappy-1.1.7 [1.1.3-r1] USE="(-static-libs) {-test%}"
[ebuild  rR   ] www-client/chromium-62.0.3202.18  USE="proprietary-codecs system-ffmpeg -component-build -cups -custom-cflags -gnome-keyring -hangouts -kerberos (-neon) -pic -pulseaudio (-selinux) -suid (-system-icu) (-system-libvpx) (-tcmalloc) (-widevine)" L10N="en-GB -am -ar -bg -bn -ca -cs -da -de -el -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW"

The following packages are causing rebuilds:

  (app-arch/snappy-1.1.7:0/1::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (www-client/chromium-62.0.3202.18:0/0::gentoo, ebuild scheduled for merge)


# emerge --info '=app-arch/snappy-1.1.7::gentoo'
Portage 2.3.10 (python 3.4.6-final-0, default/linux/x86/13.0, gcc-6.4.0, glibc-2.25-r5, 4.12.7-zen+local+ i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.7-zen+local+-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.4.1
KiB Mem:     2062600 total,   1755308 free
KiB Swap:    2806776 total,   2806776 free
Timestamp of repository gentoo: Mon, 09 Oct 2017 00:45:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p1.0) 2.29.1
distcc 3.2rc1 i686-pc-linux-gnu [enabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.6::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.31.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r5::gentoo
Repositories:

gentoo
    location: /mnt/nfs/repositories/gentoo
    priority: -1000

flussence
    location: /mnt/nfs/repositories/flussence
    masters: gentoo

libressl
    location: /mnt/nfs/repositories/libressl
    masters: gentoo

Installed sets: @boot, @dev-tools, @local-fonts, @local-script-deps, @media-players, @moarvm-deps, @openbox-desktop, @plumbing, @portage-tools, @system-tools, @vim-meta, @wifi-client, @x11-plumbing
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA vlgothic wxWinFDL-3 Texinfo-manual man-pages-posix myspell-en_CA-KevinAtkinson man-pages-posix-2013 UbuntuFontLicense-1.0 LDP-1a MaxMind2 CC-SA-1.0 BitstreamVera CC-BY-SA-1.0 CC-PD LDP-1 man-pages mplus-fonts quake1-textures Unicode_Fonts_for_Ancient_Scripts FDL-1.1 CC-BY-4.0 GPL-2 GPL-3 CC-BY-3.0 FDL-1.3+ CC-BY-SA-2.0 FDL-1.3 Arphic GPL-2+ GPL-3+ CC-BY-SA-3.0 FDL-1.2 CC-BY-SA-4.0 CC-BY-SA-2.5 FDL-1.1+ FreeArt CC-BY-2.5 CC-BY-2.0 OFL-1.1 GPL-1+ IPAfont FDL-1.2+ OFL GPL-1 OPL QPL-1.0 Ms-PL EUPL-1.1 OSL-2.1 Zend-2.0 IBM
PHP-3.01 gnuplot CDDL CPAL-1.0 MPL-1.1 LPPL-1.2 GPL-2-with-font-exception AGPL-3 GPL-2-with-linking-exception Unlicense HPND LGPL-2 public-domain ECL-2.0 GPL-2-with-classpath-exception WTFPL-2 ZLIB Transmission-OpenSSL-exception GPL-2 GPL-2-with-MySQL-FLOSS-exception GPL-3 GPL-3+-with-opencl-exception GPL-3+-with-cuda-exception Boost-1.0 BSD-2 LGPL-3+ LGPL-2.1+ PYTHON Ruby unicode Clarified-Artistic GPL-3+-with-cuda-openssl-exception GPL-2+ MPL-2.0 CC0-1.0 GPL-3+ UoI-NCSA IJG PSF-2.4 GPL-3+-with-opencl-openssl-exception AGPL-3+ Sleepycat libstdc++ LGPL-3-with-linking-exception FTL GPL-2-with-exceptions Nokia-Qt-LGPL-Exception-1.1 W3C LGPL-2-with-linking-exception PSF-2.2 GPL-2+-with-openssl-exception GPL-3-with-openssl-exception Artistic-2 Clear-BSD MIT GPL-1+ LGPL-2.1-with-linking-exception UPX-exception ZPL CeCILL-2 vim PSF-2 metapackage PSF-2.3 Apache-2.0 LGPL-2+ GPL-3-with-font-exception LGPL-2.1 LGPL-3 GPL-1 OPENLDAP ISC qwt libgcc gcc-runtime-library-exception-3.1 Ruby-BSD BSD tanuki-community SGI-B-2.0 QPL Apache-1.0 APSL-2 OSL-2.0 Apache-1.1 CNRI EPL-1.0 NPL-1.1 CPL-1.0 MPL-1.0 OSL-1.1 AFL-2.1 AFL-3.0 openssl BSD-4 AGPL-3 APL-1.0 HPND ECL-2.0 Ms-PL NOSA EUPL-1.1 OSL-2.1 ZLIB GPL-2 GPL-3 Artistic IBM Boost-1.0 BSD-2 LGPL-3+ CDDL LGPL-2.1+ PHP-3.01 CPAL-1.0 GPL-2+ MPL-2.0 GPL-3+ MPL-1.1 UoI-NCSA wxWinLL-3 Watcom-1.0 QPL PHP-3 APSL-2 AGPL-3+ Sleepycat nethack W3C Apache-1.1 CNRI EPL-1.0 LPPL-1.3c Artistic-2 MIT OFL-1.1 GPL-1+ ZPL IPAfont CPL-1.0 MPL-1.0 POSTGRESQL PSF-2 Apache-2.0 LGPL-2+ LGPL-3 LGPL-2.1 AFL-3.0 ISC BSD Sendmail-Open-Source x2x Sendmail PCRE pngnq ZSH JNIC Old-MIT w3m icu CRACKLIB AMPAS URT TeX telegram Subversion perforce NCSA-HDF flexmock LPPL-1.3b FastCGI canfep inner-net htmlc PHP-2.02 psutils SMAIL XC CPL-0.5 Time-Format YaTeX mm libtiff Allegro libmng TeX-other-free libodialog FLTK qmail-nelson Openwall RSA netcat the-Click-license VTK JOVE MIT-with-advertising otter xvt gd pngcrush tablelist Emacs mpich2 FLEX Ispell minpack rdisc libpng DES SNIA ElementTree buddy matplotlib tcp_wrappers_license BSD-1 NEWLIB Crypt-IDEA torque-2.5 wxWinLL-3.1 HTML-Tidy File-MMagic ipx-utils repoze boehm-gc symlinks tm-align JDOM yuuji xboing CeCILL-C CMake Flashpix openafs-krb5-a Time-modules SVFL xbatt LambdaMOO JasPer2.0 BSD-with-attribution CAOSL alternate tcltk scanlogd ngrep Princeton freetts Xdebug bea.ri.jsr173 noweb ErlPL-1.1 SSLeay BEER-WARE imagemagick iASL CDDL-Schily ACE keynote freemarker Mini-XML dom4j rwpng BZIP2 UCAR-Unidata Info-ZIP xtrs FVWM bufexplorer.vim IDPL rc eGenixPublic-1.1 LPPL-1.3 docbook lsof LLGPL-2.1 LIBGLOSS Mail-Sendmail shrimp mapm-4.9.5 totd ipadic regexp-UofT Snd gsm photopc feh Toyoda LLVM-Grant"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -m8bit-idiv -mfpmath=sse     -march=bonnell -mtune=bonnell -msahf -mmovbe -mfxsr     --param l1-cache-size=24 --param l1-cache-line-size=64     --param l2-cache-size=512"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -m8bit-idiv -mfpmath=sse     -march=bonnell -mtune=bonnell -msahf -mmovbe -mfxsr     --param l1-cache-size=24 --param l1-cache-line-size=64     --param l2-cache-size=512"
DISTDIR="/mnt/nfs/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common,--hash-style=gnu,-z,combreloc,-z,relro"
MAKEOPTS="-j6 -l1.5"
PKGDIR="/var/cache/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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="bzip2 caps cli cracklib crypt cxx dri fortran iconv ipv6 libressl modules ncurses nls nptl openmp pcre readline seccomp session ssl unicode x86 xattr zlib" ABI_X86="32" 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" 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" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" 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="libinput keyboard mouse" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Enne Eziarc 2017-10-09 22:38:36 UTC
Sorry for the spam/false alarm... just tried it again with FEATURES="-distcc-pump" and that worked fine. I guess it was somehow seeing the windows.h from wine on a remote machine?