Baba, By resorting to flag-sort, we are able to drop the BuildConflicts on the package itself and the build is now self-contained passing 'fink -m' on 10.10...
Index: libgeotiff2.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/libgeotiff2.info,v retrieving revision 1.3 diff -r1.3 libgeotiff2.info 3,4c3,4 < Version: 1.4.0 < Revision: 3 --- > Version: 1.4.1 > Revision: 1 10c10 < Source-MD5: efa7b418bc00228fcda4da63557e40c2 --- > Source-MD5: 48bdf817e6e7a37671cc1f41b01e10fc 17a18 > flag-sort, 20d20 < BuildConflicts: %n (<< %v-%r) 25,27c25,26 < # PatchFile: %n.patch < # PatchFile-MD5: 364f5761fd4ebcd3db3f985625c985b1 < --- > SetCC: flag-sort -r gcc > SetCXX: flag-sort -r g++ 29d27 < SetDYLD_LIBRARY_PATH: %p/lib 31a30,33 > PatchScript: << > # Patch configure not to link like Puma on Yosemite > perl -pi -e 's/(10\.\[012\])(\*)/\1\,.\2/' configure > << Jack ps The package is also updated to the latest upstream version. On Thu, Feb 5, 2015 at 2:17 AM, Jack Howarth <howarth.at.f...@gmail.com> wrote: > Baba, > There are two problems building the current libgeotiff2-1.4.0-3 > on Yosemite. The first is that the usage of... > > SetDYLD_LIBRARY_PATH: %p/lib > > causes fink to fail with the error... > > % fink -m -kK rebuild libgeotiff2 > Scanning package description files.......... > Information about 10419 packages read in 2 seconds. > Running in Maintainer Mode > Validating package file > /sw/fink/dists/stable/main/finkinfo/graphics/libgeotiff2.info... > Package looks good! > The package 'libgeotiff2' will be built without being installed. > Reading build dependency for libgeotiff2-1.4.0-3... > Reading dependency for libgeotiff2-1.4.0-3... > Reading dependency for libgeotiff2-shlibs-1.4.0-3... > Reading dependency for libgeotiff2-bin-1.4.0-3... > Reading build conflict for libgeotiff2-1.4.0-3... > The following package will be rebuilt: > libgeotiff2 > Setting runtime build-lock... > dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libgeotiff2-1.4.0-3 > /sw/src/fink.build > dpkg-deb: building package `fink-buildlock-libgeotiff2-1.4.0-3' in > `/sw/src/fink.build/fink-buildlock-libgeotiff2-1.4.0-3_2015.02.05-02.14.27_darwin-x86_64.deb'. > Installing build-lock package... > /sw/bin/dpkg-lockwait -i > /sw/src/fink.build/fink-buildlock-libgeotiff2-1.4.0-3_2015.02.05-02.14.27_darwin-x86_64.deb > Selecting previously deselected package fink-buildlock-libgeotiff2-1.4.0-3. > (Reading database ... 368087 files and directories currently installed.) > Unpacking fink-buildlock-libgeotiff2-1.4.0-3 (from > .../fink-buildlock-libgeotiff2-1.4.0-3_2015.02.05-02.14.27_darwin-x86_64.deb) > ... > Setting up fink-buildlock-libgeotiff2-1.4.0-3 (2015.02.05-02.14.27) ... > > sudo -u fink-bld [ENV] sh -c /tmp/fink.F29yF > sudo: unable to initialize PAM: No such file or directory > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-libgeotiff2-1.4.0-3 > (Reading database ... 368088 files and directories currently installed.) > Removing fink-buildlock-libgeotiff2-1.4.0-3 ... > Failed: directory > /sw/src/fink.build/libgeotiff2-1.4.0-3/libgeotiff-1.4.0 doesn't exist, > check the package description > > The second is that the Puma linkage bug in configure needs to be > patched. The attached changes build on 10.10. > > Index: libgeotiff2.info > =================================================================== > RCS file: > /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/libgeotiff2.info,v > retrieving revision 1.3 > diff -r1.3 libgeotiff2.info > 25,27d24 > < # PatchFile: %n.patch > < # PatchFile-MD5: 364f5761fd4ebcd3db3f985625c985b1 > < > 29d25 > < SetDYLD_LIBRARY_PATH: %p/lib > 31a28,31 >> PatchScript: << >> # Patch configure not to link like Puma on Yosemite >> perl -pi -e 's/(10\.\[012\])(\*)/\1\,.\2/' configure >> << > > Jack ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ 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