Доброго времени суток ЛОР.
Имеется chroot с arm gentoo-й для архитектуры процессора armv7a.
Проблема следующего характера при сборке вышеупомянутого пакета:
build.log
* Package: sys-libs/zlib-1.2.11-r2
* Repository: gentoo
* Maintainer: base-system@gentoo.org
* USE: arm elibc_glibc kernel_linux split-usr userland_GNU
* FEATURES: preserve-libs userpriv
>>> Unpacking source...
>>> Unpacking zlib-1.2.11.tar.gz to /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work
>>> Source unpacked in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work
>>> Preparing source in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11 ...
* Applying zlib-1.2.11-fix-deflateParams-usage.patch ... [ ok ]
* Applying zlib-1.2.11-minizip-drop-crypt-header.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11 ...
* .arm: running multilib-minimal_abi_src_configure
/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/configure --shared --prefix=/usr --libdir=/usr/lib --uname=linux
Using ar
Checking for armv7a-unknown-linux-gnueabihf-gcc...
Checking for shared library support...
No shared library support; try without defining CC and CFLAGS
Building static library libz.a version 1.2.11 with cc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11 ...
* .arm: running multilib-minimal_abi_src_compile
make -j5
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -I. -I/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/ -c -o example.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/test/example.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o adler32.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/adler32.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o crc32.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/crc32.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o deflate.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/deflate.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o infback.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/infback.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o inffast.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/inffast.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o inflate.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/inflate.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o inftrees.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/inftrees.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o trees.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/trees.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o zutil.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/zutil.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o compress.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/compress.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o uncompr.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/uncompr.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o gzclose.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/gzclose.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o gzlib.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/gzlib.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o gzread.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/gzread.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -include zconf.h -c -o gzwrite.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/gzwrite.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -I. -I/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/ -c -o minigzip.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/test/minigzip.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -I. -I/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/ -D_FILE_OFFSET_BITS=64 -c -o example64.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/test/example.c
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -I. -I/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/ -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/test/minigzip.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -o example example.o -L. libz.a
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -o minigzip minigzip.o -L. libz.a
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -o minigzip64 minigzip64.o -L. libz.a
cc -O2 -pipe -fomit-frame-pointer -D_LARGEFILE64_SOURCE=1 -o example64 example64.o -L. libz.a
>>> Source compiled.
>>> Test phase [not enabled]: sys-libs/zlib-1.2.11-r2
>>> Install sys-libs/zlib-1.2.11-r2 into /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image/
* .arm: running multilib-minimal_abi_src_install
make -j5 install DESTDIR=/var/tmp/portage/sys-libs/zlib-1.2.11-r2/image/ LDCONFIG=:
rm -f /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/lib/libz.a
cp libz.a /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/lib
chmod 644 /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/lib/libz.a
rm -f /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/share/man/man3/zlib.3
cp /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/zlib.3 /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/share/man/man3
chmod 644 /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/share/man/man3/zlib.3
rm -f /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/lib/pkgconfig/zlib.pc
cp zlib.pc /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/lib/pkgconfig
chmod 644 /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/lib/pkgconfig/zlib.pc
rm -f /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/include/zlib.h /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/include/zconf.h
cp /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/zlib.h zconf.h /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/include
chmod 644 /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/include/zlib.h /var/tmp/portage/sys-libs/zlib-1.2.11-r2/image//usr/include/zconf.h
* ERROR: sys-libs/zlib-1.2.11-r2::gentoo failed (install phase):
* unable to read SONAME from libz.so
*
* Call stack:
* ebuild.sh, line 93: Called src_install
* environment, line 2765: Called multilib-minimal_src_install
* environment, line 2027: Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
* environment, line 2234: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
* environment, line 1914: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
* environment, line 1912: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
* environment, line 406: Called multilib-minimal_abi_src_install
* environment, line 2017: Called multilib_src_install
* environment, line 2493: Called gen_usr_ldscript '-a' 'z'
* environment, line 1330: Called die
* The specific snippet of code:
* [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}";
*
* If you need support, post the output of `emerge --info '=sys-libs/zlib-1.2.11-r2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/zlib-1.2.11-r2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/temp/environment'.
* Working directory: '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11-.arm'
* S: '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11'
emerge --info
Portage 2.3.68 (python 2.7.15-final-0, default/linux/arm/17.0/armv7a, gcc-9.2.0, glibc-2.29-r2, 4.19.82-gentoo armv7l)
=================================================================
System uname: Linux-4.19.82-gentoo-armv7l-Intel-R-_Xeon-R-_CPU_E5440_@_2.83GHz-with-gentoo-2.6
KiB Mem: 3996452 total, 2719804 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Sat, 23 Nov 2019 20:15:01 +0000
Head commit of repository gentoo: b17c2c4f8a7fe2808c0f31c8d37ad82f199f5d28
Head commit of repository imax-ua: 10eb96605db30207586775d47d367a0f593fda0d
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
app-shells/bash: 4.4_p23-r1::gentoo
dev-lang/python: 2.7.15::python-kit, 3.7.3::python-kit
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/openrc: 0.41.2-r1::core-kit
sys-apps/sandbox: 2.17::core-kit
sys-devel/autoconf: 2.69-r4::core-kit
sys-devel/automake: 1.15.1-r2::core-kit, 1.16.1-r1::core-kit
sys-devel/binutils: 2.31.1-r1::core-kit, 2.32-r1::core-kit
sys-devel/gcc: 7.4.1-r6::core-kit, 9.1.1-r8::core-kit, 9.2.0::core-kit
sys-devel/gcc-config: 2.1::gentoo
sys-devel/libtool: 2.4.6-r5::core-kit
sys-devel/make: 4.2.1-r4::core-kit
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc: 2.29-r2::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync2.ru.gentoo.org/gentoo-portage/
priority: -1000
sync-rsync-extra-opts:
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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 -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://fastpull-us.funtoo.org"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="acl arm armv5te armv6 armv6t2 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Очень надеюсь на вашу помощь.