Danesh Dadachanji | 10 Feb 23:10
Picon
Favicon

[RFC][icedtea-web] Path to NEW_LINE_IFS is incorrect

Hi,

The var abs_top_builddir is used as the path to NEW_LINE_IFS when it 
should be abs_top_srcdir. When building outside of src dir (e.g. in 
icedtea-web/build with ../configure), this will fail when running say 
'make run-netx-dist-tests'. It mustn't have been caught yet because 
people are probably building in the src dir directly when testing..

ChangeLog:
+2012-02-10  Danesh Dadachanji  <ddadacha@...>
+
+	Fix path to NEW_LINE_IFS for when one builds outside of src directory.
+	* Makefile.am: Use top src directory instead of top build directory
+	for NEW_LINE_IFS
+

Is the attached patch okay for HEAD and 1.2?

Cheers,
Danesh
diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -475,7 +475,7 @@ junit-jnlp-dist-signed.txt:
 stamps/netx-dist-tests-prepare-reproducers.stamp: stamps/junit-jnlp-dist-dirs
 	types=(simple signed); \
 	for which in "$${types[@]}" ; do \
-	  . $(abs_top_builddir)/NEW_LINE_IFS ; \
(Continue reading)

Jiri Vanek | 11 Feb 10:14
Picon
Favicon

Re: [RFC][icedtea-web] Path to NEW_LINE_IFS is incorrect

On 02/10/2012 11:10 PM, Danesh Dadachanji wrote:
> Hi,
>
> The var abs_top_builddir is used as the path to NEW_LINE_IFS when it should be abs_top_srcdir. When
building outside of src dir (e.g. in icedtea-web/build with ../configure), this will fail when running
say 'make run-netx-dist-tests'. It mustn't have been caught yet because people are probably building in
the src dir directly when testing..
>
> ChangeLog:
> +2012-02-10 Danesh Dadachanji <ddadacha@...>
> +
> + Fix path to NEW_LINE_IFS for when one builds outside of src directory.
> + * Makefile.am: Use top src directory instead of top build directory
> + for NEW_LINE_IFS
> +
>
> Is the attached patch okay for HEAD and 1.2?
>
> Cheers,
> Danesh

Approved. TY for correction.
J.

Danesh Dadachanji | 13 Feb 17:50
Picon
Favicon

Re: [RFC][icedtea-web] Path to NEW_LINE_IFS is incorrect

On 11/02/12 04:14 AM, Jiri Vanek wrote:
> On 02/10/2012 11:10 PM, Danesh Dadachanji wrote:
>> Hi,
>>
>> The var abs_top_builddir is used as the path to NEW_LINE_IFS when it
>> should be abs_top_srcdir. When building outside of src dir (e.g. in
>> icedtea-web/build with ../configure), this will fail when running say
>> 'make run-netx-dist-tests'. It mustn't have been caught yet because
>> people are probably building in the src dir directly when testing..
>>
>> ChangeLog:
>> +2012-02-10 Danesh Dadachanji <ddadacha@...>
>> +
>> + Fix path to NEW_LINE_IFS for when one builds outside of src directory.
>> + * Makefile.am: Use top src directory instead of top build directory
>> + for NEW_LINE_IFS
>> +
>>
>> Is the attached patch okay for HEAD and 1.2?
>>
>
> Approved. TY for correction.

Thanks for the review! Pushed here:

http://icedtea.classpath.org/hg/release/icedtea-web-1.2/rev/c959afd1eba7
http://icedtea.classpath.org/hg/icedtea-web/rev/89eb20442421

Cheers,
Danesh
(Continue reading)


Gmane