After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703358 - java-atk-wrapper can't be re-automake with automake 1.13
java-atk-wrapper can't be re-automake with automake 1.13
Status: RESOLVED FIXED
Product: java-atk-wrapper
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: java-atk-wrapper maintainer(s)
java-atk-wrapper maintainer(s)
Depends on:
Blocks: 684442
 
 
Reported: 2013-06-30 19:05 UTC by Samuel Thibault
Modified: 2015-02-27 16:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sort the first basic set of configuration problems (8.02 KB, patch)
2014-05-04 16:26 UTC, Magdalen Berns (irc magpie)
none Details | Review
Fix Compilation errors (24.71 KB, patch)
2014-05-04 18:07 UTC, Magdalen Berns (irc magpie)
needs-work Details | Review
Fix Compilation errors (24.71 KB, patch)
2014-05-06 15:43 UTC, Magdalen Berns (irc magpie)
committed Details | Review

Description Samuel Thibault 2013-06-30 19:05:05 UTC
Hello,

I haven't found a category for the java-atk-wrapper. This is about
version 0.30.4. With automake 1.13, one gets:

automake: warnings are treated as errors

automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'

/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libatk-wrapper.la': linking libtool libraries using a on-POSIX

/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.in'

jni/src/Makefile.am:1:   while processing Libtool library 'libatk-wrapper.la'

wrapper/Makefile.am:4: warning: wildcard $(ALL_CLASSES: non-POSIX variable name

wrapper/Makefile.am:4: (probably a GNU make extension)

wrapper/org/GNOME/Accessibility/Makefile.am:1: warning: wildcard $(srcdir: non-POSIX variable name

wrapper/org/GNOME/Accessibility/Makefile.am:1: (probably a GNU make extension)

wrapper/org/GNOME/Accessibility/Makefile.am:2: warning: patsubst %.java,%.class,$(JAVA_SRC: non-POSIX variable name

wrapper/org/GNOME/Accessibility/Makefile.am:2: (probably a GNU make extension)

wrapper/org/GNOME/Accessibility/Makefile.am:3: warning: patsubst $(srcdir: non-POSIX variable name

wrapper/org/GNOME/Accessibility/Makefile.am:3: (probably a GNU make extension)

wrapper/org/GNOME/Accessibility/Makefile.am:13: warning: '%'-style pattern rules are a GNU make extension

autoreconf: automake failed with exit status: 1
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-12-17 18:15:01 UTC
(In reply to comment #0)
> Hello,
> 
> I haven't found a category for the java-atk-wrapper. 

at-spi has a component for java-atk-wrapper. Moving to proper product:component
Comment 2 Magdalen Berns (irc magpie) 2014-04-20 13:53:41 UTC
I noted some compiler error when I went to do some work on this module a while ago. I think I fixed that (or came close to it) at the time but then had to go and do some work and never had time to follow through. 

I'll check how far I got (and if I still have the folder) when I get a minute but from memory it was mostly a fair amount errors arising from needing to be updated to find all the relevant stuff it needs.

I am not sure why the rpm versions of this are able to build ok without problems when it has these problems from source though. I'll see if can try it out over the week and notice I get the same errors or not then.
Comment 3 Magdalen Berns (irc magpie) 2014-04-20 13:56:11 UTC
(In reply to comment #0)
> Hello,
> 
> I haven't found a category for the java-atk-wrapper. This is about
> version 0.30.4. With automake 1.13, one gets:
> 
> automake: warnings are treated as errors
> 
> automake: warning: autoconf input should be named 'configure.ac', not
> 'configure.in'

Definately remember that one actually. It had only to be changed as recommended and any references to the new file changed too, of course.
Comment 4 Magdalen Berns (irc magpie) 2014-05-04 16:26:29 UTC
Created attachment 275821 [details] [review]
Sort the first basic set of configuration problems

I was not able to find the original fixes I did so I just cloned a fresh version and fixed the initial problems for now.

The posix problems are caused by the % syntax and whilst I do vaguely remember what I did I will need to check each error again before I can fix those as it is not something I know what to do with off the top of my head.

I should have something within a week or so but am in the middle of exams so I figure this first patch fixing the basics should not be held up by that one. They are not really problems relate to each other anyway.

Please take a look.
Comment 5 Magdalen Berns (irc magpie) 2014-05-04 18:07:23 UTC
Created attachment 275838 [details] [review]
Fix Compilation errors

Ok this patch seems to fix things for me. I am a little uncertain whether my approach is the best course of action, but since it has saved a total wrapper/org/GNOME/Accessibility/Makefile.am rewrite from being needed to compile the module completely, then it seems like a good start.

See what you think.
Comment 6 Alejandro Piñeiro Iglesias (IRC: infapi00) 2014-05-05 11:36:28 UTC
Review of attachment 275838 [details] [review]:

Just tested it, and I got it compiling, so seems that most of the stuff is mostly solved. Thanks for the patch. 

The patch looks good, except for a small thing. See below.

::: configure.ac
@@ +30,3 @@
+AC_CONFIG_MACRO_DIR([m4])
+
+m4_define([req_ver_atk], [2.12.0])

Why you pushed the atk requirement from 1.17.0 to 2.12.0? Bumping up a dependency is only needed if the wrapper is using atk API only available on an atk which version is greater that 1.17.0. And AFAIK, that is not the case. In fact I just tried to put back 1.17.0, and it worked fine. Am I missing something?
Comment 7 Magdalen Berns (irc magpie) 2014-05-06 15:35:23 UTC
(In reply to comment #6)
> Review of attachment 275838 [details] [review]:
> 
> Just tested it, and I got it compiling, so seems that most of the stuff is
> mostly solved. Thanks for the patch. 
> 
> The patch looks good, except for a small thing. See below.
> 
> ::: configure.ac
> @@ +30,3 @@
> +AC_CONFIG_MACRO_DIR([m4])
> +
> +m4_define([req_ver_atk], [2.12.0])

Yep you're right.
> 
> Why you pushed the atk requirement from 1.17.0 to 2.12.0? Bumping up a
> dependency is only needed if the wrapper is using atk API only available on an
> atk which version is greater that 1.17.0. And AFAIK, that is not the case. In
> fact I just tried to put back 1.17.0, and it worked fine. Am I missing
> something?

I'll make the change.
Comment 8 Magdalen Berns (irc magpie) 2014-05-06 15:43:36 UTC
Created attachment 275994 [details] [review]
Fix Compilation errors
Comment 9 Magdalen Berns (irc magpie) 2014-05-06 15:44:55 UTC
Thanks for the review. All done now I think
Comment 10 Alejandro Piñeiro Iglesias (IRC: infapi00) 2014-05-06 16:34:40 UTC
Review of attachment 275994 [details] [review]:

Looks good. Thanks for the patch.
Comment 11 Alejandro Piñeiro Iglesias (IRC: infapi00) 2014-05-06 17:01:39 UTC
(In reply to comment #10)
> Review of attachment 275994 [details] [review]:
> 
> Looks good. Thanks for the patch.

As I wanted to test and close bug 684442, I already committed this patch in your behalf (don't worry, the credentials would show you as the author).

So closing the bug. Again, thanks for the patch.
Comment 12 Magdalen Berns (irc magpie) 2014-05-08 09:58:24 UTC
No problem. Thanks for the reviews.
Comment 13 André Klapper 2015-02-27 16:56:42 UTC
[Moving at-spi/java-atk-wrapper bugs to separate product. See bug 740075]