Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Benjamin Mesing Newsgroups: linux.debian.maint.java Subject: Re: Need help to upgrade libnetlib-java package Date: Sun, 10 Apr 2016 11:00:01 +0200 Message-ID: References: X-Original-To: Andreas Tille , Debian Java List X-Mailbox-Line: From debian-java-request@lists.debian.org Sun Apr 10 08:58:33 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.476 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO=1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, MURPHY_SCAM1=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.996] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmx. - helo: .mout.gmx. - helo-domain: .gmx.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 Reply-To: bensmail@gmx.net Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:D7LZiD3JlXsKZYfmhPlzMpHycv916ccyip4xUvukVbBw0BrU+sg eLaMaNaxf/6UQioDWPUOmyTvgkJph/caflItebVAAxJkczU+pQTBLt6FTUFmalXE1M0iEKf dBITjsmLwYYbpBrdKDR7sI4P/WnN8uaYnIfkMFOu8t4WQCfbjw1RvvBVFqu5aGGab+n1gRj 4dO4wzIppxrvK3hxQ33jw== X-Ui-Out-Filterresults: notjunk:1;V01:K0:7GzGRQMI7qc=:GxTQ1PkAVUmWO82qKR6Ncx 75vto709Ekg4PzgzqLD8bcIHDcNG+49YTsUWxGq81yD54+8ptUwjgOQV2tTPf0F2N2VV8HVuK EZv2ksDH/QnIrUxNDZviuERQq7nGITgVMGwr5N+zKyKoRy3yqjsliWjf5VKBkjFd08b2BxNNy 8KwsehTwQna3D9QCfDA3DvvsX9Ugrx6roO302ifMqysQgFjWyU2tqB54URSkbeo+KF6y9ZJMY gFft3bEbClSv9V0KfXp49UKnDptNwhRmwI4RT7+Bzxn8WueludG+FenC/U17ixBU7wwgrR7Pq 0fYovnZu01mR2NdChkBVG0FHbc14to8JC0PMkj+QwWcv53RRvqr8CvWX9Ab0ZWyeC4nMyrE/P FlLDQ57xtVVFZcCueNT4DlLnjgGTITCYD3eO/ZJz1Kxzhw0TfnpRnZ2ROAVo+xdhViaJn8TjV La3FkfA/rD6K0yOcBfpTJRv4HAoETUpPSUD+1FiROhLTarUoPxbsMCO4vlCIy2tUDwV5a+DfX JlT8HmQzmTGLeWKsptF3AVmJbXa5aWqy6cvMqgbsalBQ2grE4jzERKNigFwtBq9V4DPdHSJKL ich8TJb1fIlcav8zISBZ33/v1LV6leBY4rexAUx7i9g0sqD6XyqMWwsPvcr4Ybnn83tf2mEIz VkkSjUU2Fe6Nipm/8FJ7qAHH6KhHKu5/3gsPcHtLe/+9VrEB6v3XnOU/77nJQ21azlRfaukM4 DLW1bfTYWPID0BSCWy7p7HLhuvv3pe5fA1vC0HE0NA/EEG24SbPdvRNvsQCL7ZHyYWuaT6gXQ NFgiPiA X-Mailing-List: archive/latest/19342 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1460278689.1559.16.camel@gmx.net Approved: robomod@news.nic.it Lines: 122 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 10 Apr 2016 10:58:09 +0200 X-Original-Message-ID: <1460278689.1559.16.camel@gmx.net> X-Original-References: <56AA8082.5080301@apache.org> <20160128213215.GM2043@an3as.eu> <56AA99D0.80701@apache.org> <20160129084953.GT2043@an3as.eu> <20160201220136.GA22689@an3as.eu> <56AFD8C8.20809@debian.org> <20160405093509.GC21481@an3as.eu> <57038F1C.6060406@debian.org> <20160405110208.GD26908@an3as.eu> <57091E9A.7040901@debian.org> <20160410071437.GD31278@an3as.eu> Xref: csiph.com linux.debian.maint.java:9016 Hi, I have downloaded and tried to build libnetlib-java=C2=A0 When trying to build I get the error: make -f debian/rules binary dh binary --buildsystem=3Dmaven --with javahelper =C2=A0=C2=A0=C2=A0dh_testdir -O--buildsystem=3Dmaven =C2=A0=C2=A0=C2=A0dh_update_autotools_config -O--buildsystem=3Dmaven =C2=A0=C2=A0=C2=A0dh_auto_configure -O--buildsystem=3Dmaven find: =E2=80=98/usr/share/maven-repo/org/codehaus/plexus/plexus-compile= r/*/*.jar=E2=80=99: No such file or directory find: =E2=80=98/usr/share/maven-repo/org/codehaus/plexus/plexus-compile= rs/*/*.jar=E2=80=99: No such file or directory find: =E2=80=98/usr/share/maven-repo/org/codehaus/plexus/plexus-contain= ers/*/*.jar=E2=80=99: No such file or directory =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0mh_patchpoms -plibnetli= b-java --debian-build --keep-pom-version --maven-repo=3D/home/ben/tmp/libne= tlib-java/debian/maven-repo [ERROR] Cannot find parent dependency org.sonatype.oss:oss-parent:pom:7= , use --no-parent option to resolve this issue or install the parent POM in= the Maven repository =C2=A0=C2=A0=C2=A0jh_linkjars -O--buildsystem=3Dmaven =C2=A0=C2=A0=C2=A0debian/rules override_dh_auto_build make[1]: Entering directory '/home/ben/tmp/libnetlib-java' dh_auto_build -- install =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/usr/lib/jvm/default-ja= va/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:= /usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=3D/usr/share/maven -Dm= aven.multiModuleProjectDirectory=3D/home/ben/tmp/libnetlib-java -Dclassworl= ds.conf=3D/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launche= r.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=3D/home/ben/tmp/li= bnetlib-java/debian -Dmaven.repo.local=3D/home/ben/tmp/libnetlib-java/debia= n/maven-repo install -DskipTests -Dnotimestamp=3Dtrue -Dlocale=3Den_US [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POM= s: [WARNING] 'parent.relativePath' of POM com.github.fommil.netlib:generat= or:1.1.1 (/home/ben/tmp/libnetlib-java/generator/pom.xml) points at com.git= hub.fommil.netlib:parent instead of org.sonatype.oss:oss-parent, please ver= ify your project structure @ line 8, column 10 [FATAL] Non-resolvable parent POM for com.github.fommil.netlib:generato= r:1.1.1: Cannot access sonatype-releases ( https://oss.sonatype.org/cont= ent/repositories/releases/ ) in offline mode and the artifact org.sonaty= pe.oss:oss-parent:pom:7 has not been downloaded from it before. and 'parent= .relativePath' points at wrong local POM @ line 8, column 10 =C2=A0@=C2=A0 [ERROR] The build could not read 1 project -> [Help 1] [ERROR]=C2=A0=C2=A0=C2=A0 [ERROR]=C2=A0=C2=A0=C2=A0The project com.github.fommil.netlib:generator= :1.1.1 (/home/ben/tmp/libnetlib-java/generator/pom.xml) has 1 error [ERROR]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Non-resolvable parent POM for com.= github.fommil.netlib:generator:1.1.1: Cannot access sonatype-releases ( = https://oss.sonatype.org/content/repositories/releases/ ) in offline mod= e and the artifact org.sonatype.oss:oss-parent:pom:7 has not been downloade= d from it before. and 'parent.relativePath' points at wrong local POM @ lin= e 8, column 10 -> [Help 2] [ERROR]=C2=A0 [ERROR] To see the full stack trace of the errors, re-run Maven with th= e -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]=C2=A0 [ERROR] For more information about the errors and possible solutions, p= lease read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/P= rojectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/Unresolva= bleModelException dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/= maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.j= ar -Dmaven.home=3D/usr/share/maven -Dmaven.multiModuleProjectDirectory=3D/h= ome/ben/tmp/libnetlib-java -Dclassworlds.conf=3D/etc/maven/m2-debian.conf o= rg.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debi= an.xml -Ddebian.dir=3D/home/ben/tmp/libnetlib-java/debian -Dmaven.repo.loca= l=3D/home/ben/tmp/libnetlib-java/debian/maven-repo install -DskipTests -Dno= timestamp=3Dtrue -Dlocale=3Den_US returned exit code 1 debian/rules:11: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory '/home/ben/tmp/libnetlib-java' debian/rules:8: recipe for target 'binary' failed make: *** [binary] Error 2 Is this the error you are getting? >From what I see, the error message ist pretty straightforward: Cannot access sonatype-releases (https://oss.sonatype.org/content/repos itories/releases/) in offline mode and the artifact org.sonatype.oss:oss-parent:pom:7 has not been downloaded from it before. I am totally new to maven in Debian and no maven expert in general, but to me it looks like we are missing the org.sonatype.oss:oss-parent pom here? This parent pom is referenced generator/pom.xml. Which package does provide the definition for oss-parent? Regards Ben On Sun, 2016-04-10 at 09:14 +0200, Andreas Tille wrote: > On Sat, Apr 09, 2016 at 05:24:10PM +0200, Markus Koschany wrote: > >=20 > > >=20 > > > >=20 > > > > https://anonscm.debian.org/cgit/pkg-java/libnetlib-java.git > > sorry I can't get it to work either. I don't understand the error > > Non-resolvable parent POM for com.github.fommil.netlib:parent and > > changing the version makes no difference. > Any other hint?=C2=A0=C2=A0I admit I'm tempted to upload an older version= to > main > (from contrib) since this build issue is blocking the migration of a > chain of dependencies for to long now. :-( >=20 > Kind regards >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Andreas. >=20 --=20 Please do not send any email to ben-ml@gmx.net -- all email not originating from the mailing list will be deleted. Use the reply to address instead.