* Package: dev-ml/ocaml-expat-1.1.0-r1 * Repository: gentoo * Maintainer: gienah@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/b7b5e46fa8c0a4a1c282515ea1afbffdff1ac369 (Tue Oct 13 20:40:50 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r2, 5.4.0-1025-aws x86_64) ================================================================= System uname: Linux-5.4.0-1025-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-gentoo-2.7 KiB Mem: 71926568 total, 42136172 free KiB Swap: 0 total, 0 free sh bash 5.0_p18 ld GNU ld (Gentoo 2.35.1 p1) 2.35.1 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo dev-util/cmake: 3.18.4::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.35.1::gentoo sys-devel/gcc: 10.2.0-r2::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* MIT" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" 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 -march=native -frecord-gcc-switches" DISTDIR="/var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" 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=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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 sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36 V=1" PKGDIR="/root/.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" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl ocamlopt openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking ocaml-expat-1.1.0.tar.gz to /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/work >>> Preparing source in /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/work/ocaml-expat-1.1.0 ... * Applying ounit2.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/work/ocaml-expat-1.1.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/work/ocaml-expat-1.1.0 ... make -j36 V=1 depend gcc -I /usr/lib64/ocaml -MM *.c > depend ocamlfind ocamldep -package bytes *.mli *.ml >> depend make: 'depend' is up to date. make -j36 V=1 all ocamlfind ocamlc -package bytes -c -ccopt "-DFULL_UNROLL -O2 -I/usr/local/include" expat_stubs.c ocamlfind ocamlc -package bytes -c expat.mli ocamlfind ocamlc -package bytes -c expat.ml In file included from expat_stubs.c:23: expat_stubs.c: In function ‘String_option_val’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: return discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ expat_stubs.c:78:9: note: in expansion of macro ‘String_val’ 78 | return String_val(Field(string_option, 0)); | ^~~~~~~~~~ expat_stubs.c: In function ‘expat_error’: expat_stubs.c:350:18: warning: assignment discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 350 | expat_error_exn = caml_named_value("expat_error"); | ^ In file included from expat_stubs.c:23: expat_stubs.c: In function ‘expat_XML_ParseSub’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ expat_stubs.c:387:20: note: in expansion of macro ‘String_val’ 387 | char *string = String_val(vstring); | ^~~~~~~~~~ expat_stubs.c: In function ‘character_data_handler’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ expat_stubs.c:550:12: note: in expansion of macro ‘String_val’ 550 | memcpy(String_val(str), data, len); | ^~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from expat_stubs.c:12: /usr/include/bits/string_fortified.h:31:1: note: expected ‘void * restrict’ but argument is of type ‘const char *’ 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ In file included from expat_stubs.c:23: expat_stubs.c: In function ‘default_handler’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘memmove’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ expat_stubs.c:819:13: note: in expansion of macro ‘String_val’ 819 | memmove(String_val(d), data, len); | ^~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from expat_stubs.c:12: /usr/include/bits/string_fortified.h:38:1: note: expected ‘void *’ but argument is of type ‘const char *’ 38 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | ^~~~~ ocamlfind ocamlmklib -package bytes -oc mlexpat expat_stubs.o \ -L/usr/local/lib -lexpat ocamlfind ocamlmklib -package bytes -o expat expat.cmo -oc mlexpat \ -L/usr/local/lib -lexpat make -j36 V=1 allopt ocamlfind ocamlopt -package bytes -c expat.ml ocamlfind ocamlmklib -package bytes -o expat expat.cmx -oc mlexpat \ -L/usr/local/lib -lexpat ocamlfind ocamlopt -package bytes -linkall -shared -o expat.cmxs expat.cmx libmlexpat.a \ -ccopt -L/usr/local/lib -cclib -lexpat >>> Source compiled. >>> Test phase [not enabled]: dev-ml/ocaml-expat-1.1.0-r1 >>> Install dev-ml/ocaml-expat-1.1.0-r1 into /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image make -j36 V=1 install { test ! -f expat.cmxa || extra="expat.cmxa expat.cmxs expat.a"; }; \ ocamlfind install expat META expat.cmi expat.mli expat.cma \ libmlexpat.a $extra \ -optional dllmlexpat.so Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/expat/expat.a Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/expat/expat.cmxs Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/expat/expat.cmxa Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/expat/libmlexpat.a Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/expat/expat.cma Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/expat/expat.mli Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/expat/expat.cmi Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/stublibs/dllmlexpat.so Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/stublibs/dllmlexpat.so.owner Installed /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image/usr/lib64/ocaml/expat/META >>> Completed installing dev-ml/ocaml-expat-1.1.0-r1 into /var/tmp/portage/dev-ml/ocaml-expat-1.1.0-r1/image * Final size of build directory: 460 KiB * Final size of installed tree: 208 KiB * QA Notice: Files built without respecting CFLAGS have been detected * Please include the following list of files in your report: * /usr/lib64/ocaml/expat/expat.cmxs * /usr/lib64/ocaml/stublibs/dllmlexpat.so strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/lib64/ocaml/expat/expat.a /usr/lib64/ocaml/expat/expat.cmxs /usr/lib64/ocaml/expat/libmlexpat.a /usr/lib64/ocaml/stublibs/dllmlexpat.so >>> Done.