Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881169 - x11-libs/pixman-0.42.2: configure error due to neon
Summary: x11-libs/pixman-0.42.2: configure error due to neon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-13 08:15 UTC by LABBE Corentin
Modified: 2022-11-29 16:53 UTC (History)
2 users (show)

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


Attachments
failing build.log (build.log,4.47 KB, text/x-log)
2022-11-13 13:34 UTC, David Flogeras
Details
failing meson-log.txt (meson-log.txt,12.18 KB, text/plain)
2022-11-13 13:34 UTC, David Flogeras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LABBE Corentin 2022-11-13 08:15:23 UTC
On a tegra tk1, upgrading pixman lead to
[ebuild     U  ] x11-libs/pixman-0.42.2::gentoo [0.40.0::gentoo] USE="(-loongson2f) -static-libs -test" CPU_FLAGS_ARM="neon -iwmmxt -iwmmxt2" 0 KiB
>>> Emerging (1 of 1) x11-libs/pixman-0.42.2::gentoo
 * pixman-0.42.2.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking pixman-0.42.2.tar.xz to /var/tmp/portage/x11-libs/pixman-0.42.2/work
>>> Source unpacked in /var/tmp/portage/x11-libs/pixman-0.42.2/work
>>> Preparing source in /var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2 ...
 * .arm: running multilib-minimal_abi_src_configure
meson setup --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/x11-libs/pixman-0.42.2/temp/meson.armv7a-unknown-linux-gnueabihf.arm.ini -Db_pch=false -Dwerror=false --buildtype plain -Diwmmxt=disabled -Diwmmxt2=false -Dmmx=disabled -Dsse2=disabled -Dssse3=disabled -Dvmx=disabled -Dneon=enabled -Da64-neon=enabled -Dloongson-mmi=disabled -Dopenmp=disabled -Dtests=disabled -Ddefault_library=shared -Dgtk=disabled -Dlibpng=disabled /var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2 /var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2-.arm
The Meson build system
Version: 0.63.2
Source dir: /var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2
Build dir: /var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2-.arm
Build type: native build
Project name: pixman
Project version: 0.42.2
C compiler for the host machine: armv7a-unknown-linux-gnueabihf-gcc (gcc 11.3.0 "armv7a-unknown-linux-gnueabihf-gcc (Gentoo 11.3.0 p5) 11.3.0")
C linker for the host machine: armv7a-unknown-linux-gnueabihf-gcc ld.bfd 2.38
Host machine cpu family: arm
Host machine cpu: armv7l
Compiler for C supports arguments -Wdeclaration-after-statement: YES 
Compiler for C supports arguments -fno-strict-aliasing: YES 
Compiler for C supports arguments -fvisibility=hidden: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -ftrapping-math: YES 
Compiler for C supports arguments -Wunused-local-typedefs: YES 
Checking if "ARMv6 SIMD Intrinsic Support" compiles: YES 
Checking if "NEON Intrinsic Support" compiles: YES 

../pixman-0.42.2/meson.build:297:2: ERROR: Problem encountered: A64 NEON Support unavailable, but required

A full log can be found at /var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2-.arm/meson-logs/meson-log.txt
 * ERROR: x11-libs/pixman-0.42.2::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  122:  Called src_configure
 *   environment, line 3330:  Called meson-multilib_src_configure
 *   environment, line 2121:  Called multilib-minimal_src_configure
 *   environment, line 2331:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2581:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2286:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2284:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  585:  Called multilib-minimal_abi_src_configure
 *   environment, line 2325:  Called multilib_src_configure
 *   environment, line 2809:  Called meson_src_configure
 *   environment, line 2224:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/pixman-0.42.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/pixman-0.42.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/pixman-0.42.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/pixman-0.42.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2-.arm'
 * S: '/var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2'

>>> Failed to emerge x11-libs/pixman-0.42.2, Log file:

The cpu support neon:
grep neon /proc/cpuinfo 
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 


Reproducible: Always




Portage 3.0.38.1 (python 3.9.15-final-0, default/linux/arm/17.0/armv7a, gcc-11.3.0, glibc-2.35-r8, 6.0.2-00002-g36a5695b2d35 armv7l)
=================================================================
System uname: Linux-6.0.2-00002-g36a5695b2d35-armv7l-ARMv7_Processor_rev_3_-v7l-with-glibc2.35
KiB Mem:     2050036 total,    676096 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 13 Nov 2022 03:30:01 +0000
Head commit of repository gentoo: cc9f95a3757e0659392e5c292bbf99f3df1a2065
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
distcc 3.4 armv7a-unknown-linux-gnueabihf [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           3.9.15_p2::gentoo, 3.10.8_p2::gentoo, 3.11.0_p1::gentoo
dev-lang/rust-bin:         1.64.0-r1::gentoo
dev-util/cmake:            3.24.2::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             10.3.0-r2::gentoo, 11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

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

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE intel-ucode linux-fw-redistributable no-source-code"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a"
DISTDIR="/usr/portage/distfiles"
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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/var/tmp"
SHELL="/bin/bash"
USE="arm bzip2 caps cli crypt dri iconv ipv6 libglvnd ncurses neon nptl pam pcre readline seccomp split-usr ssl test-rust unicode verify-sig xattr zlib" ADA_TARGET="gnat_2020" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias proxy proxy_http proxy_wstunnel" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="cpu cpufreq df disk hddtemp interface iptables irq load memory network ntpd processes sensors syslog uptime users" CPU_FLAGS_ARM="neon vfpv3 vfpv4 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" 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="aarch64 arm x86_64" RUBY_TARGETS="ruby27" 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 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 David Flogeras 2022-11-13 11:54:00 UTC
Same outcome for me within 32bit arm qemu-chroot.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-13 12:09:41 UTC
Please include:
1. the full build.log (it contains additional information);
2. /var/tmp/portage/x11-libs/pixman-0.42.2/work/pixman-0.42.2-.arm/meson-logs/meson-log.txt
Comment 3 David Flogeras 2022-11-13 13:34:24 UTC
Created attachment 832223 [details]
failing build.log
Comment 4 David Flogeras 2022-11-13 13:34:50 UTC
Created attachment 832225 [details]
failing meson-log.txt
Comment 5 Matt Turner gentoo-dev 2022-11-13 15:03:24 UTC
Ah, I need to control the two separate neon options with arm vs arm64 in mind.
Comment 6 tt_1 2022-11-15 13:16:31 UTC
can confirm with armv7a
Comment 7 Larry the Git Cow gentoo-dev 2022-11-29 16:53:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4cf1f51a0421a5e56c0d010bb86a5b057d67c11

commit d4cf1f51a0421a5e56c0d010bb86a5b057d67c11
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-11-29 16:44:20 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-11-29 16:52:36 +0000

    x11-libs/pixman: Fix enabling neon on arm/arm64
    
    Closes: https://bugs.gentoo.org/881169
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-libs/pixman/pixman-0.42.2.ebuild | 9 +++++++--
 x11-libs/pixman/pixman-9999.ebuild   | 9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)