Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12040
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Pierre Gruet <pgtdebian@free.fr> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Help with libjsonp-java needed |
| Date | Sat, 16 Jan 2021 23:00:01 +0100 |
| Message-ID | <By1LX-7BV-5@gated-at.bofh.it> (permalink) |
| References | <BxZAu-6pp-11@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Sat Jan 16 21:52:39 2021 |
| Old-Return-Path | <pgtdebian@free.fr> |
| X-Amavis-Spam-Status | No, score=-9.826 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, NICE_REPLY_A=-2.749, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1610833943; bh=gtLKwINaDkqBrDLv7i3aZplnDZ9+jfPPODUgqMdXhXM=; h=To:References:From:Subject:Date:In-Reply-To:From; b=miD+xOwfxKXwinDoUeMCCzjxFEcknO69M1zRBZ3/LZfQk9CQ64szmwjXMmibbJlCQ s62uNU2nMht24zry9WwnpQCiw64+7wkQo2FGssciFzkHjKovKnt2xyV+RUIM7QiEsW X86QFiuU7y+9eX97t7bnFVY6yMOdcD4/himANFC461E65P2IAx4kas/Uvo9jm500VF o3NxXZNbQ+HtGahKwnILxJEDWAb80jZPXB9IuRSYT8WnliL8b4MBVPw4mpxG62+3Yo ux8lmPGgCDwaXOw2VM1ELy7iXeXOYJb09fSGLWN5CT+z3h6tJ1D9sM2oG9LE+0JRXB VT3AjqaRWX4LQ== |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Language | fr-FR |
| Content-Transfer-Encoding | 8bit |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/22667 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/b1a68c19-9860-4c25-e10d-41433e10658e@free.fr |
| Approved | robomod@news.nic.it |
| Lines | 56 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sat, 16 Jan 2021 22:52:21 +0100 |
| X-Original-Message-ID | <b1a68c19-9860-4c25-e10d-41433e10658e@free.fr> |
| X-Original-References | <20210116193133.GJ12301@an3as.eu> |
| Xref | csiph.com linux.debian.maint.java:12040 |
Show key headers only | View raw
Hi Andreas, Le 16/01/2021 à 20:31, Andreas Tille a écrit : > Hi, > > I'm not sure whether this is the right moment to update libjsonp-java but > I just stumbled upon it on the "stinks" page[1] and I'd love to make those > packages I'm responsible for non-stinky. ;-) Thus I refreshed the packaging > in Git[2] but the build time test issue I observed some time ago remains > and I simply have no idea how to fix it: > > > ... > [INFO] JSR 374 (JSON Processing) Default Provider ......... FAILURE [ 0.012 s] > [INFO] JSR 374 (JSON Processing) Media for JAX-RS 1.1 ..... SKIPPED > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 5.806 s > [INFO] Finished at: 2021-01-16T17:36:28Z > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project javax.json: Could not resolve dependencies for project org.glassfish:javax.json:bundle:1.1.2: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.json:javax.json-api:jar:debian has not been downloaded from it before. -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the command > [ERROR] mvn <args> -rf :javax.json > dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/libjsonp-java-1.1.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/libjsonp-java-1.1.2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/libjsonp-java-1.1.2/debian -Dmaven.repo.local=/build/libjsonp-java-1.1.2/debian/maven-repo install javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1 > > > I wonder whether somebody might have some clue. Yes, the issue is the version number of the dependency javax.json-api was hardcoded in the patch 03-bundle-dependencies -- this thus broke when the last upstream version was adopted. I have pushed a correction to Salsa. To have the package build, I also ignored the module jaxrs-1x in d/libjsonp-java.poms (pushed to Salsa as well). I think this is safe because you already ignored the jaxrs module, which is very close. If you need it, just revert my last commit, but then you will need to add a dependency on libjsr311-api-java and to modify some lines in jaxrs-1x/pom.xml. > > Kind regards > > Andreas. > All the best, Pierre
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Help with libjsonp-java needed Andreas Tille <andreas@an3as.eu> - 2021-01-16 20:40 +0100
Re: Help with libjsonp-java needed Pierre Gruet <pgtdebian@free.fr> - 2021-01-16 23:00 +0100
Re: Help with libjsonp-java needed Andreas Tille <andreas@an3as.eu> - 2021-01-17 09:20 +0100
csiph-web