[Bug 977984] New: javapackages-tools: maven_depmap.py should record information about installed JAR files
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=977984
Bug ID: 977984
Summary: javapackages-tools: maven_depmap.py should record
information about installed JAR files
Product: Fedora
Version: rawhide
Component: javapackages-tools
Keywords: FutureFeature, Triaged
Severity: unspecified
Priority: high
Assignee: sochotni(a)redhat.com
Reporter: mizdebsk(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msrb(a)redhat.com,
sochotni(a)redhat.com, tradej(a)redhat.com
%add_maven_depmap (maven_depmap.py) should record more detailed information
about JAR files it adds depmaps for.
Description of problem:
Currently XMvn Subst relies on pom.properties to identify artifact files, but
this solution has limitations. JARs not build with Maven don't have
pom.properties and thus cannot be identified and are not processed by XMvn
Subst.
XMVn Subst has 2 main uses: (1) replacing bundled upstream binary JARs with
system libraries and (2) creating symlink structure in packages that ship JAR
repositories (like maven or jboss-as). We can't so much about the first case,
but in the second case all JARs should be coming from RPM packages so the
situation can be improved signifficantly. I have 2 proposed solutions:
1) maven_depmap.py would inject pom.properties (preferred solution). It has
knowledge about gId, aId and version so it would only have to open the JAR file
and add pom.properties if it's missing. In case pom.properties is present its
correctness should be verified and if it doesn't match the POM the build should
be aborted.
2) maven_depmap.py would store JAR file hash (like MD5) into fragment file. To
identify JAR file XMvn Subst would calculate hash of binary JAR and look it up
in fragment files. This solution is worse and should IMO be implemented only
if there are any problems with injecting pom.properties (solution nr 1).
If this reature is implemented then (after rebuild of all packages) XMvn Subst
will be able to create symlink structure for any combination of artifacts, as
long as they all are in Maven repository.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=z6nj7V9mfh&a=cc_unsubscribe
10 years, 8 months
[Bug 838711] New: ant builds are failing with Unexpected element "{}HTML" {antlib:org.apache.tools.ant}HTML
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=838711
Bug ID: 838711
QA Contact: extras-qa(a)fedoraproject.org
Severity: high
Version: rawhide
Priority: unspecified
CC: akurtako(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org,
jcapik(a)redhat.com, kdaniel(a)redhat.com,
mmatejov(a)redhat.com, tradej(a)redhat.com
Assignee: jcapik(a)redhat.com
Summary: ant builds are failing with Unexpected element
"{}HTML" {antlib:org.apache.tools.ant}HTML
Regression: ---
Story Points: ---
Classification: Fedora
OS: Linux
Reporter: orion(a)cora.nwra.com
Type: Bug
Documentation: ---
Hardware: All
Mount Type: ---
Status: NEW
Component: ant
Product: Fedora
Description of problem:
gridengine builds are failing in rawhide with:
/builddir/build/BUILD/GE2011.11p1/source/libs/jdrmaa/build.xml:35: Unexpected
element "{}HTML" {antlib:org.apache.tools.ant}HTML
http://koji.fedoraproject.org/koji/getfile?taskID=4227924&name=build.log
Works fine in F17. Last successful koji build in rawhide is from April 17th.
I wasn't able to fix by downgrading ant (and a number of other java libraries),
so I'm not sure what is causing it.
Version-Release number of selected component (if applicable):
ant-1.8.4-1.fc18.noarch
drmaa:
[echo] myant: Doing target="" on directory "libs/jdrmaa"
[java] Executing
'/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java' with arguments:
[java] '-Djava.compiler=none'
[java] '-classpath'
[java]
'/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/usr/share/java/antlr.jar:/usr/share/java/ant/ant-antlr.jar:/usr/share/java/bcel.jar:/usr/share/java/ant/ant-apache-bcel.jar:/usr/share/java/bsf.jar:/usr/share/java/ant/ant-apache-bsf.jar:/usr/share/java/log4j.jar:/usr/share/java/ant/ant-apache-log4j.jar:/usr/share/java/oro.jar:/usr/share/java/ant/ant-apache-oro.jar:/usr/share/java/regexp.jar:/usr/share/java/ant/ant-apache-regexp.jar:/usr/share/java/xml-commons-resolver.jar:/usr/share/java/ant/ant-apache-resolver.jar:/usr/share/java/xalan-j2.jar:/usr/share/java/xalan-j2-serializer.jar:/usr/share/java/ant/ant-apache-xalan2.jar:/usr/share/java/ant/ant-commons-logging.jar:/usr/share/java/ant/ant-commons-net.jar:/usr/share/java/javamail.jar:/usr/share/java/ant/ant-javamail.jar:/usr/share/java/jdepend.jar:/usr/share/java/ant/ant-jdepend.jar:/usr/share/java/ant/ant-jmf.jar:/usr/share/java/jsch.jar:/us!
r/share/java/ant/ant-jsch.jar:/usr/share/java/jtidy.jar:/usr/share/java/junit.jar:/usr/share/java/ant/ant-junit.jar:/usr/share/java/ant/ant-junit4.jar:/usr/share/java/ant/ant-swing.jar:/usr/share/java/ant/ant-testutil.jar:/usr/lib/jvm/java/lib/tools.jar:/usr/share/ant/lib/ant-testutil.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ant-commons-net.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-apache-xalan2.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-junit4.jar:/usr/s!
hare/ant/lib/ant-bootstrap.jar'
[java] 'org.apache.tools.ant.launch.Launcher'
[java]
[java] The ' characters around the executable and arguments are
[java] not part of the command.
Execute:Java13CommandLauncher: Executing
'/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java' with arguments:
'-Djava.compiler=none'
'-classpath'
'/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/usr/share/java/antlr.jar:/usr/share/java/ant/ant-antlr.jar:/usr/share/java/bcel.jar:/usr/share/java/ant/ant-apache-bcel.jar:/usr/share/java/bsf.jar:/usr/share/java/ant/ant-apache-bsf.jar:/usr/share/java/log4j.jar:/usr/share/java/ant/ant-apache-log4j.jar:/usr/share/java/oro.jar:/usr/share/java/ant/ant-apache-oro.jar:/usr/share/java/regexp.jar:/usr/share/java/ant/ant-apache-regexp.jar:/usr/share/java/xml-commons-resolver.jar:/usr/share/java/ant/ant-apache-resolver.jar:/usr/share/java/xalan-j2.jar:/usr/share/java/xalan-j2-serializer.jar:/usr/share/java/ant/ant-apache-xalan2.jar:/usr/share/java/ant/ant-commons-logging.jar:/usr/share/java/ant/ant-commons-net.jar:/usr/share/java/javamail.jar:/usr/share/java/ant/ant-javamail.jar:/usr/share/java/jdepend.jar:/usr/share/java/ant/ant-jdepend.jar:/usr/share/java/ant/ant-jmf.jar:/usr/share/java/jsch.jar:/us!
r/share/java/ant/ant-jsch.jar:/usr/share/java/jtidy.jar:/usr/share/java/junit.jar:/usr/share/java/ant/ant-junit.jar:/usr/share/java/ant/ant-junit4.jar:/usr/share/java/ant/ant-swing.jar:/usr/share/java/ant/ant-testutil.jar:/usr/lib/jvm/java/lib/tools.jar:/usr/share/ant/lib/ant-testutil.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ant-commons-net.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-apache-xalan2.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-junit4.jar:/usr/s!
hare/ant/lib/ant-bootstrap.jar'
'org.apache.tools.ant.launch.Launcher'
The ' characters around the executable and arguments are
not part of the command.
[java] Buildfile:
/var/tmp/orion/redhat/gridengine-2011.11p1/GE2011.11p1/source/libs/jdrmaa/build.xml
[java]
[java] BUILD FAILED
[java]
/var/tmp/orion/redhat/gridengine-2011.11p1/GE2011.11p1/source/libs/jdrmaa/build.xml:35:
Unexpected element "{}HTML" {antlib:org.apache.tools.ant}HTML
[java]
[java] Total time: 0 seconds
BUILD FAILED
/var/tmp/orion/redhat/gridengine-2011.11p1/GE2011.11p1/source/build.xml:48: The
following error occurred while executing this line:
/var/tmp/orion/redhat/gridengine-2011.11p1/GE2011.11p1/source/build.xml:27:
Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 4 seconds
--
You are receiving this mail because:
You are on the CC list for the bug.
10 years, 8 months
[Bug 796338] New: Not compatible with JDK7
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Not compatible with JDK7
https://bugzilla.redhat.com/show_bug.cgi?id=796338
Summary: Not compatible with JDK7
Product: Fedora
Version: 17
Platform: All
OS/Version: All
Status: NEW
Severity: high
Priority: unspecified
Component: maven-changelog-plugin
AssignedTo: huwang(a)redhat.com
ReportedBy: jvanek(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: huwang(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
After mass rebuild for openjdk7 this package was not build due to java
incompatibility. See
https://fedoraproject.org/wiki/Java7_Package_Rebuild_Status for details.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
10 years, 8 months
[Bug 797928] New: jetty-8.1.0-4.fc17.noarch causes SELinux AVCs, won't start in enforcing mode
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: jetty-8.1.0-4.fc17.noarch causes SELinux AVCs, won't start in enforcing mode
https://bugzilla.redhat.com/show_bug.cgi?id=797928
Summary: jetty-8.1.0-4.fc17.noarch causes SELinux AVCs, won't
start in enforcing mode
Product: Fedora
Version: 17
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: unspecified
Priority: unspecified
Component: jetty
AssignedTo: sochotni(a)redhat.com
ReportedBy: selinux(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: overholt(a)redhat.com, sochotni(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Description of problem:
jetty-8.1.0-4.fc17.noarch won't start in enforcing mode: it spews SELinux AVCs:
#============= initrc_t ==============
allow initrc_t http_cache_port_t:tcp_socket name_bind;
allow initrc_t hugetlbfs_t:file read;
allow initrc_t self:process execmem;
Appears that /usr/share/jetty/bin/jetty.sh exec's Java while running under
systemd's SELinux context ('initrc_t').
Shouldn't jetty/java transition to a different context (e.g., httpd_t, or a new
'jetty_t')? If so, probably need to add something so it can access
/var/log/jetty.
Here are the actual AVCs from /var/log/audit/audit.log when I booted with
'enforcing=0':
type=SERVICE_START msg=audit(1330353641.267:29): pid=0 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg=': comm="jetty"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
type=AVC msg=audit(1330353642.590:31): avc: denied { read } for pid=747
comm="java" path=2F616E6F6E5F6875676570616765202864656C6574656429
dev="hugetlbfs" ino=17376 scontext=system_u:system_r:initrc_t:s0
tcontext=system_u:object_r:hugetlbfs_t:s0 tclass=file
type=SYSCALL msg=audit(1330353642.590:31): arch=c000003e syscall=9 success=no
exit=-12 a0=0 a1=200000 a2=3 a3=40022 items=0 ppid=1 pid=747 auid=4294967295
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none)
ses=4294967295 comm="java"
exe="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java"
subj=system_u:system_r:initrc_t:s0 key=(null)
type=AVC msg=audit(1330353643.581:33): avc: denied { execmem } for pid=747
comm="java" scontext=system_u:system_r:initrc_t:s0
tcontext=system_u:system_r:initrc_t:s0 tclass=process
type=SYSCALL msg=audit(1330353643.581:33): arch=c000003e syscall=9 success=yes
exit=140008165998592 a0=7f5631000000 a1=270000 a2=7 a3=32 items=0 ppid=1
pid=747 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="java"
exe="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java"
subj=system_u:system_r:initrc_t:s0 key=(null)
type=AVC msg=audit(1330353671.705:53): avc: denied { name_bind } for pid=747
comm="java" src=8080 scontext=system_u:system_r:initrc_t:s0
tcontext=system_u:object_r:http_cache_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1330353671.705:53): arch=c000003e syscall=49 success=yes
exit=0 a0=39 a1=7f563a0c74c0 a2=1c a3=7f563a0c7230 items=0 ppid=1 pid=747
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="java"
exe="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java"
subj=system_u:system_r:initrc_t:s0 key=(null)
type=SOCKADDR msg=audit(1330353671.705:53):
saddr=0A001F90000000000000000000000000000000000000000000000000
Version-Release number of selected component (if applicable):
jetty-8.1.0-4.fc17.noarch
selinux-policy-3.10.0-93.fc17.noarch
How reproducible:
Every boot
Steps to Reproduce:
1. install jetty
2. boot
3.
Actual results:
Expected results:
Additional info:
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
10 years, 8 months
[Bug 820963] New: javax:activation removed from pom
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: javax:activation removed from pom
https://bugzilla.redhat.com/show_bug.cgi?id=820963
Summary: javax:activation removed from pom
Product: Fedora
Version: rawhide
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: apache-commons-email
AssignedTo: SpikeFedora(a)gmail.com
ReportedBy: puntogil(a)libero.it
QAContact: extras-qa(a)fedoraproject.org
CC: SpikeFedora(a)gmail.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Created attachment 583833
--> https://bugzilla.redhat.com/attachment.cgi?id=583833
javax:activation removed from pom
Description of problem:
sonar-email-notifications-plugin 3.0 require apache-commons-email but its pom
there is javax:activation and breaks the build
this patch remove activation
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
10 years, 8 months
[Bug 911365] New: maven tests don't bring in aopappliance dependencies
by Red Hat Bugzilla
Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=911365
Bug ID: 911365
Summary: maven tests don't bring in aopappliance dependencies
Product: Fedora
Version: 18
Component: maven
Severity: medium
Priority: unspecified
Reporter: orion(a)cora.nwra.com
Description of problem:
Running org.apache.rat.mp.RatCheckMojoTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.887 sec <<<
FAILURE!
testIt1(org.apache.rat.mp.RatCheckMojoTest) Time elapsed: 1.634 sec <<< ERROR!
java.lang.NoClassDefFoundError: [Lorg/aopalliance/intercept/MethodInterceptor;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
at java.lang.Class.getDeclaredMethods(Class.java:1810)
at
com.google.inject.internal.ProviderMethodsModule.getProviderMethods(ProviderMethodsModule.java:83)
at
com.google.inject.internal.ProviderMethodsModule.configure(ProviderMethodsModule.java:75)
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=o0kaLke3Zy&a=cc_unsubscribe
10 years, 9 months