Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 625546

Summary: net-misc/sks-1.1.6-r5 : ocaml 4.05 incompatibility breaks build: Error: This expression has type ?cloexec:bool -> Unix.file_descr
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, sam
Priority: Normal Keywords: PATCH, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bitbucket.org/skskeyserver/sks-keyserver/issues/49/sks-is-incompatible-with-ocaml-405
See Also: https://bugs.debian.org/870150
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 625606    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-misc:sks-1.1.6-r5:20170717-212220.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-07-18 16:56:51 UTC
ocamlfind ocamlopt -package cryptokit,unix,str,bigarray,num -I lib -I bdb -ccopt -L/usr/lib64  -ccopt -Wl,-O1  -ccopt -Wl,--as-needed -ccopt -Lbdb -dtypes  -linkpkg -inline 40 bdb.cmxa -c eventloop.ml
File "eventloop.ml", line 133, characters 15-19:
Error: This expression has type ?cloexec:bool -> Unix.file_descr
       but an expression was expected of type
         Unix.file_descr = Unix.file_descr
make: *** [Makefile:362: eventloop.cmx] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0_20170716-131855

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
  [2]   ruby22 (with Rubygems)
Comment 1 Toralf Förster gentoo-dev 2017-07-18 16:56:55 UTC
Created attachment 485508 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-18 16:56:58 UTC
Created attachment 485510 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-18 16:57:01 UTC
Created attachment 485512 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-07-18 16:57:04 UTC
Created attachment 485514 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-18 16:57:07 UTC
Created attachment 485516 [details]
net-misc:sks-1.1.6-r5:20170717-212220.log
Comment 6 Toralf Förster gentoo-dev 2017-07-18 16:57:10 UTC
Created attachment 485518 [details]
temp.tbz2
Comment 7 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-07-18 17:09:45 UTC
ocaml 4.05 is breaking compatibility again, we're looking into it upstream
Comment 8 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-08-01 22:17:52 UTC
Debian has proposed a patch to upstream, so will review that and include for us if approved upstream.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-02-26 11:35:19 UTC
Ping.
Comment 10 Larry the Git Cow gentoo-dev 2020-10-08 22:41:37 UTC
The bug has been closed via the following commit(s):

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

commit a5dd34d1d01a2a3e1fba5e99a9f9154326d33c62
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-10-08 22:29:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-08 22:40:28 +0000

    net-misc/sks: take 20200624 snapshot
    
    Closes: https://bugs.gentoo.org/704246
    Closes: https://bugs.gentoo.org/625546
    Closes: https://bugs.gentoo.org/725174
    Closes: https://bugs.gentoo.org/710946
    Closes: https://bugs.gentoo.org/713160
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/sks/Manifest                              |   1 +
 .../sks/files/sks-1.1.6_p20200624-QA-fixups.patch  |  71 +++++++++++
 ...s-1.1.6_p20200624-respect-CFLAGS-CXXFLAGS.patch |  81 +++++++++++++
 net-misc/sks/sks-1.1.6_p20200624.ebuild            | 132 +++++++++++++++++++++
 4 files changed, 285 insertions(+)