Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 848394 Details for
Bug 1015121
jna: FTBFS in rawhide
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch
0001-Update-depmap-calls-and-fix-tests-compilation-issue.patch (text/plain), 3.58 KB, created by
Roland Grunberg
on 2014-01-10 21:10:23 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Roland Grunberg
Created:
2014-01-10 21:10:23 UTC
Size:
3.58 KB
patch
obsolete
>From 574a3d67d9fbe27fef3ad4d98a89079af2ab31fd Mon Sep 17 00:00:00 2001 >From: Roland Grunberg <rgrunber@redhat.com> >Date: Fri, 10 Jan 2014 16:01:32 -0500 >Subject: [PATCH] Update depmap calls and fix tests compilation issue. > >--- > jna-4.0.0-fix-native-test.patch | 13 +++++++++++++ > jna.spec | 13 +++++++++---- > 2 files changed, 22 insertions(+), 4 deletions(-) > create mode 100644 jna-4.0.0-fix-native-test.patch > >diff --git a/jna-4.0.0-fix-native-test.patch b/jna-4.0.0-fix-native-test.patch >new file mode 100644 >index 0000000..bf639a2 >--- /dev/null >+++ b/jna-4.0.0-fix-native-test.patch >@@ -0,0 +1,13 @@ >+diff --git a/test/com/sun/jna/NativeTest.java b/test/com/sun/jna/NativeTest.java >+index a946ca8..b71c9ec 100644 >+--- a/test/com/sun/jna/NativeTest.java >++++ b/test/com/sun/jna/NativeTest.java >+@@ -410,7 +410,7 @@ public class NativeTest extends TestCase { >+ for (int i=0;i < args.length;i++) { >+ System.out.println("Running tests on class " + args[i]); >+ try { >+- junit.textui.TestRunner.run(Class.forName(args[i])); >++ junit.textui.TestRunner.run((Class) Class.forName(args[i])); >+ } >+ catch(Throwable e) { >+ e.printStackTrace(); >diff --git a/jna.spec b/jna.spec >index 4ad2cac..9f9067d 100644 >--- a/jna.spec >+++ b/jna.spec >@@ -2,7 +2,7 @@ > > Name: jna > Version: 4.0.0 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: Pure Java access to native libraries > > Group: Development/Libraries >@@ -32,6 +32,7 @@ Patch3: jna-3.5.2-gcj-javadoc.patch > Patch4: jna-4.0.0-junit.patch > Patch5: jna-4.0.0-charfix.patch > Patch6: jna-4.0.0-ffi.patch >+Patch7: jna-4.0.0-fix-native-test.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > > # We manually require libffi because find-requires doesn't work >@@ -98,6 +99,7 @@ chmod -Rf a+rX,u+w,g-w,o-w . > %patch4 -p1 -b .junit > %patch5 -p1 -b .charfix > %patch6 -p1 -b .ffi >+%patch7 -p1 > > # all java binaries must be removed from the sources > #find . -name '*.jar' -delete >@@ -137,12 +139,12 @@ install -m 755 build/native*/libjnidispatch*.so %{buildroot}%{_libdir}/%{name}/ > %if 0%{?fedora} >= 9 || 0%{?rhel} > 5 > # install maven pom file > install -Dm 644 pom-%{name}.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom >-install -Dm 644 pom-%{name}-platform.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-platform.pom >+install -Dm 644 pom-%{name}-platform.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-platform.pom > > # ... and maven depmap > %if 0%{?fedora} >= 9 > %add_maven_depmap JPP-%{name}.pom %{name}.jar >-%add_maven_depmap JPP.%{name}-platform.pom -f platform %{name}/platform.jar >+%add_maven_depmap JPP.%{name}-%{name}-platform.pom -f platform %{name}/%{name}-platform.jar > %else > %add_to_maven_depmap net.java.dev.jna jna-platform %{version} JPP jna-platform > mv %{buildroot}%{_mavendepmapfragdir}/%{name} %{buildroot}%{_mavendepmapfragdir}/%{name}-platform >@@ -204,12 +206,15 @@ rm -rf %{buildroot} > %defattr(-,root,root,-) > %{_javadir}/%{name} > %if 0%{?fedora} >= 9 || 0%{?rhel} > 5 >-%{_mavenpomdir}/JPP.%{name}-platform.pom >+%{_mavenpomdir}/JPP.%{name}-%{name}-platform.pom > %{_mavendepmapfragdir}/%{name}-platform > %endif > > > %changelog >+* Fri Jan 10 2014 Roland Grunberg <rgrunber@redhat.com> - 4.0.0-3 >+- Update depmap calls and fix tests compilation issue. >+ > * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-2 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild > >-- >1.8.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1015121
: 848394