Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 672121 Details for
Bug 755209
dev-ml/camldbm-1.2 does not respect CFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 13.09 KB, created by
Agostino Sarubbo
on 2020-11-18 06:57:41 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-11-18 06:57:41 UTC
Size:
13.09 KB
patch
obsolete
> * Package: dev-ml/camldbm-1.2 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test 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/b3b370b4fbb281b0d3b3531abedb3b8305565929 (Wed Nov 18 01:26:20 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r3, 4.19.102-gentoo x86_64) >================================================================= >System uname: Linux-4.19.102-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-gentoo-2.7 >KiB Mem: 264031048 total, 191830224 free >KiB Swap: 0 total, 0 free >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.35.1 p2) 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-r1::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-r1::gentoo >sys-devel/gcc: 10.2.0-r3::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-r3::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="amd64 ~amd64" >ACCEPT_LICENSE="* LGPL-2-with-linking-exception" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -pipe -march=x86-64 -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=x86-64 -frecord-gcc-switches" >DISTDIR="/var/tmp/portage/dev-ml/camldbm-1.2/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=x86-64 -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 test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=x86-64 -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" >MAKEOPTS="-j48 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 openmp pam pcre readline seccomp split-usr ssl tcpd test 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 > > > > > >emerge history: >2020-11-18T02:31:37 >>> sys-libs/binutils-libs >2020-11-18T02:31:46 >>> dev-lang/ocaml >2020-11-18T02:32:16 >>> dev-ml/camldbm > > >>>> Unpacking source... >>>> Unpacking camldbm-1.2.tar.gz to /var/tmp/portage/dev-ml/camldbm-1.2/work >>>> Source unpacked in /var/tmp/portage/dev-ml/camldbm-1.2/work >>>> Preparing source in /var/tmp/portage/dev-ml/camldbm-1.2/work/dbm-camldbm-1.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-ml/camldbm-1.2/work/dbm-camldbm-1.2 ... >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 >Configuring for OCaml version 4.11.1 > >Configuration for the "camldbm" library: > headers found in ......... /usr/include > options for compiling .... > options for linking ...... -lgdbm > >Configuration successful > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-ml/camldbm-1.2/work/dbm-camldbm-1.2 ... >make -j48 V=1 >ocamlc -c -ccopt "" -ccopt "" cldbm.c >ocamlc -c dbm.mli >ocamlc -c dbm.ml >ocamlopt -c dbm.ml >ocamlmklib -o dbm -oc camldbm -linkall dbm.cmo -lgdbm >ocamlmklib -o dbm -oc camldbm -linkall dbm.cmx -lgdbm >cldbm.c: In function âraise_dbmâ: >cldbm.c:47:13: 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;;] > 47 | dbm_exn = caml_named_value("dbmerror"); > | ^ >In file included from cldbm.c:18: >cldbm.c: In function âcaml_dbm_openâ: >/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)) > | ^ >cldbm.c:76:16: note: in expansion of macro âString_valâ > 76 | char *file = String_val(vfile); > | ^~~~~~~~~~ >cldbm.c: In function âcaml_dbm_fetchâ: >cldbm.c:113:12: 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;;] > 113 | key.dptr = String_val(vkey); > | ^ >In file included from cldbm.c:18: >/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)) > | ~^~~~~~~~~~~~~~~~~~~~~~~~~ >cldbm.c:122:14: note: in expansion of macro âString_valâ > 122 | memmove (String_val (res), answer.dptr, answer.dsize); > | ^~~~~~~~~~ >In file included from /usr/include/features.h:465, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/string.h:26, > from cldbm.c:16: >/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)) > | ^~~~~ >cldbm.c: In function âcaml_dbm_insertâ: >cldbm.c:132:12: 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;;] > 132 | key.dptr = String_val(vkey); > | ^ >cldbm.c:134:16: 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;;] > 134 | content.dptr = String_val(vcontent); > | ^ >cldbm.c: In function âcaml_dbm_replaceâ: >cldbm.c:155:12: 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;;] > 155 | key.dptr = String_val(vkey); > | ^ >cldbm.c:157:16: 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;;] > 157 | content.dptr = String_val(vcontent); > | ^ >cldbm.c: In function âcaml_dbm_deleteâ: >cldbm.c:175:12: 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;;] > 175 | key.dptr = String_val(vkey); > | ^ >In file included from cldbm.c:18: >cldbm.c: In function âcaml_dbm_firstkeyâ: >/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)) > | ~^~~~~~~~~~~~~~~~~~~~~~~~~ >cldbm.c:202:14: note: in expansion of macro âString_valâ > 202 | memmove (String_val (res), key.dptr, key.dsize); > | ^~~~~~~~~~ >In file included from /usr/include/features.h:465, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/string.h:26, > from cldbm.c:16: >/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)) > | ^~~~~ >In file included from cldbm.c:18: >cldbm.c: In function âcaml_dbm_nextkeyâ: >/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)) > | ~^~~~~~~~~~~~~~~~~~~~~~~~~ >cldbm.c:225:14: note: in expansion of macro âString_valâ > 225 | memmove (String_val (res), key.dptr, key.dsize); > | ^~~~~~~~~~ >In file included from /usr/include/features.h:465, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/string.h:26, > from cldbm.c:16: >/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)) > | ^~~~~ >ocamlmklib -oc camldbm cldbm.o -lgdbm >ocamlopt -shared -o dbm.cmxs -I . dbm.cmxa >>>> Source compiled. >>>> Test phase: dev-ml/camldbm-1.2 >make -j48 V=1 test >ocamlc -o testdbm.byte dbm.cma testdbm.ml >ocamlopt -ccopt -L. -o testdbm.opt dbm.cmxa testdbm.ml >rm -f testdatabase.* >ocamlrun -I . ./testdbm.byte >key 'one' -> data 'un' >key 'three' -> data 'trois' >key 'two' -> data 'deux' >rm -f testdatabase.* >./testdbm.opt >key 'one' -> data 'un' >key 'three' -> data 'trois' >key 'two' -> data 'deux' >rm -f testdatabase.* >>>> Completed testing dev-ml/camldbm-1.2 > >>>> Install dev-ml/camldbm-1.2 into /var/tmp/portage/dev-ml/camldbm-1.2/image >make -j48 V=1 LIBDIR=/var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml install >if test -f dllcamldbm.so; then mkdir /var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml/stublibs || echo Ok; cp dllcamldbm.so /var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml/stublibs/; fi >mkdir: cannot create directory â/var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml/stublibsâ: File exists >Ok >cp libcamldbm.a /var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml/ >cd /var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml && ranlib libcamldbm.a >cp dbm.cma dbm.cmxa dbm.cmi dbm.mli /var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml/ >cp dbm.a /var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml/ >cd /var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml && ranlib dbm.a >if test -f dbm.cmxs; then cp dbm.cmxs /var/tmp/portage/dev-ml/camldbm-1.2/image//usr/lib64/ocaml/; fi >>>> Completed installing dev-ml/camldbm-1.2 into /var/tmp/portage/dev-ml/camldbm-1.2/image > > * Final size of build directory: 1144 KiB (1.1 MiB) > * Final size of installed tree: 76 KiB > > > * QA Notice: Files built without respecting CFLAGS have been detected > * Please include the following list of files in your report: > * /usr/lib64/ocaml/stublibs/dllcamldbm.so > * /usr/lib64/ocaml/dbm.cmxs > >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/stublibs/dllcamldbm.so > /usr/lib64/ocaml/libcamldbm.a > /usr/lib64/ocaml/dbm.cmxs > /usr/lib64/ocaml/dbm.a >>>> Done.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 755209
: 672121