Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12797
| Path | csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Bastien Roucariès <rouca@debian.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Help with jmagick |
| Date | Sat, 31 Aug 2024 21:50:01 +0200 |
| Message-ID | <JhCgF-92wC-11@gated-at.bofh.it> (permalink) |
| References | <JhCgF-92wC-13@gated-at.bofh.it> <JhaaK-8IRD-9@gated-at.bofh.it> <JhAoy-91kn-7@gated-at.bofh.it> <JhCgF-92wC-15@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Sat Aug 31 19:46:33 2024 |
| Old-Return-Path | <rouca@debian.org> |
| X-Amavis-Spam-Status | No, score=-114.52 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, T_SCC_BODY_TEXT_LINE=-0.01, 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="nextPart30278547.1FtXHWThEi"; micalg="pgp-sha512"; protocol="application/pgp-signature" |
| X-Debian-User | rouca |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/23494 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/14038522.vrV9OIXbG2@portable-bastien |
| Approved | robomod@news.nic.it |
| Lines | 148 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sat, 31 Aug 2024 19:46:14 +0000 |
| X-Original-Message-ID | <14038522.vrV9OIXbG2@portable-bastien> |
| X-Original-References | <1798786.8dlY6mphUD@portable-bastien> <61624699.eCcgA43oXl@portable-bastien> <10dd27f9-cb36-4d92-8352-fc9037650526@debian.org> |
| Xref | csiph.com linux.debian.maint.java:12797 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Le samedi 31 août 2024, 19:42:37 UTC Pierre Gruet a écrit :
> Hi Bastien,
>
> Le 31/08/2024 à 19:45, Bastien Roucariès a écrit :
> > Le samedi 31 août 2024, 06:29:33 UTC Pierre Gruet a écrit :
> >> Hi Bastien,
> >>
> >> Le 31/08/2024 à 02:01, Bastien Roucariès a écrit :
> >>> Le vendredi 30 août 2024, 17:43:24 UTC Emmanuel Bourg a écrit :
> >>>> Le 30/08/2024 à 15:47, Bastien Roucariès a écrit :
> >>>>
> >>>>> Can someone get a glimpse at jmagick
> >>>>>
> >>>>> It tried to import newer java version for imagemagick7 but it FTBFS
> >>>>
> >>>> 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=x86_64-linux-gnu
> >> --prefix=/usr --includedir=\${prefix}/include
> >> --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
> >> --sysconfdir=/etc --localstatedir=/var --disable-option-checking
> >> --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu
> >> --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode
> >> --disable-dependency-tracking returned exit code 1
> >>
> >> But this is not Java-related.
> >
> > Ok now it fail during test with a java error
> >
> > Can you get a glimpse?
> >
> > bastien
> I have pushed a commit which includes the Debian-packaged junit4 jar in
> 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 file:
>
> There were 13 errors:
> 1) testDespeckle(magicktest.TestJMagick)java.io.IOException: Cannot run
> program "compare": error=2, No such file or directory
> at
> java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170)
> at
> 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
> magicktest.MagickTesttools.compareImage(MagickTesttools.java:101)
> at
> magicktest.MagickTesttools.writeAndCompare(MagickTesttools.java:161)
> at magicktest.TestJMagick.testDespeckle(TestJMagick.java:465)
> at
> java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> Caused by: java.io.IOException: error=2, No such file or directory
> at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
> at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:295)
> at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:225)
> at
> java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126)
> ... 19 more
>
> [...]
>
>
>
> Also when I first built the package pulled from the Salsa repo, I got
> the failure
>
> magick_PixelPacket.c:12:14: fatal error: wand/magick-wand.h: No such
> file or directory
> 2812 12 | # include <wand/magick-wand.h>
> 2813 | ^~~~~~~~~~~~~~~~~~~~
> 2814 compilation terminated.
>
> which was solved by adding libmagickwand-6-headers to the B-D. Perhaps
> you should also to this.
Thanks
Can you also enable salsa pipeline ?
bastien
>
> Best,
>
> --
> Pierre
>
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Help with jmagick Bastien Roucariès <rouca@debian.org> - 2024-08-30 15:50 +0200
Re: Help with jmagick Emmanuel Bourg <ebourg@apache.org> - 2024-08-30 20:00 +0200
Re: Help with jmagick Bastien Roucariès <rouca@debian.org> - 2024-08-31 02:10 +0200
Re: Help with jmagick Bastien Roucariès <rouca@debian.org> - 2024-08-31 19:50 +0200
Re: Help with jmagick Bastien Roucariès <rouca@debian.org> - 2024-08-31 21:50 +0200
Re: Help with jmagick Bastien Roucariès <rouca@debian.org> - 2024-09-24 15:00 +0200
csiph-web