On Fri, Oct 21, 2011 at 08:05:38AM -0700, David R. Morrison wrote:
> So at the very least, we should put a news item on the fink webpage warning 
> users that fink on 10.6 is currently incompatible with Xcode 4.2, and 
> suggesting a downgrade to Xcode 3.2.6.
> 
> Another short-term measure would be to put a test into fink to check for 
> Xcode 4.2 on 10.6, and warn users that they should downgrade.
> 
> The question of how and whether to adapt the fink 10.6 release to accomodate 
> this major change by apple is a more difficult one, and will require 
> additional thought as well as time to implement.
> 
>   -- Dave

Dave,
   The change as implemented on 
http://sourceforge.net/tracker/?func=detail&aid=3426897&group_id=17203&atid=317203
will be transparent to current Fink users who aren't on 10.6 with Xcode 4.2. 
The only change for Lion users will be
that the clang compiler wrappers will explictly pass the --arch x86_64 (which 
again should be a transparent change
and cause no issues).
    I been able to build...

| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                        Version                     Description
+++-===========================-===========================-======================================================================
ii  apt                         0.5.4-1060                  Advanced front-end 
for dpkg
ii  apt-dev                     0.5.4-1060                  Advanced front-end 
for dpkg
ii  apt-shlibs                  0.5.4-1060                  Advanced front-end 
for dpkg
ii  autoconf2.6                 2.68-1                      System for 
generating configure scripts
ii  autogen                     5.11.4-1                    Automated text 
generation from templates
ii  autogen-shlibs              5.11.4-1                    Autogen shared 
libaries
ii  automake1.11                1.11.1-3                    GNU 
Standards-compliant Makefile generator
ii  base-files                  1.9.12-1                    Directory 
infrastructure
ii  blt                         2.4z-153                    Toolkit for tcl/tk
ii  blt-dev                     2.4z-153                    Toolkit for tcl/tk
ii  blt-shlibs                  2.4z-153                    Toolkit for tcl/tk
ii  bzip2                       1.0.6-1                     Block-sorting file 
compressor
ii  bzip2-dev                   1.0.6-1                     Developer files for 
bzip2 package
ii  bzip2-shlibs                1.0.6-1                     Shared libraries 
for bzip2 package
ii  cloog-org                   0.16.2-1                    The Chunky Loop 
Generator
ii  cloog-org-shlibs            0.16.2-1                    The Chunky Loop 
Generator
ii  coverage-py27               3.5-1                       Python code 
coverage for testing
ii  db51-aes                    5.1.25-1                    Berkeley DB 
embedded database - crypto
ii  db51-aes-shlibs             5.1.25-1                    Shared Libraries 
for db51-aes
ii  debianutils                 1.23-11                     Misc. utilities 
specific to Debian (and Fink)
ii  dejagnu                     1.4.4-12                    Framework for 
testing other programs
ii  distribute-py27             0.6.19-1                    EasyInstall and 
python eggs
ii  djbfft                      0.76-3                      Fast library for 
floating-point convolution
ii  dos2unix                    5.3.1-1                     Convert DOS or Mac 
text files to Unix format
ii  dpkg                        1.10.21-1229                The Debian package 
manager
ii  dpkg-base-files             0.3-1                       Support scripts for 
dpkg
ii  expat1                      2.0.1-1                     C library for 
parsing XML
ii  expat1-shlibs               2.0.1-1                     C library for 
parsing XML
ii  expect                      5.43.0-100                  Tool for automatic 
interactive applications
ii  fftw3                       3.2.2-3                     Discrete Fourier 
Transform Lib (Ver 3)
ii  fftw3-shlibs                3.2.2-3                     Discrete Fourier 
Transform Lib (Ver 3)
ii  fink                        0.31.3-51                   Open-source 
software package manager
ii  fink-mirrors                0.31.2.1-1                  Mirror 
infrastructure
ii  fink-package-precedence     0.11-1                      Check fink masking 
of system libs
ii  fontconfig-config           2.8.0-8                     configuration files 
for fontconfig
ii  fontconfig2-dev             2.8.0-8                     Font configuration 
library
ii  fontconfig2-shlibs          2.8.0-8                     Fontconfig 2, 
shared libs
ii  freeglut                    2.6.0-1                     Opengl utility 
toolkit
ii  freeglut-shlibs             2.6.0-1                     Opengl utility 
toolkit
ii  freetype219                 2.4.6-1                     TrueType font 
rendering library, headers
ii  freetype219-shlibs          2.4.6-1                     TrueType font 
rendering library, shared libs
ii  gcc46                       4.6.2-1000                  GNU Compiler 
Collection Version 4.6
ii  gcc46-compiler              4.6.2-1000                  Compiler Binaries 
for gcc46.
ii  gcc46-shlibs                4.6.2-1000                  Shared libraries 
for gcc4
ii  gdbm3                       1.8.3-4                     GNU dbm library
ii  gdbm3-shlibs                1.8.3-4                     Shared libraries 
for gdbm3 package
ii  gettext-bin                 0.17-19                     GNU 
Internationalization utils
ii  gettext-tools               0.17-18                     GNU 
Internationalization utils (shared libs)
ii  glew                        1.6.0-2                     OpenGL Extension 
Wrangler Library
ii  glew-shlibs                 1.6.0-2                     OpenGL Extension 
Wrangler Library
ii  glpk-dev                    4.44-1                      GNU Linear 
Programming Kit
ii  glpk-shlibs                 4.44-1                      GNU Linear 
Programming Kit
ii  gmp-shlibs                  4.3.2-8                     Shared library for 
gmp package
ii  gmp5                        5.0.2-2                     GNU multiple 
precision arithmetic library
ii  gmp5-shlibs                 5.0.2-2                     Shared library for 
gmp package
ii  guile18                     1.8.8-5                     Embedable Scheme 
interpreter
ii  guile18-dev                 1.8.8-5                     Development package 
for guile18
ii  guile18-libs                1.8.8-5                     Scheme libraries 
and modules for guile18
ii  guile18-shlibs              1.8.8-5                     Shared libraries 
for guile18
ii  gzip                        1.4-2                       File-compression 
program
ii  libgettext3-shlibs          0.14.5-4                    GNU 
Internationalization utils (shared libs)
ii  libgettext8-dev             0.17-19                     GNU 
Internationalization utils (Development Files)
ii  libgettext8-shlibs          0.17-19                     GNU 
Internationalization utils (shared libs)
ii  libgmpxx-shlibs             4.3.2-8                     Shared C++ library 
for gmp package
ii  libgmpxx5-shlibs            5.0.2-2                     Shared C++ library 
for gmp package
ii  libiconv                    1.12-4                      Character set 
conversion library
ii  libiconv-bin                1.12-4                      Executables for 
libiconv package
ii  libiconv-dev                1.12-4                      Developer files for 
libiconv package
ii  libjpeg-bin                 8b-2                        Executables for 
libjpeg package
ii  libjpeg8                    8b-2                        JPEG image format 
handling library
ii  libjpeg8-shlibs             8b-2                        Shared libraries 
for libjpeg package
ii  libmpc2                     0.9-1                       Multi-precision 
complex lib
ii  libmpc2-shlibs              0.9-1                       Multi-precision 
complex lib
ii  libmpfr4                    3.1.0-1                     C floating-point 
math lib
ii  libmpfr4-shlibs             3.1.0-1                     Shared libraries 
for mpfr package
ii  libncurses5                 5.9-20110507-1              Full-screen ascii 
drawing library
ii  libncurses5-shlibs          5.9-20110507-1              Shared libraries 
for libncurses5 package
ii  libncursesw5                5.9-20110507-1              Full-screen ascii 
drawing (wchar version)
ii  libncursesw5-shlibs         5.9-20110507-1              Shared libraries 
for libncursesw5 package
ii  libpng15                    1.5.5-1                     PNG image format 
handling library
ii  libpng15-shlibs             1.5.5-1                     Shared libraries 
for libpng15 package
ii  libsigsegv2                 2.6-5                       Library for 
handling page faults in user mode
ii  libsigsegv2-shlibs          2.6-5                       Library for 
handling page faults in user mode
ii  libtool2                    2.4-1                       Shared library 
build helper, v2.2
ii  libtool2-shlibs             2.4-1                       Shared libraries 
for libtool, v2.2
ii  libxml2                     2.7.8-102                   XML parsing 
library, version 2
ii  libxml2-bin                 2.7.8-102                   XML parsing 
library, version 2
ii  libxml2-shlibs              2.7.8-102                   XML parsing 
library, version 2
ii  m4                          1.4.16-1                    Advanced macro 
processing language
ii  meschach                    1.2b-1                      Calculations on 
matrices and vectors
ii  meschach-shlibs             1.2b-1                      Calculations on 
matrices and vectors
ii  ncurses                     5.9-20110507-1              Executable files 
for libncurses5
ii  nose-py27                   1.1.2-1                     Python testing 
framework
ii  numpy-py27                  1.6.0-2                     N-dimensional array 
package for Python
ii  ocaml                       3.12.1-1                    Latest 
implementation of Caml dialect of ML
ii  pcre                        8.13-1                      Perl Compatible 
Regular Expressions Library
ii  pcre-shlibs                 8.13-1                      Perl Compatible 
Regular Expressions Library
ii  pkgconfig                   0.25-2                      Manager for library 
compile/link flags
ii  pmw-py27                    1.3.2-1003                  Compound widgets 
for Python using Tkinter
ii  ppl9                        0.11.2-3                    Parma Polyhedra 
Library
ii  ppl9-shlibs                 0.11.2-3                    Parma Polyhedra 
Library
ii  pymol-py27                  1.4-8                       Molecular graphics 
system
ii  python27                    2.7.2-5                     Interpreted, 
object-oriented language
ii  python27-shlibs             2.7.2-5                     Interpreted, 
object-oriented language
ii  readline5                   5.0-1006                    Comfortable 
terminal input library
ii  readline5-shlibs            5.0-1006                    Comfortable 
terminal input library
ii  scipy-py27                  0.9.0-3                     Scientific tools 
for Python
ii  sqlite3-dev                 3.7.7.1-1                   Embedded SQL 
database (include files and linkable libraries)
ii  sqlite3-shlibs              3.7.7.1-1                   Embedded SQL 
database (shared libraries)
ii  suitesparse                 3.6.1-1                     Suite of Sparse 
matrix packages
ii  swig                        2.0.4-1                     Tool that connects 
C, C++ programs with HLL
ii  system-openssl-dev          0.9.8-4                     Placeholder to 
force use of the system SSL
ii  tar                         1.26-1                      Archiving program 
for files and tape
ii  tcltk                       8.5.10-3                    Tool Command 
Language and the Tk toolkit
ii  tcltk-dev                   8.5.10-3                    Tool Command 
Language and the Tk toolkit
ii  tcltk-shlibs                8.5.10-3                    Tool Command 
Language and the Tk toolkit
ii  texi2html                   1.64-16                     Converts texinfo 
documents to HTML
ii  texinfo                     4.13-1001                   GNU documentation 
system
ii  unzip                       6.0-1                       Decompression 
compatible with pkunzip
ii  xft2-dev                    2.2.0-2                     FreeType font 
support for X11 apps
ii  xft2-shlibs                 2.2.0-2                     FreeType font 
support for X11 apps

with only trivial packaging changes. IMHO, since all Xcode 4.0 users should be 
able to obtain Xcode 4.2 (unless
they stole a copy) and the clang3.0svn in SL Xcode 4.2 appears to contain all 
of the fixes from the Lion Xcode 4.2,
we should encourage end-users to use Xcode 4.2 rather than Xcode 4.0. I have 
confirmed that my fink changes allow
fink 0.31.3 to bootstap under SL Xcode 4.2 for both i386 and x86_64 builds. I 
plan on working through the fink package
set and submitting fink tracking entries as needed. Again, these are often 
trivial. For example...

--- /sw/fink/10.6/stable/main/finkinfo/libs/libmpfr4.info       2011-10-10 
16:18:08.000000000 -0400
+++ libmpfr4.info       2011-10-20 19:26:26.000000000 -0400
@@ -1,7 +1,7 @@
 Info2: <<
 Package: libmpfr4%type_pkg[-64bit]
 Version: 3.1.0
-Revision: 1
+Revision: 2
 Type: -64bit (boolean)
 Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] = 
-64bit ) i386
 Depends: %N-shlibs (= %v-%r), ( %type_raw[-64bit] = -64bit ) 64bit-cpu
@@ -14,7 +14,7 @@
 Replaces: gmp (<< 4.1.4-1), libmpfr-dev, libmpfr1, libmpfr1-64bit, libmpfr4, 
libmpfr4-64bit
 Source: http://www.mpfr.org/mpfr-%v/mpfr-%v.tar.bz2
 Source-MD5: 238ae4a15cc3a5049b723daef5d17938
-ConfigureParams: --infodir='${prefix}/share/info' --enable-shared 
--disable-static
+ConfigureParams: --infodir='${prefix}/share/info' --enable-shared 
--disable-static --disable-thread-safe
 DocFiles: AUTHORS COPYING BUGS COPYING.LESSER ChangeLog doc/FAQ.html NEWS 
README TODO VERSION PATCHES
 InfoDocs: mpfr.info
 # PatchFile: %{Ni}.patch

--- /sw/fink/10.6/stable/main/finkinfo/languages/guile18.info   2011-10-10 
19:48:22.000000000 -0400
+++ guile18.info        2011-10-20 20:20:42.000000000 -0400
@@ -1,6 +1,6 @@
 Package: guile18
 Version: 1.8.8
-Revision: 4
+Revision: 5
 BuildDepends: <<
   readline5 (>= 5.0-1004),
   libncurses5 (>= 5.4-20041023-1006),
@@ -38,8 +38,7 @@
 CompileScript: <<
   #!/bin/sh -evx
   # clang needs explicit -fwrapv behavior and allowing of some warnings
-  darwin_vers=`uname -r | cut -d. -f1`
-  if test "$darwin_vers" -ge 11 ; then
+  if [ `gcc -v 2>&1 | grep -c clang` = "1" ]; then
     export CFLAGS='-g -O3 -fwrapv'
     clang_configure_params="--disable-error-on-warning"
   fi

--- /sw/fink/10.6/stable/main/finkinfo/devel/ppl9.info  2011-09-26 
09:48:21.000000000 -0400
+++ ppl9.info   2011-10-20 18:44:37.000000000 -0400
@@ -1,6 +1,6 @@
 Package: ppl9
 Version: 0.11.2
-Revision: 2
+Revision: 3
 BuildDependsOnly: True
 Depends: <<
        %N-shlibs (= %v-%r),
@@ -89,7 +89,7 @@
        fi
        # workaround llvm/clang's absence of -f rounding-math, 
        # which caused test suite failures
-       if test "$darwin_vers" -ge 11 ; then
+        if [ `gcc -v 2>&1 | grep -c clang` = "1" ]; then
          disable_fpmath="--disable-fpmath"
        fi
        ../configure %c

--- /sw/fink/10.6/unstable/main/finkinfo/languages/python27.info        
2011-07-12 14:07:34.000000000 -0400
+++ python27.info       2011-10-20 20:28:33.000000000 -0400
@@ -1,7 +1,7 @@
 Info2: <<
 Package: python%type_pkg[python]
 Version: 2.7.2
-Revision: 4
+Revision: 5
 Epoch: 1
 Type: python 2.7
 Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
@@ -55,6 +55,8 @@
        darwin_vers=`uname -r | cut -d. -f1`
        if [ "$darwin_vers" = 11 ]; then
                perl -pi -e 's/ -lSystemStubs//' ./configure
+       fi
+       if [ `gcc -v 2>&1 | grep -c clang` = "1" ]; then
                perl -pi -e 's/-O3/-fwrapv -O3/' ./configure
        fi
        if [ "%m" = "x86_64" ]; then

Those changes for instance are sufficient to build pymol-py27 without 
regressions
under SL Xcode 4.2.
                 Jack

> 
> On Oct 21, 2011, at 7:04 AM, Jack Howarth wrote:
> 
> > On Fri, Oct 21, 2011 at 10:06:24AM +0200, Martin Costabel wrote:
> >> On 21/10/11 01:05, Jack Howarth wrote:
> >> []
> >>> should upgrade to this version (or revert to Xcode 3.2.6). This would 
> >>> allow us to
> >>> focus on supporting clang in the Xcode 4.x releases and encourage 
> >>> unification of
> >>> any clang specific changes to info files between the 10.4 and 10.6 trees. 
> >>> It also
> >>> will likely accelerate the elimination of the unstable tree in 10.4 as 
> >>> any clang
> >>> specific changes are backported into 10.4.
> >> 
> >> The most common "clang specific changes to info files" are currently
> >> SetCC: llvm-gcc-4.2
> >> SetCXX: llvm-g++
> >> because many packages won't compile with clang.
> >> This is not backportable.
> >> 
> >> -- 
> >> Martin
> > 
> > Martin,
> >   Re-reading your response again, I assume you meant that the info files 
> > will never
> > been entirely unified. This is true however that shouldn't stand in our way 
> > of attempting
> > to make fink usable for SL users who have Xcode 4.2 installed. We really 
> > only have two
> > choices there...
> > 
> > 1) Leave fink as is and manually check if each info file is miscompiled by 
> > llvm-gcc.
> > This is a lot of work for a smallish testing and developer group to deal 
> > with. It also
> > requires far more info file changes to switch these problem packages to 
> > clang or gcc-4.2.
> > 2) Use my approach of enabling the path-prefix-clang on SL when Xcode 4.2 
> > is detected via
> > the system compiler change. This gives us a well tested package set which 
> > already has been
> > checked against clang3.0svn.
> > 
> > Note that fink is currently badly broken under Xcode 4.2 on SL. The 
> > gmp/gmp5 packages are
> > miscompiled and none of the gcc4x packages can bootstrap the FSF gcc 
> > compilers under llvm-gcc.
> >              Jack
> > 
> > ------------------------------------------------------------------------------
> > The demand for IT networking professionals continues to grow, and the
> > demand for specialized networking skills is growing even more rapidly.
> > Take a complimentary Learning@Cisco Self-Assessment and learn 
> > about Cisco certifications, training, and career opportunities. 
> > http://p.sf.net/sfu/cisco-dev2dev
> > _______________________________________________
> > Fink-devel mailing list
> > Fink-devel@lists.sourceforge.net
> > List archive:
> > http://news.gmane.org/gmane.os.apple.fink.devel
> > Subscription management:
> > https://lists.sourceforge.net/lists/listinfo/fink-devel

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to