Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Bastien =?ISO-8859-1?Q?Roucari=E8s?= Newsgroups: linux.debian.maint.java Subject: Re: Help with jmagick Date: Tue, 24 Sep 2024 15:00:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Tue Sep 24 12:51:50 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-114.51 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12914100.5cD9WdgptA"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Debian-User: rouca X-Mailing-List: archive/latest/23517 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/6171237.RLq6T125ht@portable-bastien Approved: robomod@news.nic.it Lines: 161 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Bastien =?ISO-8859-1?Q?Roucari=E8s?= X-Original-Date: Tue, 24 Sep 2024 12:51:32 +0000 X-Original-Message-ID: <6171237.RLq6T125ht@portable-bastien> X-Original-References: <1798786.8dlY6mphUD@portable-bastien> <10dd27f9-cb36-4d92-8352-fc9037650526@debian.org> <14038522.vrV9OIXbG2@portable-bastien> Xref: csiph.com linux.debian.maint.java:12816 --nextPart12914100.5cD9WdgptA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Bastien =?ISO-8859-1?Q?Roucari=E8s?= To: debian-java@lists.debian.org, Pierre Gruet Cc: Bastien =?ISO-8859-1?Q?Roucari=E8s?= Subject: Re: Help with jmagick Date: Tue, 24 Sep 2024 12:51:16 +0000 Message-ID: <6171237.RLq6T125ht@portable-bastien> In-Reply-To: <14038522.vrV9OIXbG2@portable-bastien> MIME-Version: 1.0 Le samedi 31 ao=C3=BBt 2024, 19:46:14 UTC Bastien Roucari=C3=A8s a =C3=A9cr= it : Hi Pierre, I could achieve to get the last step packaged Can you get a glimpse bastien > Le samedi 31 ao=C3=BBt 2024, 19:42:37 UTC Pierre Gruet a =C3=A9crit : > > Hi Bastien, > >=20 > > Le 31/08/2024 =C3=A0 19:45, Bastien Roucari=C3=A8s a =C3=A9crit : > > > Le samedi 31 ao=C3=BBt 2024, 06:29:33 UTC Pierre Gruet a =C3=A9crit : > > >> Hi Bastien, > > >> > > >> Le 31/08/2024 =C3=A0 02:01, Bastien Roucari=C3=A8s a =C3=A9crit : > > >>> Le vendredi 30 ao=C3=BBt 2024, 17:43:24 UTC Emmanuel Bourg a =C3=A9= crit : > > >>>> Le 30/08/2024 =C3=A0 15:47, Bastien Roucari=C3=A8s a =C3=A9crit : > > >>>> > > >>>>> Can someone get a glimpse at jmagick > > >>>>> > > >>>>> It tried to import newer java version for imagemagick7 but it FTB= =46S > > >>>> > > >>>> Hi Bastien, > > >>>> > > >>>> Do you have a build log to share so we can look into it? > > >>> > > >>> You could begin to build here > > >>> https://salsa.debian.org/java-team/jmagick > > >> > > >> I guess the "--with javahelper" in d/rules can be removed, else add > > >> javahelper as a B-D. > > >> > > >> Once this is done, there is a problem in the configure step > > >> > > >> /* confdefs.h */ > > >> #define PACKAGE_NAME "jmagick" > > >> #define PACKAGE_TARNAME "jmagick" > > >> #define PACKAGE_VERSION "7.0.4" > > >> #define PACKAGE_STRING "jmagick 7.0.4" > > >> #define PACKAGE_BUGREPORT "" > > >> #define PACKAGE_URL "" > > >> #define PACKAGE "jmagick" > > >> #define VERSION "7.0.4" > > >> > > >> configure: exit 1 > > >> dh_auto_configure: error: ./configure --build=3Dx86_64-linux-gnu > > >> --prefix=3D/usr --includedir=3D\${prefix}/include > > >> --mandir=3D\${prefix}/share/man --infodir=3D\${prefix}/share/info > > >> --sysconfdir=3D/etc --localstatedir=3D/var --disable-option-checking > > >> --disable-silent-rules --libdir=3D\${prefix}/lib/x86_64-linux-gnu > > >> --libexecdir=3D\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-= mode > > >> --disable-dependency-tracking returned exit code 1 > > >> > > >> But this is not Java-related. > > >=20 > > > Ok now it fail during test with a java error > > >=20 > > > Can you get a glimpse? > > >=20 > > > bastien > > I have pushed a commit which includes the Debian-packaged junit4 jar in= =20 > > the classpath for the tests, this removes the error you saw. > > Then some tests are failing, but this seems to be caused by a missing f= ile: > >=20 > > There were 13 errors: > > 1) testDespeckle(magicktest.TestJMagick)java.io.IOException: Cannot run= =20 > > program "compare": error=3D2, No such file or directory > > at=20 > > java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170) > > at=20 > > java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089) > > at java.base/java.lang.Runtime.exec(Runtime.java:681) > > at java.base/java.lang.Runtime.exec(Runtime.java:577) > > at=20 > > magicktest.MagickTesttools.compareImage(MagickTesttools.java:101) > > at=20 > > magicktest.MagickTesttools.writeAndCompare(MagickTesttools.java:161) > > at magicktest.TestJMagick.testDespeckle(TestJMagick.java:465) > > at=20 > > java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Direct= MethodHandleAccessor.java:103) > > Caused by: java.io.IOException: error=3D2, No such file or directory > > at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) > > at java.base/java.lang.ProcessImpl.(ProcessImpl.java:295) > > at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:225) > > at=20 > > java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126) > > ... 19 more > >=20 > > [...] > >=20 > >=20 > >=20 > > Also when I first built the package pulled from the Salsa repo, I got=20 > > the failure > >=20 > > magick_PixelPacket.c:12:14: fatal error: wand/magick-wand.h: No such=20 > > file or directory > > 2812 12 | # include > > 2813 | ^~~~~~~~~~~~~~~~~~~~ > > 2814 compilation terminated. > >=20 > > which was solved by adding libmagickwand-6-headers to the B-D. Perhaps= =20 > > you should also to this. >=20 > Thanks >=20 > Can you also enable salsa pipeline ? >=20 > bastien > >=20 > > Best, > >=20 >=20 >=20 --nextPart12914100.5cD9WdgptA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmbytcQACgkQADoaLapB CF9bVhAAgi/B6kydX0+4KNS9L0o0nJViJgSdbTIk/wC74Ho4BoRqCo/OxBXxl3ys OVRpILPfRVM5QLDTDXGI6Guz32cg3AX3ZfoQo2z9V8TnEdBdvv17FfWd6Fs3m5Jb CF4Wm5J3uvPDLfQwJoMSLQpa6a95Mi4I+ndZU7ck/AXPauMbgeWvApRAQpWpPkMQ Or1cBUCAZplIcEvYmaqGNdk3fCWePXIzbT5vy2o9W3bV19FQ5RQvTzoZ7+Bf8+F+ Dd38yZAFu7R4BZu97Jo1DB5fQlKbstsh+ZCQ1wxoCzZUwpqcrNLbGoz6h0ojkEV+ ts3iyQvhQFX/5cXcCusQytjSdKCqZVopfrmGO5k25qFWQWHnljAE2DR0PAE0El4Z +V+MSKtaVRtatRJiN7p2N2O0lHYaPqAR+RQVpsWoDFn1pLoKbxxHxRBFUREV1Won pshuBNicDGV5HnrBTSDGnVIsZ1/X8VpqeXIvLHa2ms1k3M4LMb/XMPJea5eqi7TE 0kjjIVDObh/TdjVjF+a/i3OKtpc774rXOetTT0M38PCznL6B6tCyx38zBEFXrxcI 8Sbe7winrJZmPDV4AxgIEhYV2uB/ZXY5vTJ4tEF7C3U9BQxhf4b2kSYudzQOXxqI k09map5qMz7kQYdbdXF/+EzVCLNZljnbDNHuLgcDuFiAVtJmEJY= =h+Ti -----END PGP SIGNATURE----- --nextPart12914100.5cD9WdgptA--