William G. Scott | 29 Aug 17:50 2014

Re: Fink's blt-2.4z-161 fails - missing dependency?


On Aug 29, 2014, at 4:11 AM, Kevin Horton <khorton02 <at> gmail.com> wrote:

> I’m gradually building up my list of installed Fink packages in OS X 10.10 beta.  blt-2.4z-161 fails to
build due to a missing tkint.h.  
> 
….

> =================
> I took a quick look at the available tk packages, but there are so many that it wasn’t completely clear
which one I’m missing.  My first guess would be tklib.
> 
> What package do I need to install to get tkint.h?
> 
> Thanks,
> 
> -- 
> Kevin Horton

Hi Kevin:

I’m just catching up with you.

Briefly, the problem is tcltk 8.5 rather than 8.6 is getting installed on 10.10.  I haven’t had a chance to
try to figure out why.  There is a conditional test in blt that, ironically, would have failed in such a way as
to make this work, until I fixed the syntax for 10.10.

Ultimately, we are better off getting the right tcltk (8.6) installing on 10.10.

Bill
(Continue reading)

Kevin Horton | 27 Aug 22:51 2014

zsh-templates with OS X 10.10

I’m running the second public beta of OS X 10.10 on my secondary computer.  zsh-templates works mostly well, but something is awry with dirstack, cd? and gdirs.  All three emit three “-i used with no filenames on the command line, reading from STDIN.” lines in the terminal for each entry (i.e. 60 lines of this spurious output, for the default 20 returned values).  The functions do work, but their usefulness is greatly reduced at the CLI, as you must scroll and visually parse the output to find the directory stack lines.

I’d be happy to help debug in any way - just tell me what additional info you need.

Thanks for zsh-templates.

-- 
Kevin Horton
Ottawa, Canada
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Jack Howarth | 26 Aug 23:37 2014
Picon

Re: gcc48 & gcc49 info/patch files for successful build under Yosemite 10.10

John,

      From....


It looks like gmp needs to be updated to this test release until 6.0.1 is actually released.
           Jack

On Tuesday, August 26, 2014, John Lillibridge - NOAA Federal <john.lillibridge <at> noaa.gov> wrote:
Thanks very much Jack. I have to admit that I'm on thin ice when it comes to solving these build problems, but I wanted to report my findings so experts like yourself could implement them properly. Unfortunately gmp5 doesn't build properly yet on Yosemite/Xcode-6, and gcc48/49 is dependent on that package.... I'll continue to work that with David Fang, the package maintainer.

I really appreciate your help, and will test the experimental gcc49 package!

Cheers,
John

On Aug 26, 2014, at 5:06 PM, Jack Howarth <howarth.at.fink <at> gmail.com> wrote:

John,
     The gcc48 package is now updated with a Distribution: 10.7, 10.8, 10.9. Normally, we take the opportunity of new OS releases to force the synchronization of builds onto the latest gcc4x packaging. I have also placed test packaging for gcc49-4.9.1-1001 in my experimental directory…


The patch currently uses the upstream proposed patch…


to solve the version check issue. However the proposed fix for the sanitizer dirent issue is modified to use the MacPorts patch which uses…

! defined(__DARWIN_64_BIT_INO_T) || __DARWIN_64_BIT_INO_T

for the added conditionals.
        Jack

On Mon, Aug 25, 2014 at 3:54 PM, John Lillibridge - NOAA Federal <john.lillibridge <at> noaa.gov> wrote:
Greetings Fink Developers,

In my continuing efforts to install Fink packages under Yosemite Public Beta (now #2), I have finally succeeded in getting gcc48 and gcc49 to build from scratch. I had a hunch that gcc was confused by the 2-digit minor version in OS-X (10.10.x) since all previous releases of OS-X had been single digit (10.0.x-10.9.x). Sure enough, that was the problem in two files: gcc/config/darwin-c.c and gcc/config/darwin-driver.c. I found the fix at MacPorts, as well as under the gcc page at sourceforge.net. I appended the patches for the two 'darwin' files onto gcc48.patch and gcc49.patch, and then updated the gcc48.info and gcc49.info files with the new PatchFile-MD5 checksums. Attached are the info and patch files that allowed gcc48 and gcc49 to build under the HalfDome version of Fink under Yosemite 10.10.

Note that I had to add '10.10' Distribution info. to devel/help2man-perl.info and languages/perl5162.info to satisfy dependencies. I also had to install the Mavericks-10.9 deb file for the gmp5 package before building the compilers, since I've been unable to get gmp5 to build under Yosemite yet...

I hope you it helpful, and that these patch and info files can be integrated into the gcc48/49 packages.

All the best,
John
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Picon

clang34/llvm34 built on Yosemite Beta

Dear Fink Developers,

I've been working with David Fang to get the clang34/llvm34 compiler suite to build under Yosemite Public
Beta. Thanks to a recent patch by Jack Howarth (languages/llvm34-openmp-cmake.patch; 2014-08-15)
these large packages now build, once a couple of workarounds are put in place:

1) change line 131 of llvm34.info from

   if test "$darwin_vers" -ge 11

   to

   if test "$darwin_vers" -ge 11 -a "$darwin_vers" -lt 14

2) and similar to the problem that gcc48/49 had (understanding how to parse OS-X version "10.10.x") there
is a problem in cmake-3.0/Modules/Platform/Darwin.cmake;
   for the moment I hardwired a fix so the build would succeed - change lines 204-216 to:

# Make sure the combination of SDK and Deployment Target are allowed
if(CMAKE_OSX_DEPLOYMENT_TARGET)
 if("${_CMAKE_OSX_SYSROOT_PATH}" MATCHES "^.*/MacOSX([0-9]+\\.[0-9]+)[^/]*\\.sdk")
   set(_sdk_ver "${CMAKE_MATCH_1}")
 elseif("${_CMAKE_OSX_SYSROOT_ORIG}" MATCHES "^macosx([0-9]+\\.[0-9]+)$")
   set(_sdk_ver "${CMAKE_MATCH_1}")
 else()
   set(CMAKE_OSX_SYSROOT "/")
   set(_sdk_ver "10.10")
#   message(FATAL_ERROR
#     "CMAKE_OSX_DEPLOYMENT_TARGET is '${CMAKE_OSX_DEPLOYMENT_TARGET}' "
#     "but CMAKE_OSX_SYSROOT:\n \"${_CMAKE_OSX_SYSROOT_ORIG}\"\n"
#     "is not set to a MacOSX SDK with a recognized version.  "
#     "Either set CMAKE_OSX_SYSROOT to a valid SDK or set "
#     "CMAKE_OSX_DEPLOYMENT_TARGET to empty.")

With Jack/David's patch and these two tweaks clang34 and llvm34 built (after a long multi-stage
compilation). The change to llvm34.info is backwards compatible with Mavericks and earlier; clearly
the cmake-3.0 package needs to be updated to parse 10.10 properly vs. the hardwired hack I applied...

Cheers,
John
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Picon

gcc48 & gcc49 info/patch files for successful build under Yosemite 10.10

Greetings Fink Developers,

In my continuing efforts to install Fink packages under Yosemite Public Beta (now #2), I have finally
succeeded in getting gcc48 and gcc49 to build from scratch. I had a hunch that gcc was confused by the
2-digit minor version in OS-X (10.10.x) since all previous releases of OS-X had been single digit
(10.0.x-10.9.x). Sure enough, that was the problem in two files: gcc/config/darwin-c.c and
gcc/config/darwin-driver.c. I found the fix at MacPorts, as well as under the gcc page at
sourceforge.net. I appended the patches for the two 'darwin' files onto gcc48.patch and gcc49.patch,
and then updated the gcc48.info and gcc49.info files with the new PatchFile-MD5 checksums. Attached are
the info and patch files that allowed gcc48 and gcc49 to build under the HalfDome version of Fink under
Yosemite 10.10.

Note that I had to add '10.10' Distribution info. to devel/help2man-perl.info and
languages/perl5162.info to satisfy dependencies. I also had to install the Mavericks-10.9 deb file for
the gmp5 package before building the compilers, since I've been unable to get gmp5 to build under Yosemite yet...

I hope you it helpful, and that these patch and info files can be integrated into the gcc48/49 packages.

All the best,
John

Attachment (gcc_10.10.zip): application/zip, 16 KiB
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Jacques Bloch | 22 Aug 15:09 2014
Picon

Yosemite gdb

I believe that gdb should compile when changing
<machine/setjmp.h> by <setjmp.h> in /sw/src/fink.build/gdb-7.8-1/gdb-7.8/gdb/darwin-nat.c
(courtesy of  https://trac.macports.org/ticket/43973)

HOWEVER, when I change this line in the source file and then run "fink update gdb" the source file gets
overwritten again by the original version (which it probably gets from the packed gdb). What should I do
for fink to use the modified source file?

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Jacques Bloch | 22 Aug 14:36 2014
Picon

Yosemite gdb

Problem to compile gdb with fink update-all:

Failed: phase compiling: gdb-7.8-1 failed

Package manager version: 0.37.99.git
Distribution version: selfupdate-rsync Fri Aug 22 14:03:23 2014, 10.10, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 6.0
Xcode command-line tools: 6.0.0.0.1.1408056701
Max. Fink build jobs:  8

The error I could see in the compile log was:

gcc -O2 -g -Wno-unused-value   -I. -I. -I./common -I./config -DLOCALEDIR="\"/sw/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1  -I/sw/include   -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-prototypes -Wout-of-line-declaration -Wold-style-definition -Wformat-nonliteral  -c -o tracepoint.o -MT tracepoint.o -MMD -MP -MF .deps/tracepoint.Tpo tracepoint.c
darwin-nat.c:45:10: fatal error: 'machine/setjmp.h' file not found
#include <machine/setjmp.h>


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Jacques Bloch | 22 Aug 14:07 2014
Picon

Yosemite selfupdate

I know got fink to work on Yosemite but, as might have been expected, I am getting some errors here and there. The fink selfupdate gives the following problem related to perl:

$ fink selfupdate
/usr/bin/rsync -az -q  rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp
I will now run the rsync command to retrieve the latest package descriptions.
/usr/bin/rsync -rtz --delete-after --delete -q   --include='10.7/' --include='10.7/stable/' --include='10.7/stable/main/' --include='10.7/stable/main/finkinfo/' --include='10.7/stable/main/finkinfo/*/' --include='10.7/stable/main/finkinfo/*' --include='10.7/stable/main/finkinfo/**/*' --include='VERSION' --include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/'
Scanning package description files..........
Information about 9561 packages read in 2 seconds.
WARNING! This version of Perl (5.016003) is not currently supported by Fink.  Updating anyway, but you may encounter problems.
No packages to install.

The core packages have been updated. You should now update the other packages using commands like 'fink update-all'.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
David Lowe | 13 Aug 23:01 2014
Picon
Picon

glib2 is out of date

Greetings!

	The latest build of freeciv will require glib2 >= 2.32.  I am currently downloading 2.32.2, but Gnome has a
bewildering variety of versions up to 2.41, and i don't see an obvious demarcation of stable from
unstable.  Should we prefer some other version?

sent from Mountain Lion

"A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Picon

Re: Yosemite (Alexander Hansen) - (some) success building Fink under 10.10 Yosemite

Dear Alexander & Fink developers,

I wanted to share my experience based on your advice below, to build Fink under Yosemite 10.10 (public beta)
from https://github.com/fink/fink/tree/HalfDome".

After installing the XCode 6.0 command line tools, XQuartz, and Java on my 10.10 test system, I downloaded
the HalfDome branch of Fink, and simply ran "./bootstrap". To my pleasant surprise it completed without
error, and I have a Yosemite fink distribution based on 0.37.99.git.

I then tried to change the selfupdate method to CVS, which required 'fink install cvs'. This failed with a
'pod2man' error that I had seen earlier when trying to get Fink to build under 10.10:

cms.pod around line 457: Expected text after =item, not a number
cms.pod around line 461: Expected text after =item, not a number
cms.pod around line 465: Expected text after =item, not a number
cms.pod around line 470: Expected text after =item, not a number
cms.pod around line 474: Expected text after =item, not a number
POD document had syntax errors at /usr/bin/pod2man5.18 line 72.
make: *** [install_docs] Error 255

I wanted to report this problem since it stands in the way of adding additional packages to 10.10 when the
creation of a man page fails...

Thanks for pointing me to the HalfDome branch, as my attempts to build by tweaking the master branch had only
been partially successful. I HAD seend this pod2man error during that process, but it was avoided in the
bootstrap build in the HalfDome branch.

All the best,
John Lillibridge

On Aug 8, 2014, at 7:37 AM, fink-devel-request <at> lists.sourceforge.net wrote:

> Date: Fri, 08 Aug 2014 04:37:21 -0700
> From: Alexander Hansen <alexanderk.hansen <at> gmail.com>
> Subject: Re: [Fink-devel] Yosemite
> To: Jacques Bloch <jacques.bloch <at> ur.de>
> Cc: Fink Developers Mailing List <fink-devel <at> lists.sourceforge.net>
> Message-ID: <53E4B671.7040706 <at> gmail.com>
> Content-Type: text/plain; charset=windows-1252; format=flowed
> 
> On 8/8/14, 12:50 AM, Jacques Bloch wrote:
> 
>> Dear Alexander,
>> 
>> I moved to Yosemite and can no longer use fink, as it does not support
>> OSX 10.10. Following something that I found on a fink-forum  I added the
>> following lineIn the file /sw/lib/perl5/Fink/Engine.pm:
>> $valid_upgrade = 1 if ($osversion eq "10.10" and $distribution eq "10.9");
>> 
>> However, when I now do "fink selfupdate" I get the error message:
>> /could not determine XFree86 version number
>> /usr/bin/rsync -az -q
>> rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP
>> /sw/fink/TIMESTAMP.tmp
>> I will now run the rsync command to retrieve the latest package
>> descriptions.
>> /usr/bin/rsync -rtz --delete-after --delete -q   --include='10.10/'
>> --include='10.10/stable/' --include='10.10/stable/main/'
>> --include='10.10/stable/main/finkinfo/'
>> --include='10.10/stable/main/finkinfo/*/'
>> --include='10.10/stable/main/finkinfo/*'
>> --include='10.10/stable/main/finkinfo/**/*' --include='VERSION'
>> --include='DISTRIBUTION' --include='README' --exclude='**'
>> 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/'
>> WARNING: Not saving timestamp of selfupdate because could not write
>> /sw/fink/10.10/VERSION.selfupdate.tmp: No such file or directory
>> Scanning package description files
>> Failed: not a reference at /sw/lib/perl5/Fink/Services.pm line 1885./
>> 
>> Moreover when starting the fink command I always get a message that
>> Xquartz cannot be opened because X11 us not installed, even though other
>> programs can use Xquartz without any problem.
>> 
>> I also tried ?fink reinstall fink? and get the error message:
>> /Scanning package description files/
>> /not a reference at /sw/lib/perl5/Fink/Services.pm line 1885./
>> 
>> Do you have any idea how to resolve the problem?
>> 
>> Thanks,
>> Jacques
> 
> cc-ing the fink-devel mailing list since Yosemite is in public beta.
> 
> Please don't contact me personally about things like this.  That is why 
> the Fink project has mailing lists.  I'm not personal unpaid technical 
> support.
> 
> The X11 issues are possibly due to your not having the /usr/X11R6 -> 
> /usr/X11 and /usr/X11/ -> /opt/X11 convenience symlinks.   Do you have 
> those?
> 
> Your rsync command isn't working because we have not created a 10.10 
> directory.  And we may well not do that.
> 
> You _might_ be able to fix fink in place if you download the Yosemite 
> development branch:
> 
> https://github.com/fink/fink/tree/HalfDome
> 
> Download the source zip archive, unpack it, then apply the change change 
> to perlmods/Fink/Engine.pm in that source directory, and then use 
> ./inject.pl to upgrade.  I honestly don't know how well that will work, 
> since I haven't had time to work with Fink on Yosemite.
> -- 
> Alexander Hansen, Ph.D.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Alexander Hansen | 8 Aug 13:37 2014
Picon

Re: Yosemite

On 8/8/14, 12:50 AM, Jacques Bloch wrote:
> Dear Alexander,
>
> I moved to Yosemite and can no longer use fink, as it does not support
> OSX 10.10. Following something that I found on a fink-forum  I added the
> following lineIn the file /sw/lib/perl5/Fink/Engine.pm:
> $valid_upgrade = 1 if ($osversion eq "10.10" and $distribution eq "10.9");
>
> However, when I now do "fink selfupdate" I get the error message:
> /could not determine XFree86 version number
> /usr/bin/rsync -az -q
> rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP
> /sw/fink/TIMESTAMP.tmp
> I will now run the rsync command to retrieve the latest package
> descriptions.
> /usr/bin/rsync -rtz --delete-after --delete -q   --include='10.10/'
> --include='10.10/stable/' --include='10.10/stable/main/'
> --include='10.10/stable/main/finkinfo/'
> --include='10.10/stable/main/finkinfo/*/'
> --include='10.10/stable/main/finkinfo/*'
> --include='10.10/stable/main/finkinfo/**/*' --include='VERSION'
> --include='DISTRIBUTION' --include='README' --exclude='**'
> 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/'
> WARNING: Not saving timestamp of selfupdate because could not write
> /sw/fink/10.10/VERSION.selfupdate.tmp: No such file or directory
> Scanning package description files
> Failed: not a reference at /sw/lib/perl5/Fink/Services.pm line 1885./
>
> Moreover when starting the fink command I always get a message that
> Xquartz cannot be opened because X11 us not installed, even though other
> programs can use Xquartz without any problem.
>
> I also tried “fink reinstall fink” and get the error message:
> /Scanning package description files/
> /not a reference at /sw/lib/perl5/Fink/Services.pm line 1885./
>
> Do you have any idea how to resolve the problem?
>
> Thanks,
> Jacques
> ---
> Dr. Jacques C.R. Bloch
> Institute for Theoretical Physics
> University of Regensburg
> 93040 Regensburg, Germany
> tel: +49 941 943-2018
> fax: +49 941 943-3887
> email: jacques.bloch <at> ur.de <mailto:jacques.bloch <at> ur.de>
> web: http://homepages.uni-regensburg.de/~blj05290
>

cc-ing the fink-devel mailing list since Yosemite is in public beta.

Please don't contact me personally about things like this.  That is why 
the Fink project has mailing lists.  I'm not personal unpaid technical 
support.

The X11 issues are possibly due to your not having the /usr/X11R6 -> 
/usr/X11 and /usr/X11/ -> /opt/X11 convenience symlinks.   Do you have 
those?

Your rsync command isn't working because we have not created a 10.10 
directory.  And we may well not do that.

You _might_ be able to fix fink in place if you download the Yosemite 
development branch:

https://github.com/fink/fink/tree/HalfDome

Download the source zip archive, unpack it, then apply the change change 
to perlmods/Fink/Engine.pm in that source directory, and then use 
./inject.pl to upgrade.  I honestly don't know how well that will work, 
since I haven't had time to work with Fink on Yosemite.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Gmane