[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#882602: marked as done (ocaml-mingw-w64: create bytecode shared objects that makes C programs using it to segfault)



Your message dated Sun, 28 Nov 2021 22:32:13 +0000
with message-id <[🔎] E1mrSiT-0001VN-Sw@fasolo.debian.org>
and subject line Bug#1000569: Removed package(s) from unstable
has caused the Debian Bug report #882602,
regarding ocaml-mingw-w64: create bytecode shared objects that makes C programs using it to segfault
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
882602: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882602
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ocaml-mingw-w64
Version: 4.01.0~20140328-1+b2
Severity: normal

I am trying to produce libraries usable from C with OCaml and to compile them
using CMake, for which I created a module that tries to simplify this process
[1].
As part of the CMake module for building C libraries with OCaml, I have
automated the building of a few combinations of options [2].
Among those combinations, cross-compiling for Windows with currently packaged
x86_64-w64-mingw32-ocamlopt and i686-w64-mingw32-ocamlopt is producing some
unusable binaries [3] [4].
Using opam-cross-windows [5], with the same C compiler, does not pose the same
issue [2].

In order to reproduce the issue you can perform the following steps:

git clone https://github.com/giuliopaci/ocaml-cmake.git
cd ocaml-cmake
mkdir build
cd build
cmake ../examples/hello_world_lib -DCMAKE_VERBOSE_MAKEFILE=on
-DCMAKE_TOOLCHAIN_FILE=../toolchains/Toolchain-mingw32.cmake
make
wine ./main-libhelloworld-bytecode.exe

[1] https://github.com/giuliopaci/ocaml-cmake
[2] https://travis-ci.org/giuliopaci/ocaml-cmake/builds/287518762
[3] https://travis-ci.org/giuliopaci/ocaml-cmake/jobs/287518771#L1580
[4] https://travis-ci.org/giuliopaci/ocaml-cmake/jobs/287518772#L1590
[5] https://github.com/ocaml-cross/opam-cross-windows



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages ocaml-mingw-w64 depends on:
ii  ocaml-mingw-w64-i686    4.01.0~20140328-1+b2
ii  ocaml-mingw-w64-x86-64  4.01.0~20140328-1+b2

ocaml-mingw-w64 recommends no packages.

ocaml-mingw-w64 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 4.01.0~20140328-1+rm

Dear submitter,

as the package mingw-ocaml has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1000569

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: