[bug #63688] Allow env variable AR="ar -X 64"

2023-01-22 Thread Dmitry Goncharov
URL:
  

 Summary: Allow env variable AR="ar -X 64"
 Project: make
   Submitter: dgoncharov
   Submitted: Mon 23 Jan 2023 02:50:46 AM UTC
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: SCM
Operating System: None
   Fixed Release: None
   Triage Status: None


___

Follow-up Comments:


---
Date: Mon 23 Jan 2023 02:50:46 AM UTC By: Dmitry Goncharov 
.







___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63688] Allow env variable AR="ar -X 64"

2023-01-22 Thread Dmitry Goncharov
Follow-up Comment #1, bug #63688 (project make):

Bruno reported a test failure on aix with env setting
AR="ar -X 64";
https://lists.gnu.org/archive/html/bug-make/2023-01/msg00133.html.

This env setting is stored an a perl variable in features/archives and its
value is passes to run_make_test like

make -f work/features/archives.mk AR=ar -X 64



___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63688] Allow env variable AR="ar -X 64"

2023-01-22 Thread Dmitry Goncharov
Additional Item Attachment, bug #63688 (project make):

File name: sv63688_quote_arvar_diff   Size:0 KB
   




___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




Re: GNU Make 4.4.0.90 on AIX 7.2

2023-01-22 Thread Dmitry Goncharov
On Tue, Jan 17, 2023 at 3:14 AM Bruno Haible  wrote:
> On AIX 7.2, in 64-bit mode, with the environment variables settings
>
>   CC="xlc -q64 -qthreaded -qtls";
>   CXX="xlC -q64 -qthreaded -qtls";
>   AR="ar -X 64";
>   NM="nm -X 64 -B";
>   export CC CXX AR NM
>
> (with which I build many GNU packages successfully), I get 20 test failures:
>
> * 16 failures in category 'features/archives'.
>   Error message:
> /home/haible/make-4.4.0.90/build-64-xlc/tests/../make: invalid option -- X
> Usage: make [options] [target] ...
> Options:
> ...
>   Apparently the value of ${AR} or the value of ${NM} is being decomposed, and
>   the -X option, meant for the 'ar' or the 'nm' program, is being passed to
>   'make'.

Thanks for your report.
https://savannah.gnu.org/bugs/index.php?63688



> * 1 failure in category 'features/include'.
>   The command 'touch -a test.foo' is being printed twice, not just once.
>   This could be a bug in the AIX exec* functions, which don't properly
>   separate the stdout and stderr of the parent process and child process
>   in some situations. (I had seen this many years ago, in AIX 4 or AIX 5.)
>
> * 3 failures in category 'features/output-sync'.
>   Error message is "timeout after 10 seconds".

Neither of these reproduces for me on aix 7.1 on powerpc.

regards, Dmitry



[bug #63689] Typos

2023-01-22 Thread Dmitry Goncharov
URL:
  

 Summary: Typos
 Project: make
   Submitter: dgoncharov
   Submitted: Mon 23 Jan 2023 03:15:06 AM UTC
Severity: 3 - Normal
  Item Group: Documentation
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: SCM
Operating System: None
   Fixed Release: None
   Triage Status: None


___

Follow-up Comments:


---
Date: Mon 23 Jan 2023 03:15:06 AM UTC By: Dmitry Goncharov 
.







___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63689] Typos

2023-01-22 Thread Dmitry Goncharov
Follow-up Comment #1, bug #63689 (project make):

This patches fixes 2 typos in the manual.

(file #54254)

___

Additional Item Attachment:

File name: sv63689.diff   Size:0 KB




___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63690] temp_stdin and output_sync failure on macos

2023-01-22 Thread Dmitry Goncharov
URL:
  

 Summary: temp_stdin and output_sync failure on macos
 Project: make
   Submitter: dgoncharov
   Submitted: Mon 23 Jan 2023 03:27:42 AM UTC
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: SCM
Operating System: None
   Fixed Release: None
   Triage Status: None


___

Follow-up Comments:


---
Date: Mon 23 Jan 2023 03:27:42 AM UTC By: Dmitry Goncharov 
.







___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63690] temp_stdin and output_sync failure on macos

2023-01-22 Thread Dmitry Goncharov
Follow-up Comment #1, bug #63690 (project make):

Bruno reported that on macos temp_stdin and output_sync tests fail.
https://lists.gnu.org/archive/html/bug-make/2023-01/msg00108.html

This is the diff.


$ cat tests/work/features/temp_stdin.diff.5 
*** work/features/temp_stdin.base.5 Sun Jan 15 08:12:22 2023
--- work/features/temp_stdin.log.5  Sun Jan 15 08:12:22 2023
***
*** 1 
! make: *** [work/features/temp_stdin.mk.5:5: bye.mk] Terminated
--- 1 
! make: *** [work/features/temp_stdin.mk.5:5: bye.mk] Terminated: 15


Looks to me that this shell prints 'Terminated: 15' when its child is killed
by sigterm.


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63690] temp_stdin and output_sync failure on macos

2023-01-22 Thread Dmitry Goncharov
Additional Item Attachment, bug #63690 (project make):

File name: sv63690.diff   Size:1 KB




___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63690] temp_stdin and output_sync failure on macos

2023-01-22 Thread Dmitry Goncharov
Follow-up Comment #2, bug #63690 (project make):

I tested this patch on linux. However, i could not test this on macos.


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63688] Allow env variable AR="ar -X 64"

2023-01-22 Thread Dmitry Goncharov
Follow-up Comment #2, bug #63688 (project make):

Tested on aix, sunos and linux.


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/