Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750209 - dev-ml/ocaml-augeas-0.5 : /.../mlvalues.h: error: initialization discards const qualifier from pointer target type [-Werror=discar
Summary: dev-ml/ocaml-augeas-0.5 : /.../mlvalues.h: error: initialization discards con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
: 825506 874399 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-19 16:43 UTC by Toralf Förster
Modified: 2022-10-26 10:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.30 KB, text/plain)
2020-10-19 16:43 UTC, Toralf Förster
Details
dev-ml:ocaml-augeas-0.5:20201019-014710.log (dev-ml:ocaml-augeas-0.5:20201019-014710.log,7.69 KB, text/plain)
2020-10-19 16:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,286.80 KB, text/plain)
2020-10-19 16:43 UTC, Toralf Förster
Details
environment (environment,11.33 KB, text/plain)
2020-10-19 16:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,26.40 KB, application/x-bzip)
2020-10-19 16:43 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.02 KB, application/x-bzip)
2020-10-19 16:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,5.77 KB, application/x-bzip)
2020-10-19 16:43 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-10-19 16:43:39 UTC
                 from augeas_c.c:25:
augeas_c.c: In function ‘ocaml_augeas_create’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  265 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ^
augeas_c.c:89:16: note: in expansion of macro ‘String_val’

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20201010-201503

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.47.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
3)	OpenJDK 8.265_p01 [openjdk-8]
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   jamvm 
  [3]   openjdk-8 
  [4]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Oct 19 12:35:13 AM UTC 2020
/var/db/repos/libressl	Sun Oct 18 04:35:14 PM UTC 2020

emerge -qpvO dev-ml/ocaml-augeas
[ebuild  N    ] dev-ml/ocaml-augeas-0.5
Comment 1 Toralf Förster gentoo-dev 2020-10-19 16:43:40 UTC
Created attachment 667088 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-19 16:43:41 UTC
Created attachment 667091 [details]
dev-ml:ocaml-augeas-0.5:20201019-014710.log
Comment 3 Toralf Förster gentoo-dev 2020-10-19 16:43:43 UTC
Created attachment 667094 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-10-19 16:43:44 UTC
Created attachment 667097 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-10-19 16:43:46 UTC
Created attachment 667100 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-10-19 16:43:47 UTC
Created attachment 667103 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-10-19 16:43:48 UTC
Created attachment 667106 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-16 02:11:51 UTC
Needs bump to 0.6?
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-16 02:12:09 UTC
*** Bug 825506 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-26 00:53:49 UTC
*** Bug 874399 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2022-10-26 10:54:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f36dd9f952c61a9246cf6a0a2c2f468f7aa6d9c

commit 6f36dd9f952c61a9246cf6a0a2c2f468f7aa6d9c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-26 01:07:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-26 10:54:16 +0000

    dev-ml/ocaml-augeas: add 0.6
    
    Closes: https://bugs.gentoo.org/798039
    Closes: https://bugs.gentoo.org/750209
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ml/ocaml-augeas/Manifest                       |  1 +
 .../files/ocaml-augeas-0.6-flags.patch             | 21 ++++++++++++
 .../files/ocaml-augeas-0.6-ocaml-4.09.patch        | 28 ++++++++++++++++
 dev-ml/ocaml-augeas/ocaml-augeas-0.6.ebuild        | 39 ++++++++++++++++++++++
 4 files changed, 89 insertions(+)