Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641858 - dev-ml/ocamlnet-4.1.4 : nettls_nettle_bindings_stubs.c:120:36: error: nettle_get_ciphers declared as function returning an array
Summary: dev-ml/ocamlnet-4.1.4 : nettls_nettle_bindings_stubs.c:120:36: error: nettle_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-20 23:21 UTC by Toralf Förster
Modified: 2020-10-17 21:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.31 KB, text/plain)
2017-12-20 23:21 UTC, Toralf Förster
Details
dev-ml:ocamlnet-4.1.4:20171220-210702.log (dev-ml:ocamlnet-4.1.4:20171220-210702.log,196.44 KB, text/plain)
2017-12-20 23:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,170.38 KB, text/plain)
2017-12-20 23:21 UTC, Toralf Förster
Details
environment (environment,76.16 KB, text/plain)
2017-12-20 23:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.00 KB, application/x-bzip)
2017-12-20 23:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.72 KB, application/x-bzip)
2017-12-20 23:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.33 KB, application/x-bzip)
2017-12-20 23:21 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 2017-12-20 23:21:05 UTC
+ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c   -O -g  -I'/usr/lib64/ocaml' 'nettls_nettle_bindings_stubs.c'
In file included from nettls_nettle_bindings_stubs.c:24:0:
nettls_nettle_bindings_stubs.c:120:36: error: ‘nettle_get_ciphers’ declared as function returning an array
 const struct nettle_cipher * const nettle_ciphers[] = {
                                    ^
nettls_nettle_bindings_stubs.c:120:14: error: function ‘nettle_get_ciphers’ is initialized like a variable

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_20171217-191722

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-ml/ocamlnet
[ebuild  N    ] dev-ml/ocamlnet-4.1.4  USE="ocamlopt pcre ssl -gtk -httpd -kerberos -tk -zip"
Comment 1 Toralf Förster gentoo-dev 2017-12-20 23:21:08 UTC
Created attachment 511264 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-20 23:21:11 UTC
Created attachment 511266 [details]
dev-ml:ocamlnet-4.1.4:20171220-210702.log
Comment 3 Toralf Förster gentoo-dev 2017-12-20 23:21:14 UTC
Created attachment 511268 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-12-20 23:21:17 UTC
Created attachment 511270 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-12-20 23:21:20 UTC
Created attachment 511272 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-20 23:21:23 UTC
Created attachment 511274 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-12-20 23:21:26 UTC
Created attachment 511276 [details]
temp.tbz2
Comment 8 Tamas Jantvik 2018-06-28 12:25:53 UTC
I'm thinking this has to with ocamlnet v4.1.4 and older not being compatible with nettle v3.4, as per their changelog. So, either bumping ocamlnet or downgrading nettle should make the error go away I suppose.

2017-12-05  Gerd Stolpmann  <gerd@gerdbook.fritz.box>

	* Support for native plugins (cmxs files) (Jaap Boender)

	* Fix Nettls_gnutls: If a TLS server is configured to
	  authenticate the client, it does not expect that the
	  name in the certificate matches the DNS name of the
	  client. (In particular, the check is not done anymore
	  when [peer_name] is [None].)

	* Fix: compatibility with library Nettle-3.4

2017-08-14  Gerd Stolpmann  <gerd@gerdbook.fritz.box>

	* Release 4.1.4

	* Fix: incompatibility for OCaml < 4.03 because of -opaque
Comment 9 Larry the Git Cow gentoo-dev 2020-10-17 21:32:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549bdb0262958a7cc8dbffbe8560728260b599d0

commit 549bdb0262958a7cc8dbffbe8560728260b599d0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-10-17 21:32:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-17 21:32:23 +0000

    dev-ml/ocamlnet: bump to 4.1.4
    
    Closes: https://bugs.gentoo.org/715188
    Closes: https://bugs.gentoo.org/641858
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ml/ocamlnet/Manifest              |  1 +
 dev-ml/ocamlnet/ocamlnet-4.1.8.ebuild | 78 +++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)