[Bug 1074278] New: javapackages-tools installs macros files to /etc/rpm
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1074278
Bug ID: 1074278
Summary: javapackages-tools installs macros files to /etc/rpm
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: sochotni(a)redhat.com
Reporter: ville.skytta(a)iki.fi
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msimacek(a)redhat.com,
msrb(a)redhat.com, sochotni(a)redhat.com
Blocks: 1074261
The proper location for rpm macros files in rpm >= 4.11 is
%{_rpmconfigdir}/macros.d, please move them there from /etc/rpm.
If this package's specfile targets Fedora and EL >= 7 only, the
location for macro files can be simply changed from /etc/rpm to
%{_rpmconfigdir}/macros.d. If it is intended to work on EL 5 and/or 6
as well, you can define a macros dir for example as follows (all on
one line) and install the macros to %{macrosdir}:
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] ||
d=%{_sysconfdir}/rpm; echo $d)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1074261
[Bug 1074261] macro files install dir tracker bug
--
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=sncocHegRF&a=cc_unsubscribe
9 years, 10 months
[Bug 1058403] New: javapackages-tools: regression in %pom_remove_dep
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1058403
Bug ID: 1058403
Summary: javapackages-tools: regression in %pom_remove_dep
Product: Fedora
Version: rawhide
Component: javapackages-tools
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, msimacek(a)redhat.com,
msrb(a)redhat.com, sochotni(a)redhat.com
Download
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/snapshot/jet...
and take the main pom.xml
run %pom_xpath_remove "pom:modules/node()"
+ python /usr/share/java-utils/pom_editor.py pom_xpath_remove
'pom:modules/node()'
Traceback (most recent call last):
File "/usr/share/java-utils/pom_editor.py", line 356, in <module>
macros[sys.argv[1]](*sys.argv[2:])
File "/usr/share/java-utils/pom_editor.py", line 98, in decorated
function(*fnargs)
File "/usr/share/java-utils/pom_editor.py", line 258, in pom_xpath_remove
pom.replace_xml(element, "<!-- element removed by maintainer -->")
File "/usr/share/java-utils/pom_editor.py", line 145, in replace_xml
idx = parent.index(replaced)
TypeError : Argument 'child' has incorrect type (expected lxml.etree._Element,
got _ElementStringResult)
The same call works with pom_editor.sh.
Version:
javapackages-tools-3.6.0-0.2.gitd370124.noarch
--
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=IRBWUSxJDc&a=cc_unsubscribe
9 years, 10 months
[Bug 1057174] New: ivy-local needs XMvn configuration that it doesn't install
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1057174
Bug ID: 1057174
Summary: ivy-local needs XMvn configuration that it doesn't
install
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: sochotni(a)redhat.com
Reporter: msimacek(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msimacek(a)redhat.com,
msrb(a)redhat.com, sochotni(a)redhat.com
Description of problem:
Ivy artifact resolution using XMvn local mode fails, because required XMvn
configuration is not installed (it is part of maven-local)
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] [XMvn] No XMvn configuration files were found. Using default
embedded configuration.
[ivy:retrieve] module not found:
org.apache.ant#ant;${/org.apache.ant/ant}
Installing XMvn configuration from maven-local solves the problem.
--
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=GBI4o7SvHN&a=cc_unsubscribe
9 years, 10 months
[Bug 1026353] New: maven requires generator should include which "other artifacts" require some artifact X in error message
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Bug ID: 1026353
Summary: maven requires generator should include which "other
artifacts" require some artifact X in error message
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: sochotni(a)redhat.com
Reporter: sgehwolf(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
On a local build of thermostat I see this:
Traceback (most recent call last):
File "/usr/lib/rpm/maven.req", line 123, in <module>
builder = TagBuilder ()
File "/usr/lib/rpm/maven.req", line 63, in __init__
self.print_mvn_requires(path)
File "/usr/lib/rpm/maven.req", line 101, in print_mvn_requires
raise Exception(skipped_msg)
Exception: Following artifacts were built but are not being installed
however other artifacts require them. Either package these artifacts or do not
build them. To package call %mvn_package in %prep:
%mvn_package com.redhat.thermostat:thermostat-common-test:::0.15.0
<package_name>
Following artifacts were built but are not being installed however other
artifacts require them. Either package these artifacts or do not build them. To
package call %mvn_package in %prep:
%mvn_package com.redhat.thermostat:thermostat-common-test:::0.15.0
<package_name>
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Could not execute local: Non zero exit
thermostat-common-test is a test-only dep (should be <scope>test</scope> only).
Apparently there is a thermostat bug in a module which has common-test not
scoped as test. Long story short, it would be faster if the error message would
include gId:artifactId of the depending modules requiring module X which has
been configured via %mvn_package X __noinstall
--
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=Ip2fSC8sA8&a=cc_unsubscribe
9 years, 10 months
[Bug 1087600] New: java-functions: popd extraneous argument
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1087600
Bug ID: 1087600
Summary: java-functions: popd extraneous argument
Product: Fedora
Version: rawhide
Component: javapackages-tools
Severity: low
Assignee: sochotni(a)redhat.com
Reporter: loganjerry(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msimacek(a)redhat.com,
msrb(a)redhat.com, sochotni(a)redhat.com
Description of problem:
I saw this today during a test build of a package I am putting together:
/usr/share/java-utils/java-functions: line 396: popd: opendial/lib: invalid
argument
popd: usage: popd [-n] [+N | -N]
That line is inside the function link_jar_repository, and is this:
popd $repository > /dev/null
Just remove "$repository" to fix.
Version-Release number of selected component (if applicable):
javapackages-tools-3.5.0-5.fc21.noarch
How reproducible:
Always
Steps to Reproduce:
1. Write a spec file that invokes build-jar-repository with a directory
argument other than ".".
2. Run rpmbuild.
Actual results:
The error message above is generated.
Expected results:
No error messages.
Additional info:
--
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=SWoFlziGfP&a=cc_unsubscribe
9 years, 10 months
[Bug 880274] New: license files needed
by Red Hat Bugzilla
Product: Red Hat Enterprise Linux 7
https://bugzilla.redhat.com/show_bug.cgi?id=880274
Bug ID: 880274
Summary: license files needed
Product: Red Hat Enterprise Linux 7
Version: 7.0
Component: maven-pmd-plugin
Severity: unspecified
Priority: unspecified
Reporter: alee(a)redhat.com
Depends On: 880273
Group: redhat
+++ This bug was initially created as a clone of Bug #880273 +++
Description of problem:
ASL 2.0 LICENSE and NOTICE files are not installed
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
9 years, 11 months