New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #7269 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

par2 fails to build on OS X 10.4.5 (Intel iMac)

Reported by: macdeveloper@… Owned by: julian@…
Priority: Normal Milestone:
Component: ports Version: 1.3.2
Keywords: Cc: kevin_lo@…
Port:

Description

$ sudo port -v install par2 ---> Fetching par2 ---> Verifying checksum(s) for par2 ---> Checksumming par2cmdline-0.4.tar.gz ---> Extracting par2 ---> Extracting par2cmdline-0.4.tar.gz ---> Applying patches to par2 ---> Applying /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/par2/files/stricmp-define.patch patching file commandline.cpp patching file par2repairer.cpp ---> Configuring par2 checking build system type... i686-apple-darwin8.5.1 checking host system type... i686-apple-darwin8.5.1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_archivers_par2/work/par2cmdline-0.4" && CPPFLAGS="-L/opt/local/lib -I/opt/local/include" CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" CC=/usr/bin/gcc-3.3 CXX=/usr/bin/g++-3.3 ./configure --prefix=/opt/local --mandir=/opt/local/share/man" returned error 77 Command output: checking build system type... i686-apple-darwin8.5.1 checking host system type... i686-apple-darwin8.5.1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details.

Warning: the following items did not execute (for par2): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.

Attachments

Portfile (1012 bytes) - added by kevin_lo@… 7 years ago.
New portfile
stricmp-define.patch (4.0 KB) - added by kevin_lo@… 7 years ago.
New patch file

Change History

comment:1 Changed 7 years ago by blb@…

  • Owner changed from darwinports-bugs@… to julian@…

Assigning to maintainer.

comment:2 Changed 7 years ago by kevin_lo@…

  • Cc kevin_lo@… added

The same problem was noted in bug 5250, but the fix(es) there do not work. http://bugzilla.opendarwin.org/show_bug.cgi?id=5250

Changed 7 years ago by kevin_lo@…

New portfile

Changed 7 years ago by kevin_lo@…

New patch file

comment:3 Changed 7 years ago by kevin_lo@…

(From update of attachment 7996)

# $Id: Portfile,v 1.2 2005/07/04 10:47:14 mww Exp $

PortSystem 1.0 name par2 version 0.4 description Parchive: Parity Archive Volume Set for data recovery long_description Parchive takes .par files and can regenerate missing data \

based upon a Reed-Soloman Code. This is useful for restoring \ missing pieces of a multi-part archive like the kinds used \ on Usenet. Version 2 does not require like-sized pieces, \ so it is useful for many more kinds of data recovery.

maintainers julian@… categories archivers platforms darwin homepage http://parchive.sourceforge.net/ master_sites sourceforge:parchive checksums md5 1551b63e57e3c232254dc62073b723a9 distname par2cmdline-${version} patchfiles stricmp-define.patch configure.args --mandir=${prefix}/share/man configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \

CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"

platform darwin 8 {

configure.env-append CC=/usr/bin/gcc CXX=/usr/bin/g++

}

comment:4 Changed 7 years ago by cliff.spradlin@…

Hi. I'm new here.

I had trouble getting this to work, but I succeeded. Currently running 10.4.7 and XCode 2.4. The attached .patch file is fine, but the attached Portfile is broken. However, after manually typing in the unformatted paste of Portfile modifications in the previous comment did the trick. Maybe you guys already knew the attached files were out of date already, or it doesn't matter at all.

Just thought I'd let you know.

Thanks.

comment:5 Changed 6 years ago by mgrimes@…

  • Status changed from new to closed
  • Version changed from 1.2 to 1.3.2
  • Resolution set to fixed

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

comment:6 Changed 6 years ago by nox@…

  • Priority changed from Expected to Normal
  • Milestone set to Port Bugs

comment:7 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.