Ultimate Debian DatabaseのBug search Cleaner viewから。
apr-rdependes
で依存パッケージの確認
gradle-debian-helper
パッケージをBuild-Dependsに加えて、debian/rules
でdh $@ -with buildsystem=gradle
…って間違ってるやん--buildsystem=gradle
だよね…。* What went wrong:
A problem occurred configuring root project 'powermock'.
> Could not resolve all files for configuration ':classpath'.
> Could not resolve org.springframework.build.gradle:propdeps-plugin:0.0.7.
Required by:
project :
> No cached version of org.springframework.build.gradle:propdeps-plugin:0.0.7 available for offline mode.
> No cached version of org.springframework.build.gradle:propdeps-plugin:0.0.7 available for offline mode.
> No cached version of org.springframework.build.gradle:propdeps-plugin:0.0.7 available for offline mode.
> No cached version of org.springframework.build.gradle:propdeps-plugin:0.0.7 available for offline mode.
> Could not resolve com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4.
Required by:
project :
> No cached version of com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4 available for offline mode.
> No cached version of com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4 available for offline mode.
> No cached version of com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4 available for offline mode.
> No cached version of com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4 available for offline mode.
> Could not resolve net.researchgate:gradle-release:2.4.0.
Required by:
project :
> No cached version of net.researchgate:gradle-release:2.4.0 available for offline mode.
> No cached version of net.researchgate:gradle-release:2.4.0 available for offline mode.
> No cached version of net.researchgate:gradle-release:2.4.0 available for offline mode.
> No cached version of net.researchgate:gradle-release:2.4.0 available for offline mode.
> Could not resolve com.github.jengelman.gradle.plugins:shadow:1.2.4.
Required by:
project :
> No cached version of com.github.jengelman.gradle.plugins:shadow:1.2.4 available for offline mode.
> No cached version of com.github.jengelman.gradle.plugins:shadow:1.2.4 available for offline mode.
> No cached version of com.github.jengelman.gradle.plugins:shadow:1.2.4 available for offline mode.
> No cached version of com.github.jengelman.gradle.plugins:shadow:1.2.4 available for offline mode.
> Could not resolve org.shipkit:shipkit:2.0.31.
Required by:
project :
> No cached version of org.shipkit:shipkit:2.0.31 available for offline mode.
> No cached version of org.shipkit:shipkit:2.0.31 available for offline mode.
> No cached version of org.shipkit:shipkit:2.0.31 available for offline mode.
> No cached version of org.shipkit:shipkit:2.0.31 available for offline mode.
> Could not resolve ru.vyarus:gradle-animalsniffer-plugin:1.4.1.
Required by:
project :
> No cached version of ru.vyarus:gradle-animalsniffer-plugin:1.4.1 available for offline mode.
> No cached version of ru.vyarus:gradle-animalsniffer-plugin:1.4.1 available for offline mode.
> No cached version of ru.vyarus:gradle-animalsniffer-plugin:1.4.1 available for offline mode.
> No cached version of ru.vyarus:gradle-animalsniffer-plugin:1.4.1 available for offline mode.
エラーに出ている足りないパッケージについて、適当にパッケージ名を付けてBuild-Depends
に指定。
pbuilder-satisfydepends-dummy : Depends: gradle-bintray-plugin which is a virtual package and is not provided by any available package
Depends: gradle-release which is a virtual package and is not provided by any available package
Depends: gradle-shadow which is a virtual package and is not provided by any available package
Depends: gradle-shipkit which is a virtual package and is not provided by any available package
Depends: gradle-animalsniffer-plugin which is a virtual package and is not provided by any available package
gradle-propdeps-plugin
はパッケージがあったので追加。gradle-animalsniffer-plugin
はhttps://github.com/xvik/gradle-animalsniffer-pluginかららしい。
animalsniffer
に依存している。libanimal-sniffer-java
パッケージがあるのでこれだな。「Use version 1.17 (toolVersion=1.17) if you need to run on java 9, but note that 1.17 can't be used on java 8 (and that's why it is not set by default)」
→Java11でbusterはリリースされるので1.17が必要libanimal-sniffer-java
は1.16なので、まずコイツのアップデートが必要…。$ apt-rdepends -r libanimal-sniffer-java
の結果は何もなかったので、ぶっ込んでも大丈夫じゃないかな。gradle-shipkit
はhttps://github.com/mockito/shipkitだなgradle-shadow
はhttps://github.com/johnrengelman/shadowgradle-release
はhttps://github.com/researchgate/gradle-releasegradle-bintray-plugin
はhttps://github.com/bintray/gradle-bintray-plugindh12
に上げたらビルドがコケるように。あれ?# root@hp:/build/os-autoinst-4.5.1527308405.8b586d5# find . -name '*.pm' -print
./debian/os-autoinst/usr/libexec/os-autoinst/consoles/sshXtermIPMI.pm
./debian/os-autoinst/usr/libexec/os-autoinst/consoles/vnc_base.pm
./debian/os-autoinst/usr/libexec/os-autoinst/consoles/localXvnc.pm
./debian/os-autoinst/usr/libexec/os-autoinst/consoles/sshX3270.pm
./debian/os-autoinst/usr/libexec/os-autoinst/consoles/sshVirtsh.pm
./debian/os-autoinst/usr/libexec/os-autoinst/consoles/virtio_terminal.pm
おいおい。何故か/usr/libexec
以下にインストールするようになっとるやん。man debhelper
で答えを探す…見つけた。
The build systems meson and autoconf no longer explicitly set the --libexecdir variable and thus relies on the build system default - which should be /usr/libexec (per FHS 3.0, adopted in Debian Policy 4.1.5).
ということで。どうやって直すかね。。。
YubikeyでSSH接続しようとしたら謎のエラーがでて焦る。結局、手元の~/.gnupg/private-keys-v1.d
のファイルが腐ってるというオチだったのだけど、絞り込むのも時間かかった…
mv .gnupg bak.gnupg
などとして接続→問題なし(これで.gnupg
以下のファイルのうちどれかがおかしい)やれやれ。
今日は成果が得られなかった一日。