Re: fink-0.37.0 fails to build under Mavericks 10.9 with Xcode-6

John Lillibridge - NOAA Federal <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
Thanks Alexander,

Sorry, I missed the memo! Now I see it's indeed at the top of the News section on the front page. However, following the source install instructions - they still point to 0.37.0. I guess this page needs to be updated to be consistent with the latest version:

http://www.finkproject.org/download/srcdist.php

Thanks,
John

On Sep 22, 2014, at 3:37 PM, Alexander Hansen <[email protected]> wrote:

> On 9/22/14, 11:48 AM, John Lillibridge - NOAA Federal wrote:
>> Dear Fink Developers,
>> 
>> Last week Apple made Xcode-6 the default Developer environment under Mavericks 10.9.5. I wanted to alert you that a fresh Fink install via "./bootstrap" now fails under both the Xcode.app and the CommandLineTools. It breaks when building the "apt" package:
>> 
>> env LANG=C LC_ALL=C /sw2/bin/tar  --no-same-owner --no-same-permissions -xf /sw2/src/apt_0.5.4.tar.gz
>> [ -r /sw2/fink/dists/stable/main/finkinfo/base/apt.patch ]
>> sed -e 's|@PREFIX@|/sw2|g' -e 's|@DIST@|10.3|g' < /sw2/fink/dists/stable/main/finkinfo/base/apt.patch | patch -p1
>> patching file apt-inst/deb/dpkgdb.cc
>> patching file apt-inst/makefile
>> patching file apt-pkg/contrib/mmap.cc
>> patching file apt-pkg/contrib/mmap.h
>> patching file apt-pkg/deb/debindexfile.cc
>> patching file apt-pkg/deb/deblistparser.cc
>> patching file apt-pkg/deb/debsystem.cc
>> patching file apt-pkg/deb/debsystem.h
>> patching file apt-pkg/deb/debversion.cc
>> patching file apt-pkg/init.cc
>> patching file apt-pkg/pkgcachegen.cc
>> patching file apt-pkg/pkgcachegen.h
>> patching file apt-pkg/policy.cc
>> patching file apt-pkg/tagfile.cc
>> patching file apt-pkg/tagfile.h
>> patching file buildlib/environment.mak.in
>> patching file buildlib/library.mak
>> patching file buildlib/ostable
>> patching file cmdline/apt-cache.cc
>> patching file cmdline/apt-get.cc
>> patching file cmdline/apt-sortpkgs.cc
>> patching file configure
>> patching file configure.in
>> patching file doc/apt-cache.8
>> patching file doc/apt-cdrom.8
>> patching file doc/apt-config.8
>> patching file doc/apt-get.8
>> patching file doc/apt_preferences.5
>> patching file doc/sources.list.5
>> patching file dselect/install
>> patching file dselect/setup
>> patching file dselect/update
>> patching file methods/connect.cc
>> patching file methods/ftp.cc
>> patching file methods/rfc2553emu.h
>> patching file patch_flush
>> patching file apt-inst/contrib/extracttar.cc
>> patching file apt-pkg/contrib/system.h
>> patching file apt-inst/extract.cc
>> patching file apt-inst/deb/dpkgdb.cc
>> patching file apt-pkg/algorithms.cc
>> patching file apt-pkg/init.cc
>> patching file apt-pkg/deb/debsystem.cc
>> patching file apt-pkg/contrib/cdromutl.cc
>> patching file cmdline/apt-cache.cc
>> patching file cmdline/apt-config.cc
>> patching file cmdline/apt-extracttemplates.cc
>> patching file cmdline/apt-sortpkgs.cc
>> patching file apt-inst/contrib/extracttar.cc
>> patching file apt-pkg/deb/debsystem.h
>> patching file apt-pkg/pkgsystem.h
>> perl -pi -e 's|vector.h|vector|g' apt-pkg/pkgsystem.h include/apt-pkg/pkgsystem.h
>> Can't open include/apt-pkg/pkgsystem.h: No such file or directory, <> line 97.
>> perl -pi -e 's|iostream.h|iostream|g' apt-inst/contrib/extracttar.cc apt-inst/deb/dpkgdb.cc apt-inst/extract.cc apt-pkg/algorithms.cc apt-pkg/contrib/error.cc cmdline/apt-cache.cc cmdline/indexcopy.cc test/versiontest.cc
>> perl -pi -e 's|fstream.h|fstream|g' apt-pkg/sourcelist.cc cmdline/apt-get.cc
>> sh patch_flush
>> for i in `grep -rl '#ifdef __GNUG__' .` ; do perl -pi -e 's/#ifdef __GNUG__/#if defined(__GNUG__) && !defined(__APPLE_CC__)/' $i; done
>> echo "x86_64\tx86_64" >> /sw2/src/fink.build/apt-0.5.4-1061/apt-0.5.4/buildlib/archtable
>> ./configure --prefix=/sw2 --host=x86_64-apple-darwin`uname -r|cut -f1 -d.`
>> creating cache ./config.cache
>> checking host system type... x86_64-apple-darwin13
>> checking target system type... x86_64-apple-darwin13
>> checking build system type... x86_64-apple-darwin13
>> checking for gcc... gcc
>> checking whether the C compiler (gcc  ) works... yes
>> checking whether the C compiler (gcc  ) is a cross-compiler... no
>> checking whether we are using GNU C... yes
>> checking whether gcc accepts -g... no
>> checking for POSIXized ISC... no
>> checking for c++... c++
>> checking whether the C++ compiler (c++ -O2 -DEMULATE_MMAP -D__USE_MISC -fconstant-cfstrings -DHAVE_SOCKLEN_T=1 ) works... yes
>> checking whether the C++ compiler (c++ -O2 -DEMULATE_MMAP -D__USE_MISC -fconstant-cfstrings -DHAVE_SOCKLEN_T=1 ) is a cross-compiler... no
>> checking whether we are using GNU C++... yes
>> checking whether c++ accepts -g... no
>> checking how to run the C preprocessor... /lib/cpp
>> checking for ranlib... ranlib
>> checking for ar... ar
>> checking for library containing gethostbyname... none required
>> checking for library containing connect... none required
>> checking for db2/db.h... no
>> checking system architecture... x86_64
>> checking system OS... darwin
>> checking for C99 integer types... yes
>> checking for statvfs... yes
>> checking whether byte ordering is bigendian... no
>> checking for missing socklen_t... missing.
>> checking for h_errno... configure: error: not found.
>> ### execution of ./configure failed, exit code 1
>> phase compiling: apt-0.5.4-1061 failed
>> 
>> Before reporting any errors, please run "fink selfupdate" and try again.
>> Also try using "fink configure" to set your maximum build jobs to 1 and
>> attempt to build the package again.
>> If you continue to have issues, please check to see if the FAQ on Fink's
>> website solves the problem.  If not, ask on one (not both, please) of
>> these mailing lists:
>> 
>> 	The Fink Users List <[email protected]>
>> 	The Fink Beginners List <[email protected]>.
>> 
>> Please try to include the complete error message in your report.  This
>> generally consists of a compiler line starting with e.g. "gcc" or "g++"
>> followed by the actual error output from the compiler.
>> 
>> Also include the following system information:
>> Package manager version: 0.37.0
>> Distribution version: selfupdate-point (bootstrap), 10.9, x86_64
>> Trees: local/main stable/main
>> Xcode.app: 6.0.1
>> Xcode command-line tools: 6.0.0.0.1.1410400753
>> Max. Fink build jobs:  4
>> 
>> 
>> ERROR: Bootstrap phase 2 failed!
> 
> 
> This is known.  The solution is to use fink-0.37.1, which I released on Saturday.
> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/

================
John Lillibridge
NOAA/NESDIS/STAR: E/RA31
NCWCP Room 3744
5830 University Research Ct.
College Park, MD 20740-3818
301-683-3376


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.