John Sirois created AURORA-1687:
-----------------------------------

             Summary: Nightly packaging builds broken by debian 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


The failures look like so:
{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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to