New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #11068 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

archivers/par2 fails to build on Intel Mac + gcc 4

Reported by: jedimike@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.3.2
Keywords: Cc:
Port:

Description

For some reason this port tries to use gcc-3.3, which is broken on Intel Macs AFAIK. After removing the version specificness from the Portfile I came across a gcc 4-specific problem. The Debian guys have a trivial patch for it here (also includes a description of the build failure). Below is a modified Portfile with the gcc change and the gcc-4 patch.

  • /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/par2/Portfile

    old new  
    1616master_sites    sourceforge:parchive 
    1717checksums      md5 1551b63e57e3c232254dc62073b723a9 
    1818distname       par2cmdline-${version} 
    19 patchfiles     stricmp-define.patch 
     19patchfiles     stricmp-define.patch par2cmdline-0.4-gcc4.patch 
    2020configure.args  --mandir=${prefix}/share/man 
    2121configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \ 
    2222                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" 
    2323 
    2424platform darwin 8 { 
    25        configure.env-append    CC=/usr/bin/gcc-3.3 CXX=/usr/bin/g++-3.3 
     25       configure.env-append    CC=/usr/bin/gcc CXX=/usr/bin/g++ 
    2626} 

Change History

comment:1 Changed 6 years ago by mgrimes@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r21245. Please open new ticket if there any outstanding issues.

comment:2 Changed 6 years ago by nox@…

  • Priority changed from Important to High
  • Milestone set to MacPorts base bugs

comment:3 Changed 5 years ago by jmpp@…

  • Priority changed from High to Normal
  • Milestone changed from MacPorts base bugs to Port Bugs

comment:4 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.