[
https://issues.apache.org/jira/browse/AURORA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephan Erb updated AURORA-1687:
--------------------------------
Fix Version/s: 0.14.0
> Nightly packaging builds broken by ppa:openjdk-r java packaging shift.
> ----------------------------------------------------------------------
>
> Key: AURORA-1687
> URL: https://issues.apache.org/jira/browse/AURORA-1687
> Project: Aurora
> Issue Type: Bug
> Components: Packaging
> Reporter: John Sirois
> Assignee: John Sirois
> Fix For: 0.14.0
>
>
> The failures look like so - for the ubuntu-trusty builder:
> {noformat}
> ...
> + mkdir -p build/opt
> + unzip -q -o -d build/opt/ gradle-2.12-bin.zip
> + fpm_args=(-t deb -s dir --force --name "gradle-${VERSION}" --version
> "${VERSION}" --iteration "${ITERATION}" --depends "java-runtime |
> default-jre-headless" --architecture all --maintainer "Benjamin Staffin
> <[email protected]>" --license "Apache-2.0" --category java --url
> https://www.gradle.org/ --after-install gradle.postinst.erb --before-remove
> gradle.prerm.erb --template-scripts -C build --provides groovy --exclude
> '*.bat' --description "$description" opt)
> + fpm -t deb -s dir --force --name gradle-2.12 --version 2.12 --iteration 2
> --depends 'java-runtime | default-jre-headless' --architecture all
> --maintainer 'Benjamin Staffin <[email protected]>' --license Apache-2.0
> --category java --url https://www.gradle.org/ --after-install
> gradle.postinst.erb --before-remove gradle.prerm.erb --template-scripts -C
> build --provides groovy --exclude '*.bat' --description 'Groovy based build
> system
> Gradle is a build system written in Groovy. It uses Groovy
> also as the language for its build scripts. It has a powerful
> multi-project build support. It has a layer on top of Ivy
> that provides a build-by-convention integration for Ivy. It
> gives you always the choice between the flexibility of Ant
> and the convenience of a build-by-convention behavior.' opt
> corefines: Your Ruby doesn't support refinements, so I'll fake them using
> plain monkey-patching (not scoped!).
> {:timestamp=>"2016-05-02T00:41:29.646752+0000", :message=>"Debian packaging
> tools generally labels all files in /etc as config files, as mandated by
> policy, so fpm defaults to this behavior for deb packages. You can disable
> this default behavior with --deb-no-default-config-files flag", :level=>:warn}
> {:timestamp=>"2016-05-02T00:41:29.862617+0000", :message=>"Debian packaging
> tools generally labels all files in /etc as config files, as mandated by
> policy, so fpm defaults to this behavior for deb packages. You can disable
> this default behavior with --deb-no-default-config-files flag", :level=>:warn}
> {:timestamp=>"2016-05-02T00:41:32.720788+0000", :message=>"Created package",
> :path=>"gradle-2.12_2.12-2_all.deb"}
> Selecting previously unselected package gradle-2.12.
> (Reading database ... 33068 files and directories currently installed.)
> Preparing to unpack gradle-2.12_2.12-2_all.deb ...
> Unpacking gradle-2.12 (2.12-2) ...
> dpkg: dependency problems prevent configuration of gradle-2.12:
> gradle-2.12 depends on java-runtime | default-jre-headless; however:
> Package java-runtime is not installed.
> Package default-jre-headless is not installed.
> dpkg: error processing package gradle-2.12 (--install):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> gradle-2.12
> The command '/bin/sh -c git clone --depth 1
> https://github.com/benley/gradle-packaging && cd gradle-packaging &&
> apt-get install -y ruby ruby-dev unzip wget && gem install fpm &&
> ./gradle-mkdeb.sh 2.12 && dpkg -i gradle-2.12_2.12-2_all.deb && cd .. &&
> rm -rf gradle-packaging' returned a non-zero code: 1
> Build step 'Execute shell' marked build as failure
> Skipped archiving because build is not successful
> Sending e-mails to: [email protected]
> Finished: FAILURE
> {noformat}
> Likely related to the packaging change referenced in this mesos thread:
> http://markmail.org/message/rofuiaclgkesfx3o
> The failure snipped above in particular installs {{openjdk-8-jre:amd64
> (8u91-b14-0ubuntu4~14.04)}}.
> I cannot repro on debian-jessie, which is only at {{8u72-b15-1~bpo8+1}} on a
> fresh re-build and uses its own backports repo with likely different deb
> provides mutation policies.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)