View previous topic :: View next topic |
Author |
Message |
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 512
|
Posted: Thu Mar 16, 2023 8:10 am Post subject: non riescvo a compilare libsoup-3.2.2 |
|
|
Ho un problema durante la compilazione, si blocca con libsoup-3.2.2
ottengo questi errori e non ne capisco il motivo
Code: | [31/246] aarch64-unknown-linux-gnu-gcc -Ilibsoup/libsoup-3.0.so.0.6.0.p -Ilibsoup -I../libsoup-3.2.2/libsoup -I. -I../libsoup-3.2.2 -I../libsoup-3.2.2/libsoup/auth -I../libsoup-3.2.2/libsoup/cookies -I../libsoup-3.2.2/libsoup/content-decoder -I../libsoup-3.2.2/libsoup/hsts -I../libsoup-3.2.2/libsoup/http1 -I../libsoup-3.2.2/libsoup/http2 -I../libsoup-3.2.2/libsoup/server -I../libsoup-3.2.2/libsoup/server/http1 -I../libsoup-3.2.2/libsoup/server/http2 -I../libsoup-3.2.2/libsoup/websocket -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -Wmissing-include-dirs -Wpointer-arith -Winit-self -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=aggregate-return -Werror=format=2 -Werror=return-type -Wincompatible-pointer-types -Wstrict-prototypes -Wno-format-zero-length -Wno-missing-include-dirs -Wno-unused-parameter -Wno-sign-compare -Wno-cast-function-type -Wno-missing-field-initializers -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -O3 -pipe -fomit-frame-pointer -fPIC -pthread '-DG_LOG_DOMAIN="libsoup"' -DLIBSOUP_COMPILATION -MD -MQ libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-input-stream.c.o -MF libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-input-stream.c.o.d -o libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-input-stream.c.o -c ../libsoup-3.2.2/libsoup/http1/soup-body-input-stream.c
FAILED: libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-input-stream.c.o
aarch64-unknown-linux-gnu-gcc -Ilibsoup/libsoup-3.0.so.0.6.0.p -Ilibsoup -I../libsoup-3.2.2/libsoup -I. -I../libsoup-3.2.2 -I../libsoup-3.2.2/libsoup/auth -I../libsoup-3.2.2/libsoup/cookies -I../libsoup-3.2.2/libsoup/content-decoder -I../libsoup-3.2.2/libsoup/hsts -I../libsoup-3.2.2/libsoup/http1 -I../libsoup-3.2.2/libsoup/http2 -I../libsoup-3.2.2/libsoup/server -I../libsoup-3.2.2/libsoup/server/http1 -I../libsoup-3.2.2/libsoup/server/http2 -I../libsoup-3.2.2/libsoup/websocket -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -Wmissing-include-dirs -Wpointer-arith -Winit-self -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=aggregate-return -Werror=format=2 -Werror=return-type -Wincompatible-pointer-types -Wstrict-prototypes -Wno-format-zero-length -Wno-missing-include-dirs -Wno-unused-parameter -Wno-sign-compare -Wno-cast-function-type -Wno-missing-field-initializers -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -O3 -pipe -fomit-frame-pointer -fPIC -pthread '-DG_LOG_DOMAIN="libsoup"' -DLIBSOUP_COMPILATION -MD -MQ libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-input-stream.c.o -MF libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-input-stream.c.o.d -o libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-input-stream.c.o -c ../libsoup-3.2.2/libsoup/http1/soup-body-input-stream.c
In function ‘soup_body_input_stream_read_chunked’,
inlined from ‘read_internal’ at ../libsoup-3.2.2/libsoup/http1/soup-body-input-stream.c:267:10,
inlined from ‘soup_body_input_stream_skip’ at ../libsoup-3.2.2/libsoup/http1/soup-body-input-stream.c:298:16:
../libsoup-3.2.2/libsoup/http1/soup-body-input-stream.c:234:21: error: argument 1 null where non-null expected [-Werror=nonnull]
234 | if (strncmp (buffer, "\r\n", nread) || strncmp (buffer, "\n", nread)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:35,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/glib/gi18n-lib.h:23,
from ../libsoup-3.2.2/libsoup/http1/soup-body-input-stream.c:14:
/usr/include/string.h: In function ‘soup_body_input_stream_skip’:
/usr/include/string.h:159:12: note: in a call to function ‘strncmp’ declared ‘nonnull’
159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
| ^~~~~~~
In function ‘soup_body_input_stream_read_chunked’,
inlined from ‘read_internal’ at ../libsoup-3.2.2/libsoup/http1/soup-body-input-stream.c:267:10,
inlined from ‘soup_body_input_stream_skip’ at ../libsoup-3.2.2/libsoup/http1/soup-body-input-stream.c:298:16:
../libsoup-3.2.2/libsoup/http1/soup-body-input-stream.c:234:56: error: argument 1 null where non-null expected [-Werror=nonnull]
234 | if (strncmp (buffer, "\r\n", nread) || strncmp (buffer, "\n", nread)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h: In function ‘soup_body_input_stream_skip’:
/usr/include/string.h:159:12: note: in a call to function ‘strncmp’ declared ‘nonnull’
159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
| ^~~~~~~
cc1: some warnings being treated as errors
[32/246] aarch64-unknown-linux-gnu-gcc -Ilibsoup/libsoup-3.0.so.0.6.0.p -Ilibsoup -I../libsoup-3.2.2/libsoup -I. -I../libsoup-3.2.2 -I../libsoup-3.2.2/libsoup/auth -I../libsoup-3.2.2/libsoup/cookies -I../libsoup-3.2.2/libsoup/content-decoder -I../libsoup-3.2.2/libsoup/hsts -I../libsoup-3.2.2/libsoup/http1 -I../libsoup-3.2.2/libsoup/http2 -I../libsoup-3.2.2/libsoup/server -I../libsoup-3.2.2/libsoup/server/http1 -I../libsoup-3.2.2/libsoup/server/http2 -I../libsoup-3.2.2/libsoup/websocket -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -Wmissing-include-dirs -Wpointer-arith -Winit-self -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=aggregate-return -Werror=format=2 -Werror=return-type -Wincompatible-pointer-types -Wstrict-prototypes -Wno-format-zero-length -Wno-missing-include-dirs -Wno-unused-parameter -Wno-sign-compare -Wno-cast-function-type -Wno-missing-field-initializers -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -O3 -pipe -fomit-frame-pointer -fPIC -pthread '-DG_LOG_DOMAIN="libsoup"' -DLIBSOUP_COMPILATION -MD -MQ libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-output-stream.c.o -MF libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-output-stream.c.o.d -o libsoup/libsoup-3.0.so.0.6.0.p/http1_soup-body-output-stream.c.o -c ../libsoup-3.2.2/libsoup/http1/soup-body-output-stream.c
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -j 2 -v
* ERROR: net-libs/libsoup-3.2.2::gentoo failed (compile phase):
* compile failed |
emerge info
Code: | Portage 3.0.45.2 (python 3.10.10-final-0, default/linux/arm64/17.0, gcc-12, glibc-2.37-r1, 5.10.14-aarch64)
=================================================================
System uname: Linux-5.10.14-aarch64-with-glibc2.37
KiB Mem: 8050600 total, 1474224 free
KiB Swap: 4620284 total, 4620284 free
Timestamp of repository gentoo: Wed, 15 Mar 2023 13:00:01 +0000
Head commit of repository gentoo: fd85cd3287b3c8b885041192c276bfc4bcf44f82
Head commit of repository antonellocaroli: 04c661d487b749e07fbc94748f97c752b6b639d2
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p3) 2.40.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p15-r2::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.36.0-r2::gentoo
dev-lang/python: 3.10.10_p3::gentoo
dev-lang/rust-bin: 1.67.1-r1::gentoo
dev-util/cmake: 3.26.0::gentoo
dev-util/meson: 1.0.1::gentoo
sys-apps/baselayout: 2.13-r1::gentoo
sys-apps/openrc: 0.46::gentoo
sys-apps/sandbox: 2.30-r1::gentoo
sys-devel/autoconf: 2.71-r5::gentoo
sys-devel/automake: 1.16.5::gentoo
sys-devel/binutils: 2.40-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 12.2.1_p20230304::gentoo
sys-devel/gcc-config: 2.10::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/make: 4.4.1::gentoo
sys-kernel/linux-headers: 6.2::gentoo (virtual/os-headers)
sys-libs/glibc: 2.37-r1::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: https://github.com/gpoverlay/gpoverlay810
priority: -1000
volatile: False
antonellocaroli
location: /var/db/repos/antonellocaroli
sync-type: git
sync-uri: https://github.com/antonellocaroli/GP-overlay
masters: gentoo
priority: 10
volatile: False
ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -O3 -pipe -fomit-frame-pointer"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -O3 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="acl alsa arm64 bindist bzip2 cli crypt dri fortran gdbm iconv icu ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" ADA_TARGET="gnat_2021" 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 vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" 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_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="fbdev 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, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
Last edited by antonellocaroli on Fri Mar 17, 2023 3:40 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31348 Location: here
|
Posted: Thu Mar 16, 2023 9:47 am Post subject: |
|
|
Hai provato con CFLAGS meno aggressive? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 512
|
Posted: Thu Mar 16, 2023 10:13 am Post subject: |
|
|
No, in realtà no, ci proverò |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|