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

Bug#973181: marked as done (camljava: FTBFS: Please specify at most one of -pack, -a, -c, -output-obj)



Your message dated Mon, 03 Jan 2022 15:18:29 +0000
with message-id <E1n4P6T-000Eiy-Cc@fasolo.debian.org>
and subject line Bug#973181: fixed in camljava 0.3-4
has caused the Debian Bug report #973181,
regarding camljava: FTBFS: Please specify at most one of -pack, -a, -c, -output-obj
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.)


-- 
973181: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973181
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: camljava
Version: 0.3-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
> rm -f jni.ml
> sed -e 's|%PATH%|'`ocamlc -where`/camljava/camljava.jar'|' \
>                 jni.mlp > jni.ml
> chmod -w jni.ml
> ocamlc -g -c jni.mli
> ocamlc -g -c jni.ml
> gcc -c -O -g -Wall -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -I`ocamlc -where` jnistubs.c
> jnistubs.c: In function ‘check_java_exception’:
> jnistubs.c:99:32: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>    99 |       camljava_raise_exception = caml_named_value("camljava_raise_exception");
>       |                                ^
> jnistubs.c: In function ‘check_non_null’:
> jnistubs.c:114:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   114 |     camljava_null_pointer = caml_named_value("camljava_null_pointer");
>       |                           ^
> In file included from jnistubs.c:4:
> jnistubs.c: In function ‘extract_java_string’:
> /usr/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   265 | #define String_val(x) ((const char *) Bp_val(x))
>       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
> jnistubs.c:546:10: note: in expansion of macro ‘String_val’
>   546 |   memcpy(String_val(res), chrs, len);
>       |          ^~~~~~~~~~
> In file included from jnistubs.c:2:
> /usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’
>    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
>       |                      ~~~~~~~~~~~~~~~~~^~~~~~
> rm -f libcamljni.a
> ar rcs libcamljni.a jnistubs.o
> ocamlc -g -linkall -a -o jni.cma -custom jni.cmo \
>             -ccopt "-L/usr/lib/jvm/default-java/jre/lib// -L/usr/lib/jvm/default-java/jre/lib//server -Wl,-rpath,/usr/lib/jvm/default-java/jre/lib// -Wl,-rpath,/usr/lib/jvm/default-java/jre/lib//server -Wl,-rpath,/usr/lib/jvm/default-java/jre/lib//native_threads" -cclib -lcamljni -cclib "-ljvm"
> Please specify at most one of -pack, -a, -c, -output-obj
> make[3]: *** [Makefile:18: jni.cma] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/camljava_0.3-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: camljava
Source-Version: 0.3-4
Done: Stéphane Glondu <glondu@debian.org>

We believe that the bug you reported is fixed in the latest version of
camljava, 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 973181@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 camljava 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 03 Jan 2022 15:47:32 +0100
Source: camljava
Architecture: source
Version: 0.3-4
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Closes: 973181
Changes:
 camljava (0.3-4) unstable; urgency=medium
 .
   * Team upload
   * Do not link jni.cma with -custom (Closes: #973181)
   * Bump Standards-Version to 4.6.0
   * Update debian/watch: bump version to 4, point to new upstream location
Checksums-Sha1:
 bb11513d49e96ac62050de09385963dcac1baf54 1725 camljava_0.3-4.dsc
 0f0c0d913cb95d555032b9b4327f44f89e9c5ea5 6932 camljava_0.3-4.debian.tar.xz
Checksums-Sha256:
 c432a9cff686e01b58539e5f59d0543e932bee71b0667cd77887bebc10e8331c 1725 camljava_0.3-4.dsc
 dcdb0dc3ecb177313e1268fb8719c616ad794e05435cab2cdf5b84686a3671b7 6932 camljava_0.3-4.debian.tar.xz
Files:
 0bb10222e2f64dc95b163f914cf701db 1725 ocaml optional camljava_0.3-4.dsc
 9a76d8b8007d4d2c66754c568f5fce70 6932 ocaml optional camljava_0.3-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmHTDykSHGdsb25kdUBk
ZWJpYW4ub3JnAAoJECG47vGxiTCB5AQIAI93XONhGX09F6ReZ0qo2kT640e8QST3
xpsaXzbLlqBov9ZKpWLj8PmYHfAbqLDuRtCudM/hF6yHh6Qoj07WoCn/tZpjc6Yi
HEb7w/21za5NfrKOiYRvdIxlUCTHJTcnPTb4UbWTp0/x+7rtSnzVpnK492uAxzZr
TdbwpIH+6BSWhW1BRjfH864dwU1of8EjQkKqeX4xJQKBPrHvWBptWT8uuhg0rTLs
ySp2rpYNJOYIDWdc3KtODKAKEDx6Nwz7+0nE6OwhwKMipaN4N2YmNIjenEL2EKGI
54fEs60oYkY1RJwjR4S9/fdDBA7HoHrHPbLOs2WVFXox9wXvSETPe4s=
=ngFb
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: