#1049230 ocaml: Fails to build source after successful build

Package:
src:ocaml
Source:
src:ocaml
Submitter:
Lucas Nussbaum
Date:
2026-02-03 23:14:09 UTC
Severity:
normal
Tags:
#1049230#5
Date:
2023-08-13 19:21:03 UTC
From:
To:
Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/ocaml_4.13.1-4_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

#1049230#8
Date:
2023-08-25 09:48:42 UTC
From:
To:
Hello,

Bug #1049230 in ocaml reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ocaml-team/ocaml/-/commit/d70268269ee7cffa1b3ee3fa408833b9d059dd36

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1049230

#1049230#15
Date:
2023-08-25 21:37:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ocaml, 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 1049230@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stéphane Glondu <glondu@debian.org> (supplier of updated ocaml 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 25 Aug 2023 20:19:07 +0200
Source: ocaml
Architecture: source
Version: 4.13.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Closes: 1049230
Changes:
 ocaml (4.13.1-6) unstable; urgency=medium
 .
   * Ignore test failures on hurd
   * Remove empty override_dh_dwz
   * Fix source build after successful build (Closes: #1049230)
Checksums-Sha1:
 023cc6ed3ea833d6182940fa0006eb5f5d2e787a 2463 ocaml_4.13.1-6.dsc
 4e04c85847f187e4aa7a9e169dc99701a3a3d233 40084 ocaml_4.13.1-6.debian.tar.xz
Checksums-Sha256:
 62a0090113bcf2778aee73b4e7315e92840f6db2de27ded1b1af07d1e112ee56 2463 ocaml_4.13.1-6.dsc
 1d8ef666a15d5d57d2316464e1db859c0fe6c510cc332846e9c23fbcdde54cc3 40084 ocaml_4.13.1-6.debian.tar.xz
Files:
 a107457204609217d5934ef525408285 2463 ocaml optional ocaml_4.13.1-6.dsc
 0a40daba304937f3edc9dddf2b833c8f 40084 ocaml optional ocaml_4.13.1-6.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmTo8PgSHGdsb25kdUBk
ZWJpYW4ub3JnAAoJECG47vGxiTCBAuYH/RAQv471D9phKU9ogxtWQz09iXVn+Eiw
lNjUScR8LOI5qLBsADQqt3mBdzfSk+1zfu1JVO4hKr8hrpqT/4J79Y2JzrHtI3AE
LbTv+CPODPIur3S+Yp/atUB10JNxZHr+3iBtC3DI0tjpWSxdUIaJ3LPVdPUZTHgi
DgNoaPlwcHYoTtEjlrirT1wkk5zB62L20zfNVxw6GY4IiR1ricxGjkxEi6vd8FFm
Y52zVzZ0FDbADBv0mmnElIgtsASxJcUPQ+mPUniv+whLoWIXmpCHkdhyE+sK+LCX
NEvdUwkKthtgmKBSDjiwuVMQ9v/tmgjQaRvqTeiUJTCPa0TaKHnsb6c=
=CPIr
-----END PGP SIGNATURE-----