bugMyPaint - Bugs: bug #20398, [possible-1.1.1] fatal error:...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #20398: [possible-1.1.1] fatal error: 'malloc.h' file not found

Submitted by:  Ryan Schmidt <ryandesign>
Submitted on:  Wed 02 Jan 2013 05:36:33 PM UTC  
 
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: 1.1.0Planned Release: None
Operating System: OS X 10.8

Mon 23 Jun 2014 09:49:23 PM UTC, comment #4:

[This is a canned response, please forgive the broken formatting: it's one of the many things Gna! unfortunately does not do well.]

This bug tracker will shortly be moving to Github. As part of this process, we are reviewing old bug reports on gna.org.

This bug was marked as Fixed long ago, but was still classified as Open. Github does not distinguish between Fixed+Open and Fixed+Closed in the
way we once did here, so this bug is now being marked Closed, and will not be migrated into the github issues tracker.

If you believe that this bug still affects the most recent git master of MyPaint (and thus the next release), please feel free to open a new
issue on Github about it. Our new issue trackers are:

https://github.com/mypaint/mypaint/issues
https://github.com/mypaint/libmypaint/issues

Andrew Chadwick <achadwick>
Project Administrator
Sat 12 Jan 2013 08:38:20 AM UTC, comment #3:

Tagged as a good fix to have in any 1.1.1 we release.

Andrew Chadwick <achadwick>
Project Administrator
Sun 06 Jan 2013 12:33:26 PM UTC, comment #2:

If we ever consider a 1.1.1 release, I think this would be a candidate for that.

Jon Nordby <jonnor>
Project Administrator
Fri 04 Jan 2013 01:55:04 PM UTC, comment #1:

http://hintsforums.macworld.com/showthread.php?t=2023 and http://stackoverflow.com/questions/12973311/difference-between-stdlib-h-and-malloc-h suggest that malloc.h is obsolete/deprecated, and it compiles just fine in gcc under Linux with your patch. Pushed, thanks!

https://gitorious.org/mypaint/mypaint/commit/17322aebbbbcd9084305d2cad49d690c6ffbaddb

Affects the current stable (1.1.0), so keeping as Fixed+Open.

Andrew Chadwick <achadwick>
Project Administrator
Wed 02 Jan 2013 05:36:33 PM UTC, original submission:

Hello, I'm the maintainer of MyPaint in MacPorts. MyPaint 1.0.0 built fine but 1.1.0 fails with:

On OS X, according to "man malloc", you include stdlib.h, not malloc.h.

This change needed to be made in two files. I'm attaching the patch I made for this, but of course it's not suitable for systems where including malloc.h is needed. Perhaps you'll use some #ifdef to conditionalize this.

Ryan Schmidt <ryandesign>

 

Attached Files
file #16889:  main.log added by ryandesign (11kB - application/octet-stream)
file #16890:  patch-brushlib.diff added by ryandesign (490B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jonnor (Posted a comment)
  • -unavailable- added by achadwick (Posted a comment)
  • -unavailable- added by ryandesign (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Jun 2014 09:49:23 PM UTCachadwickOpen/ClosedOpen=>Closed
    Sat 12 Jan 2013 08:38:20 AM UTCachadwickSummaryfatal error: \'malloc.h\' file not found=>[possible-1.1.1] fatal error: 'malloc.h' file not found
    Fri 04 Jan 2013 01:55:04 PM UTCachadwickStatusNone=>Fixed
    Wed 02 Jan 2013 05:36:33 PM UTCryandesignAttached File-=>Added main.log, #16889
      Attached File-=>Added patch-brushlib.diff, #16890
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup