Summary: | sys-cluster/glusterfs-10.2-r2: fails to compile: glusterfs/dict.h:332:2: error: #error "unknown word size" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | cluster, jaco, jpds, proxy-maint, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gluster/glusterfs/issues/3942 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Toralf Förster
2022-03-14 14:14:31 UTC
17-0-musl-j4-20220306-010006 /etc/portage/patches # emerge --info --verbose=n Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.0/musl, gcc-11.2.1, musl-1.2.2-r8, 5.16.14 x86_64) ================================================================= System uname: Linux-5.16.14-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-libc KiB Mem: 131900776 total, 3079892 free KiB Swap: 268435448 total, 267555320 free Timestamp of repository gentoo: Sat, 12 Mar 2022 07:45:05 +0000 Head commit of repository gentoo: 93ee537f9c183bd56ebd11d5854f6dc2ca4dd230 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r8::gentoo dev-lang/python: 2.7.18_p14::gentoo, 3.9.10_p1::gentoo, 3.10.2_p1::gentoo dev-lang/rust: 1.59.0::gentoo dev-util/cmake: 3.22.3::gentoo dev-util/meson: 0.61.2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 12.0.1::gentoo, 13.0.1::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/llvm: 12.0.1::gentoo, 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.16::gentoo (virtual/os-headers) sys-libs/libselinux: 3.3::gentoo sys-libs/musl: 1.2.2-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-gentoo-linux-musl" CFLAGS="-pipe -march=native -fno-diagnostics-color -O2" CHOST="x86_64-gentoo-linux-musl" CONFIG_PROTECT="//var/lib/redmine/config /etc /etc/grs/systems.conf /opt/zookeeper-bin/conf /usr/lib/tomoyo/conf /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf /usr/share/qpsmtpd/plugins /var/bind /var/lib/i2pd/certificates" CONFIG_PROTECT_MASK="//var/lib/redmine/config/locales //var/lib/redmine/config/settings.yml /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-pipe -march=native -fno-diagnostics-color -O2" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--deep --verbose --deep --verbose-conflicts --nospinner --quiet-build --tree --color=n --ask=n" 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="-pipe -march=native -fno-diagnostics-color -O2" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-pipe -march=native -fno-diagnostics-color -O2" GENTOO_MIRRORS="https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://mirror.netcologne.de/gentoo/ https://ftp.fau.de/gentoo http://ftp.halifax.rwth-aachen.de/gentoo/" INSTALL_MASK="charset.alias /usr/share/locale/locale.alias" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" 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" RUSTFLAGS=" -C target-feature=-crt-static" SHELL="/bin/bash" USE="acl amd64 ao bzip2 cli crypt dri fortran glut iconv ipv6 jumbo-build libglvnd libtirpc ncurses nis nls nptl odbc openmp pam pcre readline seccomp split-usr ssl unicode videos xattr zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="musl" 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" L10N="ar br ht mk sa" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="fbdev dummy" 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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS For my own notes, fix should probably be similar to: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-extended/ltp/ltp/0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch?h=pyro *** Bug 861437 has been marked as a duplicate of this bug. *** tinderbox_musl has reproduced this issue with version 10.2-r2 - Updating summary. Can this be retested with glusterfs 11.0 please? Upstream have a bunch of fixes in master for broken time_t handling, but in particular, https://github.com/gluster/glusterfs/commit/2b0661ce1483f60735f27a8bb4a782ad90a9a77d should fix this. It looks like that commit is on devel branch only, not on release-11 ... yet. I requested a back-port to release-11 (11.1 should be released in the comings months). |