Your message dated Tue, 08 Oct 2024 08:46:33 +0000
with message-id <e1sy5rv-0044kp...@fasolo.debian.org>
and subject line Bug#1082976: fixed in ocaml-mccs 1.1+18-2
has caused the Debian Bug report #1082976,
regarding opam: FTBFS: build fails with linking error
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 ow...@bugs.debian.org
immediately.)
--
1082976: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082976
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:opam
Version: 2.2.1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with ocaml
debian/rules build-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu/ocaml/5.2.0 \
--enable-certificate-check
checking for ocamlc... ocamlc
OCaml version is 5.2.0
OCaml library path is /usr/lib/x86_64-linux-gnu/ocaml/5.2.0
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocaml... ocaml
checking for ocamldep... ocamldep
checking for ocamldep.opt... ocamldep.opt
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamldoc.opt... ocamldoc.opt
checking for ocamlbuild... no
checking OCaml Sys.os_type... Unix
checking for gawk... no
checking for mawk... mawk
checking for compiler type... cc
checking for compiler architecture... amd64
checking for compiler system... linux
checking for compiler target... x86_64-pc-linux-gnu
checking for x86_64-linux-gnu-gcc... x86_64-linux-gnu-gcc -O2
-fno-strict-aliasing -fwrapv -pthread -fPIC -g -O2
-Werror=implicit-function-declaration -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-pthread -D_FILE_OFFSET_BITS=64 -Wdate-time
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 the compiler supports GNU C... yes
checking whether x86_64-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv
-pthread -fPIC -g -O2 -Werror=implicit-function-declaration
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -pthread -D_FILE_OFFSET_BITS=64
-Wdate-time accepts -g... yes
checking for x86_64-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread
-fPIC -g -O2 -Werror=implicit-function-declaration -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-pthread -D_FILE_OFFSET_BITS=64 -Wdate-time option to enable C11 features...
none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for acl/libacl.h... no
checking for library containing acl_get_perm... no
checking for ocamlobjinfo... ocamlobjinfo
checking for ocamlfind... ocamlfind
checking for curl... curl
checking for dune... dune
checking for patch... patch
checking for bunzip2... bunzip2
checking for linking method... shared
checking for OCaml findlib package unix... found
checking for OCaml findlib package re 1.9.0 or later... found 1.11.0
checking for OCaml findlib package base64 3.1.0 or later... found [unspecified]
checking for OCaml findlib package cmdliner... found
checking for OCaml findlib package ocamlgraph... found
checking for OCaml findlib package cudf 0.7 or later... found 0.10
checking for OCaml findlib package dose3.common 6.1 or later... found 7.0.0
checking for OCaml findlib package dose3.algo 6.1 or later... found 7.0.0
checking for OCaml findlib package opam-file-format 2.1.4 or later... found
2.1.6
checking for OCaml findlib package spdx_licenses... found
checking for OCaml findlib package opam-0install-cudf 0.4 or later... found
0.5.0
checking for OCaml findlib package jsonm... found
checking for OCaml findlib package uutf... found
checking for OCaml findlib package sha... found
checking for OCaml findlib package swhid_core... found
checking for OCaml findlib package mccs 1.1+17 or later... found 1.1+18
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether g++ really is a C++ compiler... yes
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating src/ocaml-flags-configure.sexp
config.status: creating src/stubs/c-flags.sexp
config.status: creating src/stubs/libacl/c-libraries.sexp
Opam will be built WITH its default built-in solver
Executables will be installed in /usr/bin
Manual pages will be installed in /usr/share/man
touch .configure_stamp
HOME=/home/user /usr/bin/make
make[2]: Entering directory '/<<PKGBUILDDIR>>'
dune build --profile=release --root . --verbose --promote-install-files --
opam-installer.install opam.install
Shared cache: disabled
Shared cache location: /home/user/.cache/dune/db
Workspace root: /<<PKGBUILDDIR>>
Auto-detected concurrency: 2
Dune context:
{ name = "default"
; kind = "default"
; profile = Release
; merlin = true
; fdo_target_exe = None
; build_dir = In_build_dir "default"
; instrument_with = []
}
Actual targets:
- _build/default/opam-installer.install
- _build/default/opam.install
Running[1]: (cd _build/default/src && /usr/bin/ocaml ../shell/context_flags.ml
flags) > _build/default/src/ocaml-context-flags.sexp
Running[2]: (cd _build/default/src/client && /usr/bin/sh -c 'git describe --exact
HEAD || echo [dev]') > _build/default/src/client/git-describe 2> /dev/null
Running[3]: (cd _build/default/src/client && /usr/bin/sh -c 'git rev-parse --quiet
--verify HEAD || echo .') > _build/default/src/client/git-sha 2> /dev/null
Running[4]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl
doc/man/dune_man.ml) > _build/default/doc/man/.dune_man.eobjs/dune__exe__Dune_man.impl.d
[...]
Running[403]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w
+a-4-40-42-44-48 -safe-string -g -o src/client/opamMain.exe
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/ocamlgraph/graph.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/re/re.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/unix/unix.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/sha/sha.cmxa -I
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/sha
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/uutf/uutf.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/jsonm/jsonm.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/swhid_core/swhid_core.cmxa
src/core/opam_core.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/opam-file-format/opam-file-format.cmxa
src/format/opam_format.cmxa src/repository/opam_repository.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/spdx_licenses/spdx_licenses.cmxa
src/state/opam_state.cmxa /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/extlib/extlib.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/cudf/cudf.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/re/pcre/re_pcre.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/dose3/common/dose_common.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/dose3/algo/dose_algo.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/0install-solver/zeroinstall_solver.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/opam-0install-cudf/opam_0install_cudf.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/glpk/shared/mccs_hostglpk_shared.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/mccs.cmxa -I
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs src/solver/opam_solver.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/base64/base64.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/cmdliner/cmdliner.cmxa
src/client/opam_client.cmxa src/client/.opamMain.eobjs/native/dune__exe__OpamMain.cmx)
File "src/client/dune", line 15, characters 15-23:
15 | (name opamMain)
^^^^^^^^
Command [403] exited with code 2:
$ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w +a-4-40-42-44-48
-safe-string -g -o src/client/opamMain.exe
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/ocamlgraph/graph.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/re/re.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/unix/unix.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/sha/sha.cmxa -I
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/sha
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/uutf/uutf.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/jsonm/jsonm.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/swhid_core/swhid_core.cmxa
src/core/opam_core.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/opam-file-format/opam-file-format.cmxa
src/format/opam_format.cmxa src/repository/opam_repository.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/spdx_licenses/spdx_licenses.cmxa
src/state/opam_state.cmxa /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/extlib/extlib.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/cudf/cudf.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/re/pcre/re_pcre.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/dose3/common/dose_common.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/dose3/algo/dose_algo.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/0install-solver/zeroinstall_solver.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/opam-0install-cudf/opam_0install_cudf.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/glpk/shared/mccs_hostglpk_shared.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/mccs.cmxa -I
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs src/solver/opam_solver.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/base64/base64.cmxa
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/cmdliner/cmdliner.cmxa
src/client/opam_client.cmxa src/client/.opamMain.eobjs/native/dune__exe__OpamMain.cmx)
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::objective_value() [clone .localalias]':
(.text+0x1cd): undefined reference to `glp_mip_obj_val'
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::get_solution(CUDFVersionedPackage*)':
(.text+0x1f3): undefined reference to `glp_mip_col_val'
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::begin_objectives()':
(.text+0x222): undefined reference to `glp_set_obj_dir'
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::end_objectives()':
(.text+0x28c): undefined reference to `glp_set_col_bnds'
/usr/bin/ld: (.text+0x2a0): undefined reference to `glp_set_col_name'
/usr/bin/ld: (.text+0x2b3): undefined reference to `glp_set_col_kind'
/usr/bin/ld: (.text+0x340): undefined reference to `glp_set_col_bnds'
/usr/bin/ld: (.text+0x34e): undefined reference to `glp_set_col_name'
/usr/bin/ld: (.text+0x361): undefined reference to `glp_set_col_kind'
/usr/bin/ld: (.text+0x404): undefined reference to `glp_set_col_bnds'
/usr/bin/ld: (.text+0x412): undefined reference to `glp_set_col_name'
/usr/bin/ld: (.text+0x425): undefined reference to `glp_set_col_kind'
/usr/bin/ld: (.text+0x47d): undefined reference to `glp_set_obj_coef'
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::add_constraint_geq(long long)':
(.text+0x544): undefined reference to `glp_add_rows'
/usr/bin/ld: (.text+0x564): undefined reference to `glp_set_row_bnds'
/usr/bin/ld: (.text+0x57b): undefined reference to `glp_set_mat_row'
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::add_constraint_leq(long long)':
(.text+0x5b4): undefined reference to `glp_add_rows'
/usr/bin/ld: (.text+0x5d4): undefined reference to `glp_set_row_bnds'
/usr/bin/ld: (.text+0x5eb): undefined reference to `glp_set_mat_row'
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::add_constraint_eq(long long)':
(.text+0x624): undefined reference to `glp_add_rows'
/usr/bin/ld: (.text+0x644): undefined reference to `glp_set_row_bnds'
/usr/bin/ld: (.text+0x65b): undefined reference to `glp_set_mat_row'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::init_solver(std::vector<CUDFVersionedPackage*,
std::allocator<CUDFVersionedPackage*> >*, int)':
(.text+0x728): undefined reference to `glp_create_prob'
/usr/bin/ld: (.text+0x737): undefined reference to `glp_add_cols'
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::~glpk_solver()':
(.text+0x8db): undefined reference to `glp_delete_prob'
/usr/bin/ld: (.text+0x8e0): undefined reference to `glp_free_env'
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/mccs/libmccs_stubs.a(glpk_solver.o): in
function `glpk_solver::solve(int)':
(.text+0x99f): undefined reference to `glp_init_iocp'
/usr/bin/ld: (.text+0xa25): undefined reference to `glp_cpx_basis'
/usr/bin/ld: (.text+0xa62): undefined reference to `glp_mip_obj_val'
/usr/bin/ld: (.text+0xac1): undefined reference to `glp_set_obj_coef'
/usr/bin/ld: (.text+0xb15): undefined reference to `glp_set_obj_coef'
/usr/bin/ld: (.text+0xb3d): undefined reference to `glp_add_rows'
/usr/bin/ld: (.text+0xb5d): undefined reference to `glp_set_row_bnds'
/usr/bin/ld: (.text+0xb7a): undefined reference to `glp_set_mat_row'
/usr/bin/ld: (.text+0xb9a): undefined reference to `glp_intopt'
/usr/bin/ld: (.text+0xc59): undefined reference to `glp_mip_status'
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking (exit code 1)
make[2]: *** [Makefile:138: build-opam] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:28: build-arch] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202409/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Source: ocaml-mccs
Source-Version: 1.1+18-2
Done: Stéphane Glondu <glo...@debian.org>
We believe that the bug you reported is fixed in the latest version of
ocaml-mccs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1082...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stéphane Glondu <glo...@debian.org> (supplier of updated ocaml-mccs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 08 Oct 2024 09:49:04 +0200
Source: ocaml-mccs
Architecture: source
Version: 1.1+18-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org>
Changed-By: Stéphane Glondu <glo...@debian.org>
Closes: 1082976
Changes:
ocaml-mccs (1.1+18-2) unstable; urgency=medium
.
* Team upload
* Add missing -lglpk when linking (Closes: #1082976)
* Bump Standards-Version to 4.7.0
Checksums-Sha1:
493c4f55a4d7d5a4a0b47567a600c1ce2d4ec446 1880 ocaml-mccs_1.1+18-2.dsc
0f3e8dbac40e8f3bfb936db92b12db6ec53c87f1 4112 ocaml-mccs_1.1+18-2.debian.tar.xz
Checksums-Sha256:
7be5af2b0fcc91917eb47d86e0d58608fa787027720c4053abae9bf7fdf40c1e 1880
ocaml-mccs_1.1+18-2.dsc
820dafeff08df161f72ca7208b6613269be3f95db077d7183dcd8638ca266b03 4112
ocaml-mccs_1.1+18-2.debian.tar.xz
Files:
3fab345302d63e37396382bd012c1237 1880 ocaml optional ocaml-mccs_1.1+18-2.dsc
5d4956315bb458eaff546b41562c0a10 4112 ocaml optional
ocaml-mccs_1.1+18-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmcE5G0SHGdsb25kdUBk
ZWJpYW4ub3JnAAoJECG47vGxiTCBcu0H/ihhb3bIRhOfDqEunpy3wbtDt/T/YFzN
pVmi7XAkAMiIiGzWR7CrhQsT82PaCNF4rYa9VEB6wLzp3cutk04X0pGUXfk6etXe
uzJdDwMzUBkscB1Nm0VeqZXAnz3Ip+JMIF5aOKdxsEVUJjY2j4lggnpIlTY7vtTP
SW7x6+B4il8WQeB8cB9e1tpJk21kzGMtMvH6GCMUX6sfFJSy7dXh6ejy4hFI2VRP
Ngi75TuGC73n3L8qSwhWpc2dJ3pp/lg4nCtSDBvtQBqP/MmcD56+Ijg5CUXnvsnh
ceB/9WgKa0Cbog+g9tq0u25Y3m8e4248HfqB3grk9xYm8aqV/HwLYD0=
=Rwy+
-----END PGP SIGNATURE-----
pgp940dtwoaKR.pgp
Description: PGP signature
--- End Message ---