#5219 tomcat6 fedora/rawhide java dependency appears broken
Closed: Invalid None Opened 11 years ago by nkinder.

<filing on behalf of dknox>

Hi,
I've performed scratch-builds of the current git contents for fedora tomcat6/rawhide (which built previously). The build is looking for java >= 1.6, fails, then installs gcj java 1.5. When R:java[-devel] >= 0:1.6.0 is specified (versus R:java) the error changes[2] and there is no attempt to install gcj (which I would expect). There are also several "already installed" comments which I don't recall having occured before.

[2]http://koji.fedoraproject.org/koji/getfile?taskID=4159550&name=root.log [Open URL]

[1] http://koji.fedoraproject.org/koji/getfile?taskID=4159499&name=root.log [Open URL] :

<snip from [1]>
DEBUG backend.py:862: ['/usr/bin/yum-builddep', '--installroot', '/var/lib/mock/f18-build-1363965-220904/root/', '/var/lib/mock/f18-build-1363965-220904/root///builddir/build/SRPMS/tomcat6-6.0.35-2.fc18.src.rpm']
DEBUG util.py:307: Executing command: ['/usr/bin/yum-builddep', '--installroot', '/var/lib/mock/f18-build-1363965-220904/root/', '/var/lib/mock/f18-build-1363965-220904/root///builddir/build/SRPMS/tomcat6-6.0.35-2.fc18.src.rpm']
DEBUG util.py:257: Getting requirements for tomcat6-6.0.35-2.fc18.src
DEBUG util.py:257: --> ant-1.8.3-2.fc18.noarch
DEBUG util.py:257: --> ant-1.8.3-2.fc18.noarch
DEBUG util.py:257: --> 1:ecj-3.4.2-13.fc18.x86_64
DEBUG util.py:257: --> Already installed : 1:findutils-4.5.10-5.fc18.x86_64
DEBUG util.py:257: --> apache-commons-collections-3.2.1-13.fc18.noarch
DEBUG util.py:257: --> apache-commons-daemon-1.0.10-3.fc18.x86_64
DEBUG util.py:257: --> apache-commons-dbcp-1.4-9.fc18.noarch
DEBUG util.py:257: --> apache-commons-pool-1.6-1.fc18.noarch
DEBUG util.py:257: --> jakarta-taglibs-standard-1.1.2-4.fc18.noarch
DEBUG util.py:257: --> java-1.5.0-gcj-devel-1.5.0.0-39.fc18.x86_64
DEBUG util.py:257: --> jpackage-utils-1.7.5-18.fc18.x86_64
DEBUG util.py:257: --> junit-4.10-5.fc18.noarch
DEBUG util.py:257: --> log4j-1.2.17-1.fc18.noarch
DEBUG util.py:257: --> Already installed : systemd-185-5.gita2368a3.fc18.x86_64
DEBUG util.py:257: Error: Package: apache-commons-daemon-1.0.10-3.fc18.x86_64 (build)
DEBUG util.py:257: Requires: java >= 1:1.6.0
DEBUG util.py:257: Installing: java-1.5.0-gcj-1.5.0.0-39.fc18.x86_64 (build)
DEBUG util.py:257: java = 1.5.0
DEBUG util.py:257: Error: Package: apache-commons-pool-1.6-1.fc18.noarch (build)
DEBUG util.py:257: Requires: java >= 1:1.6.0
DEBUG util.py:257: Installing: java-1.5.0-gcj-1.5.0.0-39.fc18.x86_64 (build)
DEBUG util.py:257: java = 1.5.0
DEBUG util.py:257: Error: Package: hamcrest-1.1-12.fc17.noarch (build)
DEBUG util.py:257: Requires: java >= 1:1.6.0
DEBUG util.py:257: Installing: java-1.5.0-gcj-1.5.0.0-39.fc18.x86_64 (build)
DEBUG util.py:257: java = 1.5.0
DEBUG util.py:257: Error: Package: junit-4.10-5.fc18.noarch (build)
DEBUG util.py:257: Requires: java >= 1:1.6.0
DEBUG util.py:257: Installing: java-1.5.0-gcj-1.5.0.0-39.fc18.x86_64 (build)
DEBUG util.py:257: java = 1.5.0
DEBUG util.py:257: Error: Package: qdox-1.12-4.fc17.noarch (build)
DEBUG util.py:257: Requires: java >= 1:1.6.0
DEBUG util.py:257: Installing: java-1.5.0-gcj-1.5.0.0-39.fc18.x86_64 (build)
DEBUG util.py:257: java = 1.5.0
DEBUG util.py:257: Error: Package: log4j-1.2.17-1.fc18.noarch (build)
DEBUG util.py:257: Requires: java >= 1:1.6.0
DEBUG util.py:257: Installing: java-1.5.0-gcj-1.5.0.0-39.fc18.x86_64 (build)
DEBUG util.py:257: java = 1.5.0


Looks to me that

Requires: java >= 1.6.0

is insufficient, as the java stack has an epoch now, you'll need to use instead:

Requires: java >= 1:1.6.0

details:
sudo yum whatprovides java

...

java-1.5.0-gcj-1.5.0.0-39.fc17.x86_64 : ... Provides : java = 1.5.0

1:java-1.7.0-openjdk-1.7.0.3-2.1.fc17.6.i686 : ... Provides : java = 1:1.7.0

This looks to me like it was filed in the wrong trac instance. If there is something that needs to be done/decided by rel-eng, please re-open this ticket.

Metadata Update from @nkinder:
- Issue set to the milestone: Fedora 18 Alpha

7 years ago

Login to comment on this ticket.

Metadata