Ticket #4159 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

[with patch, positive review] sage -bdist fails on osx 10.5 ppc and intel with libpng errors

Reported by: was Assigned to: mabshoff
Priority: blocker Milestone: sage-3.1.3
Component: distribution Keywords:
Cc:

Description

With sage-3.1.2 if you try to do sage -bdist it fails with weird libpng linking errors and missing symbols. This is when it tries to make a dmg.

For the 3.1.2 binary, I'm just using tar for now until this is fixed. The fix will probably be to unset some dynamic library paths right before running the commands in the sage-bdist script that create the dmg.

Attachments

trac_4159.patch (0.7 kB) - added by mhansen on 10/12/2008 04:30:27 PM.

Change History

09/20/2008 01:31:30 PM changed by mabshoff

What are the errors? Is this on varro?

Cheers,

Michael

09/21/2008 06:52:37 AM changed by was

  • priority changed from major to blocker.
  • summary changed from sage -bdist fails on osx 10.5 ppc with libpng errors to sage -bdist fails on osx 10.5 ppc and intel with libpng errors.

It turns out that this happens on *all* OS X machines, both 10.5 and 10.4 on both ppc and intel. Basically "sage -bdist" is completely broken in sage-3.1.2 on OS X.

09/21/2008 10:57:41 AM changed by mabshoff

Yeah, I agree that the fix will be to unset DYLD_LIBRARY_PATH right before actually calling hdiutil in sage-bdist. Very odd that a command line utility pulls in libpng symbols. Oh well.

Cheers,

Michael

09/30/2008 10:43:16 AM changed by mabshoff

  • status changed from new to assigned.
  • milestone changed from sage-3.2 to sage-3.1.3.

Patch coming up.

Cheers,

Michael

10/12/2008 04:30:27 PM changed by mhansen

  • attachment trac_4159.patch added.

10/12/2008 04:31:26 PM changed by mhansen

  • summary changed from sage -bdist fails on osx 10.5 ppc and intel with libpng errors to [with patch, positive review] sage -bdist fails on osx 10.5 ppc and intel with libpng errors.

Looks good to me.

10/12/2008 04:39:40 PM changed by mabshoff

  • status changed from assigned to closed.
  • resolution set to fixed.

Merged in Sage 3.1.3.rc0