Project

General

Profile

Actions

Bug #8526

closed

Architecture #6770: Rework rudder-agent makefile to make it more standard

Error with java build dependency on SLES11

Added by Alexis Mousset over 8 years ago. Updated about 8 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

09:06:07 if [ "zi686" = "zx86_64" ] && [ "zjdk" = "zjdk" ];then wget -q -O /tmp/jdk-6u27-linux-x64-rpm.bin "http://www.normation.com/tarball/jdk-6u27-linux-x64-rpm.bin";chmod u+x /tmp/jdk-6u27-linux-x64-rpm.bin;/tmp/jdk-6u27-linux-x64-rpm.bin;fi
09:06:07 if [ "zi686" != "zx86_64" ] && [ "zjdk" = "zjdk" ];then wget -q -O /tmp/jdk-6u27-linux-i586-rpm.bin "http://www.normation.com/tarball/jdk-6u27-linux-i586-rpm.bin";chmod u+x /tmp/jdk-6u27-linux-i586-rpm.bin;/tmp/jdk-6u27-linux-i586-rpm.bin;fi
09:06:07 Unpacking...
09:06:07 Checksumming...
09:06:07 Extracting...
09:06:07 UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
09:06:08   inflating: jdk-6u27-linux-i586.rpm  
09:06:08   inflating: sun-javadb-common-10.6.2-1.1.i386.rpm  
09:06:08   inflating: sun-javadb-core-10.6.2-1.1.i386.rpm  
09:06:08   inflating: sun-javadb-client-10.6.2-1.1.i386.rpm  
09:06:08   inflating: sun-javadb-demo-10.6.2-1.1.i386.rpm  
09:06:08   inflating: sun-javadb-docs-10.6.2-1.1.i386.rpm  
09:06:08   inflating: sun-javadb-javadoc-10.6.2-1.1.i386.rpm  
09:06:08 Preparing...                ##################################################
09:06:08     package jdk-1.7.0_71-fcs.i586 (which is newer than jdk-1.6.0_27-fcs.i586) is already installed
09:06:08     file /etc/init.d/jexec from install of jdk-1.6.0_27-fcs.i586 conflicts with file from package jdk-1.7.0_71-fcs.i586
09:06:08  
09:06:08 Done.
09:06:08 # Accept expired GPG Key for zypper on old SLES versions
09:06:08 if [ "zSLES" = "zSLES" -a "z11" = "z10" ];then echo -e "y\ny" | zypper ref || true;fi
09:06:08 if [ ! -z "" ];then zypper -n install ;fi
09:06:08 if [ ! -z "" ];then zypper -n install ;fi
09:06:08 # We used to use the epoch field of RPM spec files to manage version comparaisons
09:06:08 # But we stopped doing this on the day with timestamp 1366900520
09:06:08 sed -i "s@^Epoch.*@Epoch: 1398866025@" SPECS/*.spec
09:06:08 rpmbuild --define "_topdir /usr/src/rudder-packages/package" --define "real_version 3.3.0.alpha1.git201606140809" -ba SPECS/*.spec
09:06:08 error: Failed build dependencies:
09:06:08     jre is needed by rudder-reports-3.3.0.alpha1.git201606140809-1.SLES.11.noarch
09:06:08 make: *** [buildpackage-rpm-build-rpmbuild] Error 1

Subtasks 1 (0 open1 closed)

Bug #8530: Error with java build dependency on SLES11ReleasedBenoît PECCATTE2016-06-14Actions
Actions

Also available in: Atom PDF