dev-libs/cyrus-sasl contains in src_prepare append-cppflags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED which in turns gives us a bunch of warning during compile phase: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/sasldb -I.. -I/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/include -I../include -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -pipe -march=native -fno-strict-aliasing -c -o allockey.o /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/sasldb/allockey.c In file included from /usr/include/sys/types.h:25:0, from ../config.h:502, from /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/sasldb/db_gdbm.c:46: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ after replacing to -D_DEFAULT_SOURCES all of that vanishes. Reproducible: Always
Same failure for me.
(In reply to Gary E. Miller from comment #1) > Same failure for me. Surely it’s not actually a failure? This is a warning. Please share the logs and build.log.
Yes, it is a hard failure. I'll post logs in a bit.
``` dilbert ~ # emerge -pqv '=app-arch/brotli-1.0.9-r3::gentoo' [ebuild U ] app-arch/brotli-1.0.9-r3 [1.0.9-r2] USE="python -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 python3_8 python3_9" dilbert ~ # emerge --info '=app-arch/brotli-1.0.9-r3::gentoo' Portage 3.0.18 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop, gcc-11.1.0, glibc-2.33, 5.12.1-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.12.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-glibc2.33 KiB Mem: 32727716 total, 19473840 free KiB Swap: 32767996 total, 32767996 free Timestamp of repository gentoo: Sat, 08 May 2021 18:45:01 +0000 Head commit of repository gentoo: 183aaa2dc9100c576b4dc7d158a3c91f362279c8 Head commit of repository brother-overlay: bd7f27e3399297ff80dfa64ed57cf1054792b573 Head commit of repository matrix: 1f48686bfd3788987df8abb9c60122ca2fe6c2b0 sh bash 5.1_p8 ld GNU ld (Gentoo 2.36.1 p3) 2.36.1 app-shells/bash: 5.1_p8::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 2.7.18_p9::gentoo, 3.7.10_p3::gentoo, 3.8.10::gentoo, 3.9.5::gentoo, 3.10.0_beta1::gentoo dev-lang/rust: 1.52.0::gentoo dev-util/cmake: 3.20.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r2::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo, 2.71::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.36.1-r1::gentoo sys-devel/gcc: 11.1.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.33::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: no sync-rsync-verify-max-age: 24 brother-overlay location: /var/lib/layman/brother-overlay sync-type: git sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git masters: gentoo priority: 50 matrix location: /var/lib/layman/matrix sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/proj/matrix.git masters: gentoo priority: 50 vifino-overlay location: /var/lib/layman/vifino-overlay sync-type: laymansync sync-uri: https://github.com/vifino/vifino-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fcommon" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -pipe -march=native -fcommon" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=5" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -fcommon" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -fcommon" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.cs.utah.edu/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/var/cache/binpkgs" 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="X a52 aac acl acpi adns alsa alsa-plugin amd64 appindicator berkdb bluetooth bluray branding bs2b bzip2 cairo calf cdda cdr chromecast cli corefonts cpudetection cron crypt cups curl dav1d dbus dri dri3 drm dts dv dvb dvd dvdr elogind emboss encode equalizer exif faac faad fdk ffmpeg ffmpegthumbnailer fingerprint flac fontconfig fontforge fortran gbm gdal gdbm gif gimp gles2 glib gpg gpm gstreamer gtk gtk3 gui hddtemp http2 iconv icu introspection ipp_autosetup ipv6 jpeg keybinder ladspa lastfm lcms libglvnd libmpeg2 libmpv libnotify libtirpc lm_sensors lto lv2 lz4 lzo mad matroska md5sum mda-lv2 mng mp3 mp4 mpeg multilib ncurses nfs nfsv41 nls nptl nvenc offensive ogg openal opengl openmp opus pam pango pcap pcre pdf pgo png policykit postproc ppds projectm pulseaudio pvr python qml qt5 readline realtime rtc rtmp rubberband screencast sctp sdl seccomp sftp sna snmp sox spandsp spell split-usr sqlite ssl startup-notification svg tcpd theora threads tiff tools truetype twolame udev udisks unicode update_drivedb upnp upower usb uxa v4l vaapi vdpau vdr vim vim-syntax vorbis vpx wg-quick wxwidgets x264 x265 xa xattr xcb xinerama xml xrandr xv xvid zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="roccat_savu libinput joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_6 python3_7 python3_8 python3_9" RUBY_TARGETS="ruby25 ruby26 ruby27" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia iris nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS ```
I get "Internal Server Error" when trying to upload the build.log
Please ignore comment 4. That is for a different bug and I can't see how to delete that bad comment.
(In reply to Gary E. Miller from comment #5) > I get "Internal Server Error" when trying to upload the build.log If it’s not too big, make sure it’s owned by your user.
Yes, owned by me, but for a different bug, so never mind...
Is there actually a hard failure happening then? It's really unlikely to be this exact bug.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c0a339bcfb4a95e53e81e8c5d4944a770b41a5 commit 83c0a339bcfb4a95e53e81e8c5d4944a770b41a5 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-09 06:38:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-09 06:38:37 +0000 dev-libs/cyrus-sasl: fix deprecated _BSD_SOURCE warning Closes: https://bugs.gentoo.org/579218 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)