Description of problem: In the current log4j package com.sun.jdmk.comm is occurs twice in the import-package portion of the manifest of log4j.jar. This causes linking as an orbit dependency for pdebuild to fail.
Please test http://koji.fedoraproject.org/koji/buildinfo?buildID=271248
Pdebuild still does not resolve log4j as an orbit dependency with error: [eclipse.buildScript] Bundle log4j: [eclipse.buildScript] Unsatisfied import package com.ibm.uvm.tools_0.0.0. [eclipse.buildScript] Unsatisfied import package com.sun.jdmk.comm_0.0.0. [eclipse.buildScript] Unsatisfied import package javax.jmdns_0.0.0. [eclipse.buildScript] Unsatisfied import package javax.jms_1.1.0. [eclipse.buildScript] Unsatisfied import package javax.mail_0.0.0. [eclipse.buildScript] Unsatisfied import package javax.mail.internet_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.config_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.helpers_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.jdbc_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.jmx_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.net_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.nt_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.or_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.or.jms_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.or.sax_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.pattern_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.spi_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.varia_0.0.0. [eclipse.buildScript] Unsatisfied import package org.apache.log4j.xml_0.0.0. Related SRPM: http://arobinso.fedorapeople.org/eclipse-mylyn-reviews-3.6.2-1.fc17.src.rpm
Can you retry with latest rawhide build? I've tried to build linked srpm and log4j errors seemed to go away. There were other issues though
The manifest should not contain the "uses" clause for the packages that are present in the log4j bundle. This should solve the majority of problems with unsatisfied org.apache* imports. All other imports should be satisfied by linking required jars into the pdebuild.
Andrew, does it work now ? Stano, having uses is really bad when one has dynamic collection of jars, assuming it's maven-bundle-plugin that genereates the manifest it should be a matter of adding <_nouses>true</_nouses> in its configurations section.
This issue no longer affects building eclipse-mylyn-reviews.