Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #11392
| From | Lucas Kanashiro <kanashiro@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: maven-debian-helper and dh's --builddirectory option |
| Date | 2019-09-16 17:00 +0200 |
| Message-ID | <yH0DT-18D-9@gated-at.bofh.it> (permalink) |
| References | <yFYb8-7Uf-5@gated-at.bofh.it> <yGmwN-7x7-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Markus, On 14/09/2019 17:06, Markus Koschany wrote: > Hi Lucas, > > Am 13.09.19 um 20:09 schrieb Lucas Kanashiro: >> Hi, >> >> I've recently started to package some java libraries (old versions for a >> specific project, not suitable for the Debian archive) and I am facing >> an issue when I am building a Maven based project using the dh's >> --builddirectory option. When dh_auto_install is executed it calls >> mh_resolve_dependencies inside the build directory, but it stops and >> waits for user interaction (asking upstream version and so on), even if >> it is called with --non-interactive option: > Could you upload your package to Git or somewhere else where I can take > a look at it? There are some workarounds but I think you can have an idea (with this version you can reproduce what I reported): https://github.com/lucaskanashiro/yetus > If you want to package a Maven based Java library, maven-debian-helper > will automatically transform all versions of build-dependencies to the > "debian" version. You can override this behavior with a > debian/maven.rules file. The idea behind this is that we want to avoid > build failures every time a reverse-dependency has been updated and the > version changes. That also means all Java packages must work with one > single library version since we usually don't package multiple versions > of the same library. The --builddirectory option is not Java specific, > not sure what you are trying to accomplish though. I know it is not Java specific, that's why I used the term "dh's --builddirectory option" :-) The thing is that the Java library I want to package is in a sub-directory (not in the upstream's root directory), I thought I could use the --builddirectory option to accomplish that. Is there a better alternative? >> As a side note when I build the package with sbuild it does not get >> stuck waiting for user interaction and the binaries are successfully >> built but when I try to build it in a clean chroot using >> dpkg-buildpackage it waits for user's answer. >> >> Thanks in advance for any help or tip! > That should never happen. Something is horribly wrong. :) Please send me > a link to your current packaging and I will take a look. Thanks for taking a look Markus, there might have something wrong since I am not a Java packager expert :-) Cheers! -- Lucas Kanashiro
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
maven-debian-helper and dh's --builddirectory option Lucas Kanashiro <kanashiro@debian.org> - 2019-09-13 20:10 +0200
Re: maven-debian-helper and dh's --builddirectory option Markus Koschany <apo@debian.org> - 2019-09-14 22:10 +0200
Re: maven-debian-helper and dh's --builddirectory option Lucas Kanashiro <kanashiro@debian.org> - 2019-09-16 17:00 +0200
Re: maven-debian-helper and dh's --builddirectory option Markus Koschany <apo@debian.org> - 2019-09-17 12:30 +0200
Re: maven-debian-helper and dh's --builddirectory option Lucas Kanashiro <kanashiro@debian.org> - 2019-09-18 15:10 +0200
Re: maven-debian-helper and dh's --builddirectory option Emmanuel Bourg <ebourg@apache.org> - 2019-09-17 13:30 +0200
Re: maven-debian-helper and dh's --builddirectory option Lucas Kanashiro <kanashiro@debian.org> - 2019-09-18 15:10 +0200
csiph-web