bugPSPP - Bugs: bug #47143, MacOS build:...

 
 

bug #47143: MacOS build: src/libpspp/automake.mk produces version.c with syntax errors

Submitted by:  Friedrich Beckmann <beckmanf>
Submitted on:  Sun 14 Feb 2016 01:42:47 PM UTC  
 
Category: Compilation/PortabilitySeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 14 Feb 2016 07:51:30 PM UTC, comment #2:

I fixed this with commit

http://git.savannah.gnu.org/cgit/pspp.git/commit/?id=9bf0d33865adacfbe633f9e2e6f206d1715b8e60

which replaces echo with printf.

Friedrich

Friedrich Beckmann <beckmanf>
Project Member
Sun 14 Feb 2016 02:24:10 PM UTC, comment #1:

Can you try replacing "echo" with "printf" ?

John Darrington <jmd>
Project Administrator
Sun 14 Feb 2016 01:42:47 PM UTC, original submission:

The MacOS build produces the following version.c file

which ends up in a syntax error for the line with "announced_version". This is due the behavior of src/libpspp/automake.mk after commit:

http://git.savannah.gnu.org/cgit/pspp.git/commit/src/libpspp/automake.mk?id=25e76c9c37c623a3eced22d23a60befb0067de68

where echo is used to produce the code line. It seems that on OSX new lines are produced.

Friedrich

Friedrich Beckmann <beckmanf>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jmd (Posted a comment)
  • -unavailable- added by beckmanf (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 14 Feb 2016 07:51:30 PM UTCbeckmanfStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1