Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 816364 Details for
Bug 874399
dev-ml/ocaml-augeas-0.5 - augeas_c.c: error: initializing char with an expression of type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-ml:ocaml-augeas-0.5:20221002-223743.log
dev-ml:ocaml-augeas-0.5:20221002-223743.log (text/plain), 8.23 KB, created by
Toralf Förster
on 2022-10-03 07:55:12 UTC
(
hide
)
Description:
dev-ml:ocaml-augeas-0.5:20221002-223743.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-03 07:55:12 UTC
Size:
8.23 KB
patch
obsolete
> * Package: dev-ml/ocaml-augeas-0.5:0 > * Repository: gentoo > * Maintainer: prometheanfire@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking ocaml-augeas-0.5.tar.gz to /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work >>>> Source unpacked in /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work >>>> Preparing source in /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5 ... >./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 --docdir=/usr/share/doc/ocaml-augeas-0.5 --htmldir=/usr/share/doc/ocaml-augeas-0.5/html --libdir=/usr/lib64 >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether clang accepts -g... yes >checking for clang option to accept ISO C89... none needed >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking how to run the C preprocessor... clang -E >checking for function prototypes... yes >checking whether clang and cc understand -c and -o together... yes >checking for x86_64-pc-linux-gnu-ocamlc... no >checking for ocamlc... ocamlc >OCaml version is 4.14.0 >OCaml library path is /usr/lib64/ocaml >checking for x86_64-pc-linux-gnu-ocamlopt... no >checking for ocamlopt... ocamlopt >checking for x86_64-pc-linux-gnu-ocamlc.opt... no >checking for ocamlc.opt... ocamlc.opt >checking for x86_64-pc-linux-gnu-ocamlopt.opt... no >checking for ocamlopt.opt... ocamlopt.opt >checking for x86_64-pc-linux-gnu-ocaml... no >checking for ocaml... ocaml >checking for x86_64-pc-linux-gnu-ocamldep... no >checking for ocamldep... ocamldep >checking for x86_64-pc-linux-gnu-ocamlmktop... no >checking for ocamlmktop... ocamlmktop >checking for x86_64-pc-linux-gnu-ocamlmklib... no >checking for ocamlmklib... ocamlmklib >checking for x86_64-pc-linux-gnu-ocamldoc... no >checking for ocamldoc... ocamldoc >checking for x86_64-pc-linux-gnu-ocamlbuild... no >checking for ocamlbuild... ocamlbuild >checking for x86_64-pc-linux-gnu-ocamlfind... no >checking for ocamlfind... ocamlfind >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for LIBXML2... yes >checking for AUGEAS... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating META >config.status: creating config.h >>>> Source configured. >'/var/tmp/portage/dev-ml/ocaml-augeas-0.5/temp/clang14.log' -> '/var/tmp/clang/dev-ml/ocaml-augeas-0.5/clang14.log' >'/var/tmp/portage/dev-ml/ocaml-augeas-0.5/temp/clang15.log' -> '/var/tmp/clang/dev-ml/ocaml-augeas-0.5/clang15.log' >>>> Compiling source in /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5 ... >make -j4 >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/libxml2 -I/usr/include/libxml2 -fPIC -I/usr/lib64/ocaml -Wall -Werror -c -o augeas_c.o augeas_c.c >ocamlfind ocamlc -g -c augeas.mli >ocamlfind ocamlc -g -c test_augeas.ml >rm -rf test_root >mkdir test_root >mkdir test_root/etc >ocamlfind ocamlc -g -c augeas.ml >cp /etc/hosts test_root/etc/ >ocamlfind ocamlopt -c augeas.ml >augeas_c.c:89:9: error: initializing 'char *' with an expression of type > 'const char *' discards qualifiers > [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > char *root = String_val (rootv); > ^ ~~~~~~~~~~~~~~~~~~ >augeas_c.c:95:12: error: assigning to 'char *' from 'const char *' discards > qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > loadpath = > ^ >augeas_c.c:136:9: error: initializing 'char *' with an expression of type > 'const char *' discards qualifiers > [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > char *path = String_val (pathv); > ^ ~~~~~~~~~~~~~~~~~~ >augeas_c.c:150:5: warning: "failwith" is deprecated: use "caml_failwith" instead > [-W#pragma-messages] > failwith ("Augeas.get: bad return value"); > ^ >/usr/lib64/ocaml/caml/compatibility.h:111:18: note: expanded from macro > 'failwith' >#define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith > ^ >/usr/lib64/ocaml/caml/misc.h:57:3: note: expanded from macro 'CAML_DEPRECATED' > CAML_PREPROWARNING(name1 is deprecated: use name2 instead) > ^ >/usr/lib64/ocaml/caml/misc.h:55:31: note: expanded from macro > 'CAML_PREPROWARNING' >#define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) > ^ ><scratch space>:207:6: note: expanded from here > GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" > ^ >augeas_c.c:162:9: error: initializing 'char *' with an expression of type > 'const char *' discards qualifiers > [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > char *path = String_val (pathv); > ^ ~~~~~~~~~~~~~~~~~~ >augeas_c.c:173:5: warning: "failwith" is deprecated: use "caml_failwith" instead > [-W#pragma-messages] > failwith ("Augeas.exists: bad return value"); > ^ >/usr/lib64/ocaml/caml/compatibility.h:111:18: note: expanded from macro > 'failwith' >#define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith > ^ >/usr/lib64/ocaml/caml/misc.h:57:3: note: expanded from macro 'CAML_DEPRECATED' > CAML_PREPROWARNING(name1 is deprecated: use name2 instead) > ^ >/usr/lib64/ocaml/caml/misc.h:55:31: note: expanded from macro > 'CAML_PREPROWARNING' >#define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) > ^ ><scratch space>:3:6: note: expanded from here > GCC warning "\"failwith\" is deprecated: use \"caml_failwith\" instead" > ^ >augeas_c.c:184:9: error: initializing 'char *' with an expression of type > 'const char *' discards qualifiers > [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > char *path = String_val (pathv); > ^ ~~~~~~~~~~~~~~~~~~ >augeas_c.c:185:9: error: initializing 'char *' with an expression of type > 'const char *' discards qualifiers > [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > char *label = String_val (labelv); > ^ ~~~~~~~~~~~~~~~~~~~ >augeas_c.c:202:9: error: initializing 'char *' with an expression of type > 'const char *' discards qualifiers > [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > char *path = String_val (path); > ^ ~~~~~~~~~~~~~~~~~ >augeas_c.c:219:9: error: initializing 'char *' with an expression of type > 'const char *' discards qualifiers > [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > char *path = String_val (pathv); > ^ ~~~~~~~~~~~~~~~~~~ >augeas_c.c:249:9: error: initializing 'char *' with an expression of type > 'const char *' discards qualifiers > [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > char *path = String_val (path); > ^ ~~~~~~~~~~~~~~~~~ >2 warnings and 9 errors generated. >make: *** [<builtin>: augeas_c.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: dev-ml/ocaml-augeas-0.5::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-ml/ocaml-augeas-0.5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-ml/ocaml-augeas-0.5::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-ml:ocaml-augeas-0.5:20221002-223743.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ml/ocaml-augeas-0.5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-ml/ocaml-augeas-0.5/temp/environment'. > * Working directory: '/var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5' > * S: '/var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5' >
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 874399
:
816358
|
816361
| 816364 |
816367
|
816370
|
816373
|
816376
|
816379