Opened 12 years ago

Closed 12 years ago

#36271 closed defect (fixed)

Arb build failure

Reported by: david.green@… Owned by: mattcottrell
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: drkp (Dan Ports)
Port: ARB

Description (last modified by ci42)

Fetching archive for arb
--->  Attempting to fetch arb-5.3_6.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/arb
--->  Attempting to fetch arb-5.3_6.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/arb
--->  Attempting to fetch arb-5.3_6.darwin_12.x86_64.tbz2 from http://packages.macports.org/arb
--->  Fetching distfiles for arb
--->  Attempting to fetch arbsrc.tgz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/arb/5.3
--->  Verifying checksum(s) for arb
--->  Extracting arb
--->  Applying patches to arb
--->  Configuring arb
--->  Building arb
Error: org.macports.build for port arb returned: command execution failed
Please see the log file for port arb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_arb/arb/main.log

System: Mac Pro quad-core xeon (2008) 14Gb DDR2; MacOSX 10.8.2 Xcode 4.4 (and 4.5 too)

Attachments (3)

main.log (161.6 KB) - added by david.green@… 12 years ago.
Portfile.diff (371 bytes) - added by mattcottrell 12 years ago.
Increment the portfile revision
patch-ARB-config.makefile.diff (1.1 KB) - added by mattcottrell 12 years ago.
Disables compilation of GL arb code

Download all attachments as: .zip

Change History (11)

Changed 12 years ago by david.green@…

Attachment: main.log added

comment:1 Changed 12 years ago by ci42

Description: modified (diff)
Owner: changed from macports-tickets@… to matt.cottrell@…

Please remember to use WikiFormatting and cc the maintainer.

comment:2 Changed 12 years ago by mattcottrell

This build failure appears to be caused by the upgrade of libpng14 to libpng15 in MacPorts about three weeks ago. The attached patch turns off the compilation of GL-dependent code in arb and the build now completes successfully. This disables the 3D rendering of rRNA molecules, which is a seldom used arb feature. I have contacted the upstream developer about updating arb for lipng15 compatibility, but in the meantime let's use this workaround.

Changed 12 years ago by mattcottrell

Attachment: Portfile.diff added

Increment the portfile revision

Changed 12 years ago by mattcottrell

Disables compilation of GL arb code

comment:3 in reply to:  2 Changed 12 years ago by david.green@…

Replying to matt.cottrell@…:

This build failure appears to be caused by the upgrade of libpng14 to libpng15 in MacPorts about three weeks ago. The attached patch turns off the compilation of GL-dependent code in arb and the build now completes successfully. This disables the 3D rendering of rRNA molecules, which is a seldom used arb feature. I have contacted the upstream developer about updating arb for lipng15 compatibility, but in the meantime let's use this workaround.

Matt - thank you very much for all of your efforts in maintaining this port! I applied this patch to the make.config file, but I found that "ARB_64 := @@64BIT@@# compile 64bit ARB version" still caused a build failure. I put it back to "ARB_64 := 1# compile 64bit ARB version" and this gave a complete ARB build on my system. Thank you again.

comment:4 Changed 12 years ago by mattcottrell

Glad to hear you were successful and can now get some work done.

Any committers out there willing to commit this patch so that we can close this ticket?

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Duplicate #36311 has (different?) patches attached.

comment:6 in reply to:  5 Changed 12 years ago by mattcottrell

Replying to ryandesign@…:

Duplicate #36311 has (different?) patches attached.

I made an error in the patch attached to Duplicate #36311, so thanks for closing that ticket. The patches attached to this ticket are correct and solve the libpng15 problem with arb. My apologies for the confusion.

comment:7 Changed 12 years ago by drkp (Dan Ports)

Cc: dports@… added

Cc Me!

comment:8 Changed 12 years ago by drkp (Dan Ports)

Resolution: fixed
Status: newclosed

Thanks, committed in r98170.

Note: See TracTickets for help on using tickets.