#7269 closed defect (fixed)
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 (2)
Change History (9)
comment:1 Changed 19 years ago by blb@…
Owner: | changed from darwinports-bugs@… to julian@… |
---|
comment:2 Changed 19 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
comment:3 Changed 19 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 18 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 18 years ago by mgrimes@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 1.2 → 1.3.2 |
Fixed in r21245. Please open new ticket if there any outstanding issues.
comment:6 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|---|
Priority: | Expected → Normal |
Assigning to maintainer.