Il 11/03/2016 00:18, Christopher Hoskin ha scritto: > Dear Luca, > > Great! I've built and installed the sat4j package, however, when I try > to build tycho maven is unable to find sat4j (extract from the build log > below). Any ideas? > You are right. I misspelled the paths under /usr/share/maven-repo. I'll fix it.
> Also, the following packages are missing from Build-Depends in > debian/control: > > debhelper, > rsync, > libmaven-compiler-plugin-java, > libsurefire-java, > libmaven-jar-plugin-java, > I'll fix this too, thank you. > Christopher > > dh build > dh_testdir > dh_update_autotools_config > dh_auto_configure > debian/rules override_dh_auto_build > make[1]: Entering directory '/tmp/tycho/tycho-0.24.0' > mkdir -p /tmp/tycho/tycho-0.24.0/debian/tmp/.m2 > rsync -rLq /usr/share/maven-repo/* /tmp/tycho/tycho-0.24.0/debian/tmp/.m2 > ./debian/eclipse-bootstrap.sh /tmp/tycho/tycho-0.24.0/debian/tmp/.m2 > /tmp/tycho/tycho-0.24.0/debian/tmp/ > Copying files... > [INFO] Scanning for projects... > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Eclipse Bootstrap 4.5.6 > [INFO] > ------------------------------------------------------------------------ > [WARNING] The POM for org.ow2.sat4j:org.ow2.sat4j.core:jar:2.3.5 is > missing, no dependency information available > [WARNING] The POM for org.ow2.sat4j:org.ow2.sat4j.pb:jar:2.3.5 is > missing, no dependency information available > [WARNING] The POM for org.ow2.sat4j:org.ow2.sat4j.maxsat:jar:2.3.5 is > missing, no dependency information available > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 0.219 s > [INFO] Finished at: 2016-03-10T23:15:00+00:00 > [INFO] Final Memory: 7M/153M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project eclipse-bootstrap: Could not > resolve dependencies for project > org.eclipse:eclipse-bootstrap:jar:4.5.6: The following artifacts could > not be resolved: org.ow2.sat4j:org.ow2.sat4j.core:jar:2.3.5, > org.ow2.sat4j:org.ow2.sat4j.pb:jar:2.3.5, > org.ow2.sat4j:org.ow2.sat4j.maxsat:jar:2.3.5: Cannot access central > (https://repo.maven.apache.org/maven2) in offline mode and the artifact > org.ow2.sat4j:org.ow2.sat4j.core:jar:2.3.5 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 > debian/rules:31: recipe for target 'override_dh_auto_build' failed > make[1]: *** [override_dh_auto_build] Error 1 > make[1]: Leaving directory '/tmp/tycho/tycho-0.24.0' > debian/rules:21: recipe for target 'build' failed > make: *** [build] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > debuild: fatal error at line 1376: > dpkg-buildpackage -rfakeroot -D -us -uc failed > > > On 10 March 2016 at 13:56, Luca Vercelli <[email protected] > <mailto:[email protected]>> wrote: > > Here it is. > https://mentors.debian.net/package/tycho > > I had to upload also an updated version of sat4j > https://mentors.debian.net/package/sat4j > > Regards. > > > Il 29/02/2016 13:38, Markus Koschany ha scritto: >> Am 29.02.2016 um 13:34 schrieb Luca Vercelli: >>> Ok, I found a way to merge Eclipse and Tycho "bootstrap" >>> sources. It's not clean, not elegant, but it builds. I think it's >>> a starting point. I had some issues with the versions of Maven >>> plugins, I had to manually write them into pom's, and I still >>> don't understand why. >>> >>> Now, I don't know exactly what I am supposed to do with this >>> package. Regards. Luca > >> You could publish your package on mentors.debian.net > <http://mentors.debian.net>. > >> http://mentors.debian.net/intro-maintainers > >> Regards, > >> Markus > > > >

