Created attachment 657946 [details] build.log Portage 3.0.4 (python 3.7.8-final-0, default/linux/arm/17.0/armv7a, gcc-9.3.0, glibc-2.31-r6, 5.4.60 aarch64) ================================================================= System uname: Linux-5.4.60-aarch64-with-gentoo-2.7 KiB Mem: 131627508 total, 92320464 free KiB Swap: 16777212 total, 16777212 free Timestamp of repository gentoo: Wed, 02 Sep 2020 14:35:30 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo dev-util/cmake: 3.16.5::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r6::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="arm" ACCEPT_LICENSE="@FREE" CBUILD="armv7a-unknown-linux-gnueabihf" CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -frecord-gcc-switches" CHOST="armv7a-unknown-linux-gnueabihf" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -frecord-gcc-switches" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --complete-graph --usepkg=y --with-bdeps=y" 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=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 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="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" 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/portage/arm.NuTNx-b423" USE="acl arm berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr 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" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" 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" L10N="en en-US en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap 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, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
same failure for each: USE='-access-log caps cgi -client dbus -generic-sessions -http-proxy -http2 ipv6 -lejp libev -libevent libuv mbedtls -peer-limits server-status -smtp socks5 -sqlite3 ssl -static-libs -threads -zip' failed for =net-libs/libwebsockets-4.0.20 (this bug) USE='-access-log -caps cgi -client dbus generic-sessions -http-proxy -http2 -ipv6 lejp libev -libevent libuv -mbedtls peer-limits -server-status smtp socks5 sqlite3 ssl static-libs threads -zip' failed for =net-libs/libwebsockets-4.0.20 USE='-access-log -caps -cgi client dbus generic-sessions -http-proxy -http2 -ipv6 -lejp -libev -libevent libuv -mbedtls peer-limits server-status smtp -socks5 sqlite3 -ssl -static-libs -threads zip' failed for =net-libs/libwebsockets-4.0.20 USE='-access-log -caps cgi client dbus -generic-sessions http-proxy -http2 ipv6 -lejp libev -libevent -libuv -mbedtls peer-limits -server-status -smtp socks5 -sqlite3 ssl -static-libs -threads zip' failed for =net-libs/libwebsockets-4.0.20 (which is good!)
Okay, this is dbus related. I tested with USE=dbus on my PC and in x86_64 container and I don't encounter issues. Could you maybe check where is dbus-arch-deps.h located? On x86_64 it is in /usr/lib64/dbus-1.0/include/dbus, which is where CMake tries to find it, so I presume it is located in different directory on arm.
(In reply to Jakov Smolic from comment #2) > Okay, this is dbus related. > I tested with USE=dbus on my PC and in x86_64 container and I don't > encounter issues. Could you maybe check where is dbus-arch-deps.h located? > On x86_64 it is in /usr/lib64/dbus-1.0/include/dbus, which is where CMake > tries to find it, so I presume it is located in different directory on arm. Hmm. /usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h.
(In reply to Sam James from comment #3) > (In reply to Jakov Smolic from comment #2) > > Okay, this is dbus related. > > I tested with USE=dbus on my PC and in x86_64 container and I don't > > encounter issues. Could you maybe check where is dbus-arch-deps.h located? > > On x86_64 it is in /usr/lib64/dbus-1.0/include/dbus, which is where CMake > > tries to find it, so I presume it is located in different directory on arm. > > Hmm. /usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h. I'm not 100% sure, but it could be that CMake is only looking in /usr/lib64, not in /usr/lib (if LWS_DBUS_INCLUDE2 is not specified),at least that is what appears to me from the code added in 2018 [1]. I can't find the logic in the code now though. I will check with the upstream about this now. [1] https://github.com/warmcat/libwebsockets/commit/31dfc4aa12e1a733346d992c6b1173153173aedf#diff-af3b638bc2a3e6c650974192a53c7291R710
I can't add to See Also as I don't have editbugs, but the issue is reported at https://github.com/warmcat/libwebsockets/issues/2035
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc125b4004b189c1b09e45e1d9b803d574718c23 commit dc125b4004b189c1b09e45e1d9b803d574718c23 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2020-09-02 20:10:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-09-13 21:17:17 +0000 net-libs/libwebsockets: set LWS_DBUS_INCLUDE2 CMake only looks for dbus-arch-deps.h at /usr/lib64, so we have to manually set LWS_DBUS_INCLUDE2 for 32-bit systems where it is located at /usr/lib Closes: https://bugs.gentoo.org/740090 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/17389 Signed-off-by: Sam James <sam@gentoo.org> net-libs/libwebsockets/libwebsockets-4.0.20.ebuild | 2 ++ 1 file changed, 2 insertions(+)