Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771171 - dev-util/strace-5.10: fails to build on HPPA (xlat/open_mode_flags.h:158:1: error: static assertion failed: "O_NONBLOCK != 0200004")
Summary: dev-util/strace-5.10: fails to build on HPPA (xlat/open_mode_flags.h:158:1: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-17 21:46 UTC by Sam James
Modified: 2021-04-21 13:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_771171.txt,146.43 KB, text/plain)
2021-02-17 21:46 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-17 21:46:54 UTC
Created attachment 687357 [details]
build.log

In file included from static_assert.h:11,
                 from print_fields.h:12,
                 from open.c:21:
xlat/open_mode_flags.h:158:1: error: static assertion failed: "O_NONBLOCK != 0200004"
  158 | static_assert((O_NONBLOCK) == (0200004), "O_NONBLOCK != 0200004");
      | ^~~~~~~~~~~~~
make[2]: *** [Makefile:6043: libstrace_a-open.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/usr/local/tmp/portage/dev-util/strace-5.10/work/strace-5.10'
make[1]: *** [Makefile:8076: all-recursive] Error 1
make[1]: Leaving directory '/usr/local/tmp/portage/dev-util/strace-5.10/work/strace-5.10'
make: *** [Makefile:2555: all] Error 2
rm ioctlsort0 ioctlsort0.o ioctls_all0.h

---
Portage 3.0.14 (python 3.8.7-final-0, default/linux/hppa/17.0, gcc-10.2.0, glibc-2.32-r7, 5.4.28-gentoo parisc)
=================================================================
System uname: Linux-5.4.28-gentoo-parisc-PA8600_-PCX-W+-with-glibc2.2
KiB Mem:     3109140 total,    521200 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 08 Feb 2021 07:45:01 +0000
Head commit of repository gentoo: 70c713a0bcc9302c5a9a919a6c4a5a2699e26942
sh bash 5.1_p4
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
ccache version 3.7.12 [enabled]
app-shells/bash:          5.1_p4::gentoo
dev-lang/perl:            5.32.0-r1::gentoo
dev-lang/python:          3.6.12::gentoo, 3.7.9-r1::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/ccache:          3.7.12::gentoo
dev-util/cmake:           3.19.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1-r1::gentoo, 2.34-r2::gentoo, 2.35.1-r1::gentoo
sys-devel/gcc:            8.3.0-r3::gentoo, 9.2.0-r4::gentoo, 9.3.0::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync2.ca.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="hppa ~hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-march=2.0 -O2 -pipe -mschedule=8000"
CHOST="hppa2.0-unknown-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="-march=2.0 -O2 -pipe -mschedule=8000"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --keep-going"
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=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildsyspkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
GENTOO_MIRRORS="https://gentoo.osuosl.org"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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="/usr/local/tmp"
USE="acl berkdb big-endian bzip2 cli crypt cups cxx firefox foomaticdb fortran gdbm hppa iconv idn imlib ipv6 libglvnd libwww multislot ncurses nls nptl openmp openntpd pcre readline seccomp snmp spell split-usr ssl tcpd unicode xattr xmss zlib" ADA_TARGET="gnat_2018" 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" 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" INPUT_DEVICES="libinput" 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_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="fbdev 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-17 21:49:55 UTC
Ah, fixed upstream: https://github.com/strace/strace/commit/9286732e7a905a487482aa373b93acaac0ad5bed.

This is in 5.11, so a bump will resolve the issue.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-04-21 13:17:21 UTC
commit 49d5b3bd477ba3f38babf58d1b5a98827a573856
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Thu Feb 18 10:12:37 2021

    dev-util/strace: Bump to version 5.11

    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 dev-util/strace/Manifest                       |   1 +
 dev-util/strace/files/strace-5.11-static.patch | 178 +++++++++++++++++++++++++
 dev-util/strace/strace-5.11.ebuild             | 105 +++++++++++++++
 3 files changed, 284 insertions(+)