[Fink-devel] Language specific versions - man pages

2017-07-23 Thread Scott Hannahs via Fink-devel
Once again….  Since I am updating some of my fink packages, I should do them 
all!

I seem to be unclear on how a language version typed build installs non-version 
typed man pages?

I am updating config-inifiles-pm as it has gone horribly out of date.  It is a 
fairly vanilla bare bones .info file.  But the build -m gives the error:

Validating .deb dir /sw/src/fink.build/root-config-inifiles-pm5162-2.94-5...
Error: File in a language-versioned package does not have a pathname specific 
to that version.
Offending file: /sw/share/man/man3/Config::IniFiles.3pm

Well, yes, the man page is not versioned.  So where should I put it?  Should it 
be versioned?  Or should the man page be the same for both 

The type is the normal:
Type: perl (5.16.2 5.18.2)

And my dependencies are:
# Dependencies
Depends: <<
perl%type_pkg[perl]-core,
scalar-list-utils-pm%type_pkg[perl],
io-stringy-pm
<<

The install phase uses whatever is done for default testing and installation 
for perl modules:
# Install Phase:
UpdatePOD: true
DocFiles: Changes LICENSE MANIFEST README

I think I can build it as a non-typed language file but it has a dependency on 
scalar-list-utils-pm which is typed.  It seems that once you have a version 
specific file any builds that depend on that version must also be version 
specific.

Do I explicitly write out the install phase and then change the man page to 
Config::IniFiles-pm5162.3pm or something ugly like that?  Google only points me 
to a failed build world list that Hanspeter posted and the manual seems to show 
that man pages for different versions are all in the same location.  (i.e. 
there is no /$version/ sub directory for man1 and man3).  From the fink manual:

If the type is perl $version with the version specified (e.g., $version might 
be 5.6.0), then the default becomes:

perl$version Makefile.PL \
 PERL=perl$version PREFIX=%p \
 INSTALLPRIVLIB=%p/lib/perl5/$version \
 INSTALLARCHLIB=%p/lib/perl5/$version/$perlarchdir \
 INSTALLSITELIB=%p/lib/perl5/$version \
 INSTALLSITEARCH=%p/lib/perl5/$version/$perlarchdir \
 INSTALLMAN1DIR=%p/share/man/man1 \
 INSTALLMAN3DIR=%p/share/man/man3 \
 INSTALLSITEMAN1DIR=%p/share/man/man1 \
 INSTALLSITEMAN3DIR=%p/share/man/man3 \
 INSTALLBIN=%p/bin \
 INSTALLSITEBIN=%p/bin \
 INSTALLSCRIPT=%p/bin
make
make test

-Scott


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] Help with shlib

2017-07-09 Thread Scott Hannahs

> On Jun 26, 2017, at 11:46 AM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
>> On Jun 25, 2017, at 17:39, Scott Hannahs <s...@magnet.fsu.edu> wrote:
>> 
>> So do I need to modify the install phase to install the 
>> /sw/lib/libcryptopp.5.dylib file?  Should it be a hard link to the 
>> libcryptopp.dylib or should that file not exist.
>> 
> 
> The preferred option is actually the reverse:  real libcryptopp.5.dylib with 
> libcryptopp.dylib as a symbolic link.  
> 
>> When there are two split off packages, I think I have the following
>> all packages: Install.txt License.txt Readme.txt in share/doc/libcryptopp5
>> package: cryptest.exe in /bin  testdata in share/libcryptopp/ headers in 
>> include/libcryptopp
>> package-shlib: lib/libcryptopp.5.dylib and libcryptopp.dylib (and maybe 
>> libcryptopp.a but I think I can delete it??)
> 
> Ideally, package-shlibs should only contain the shared library/libraries and 
> the DocFiles you noted earlier.
> 
>> package-dev: headers in include/libcryptopp
> 
> If libcryptopp.dylib is a symlink as I suggested above, it needs to go here.  
> This structure helps us to have multiple versions of the library available 
> for builds, since by swapping the -dev package we can change what -lFOO on a 
> build line really points to.
> 
> Moving rather than is intentional, since you aren’t supposed to have the same 
> file provided by multiple splitoffs in a package build.  We’d wind up with 
> files duplicated between the main package and splitoffs, or we’d have to go 
> back and delete them after the fact.
> 
> Make sure that you didn’t declare it in multiple Files lines, and otherwise 
> check what’s actually in the directory.

I seem to still be missing something essential here.  I have separated the 
symbolic link to the -dev split off and renamed the package to contain the 
major version number.

I can’t seem to get a match between the shilib and the file name.  I have set 
it up so that the symbolic link gets made and then installed by the -dev split 
off.  But the deb package does not pass the test.  I am having a match problem 
for the files: and shilibs: fields.

I have tried various different prefixes and relative and absolute paths but 
still do not seem to get a clean DEB file.  I have used as templates some of 
the other .info files in lib.  Such as canna.info and lhasa.info.

Currently I get a mismatch:

Validating .deb dir /sw/src/fink.build/root-libcryptopp5-shlibs-5.6.5-23...
Error: Name '/sw/lib/libcryptopp.5.dylib' specified in Shlibs does not match 
install_name 
'/sw/src/fink.build/root-libcryptopp5-5.6.5-23/sw/lib/libcryptopp.5.dylib'
Error: package contains the shared library
  /sw/lib/libcryptopp.5.dylib
   but the corresponding install_name and compatibility_version
  
%p/src/fink.build/root-libcryptopp5-5.6.5-23/sw/lib/libcryptopp.5.dylib 5.6.0
   are not listed in the Shlibs field.  See the packaging manual.

at the moment I have the following fields in the split off
   InstallScript: make install PREFIX=%p DESTDIR=%d

SplitOff: <<
   Package: %N-shlibs
   DocFiles: Install.txt License.txt Readme.txt
   Files: lib/libcryptopp.5.dylib
   Shlibs: %p/lib/libcryptopp.5.dylib 5.6.0 %n (>= 5.6.5-5)
<<

SplitOff2: <<
   Package: %N-dev
   Depends: %N-shlibs (= %v-%r)
   BuildDependsOnly: true
   Files: <<
  include
  lib/libcryptopp.dylib
  lib/libcryptopp.a
   <<
<<

And now I realize I am just flailing around here…. :-)

So what is the correct location for my 3 files and how do I reference them in 
the two split offs for the -shlibs and -dev portions of the fink file.

The three files are in the main build directory and are
libcryptopp.5.dylib
libcryptopp.dylib (a symbolic link to the file above)
libcryptopp.a (the static version)

The root-libcryptopp5-shlibs-5.6.5-23 and root-libcryptopp5-dev-5.6.5-23 
folders look like they have all the right files in the the right parts of the 
sw directory.

So the Files: tag should be a relative path.  The Shlibs: tag has to be an 
absolute path.  But… the deb file is not matching the index.  I seem to just be 
testing all combinations here and not hitting the right one.  The examples in 
the lib/*.info files all seem to use %p, but the documentation suggests to me 
that %I would be the correct (or %D%P).

-Scott



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] Help with shlib

2017-06-25 Thread Scott Hannahs

> On Jun 25, 2017, at 7:27 AM, Hanspeter Niederstrasser 
> <f...@snaggledworks.com> wrote:
> 
> On 6/24/17 5:19 PM, Scott Hannahs via Fink-devel wrote:
>> I need a bit of help with a fink package.  I don’t fully understand the 
>> Shlibs: tag in a fink package.  I am trying to create a package for a 
>> dynamic library.  The library builds correctly.  However it just builds the 
>> library as cryptopp.dylib in the midst of the source files.
>> The discussion of the SHLIBS tag in the packaging manual seems a bit obscure 
>> to me.
>> Here is the relevant part of the package as I have it now following another 
>> library package as a template.
>> NoSourceDirectory: True
>> CompileScript: make dynamic
>> InfoTest: <<
>>   TestScript: make test || exit2
>> <<
>> DocFiles: Install.txt License.txt Readme.txt
>> InstallScript: make install PREFIX=%i
>> SplitOff: <<
>>Package: %N-shlibs
>>Files: <<
>>   lib/libcryptopp.dylib
>> <<
>>Shlibs: <<
>>   %p/lib/libcryptopp.dylib 5.6.0 %n (>= 5.6.5-5)
>><<
>> <<
>> SplitOff2: <<
>>Package: %N-dev
>>Depends: %N-shlibs (= %v-%r)
>>BuildDependsOnly: true
>>Files: <<
>>   include
>><<
>> <<
>> the package goes and build both the dylib and .a libraries, but has a 
>> problem installing them.  The deb file does not pass authentication when I 
>> run fink in -m mode.
>> When I try to build with the -km flags, I get the following:
>> Validating .deb dir /sw/src/fink.build/root-libcryptopp-shlibs-5.6.5-13...
>> Error: Name '/sw/lib/libcryptopp.dylib' specified in Shlibs does not match 
>> install_name 
>> '/sw/src/fink.build/root-libcryptopp-5.6.5-13/sw/lib/libcryptopp.dylib'
>> Error: package contains the shared library
>>   /sw/lib/libcryptopp.dylib
>>but the corresponding install_name and compatibility_version
>>   
>> %p/src/fink.build/root-libcryptopp-5.6.5-13/sw/lib/libcryptopp.dylib 5.6.0
>>are not listed in the Shlibs field.  See the packaging manual.
> 
> Your Shlibs: field is OK given what the library is giving you, but the 
> problem is that upstream is not handling their library in a useful way.
> 
> 1) Their library is not versioned. It is named 'librcrypto.dylib', but should 
> be 'libcrypto.N.dylib', where N is the library version (not necessarily the 
> zipfile version). This can be fixed by modifying the makefile and adding 
> $(LIB_MAJOR) to the install_name bits.
> 
> 2) The makefile uses install_name_tool to change the install name of the 
> library but uses $(DESTDIR) badly in setting the new -id of the library. This 
> incorrectly adds the whole 'src/fink.build/root-...' mess to the 
> install_name. Fix the makefile to only use LIBDIR when setting the 
> install_name for the library. And tell upstream, because that is a basic 
> error.
> 
> 3) As far as I can tell, the Makefile fully supports DESTDIR, so you're 
> probably better off using both DESTDIR=%d and PREFIX=%p in the install 
> command (and not PREFIX=%i).
> 
> 4) Fink convention is that if your library is libcryptopp.5.dylib, your 
> package should be libcryptopp5-shlibs and libcryptopp5-dev. The base package 
> (if non-library) can stay libcryptopp (no 5).
> 
> Hanspeter

Thanks, I have attempted this but I am not sure I understand what the 
install_name_tool actually does.  I don’t think that it creates the 
‘libcryptopp.N.dylib’ files themselves?  But sets an internal name?

Should I set the name to the correct ‘libcryptopp.N.dylib’ after the build and 
before the install?

So do I need to modify the install phase to install the 
/sw/lib/libcryptopp.5.dylib file?  Should it be a hard link to the 
libcryptopp.dylib or should that file not exist.

When there are two split off packages, I think I have the following
all packages: Install.txt License.txt Readme.txt in share/doc/libcryptopp5
package: cryptest.exe in /bin  testdata in share/libcryptopp/ headers in 
include/libcryptopp
package-shlib: lib/libcryptopp.5.dylib and libcryptopp.dylib (and maybe 
libcryptopp.a but I think I can delete it??)
package-dev: headers in include/libcryptopp

for some reason it tries to move instead of copy and it fails creating the 
shlibs folder structure.

/bin/mv /sw/src/fink.build/root-libcryptopp5-5.6.5-16/sw/lib/libcryptopp.dylib 
/sw/src/fink.build/root-libcryptopp5-shlibs-5.6.5-16/sw/lib/
mv: rename 
/sw/src/fink.build/root-libcryptopp5-5.6.5-16/sw/lib/libcryptopp.dylib to 
/sw/src/fink.build/root-libcryptopp5-shlibs-5.6.5-16/sw/lib/libcryptopp.dylib: 
No such file or directory

-Scott

[Fink-devel] Help with shlib

2017-06-24 Thread Scott Hannahs via Fink-devel
I need a bit of help with a fink package.  I don’t fully understand the Shlibs: 
tag in a fink package.  I am trying to create a package for a dynamic library.  
The library builds correctly.  However it just builds the library as 
cryptopp.dylib in the midst of the source files.

The discussion of the SHLIBS tag in the packaging manual seems a bit obscure to 
me.

Here is the relevant part of the package as I have it now following another 
library package as a template.

NoSourceDirectory: True
CompileScript: make dynamic
InfoTest: <<
  TestScript: make test || exit2
<<
DocFiles: Install.txt License.txt Readme.txt
InstallScript: make install PREFIX=%i
SplitOff: <<
   Package: %N-shlibs
   Files: <<
  lib/libcryptopp.dylib
<<
   Shlibs: <<
  %p/lib/libcryptopp.dylib 5.6.0 %n (>= 5.6.5-5)
   <<
<<
SplitOff2: <<
   Package: %N-dev
   Depends: %N-shlibs (= %v-%r)
   BuildDependsOnly: true
   Files: <<
  include
   <<
<<

the package goes and build both the dylib and .a libraries, but has a problem 
installing them.  The deb file does not pass authentication when I run fink in 
-m mode.

When I try to build with the -km flags, I get the following:

Validating .deb dir /sw/src/fink.build/root-libcryptopp-shlibs-5.6.5-13...
Error: Name '/sw/lib/libcryptopp.dylib' specified in Shlibs does not match 
install_name 
'/sw/src/fink.build/root-libcryptopp-5.6.5-13/sw/lib/libcryptopp.dylib'
Error: package contains the shared library
  /sw/lib/libcryptopp.dylib
   but the corresponding install_name and compatibility_version
  %p/src/fink.build/root-libcryptopp-5.6.5-13/sw/lib/libcryptopp.dylib 
5.6.0
   are not listed in the Shlibs field.  See the packaging manual.


Any help is of course very much appreciated!
Scott

Dr. Scott Hannahs, Director of Scientific Instrumentation and Operations
Distinguished University Scholar
National High Magnetic Field Laboratory, Florida State University
http://sthmac.magnet.fsu.edu
1800 E. Paul Dirac Dr., Tallahassee FL 32310, (850)644-0216/FAX 644-0534

"OS X: because making Unix user-friendly was easier than debugging 
Windows."


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] curl download flags

2017-05-30 Thread Scott Hannahs
Dear Fink Devs,

I have another problem with this which I thought was going to be simple…  Never 
is.

So I have this simple package:
Package: lrzsz
Version: 0.12.20
Revision: 2
License: GPL2
Homepage: https://ohse.de/uwe/software/lrzsz.html
Maintainer: Scott Hannahs <shann...@users.sourceforge.net>

Source: --no-check-certificate https://ohse.de/uwe/releases/%n-%v.tar.gz
Source-MD5: b5ce6a74abc9b9eb2af94dffdfd372a4

ConfigureParams: --mandir=%p/share/man

InstallScript:  make install DESTDIR=%d

DocFiles: ABOUT-NLS AUTHORS COMPATABILITY COPYING ChangeLog NEWS README THANKS 
TODO
Description: XMODEM YMODEM ZMODEM File Transfer Protocols

DescDetail: <<
lrzsz is a unix communication package providing the XMODEM, YMODEM ZMODEM file
transfer protocols.
lrzsz is a heavily rehacked version of the last public domain release of Omen
Technologies rzsz package, and is now free software and released under the GNU
General Public Licence.

Features of lrzsz
very portable, automagically configured with GNU autoconf.
crash recovery.
up to 8KB block sizes (ZMODEM8K).
internationalized (using GNU gettext).
far more secure than the original sources.
high performance. say `make vcheck-z' and have a look at the BPS rate.
good blocksize calculation (tries to compute an optimal blocksize based
on the number of errors occured).
It's free software.
<<

However it installs the first time, but fails if you try to re-install.  For 
some reason the install command tries to remove the old symbolic links in  the 
actual /sw/bin folder instead of the temporary build folder.  This of course 
fails when not run as root.  All the build files are in root-lrzsz-0.12.20-1/ 
but it fails on 
  /usr/bin/install -c lsz /sw/src/fink.build/root-lrzsz-0.12.20-1/sw/bin/lsz
rm -f /sw/src/fink.build/root-lrzsz-0.12.20-1//sw/bin/`echo lsb | sed -e 
's,x,x,'`
ln /sw/src/fink.build/root-lrzsz-0.12.20-1//sw/bin/`echo lsz |sed -e 's,x,x,'` \
/sw/src/fink.build/root-lrzsz-0.12.20-1//sw/bin/`echo lsb |sed 
-e 's,x,x,'` 
rm -f /sw/bin/`echo lsx | sed -e 's,x,x,'`
rm: /sw/bin/lsx: Permission denied
make[1]: *** [install-exec-local] Error 1


for some files.  Not sure actually which script file is generating the error 
and how do I force it to the the root-xxx dir for this build rather than the 
actual /sw/bin??

-Scott







> On Apr 5, 2017, at 6:07 PM, Scott Hannahs <shann...@users.sourceforge.net> 
> wrote:
> 
> Alexander,
> 
> Thanks.  Even the regular http:// URL fails with curl and still defaults to 
> an SSL certificate verification  for some reason.  It seems to find the old 
> source under Mac OS 10.11 but fails under Mac OS 10.12. I will temporarily 
> host it for awhile.  The source has not been touched for many many years but 
> still compiles and functions under 10.12 Xcode 8.3.
> 
> I suppose I should have looked in old packages for this.  It is a very simple 
> package and mine is not much different from the 10.4 version.
> 
> -Scott
> 
>> On Apr 5, 2017, at 5:22 PM, Alexander Hansen <alexanderk.han...@gmail.com 
>> <mailto:alexanderk.han...@gmail.com>> wrote:
>> 
>> 
>>> On Apr 5, 2017, at 11:31, <shann...@users.sourceforge.net 
>>> <mailto:shann...@users.sourceforge.net>> <shann...@users.sourceforge.net 
>>> <mailto:shann...@users.sourceforge.net>> wrote:
>>> 
>>> Fink Folks,
>>> 
>>> I am trying to create a package for a very old bit of software.  It seems 
>>> that the hosting original URL for download has an expired certificate.  
>>> This causes the fink download to fail when asked to download from the 
>>> original URL.
>>> 
>>> So, in pushing the envelope I tried:
>>> Source: --insecure https://ohse.de/uwe/releases/%n-%v.tar.gz 
>>> <https://ohse.de/uwe/releases/%n-%v.tar.gz>
>>> 
>>> to put a source curl flag in the command.  However fink is careful to 
>>> escape the embedded space and it doesn’t work.
>>> curl --connect-timeout 30 -f -L -A 'fink/0.41.1' -O --insecure\ 
>>> https://ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz 
>>> <https://ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz>
>>> 
>>> Is there a flag for source curl commands for downloading?  
>> 
>> No.
>> 
>>> How should I deal with the need for an insecure download.
>>> 
>> 
>> The easiest option is to host the package source somewhere yourself.  This 
>> can be temporary until the mirror system picks it up, at which time you can 
>> specify mirror:master:/lrzsz-0.12.20.tar.gz as the Source.
>> 
>> If you don’t happen to have temporary host space, Fink has an 

Re: [Fink-devel] curl download flags

2017-04-05 Thread Scott Hannahs
Alexander,

Thanks.  Even the regular http:// URL fails with curl and still defaults to an 
SSL certificate verification  for some reason.  It seems to find the old source 
under Mac OS 10.11 but fails under Mac OS 10.12. I will temporarily host it for 
awhile.  The source has not been touched for many many years but still compiles 
and functions under 10.12 Xcode 8.3.

I suppose I should have looked in old packages for this.  It is a very simple 
package and mine is not much different from the 10.4 version.

-Scott

> On Apr 5, 2017, at 5:22 PM, Alexander Hansen  
> wrote:
> 
> 
>> On Apr 5, 2017, at 11:31, > > > > wrote:
>> 
>> Fink Folks,
>> 
>> I am trying to create a package for a very old bit of software.  It seems 
>> that the hosting original URL for download has an expired certificate.  This 
>> causes the fink download to fail when asked to download from the original 
>> URL.
>> 
>> So, in pushing the envelope I tried:
>> Source: --insecure https://ohse.de/uwe/releases/%n-%v.tar.gz 
>> 
>> 
>> to put a source curl flag in the command.  However fink is careful to escape 
>> the embedded space and it doesn’t work.
>> curl --connect-timeout 30 -f -L -A 'fink/0.41.1' -O --insecure\ 
>> https://ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz 
>> 
>> 
>> Is there a flag for source curl commands for downloading?  
> 
> No.
> 
>> How should I deal with the need for an insecure download.
>> 
> 
> The easiest option is to host the package source somewhere yourself.  This 
> can be temporary until the mirror system picks it up, at which time you can 
> specify mirror:master:/lrzsz-0.12.20.tar.gz as the Source.
> 
> If you don’t happen to have temporary host space, Fink has an area where we 
> host sources that can’t be downloaded from their original URL for whatever 
> reason.
> 
>> For reference the software does X/Y/ZMODEM protocol for data transmission.  
>> Some old instruments need this for communication.
>> 
>> program lrzsz
>> Web site: https://ohse.de/uwe/software/lrzsz.html 
>> 
>> 
>> Any advice on how to develop and test this?
>> 
>> -Scott
>> 
> 
> There’s actually a Fink package description for this already:
> 
> http://pdb.finkproject.org/pdb/package.php/lrzsz 
>  , downloadable via 
> http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/stable/main/finkinfo/net/lrzsz.info?revision=1.1
>  
> 
>  if you don’t have a 10.4 tree checkout handy.
> 
> The existing packaging uses Source: 
> http://www.ohse.de/uwe/releases/%n-%v.tar.gz 
>  .  Does that no longer 
> work?  If not, then I’d recommend copying the source elsewhere.  Unless the 
> developer changed the license since the Fink package was made, it’s 
> distributed under the GPL so that’s permitted.
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] Fink distfiles master corrupted?

2017-01-31 Thread Scott Hannahs

> On Jan 31, 2017, at 9:43 AM, TheSin  wrote:
> 
> As a quick first attempt I liked your link in safari and had no issues at 
> all, I just happen to be doing a fresh install today so I’ll test it via fink 
> and see.

Hmmm….  Most of the files downloaded correctly but it hangs here on both curl 
and Safari as I said.  It tries several different servers, but always hangs at 
the 99% point.  Very odd.
-Scott



curl --connect-timeout 30 -f -L -A 'fink/0.41.1' -O 
http://distfiles.master.finkmirrors.net/distfiles/bzip2-1.0.6.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
 99  763k   99  763k0 0   1421  0  0:09:10  0:09:10 --:--:-- 0
curl: (56) Recv failure: Operation timed out
### execution of curl failed, exit code 56
Downloading the file "bzip2-1.0.6.tar.gz" failed.

(1) Give up
(2) Retry the same mirror
(3) Retry another mirror from your continent
(4) Retry another mirror
(5) Retry using original source URL

Default answer will be chosen in 120 seconds...
How do you want to proceed? [3] 
TIMEOUT: using default answer.
curl --connect-timeout 30 -f -L -A 'fink/0.41.1' -O 
http://distfiles.yeg.ab.ca.finkmirrors.net/distfiles/bzip2-1.0.6.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
 99  763k   99  763k0 0   1422  0  0:09:09  0:09:09 --:--:-- 0
curl: (56) Recv failure: Operation timed out
### execution of curl failed, exit code 56
Downloading the file "bzip2-1.0.6.tar.gz" failed.

(1) Give up
(2) Retry the same mirror
(3) Retry another mirror
(4) Retry using original source URL

Default answer will be chosen in 120 seconds...
How do you want to proceed? [4] 
TIMEOUT: using default answer.
curl --connect-timeout 30 -f -L -A 'fink/0.41.1' -O 
http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
 99  763k   99  763k0 0   1439  0  0:09:03  0:09:02  0:00:01 0
curl: (56) Recv failure: Operation timed out
### execution of curl failed, exit code 56
Downloading the file "bzip2-1.0.6.tar.gz" failed.

(1) Give up
(2) Retry the same mirror

Default answer will be chosen in 120 seconds...
How do you want to proceed? [2] 
TIMEOUT: using default answer.
curl --connect-timeout 30 -f -L -A 'fink/0.41.1' -O 
http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
 99  763k   99  763k0 0   1440  0  0:09:03  0:09:02  0:00:01 0
curl: (56) Recv failure: Operation timed out
### execution of curl failed, exit code 56
Downloading the file "bzip2-1.0.6.tar.gz" failed.

(1) Give up
(2) Retry the same mirror

Default answer will be chosen in 120 seconds...
How do you want to proceed? [2] 
TIMEOUT: using default answer.
curl --connect-timeout 30 -f -L -A 'fink/0.41.1' -O 
http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
 99  763k   99  763k0 0   1440  0  0:09:03  0:09:02  0:00:01 0
curl: (56) Recv failure: Operation timed out
### execution of curl failed, exit code 56
Downloading the file "bzip2-1.0.6.tar.gz" failed.

(1) Give up
(2) Retry the same mirror

Default answer will be chosen in 120 seconds...
How do you want to proceed? [2] 
TIMEOUT: using default answer.
curl --connect-timeout 30 -f -L -A 'fink/0.41.1' -O 
http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
 99  763k   99  763k0 0   1614  0  0:08:04  0:08:04 --:--:-- 0



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

[Fink-devel] Fink distfiles master corrupted?

2017-01-31 Thread Scott Hannahs
Just a note.  I was re-installing fink from scratch just using the ./bootstrap 
and it hangs while downloading bzip2
http://distfiles.master.finkmirrors.net/distfiles/bzip2-1.0.6.tar.gz

The file seems to download the whole thing immediately and then hang at 99% 
complete.

The same URL hangs downloading in Safari as well.

Is this a known issue?

-Scott


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Fink testing

2017-01-17 Thread Scott Hannahs

> On Jan 17, 2017, at 10:32 AM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
>> 
>> On Jan 16, 2017, at 11:37, Scott Hannahs <shann...@users.sourceforge.net> 
>> wrote:
>> 
>> I have a question and maybe an issue for the fink cognoscenti.
>> 
>> I maintain a package (duplicity) for doing encrypted backups that has an 
>> extensive testing phase. That testing phase is failing under fink.  However 
>> during that testing, the routines unpack a tar.gz file to create a directory 
>> structure for backing up and restoring.
>> 
>> In looking at the files, they seem to have the user/group ownership of the 
>> tar file and not fink-bld.  I find several other files such as byte compiled 
>> python files to have ownership as root and not as fink-bld.  There are a 
>> couple of test scripts that end up as fink-bld as the owner but wheel as the 
>> group.
>> 
>> If the testing phase were executed as root, then it would unpack the tar 
>> file as the original owner and not use fink-bld as the owner.  If the 
>> following command is done:
>> sudo -u fink-bld tar xzf testfiles.tar.gz
>> 
>> Then it will unpack the files as the correct owner/group for testing.  But 
>> of course the distributed test script does not hardwire in a fink-bld user 
>> for testing.
>> 
>> Is this a fink issue?   I was just trying to get my updated package to pass 
>> the testing phase.
>> 
>> -Scott
>> 
> 
> Do the tests work if you use “fink -m --no-build-as-nobody build” ?  If so, 
> then you might use BuildAsNobody: false in the .info file so that fink builds 
> as root instead of fink-bld.  The tradeoff is that the build isn’t quite as 
> safe.
> 
> If the build works without the test phase, another option might be just to 
> have a note that testing needs to be done as root, since end-users generally 
> aren’t expected to run tests.  However, this would probably mean that 
> auto-build scripts for the binary distribution won’t work, whereas they would 
> when building as root.
> 
> Ideally, of course, there would be a way to force the test scripts to work as 
> fink-bld, but this might not be possible.
> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison

Alexander,

I am testing the —no-build-as-nobody option.  But I am still sort of curious 
how the tests could run as root and not fink-bld.  To have the tar unpacking of 
the test directories use the stored user/group info would have to have the tar 
run as root.  Otherwise it would change all ownership to fink-bld which I 
believe would be fine.

It seems that unpacking the original tar file leaves some files with the group 
“wheel” and not fink-bld.  This would seem to be a problem with the original 
source unpacking.

I get errors in both forms.
build as root:
Ran 418 tests in 247.699s

FAILED (failures=24, errors=100, skipped=5)
Test failed: 
error: Test failed: 
phase test: warning

Build as fink-bld:
Ran 418 tests in 179.702s

FAILED (failures=23, errors=100, skipped=5)
Test failed: 
error: Test failed: 
phase test: warning


Not sure why building as fink-bld runs so much faster?  There is 1 failure 
difference.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

[Fink-devel] Fink testing

2017-01-16 Thread Scott Hannahs
I have a question and maybe an issue for the fink cognoscenti.

I maintain a package (duplicity) for doing encrypted backups that has an 
extensive testing phase.  That testing phase is failing under fink.  However 
during that testing, the routines unpack a tar.gz file to create a directory 
structure for backing up and restoring.

In looking at the files, they seem to have the user/group ownership of the tar 
file and not fink-bld.  I find several other files such as byte compiled python 
files to have ownership as root and not as fink-bld.  There are a couple of 
test scripts that end up as fink-bld as the owner but wheel as the group.

If the testing phase were executed as root, then it would unpack the tar file 
as the original owner and not use fink-bld as the owner.  If the following 
command is done:
sudo -u fink-bld tar xzf testfiles.tar.gz

Then it will unpack the files as the correct owner/group for testing.  But of 
course the distributed test script does not hardwire in a fink-bld user for 
testing.

Is this a fink issue?   I was just trying to get my updated package to pass the 
testing phase.

-Scott


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Python installer

2016-05-01 Thread Scott Hannahs

> On Apr 30, 2016, at 9:18 PM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
> 
>> On Apr 30, 2016, at 15:42, Scott Hannahs <shann...@users.sourceforge.net> 
>> wrote:
>> 
>> Unfortunately I maintain a python utility for fink.  But not being terribly 
>> up on the versioning issues with python I am having some problems with some 
>> utilities.  I would appreciate a bit of help from the collective wisdom.
>> 
>> I have set up  a couple of python libraries by copying another library I am 
>> updating.  But they each gives a different error.
>> 
>> pbr-py: gives the following
>> Validating .deb dir /sw/src/fink.build/root-pbr-py27-1.9.1-1...
>> Error: File in a language-versioned package does not have a pathname 
>> specific to that version.
>>  Offending file: /sw/bin/pbr
>> 
>> pycryptopp gives the following:
>> Validating .deb dir /sw/src/fink.build/root-pycryptopp-py27-0.7.1-1...
>> Error: File in a language-versioned package does not have a pathname 
>> specific to that version.
>>  Offending file: /sw/share/doc/pycryptopp/COPYING.GPL
>>  Offending file: /sw/share/doc/pycryptopp/COPYING.MIT.txt
>>  Offending file: /sw/share/doc/pycryptopp/COPYING.SPL.txt
>>  Offending file: /sw/share/doc/pycryptopp/COPYING.TGPPL.rst
>>  Offending file: /sw/share/doc/pycryptopp/README.rst
>> 
>> As far as I can tell fink wants to version the utility in sw/bin and the 
>> documentation in /sw/share/doc
>> This is fine, but I don’t see the switch to tell fink or the install script 
>> to do special handling for the tools or the documentation.
>> 
>> Any suggestions of where to go for an example on how to handle this?  I find 
>> it odd, because fink automatically did this for the lockfile-py27 
>> installation that I used as a template.
>> For example on the pycryptopp library I use
>> InstallScript: %p/bin/python%type_raw[python] setup.py install --prefix=%p 
>> --root=%d
>> DocFiles: COPYING.GPL COPYING.MIT.txt COPYING.SPL.txt COPYING.TGPPL.rst 
>> MANIFEST.in NEWS.rst PKG-INFO README.ed25519.rst README.rst
>> 
>> -Scott
>> 
> 
> There’s no magic associated with Python builds.  Any necessary tweaks are 
> generally done manually.  Without seeing your .info files, it’s hard to say 
> what’s wrong, but here are some ideas to look at:
> 
> 1)  Your pbr package looks like an executable rather than a python module.  
> It’s often best not to use Type: python in executable packages, particularly 
> if they only use one Python version,  since that avoids triggering the 
> validator check for language versioning.
> 
> If you’re allowing for multiple python versions for an executable, then the 
> way to go is to rename the executable, e.g. to pbr-%type_raw[python] or 
> pbr-%type_pkg[python] and then to use update-alternatives to allow users to 
> select which one becomes “pbr”.   sci/pymol-py.info is an example of how to 
> do this for multiple versions.
> 
> 2)  For pytcryptopp, it looks like the documents somehow got installed in 
> %i/share/doc/%{Ni} rather than %i/share/doc/%N.  If we take lockfile-py27 as 
> an example its DocFiles get installed as follows:
> 
> /sw/share/doc/lockfile-py27/ACKS
> /sw/share/doc/lockfile-py27/doc
> /sw/share/doc/lockfile-py27/doc/source
> /sw/share/doc/lockfile-py27/doc/source/conf.py
> /sw/share/doc/lockfile-py27/doc/source/index.rst
> /sw/share/doc/lockfile-py27/doc/source/Makefile
> /sw/share/doc/lockfile-py27/LICENSE
> /sw/share/doc/lockfile-py27/PKG-INFO
> /sw/share/doc/lockfile-py27/README
> /sw/share/doc/lockfile-py27/RELEASE-NOTES
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison

Alexander,
That was very helpful.  Thanks.  Now I am a few steps further.  When trying to 
get the package to pass the -m option it of course does the testing phase.  I 
get a warning and the package passes.  However the warning is that it skipped 
all tests!  When running "setup.py test” the script tries to download its own 
copy of testtools.  I have set it up to install the fink version as a 
TESTDEPENDS but the test routine goes back to trying to download its own copy 
form pypi which of course fails due to moving everything around on pypi for 
“security” reasons.

Do I need an environment variable to point python to the existing fink python 
modules?

sudo -u fink-bld [ENV] sh -c /tmp/fink.5xP2J
PYTHONPATH="/sw/src/fink.build/root-pbr-py27-1.9.1-1/sw/lib/python2.7/site-packages:$PYTHONPATH"
 /sw/bin/python2.7 setup.py test
running test
Searching for testtools>=1.4.0
Reading https://pypi.python.org/simple/testtools/
Download error on https://pypi.python.org/simple/testtools/: [S

[Fink-devel] Python installer

2016-04-30 Thread Scott Hannahs
Unfortunately I maintain a python utility for fink.  But not being terribly up 
on the versioning issues with python I am having some problems with some 
utilities.  I would appreciate a bit of help from the collective wisdom.

I have set up  a couple of python libraries by copying another library I am 
updating.  But they each gives a different error.

pbr-py: gives the following
Validating .deb dir /sw/src/fink.build/root-pbr-py27-1.9.1-1...
Error: File in a language-versioned package does not have a pathname specific 
to that version.
Offending file: /sw/bin/pbr

pycryptopp gives the following:
Validating .deb dir /sw/src/fink.build/root-pycryptopp-py27-0.7.1-1...
Error: File in a language-versioned package does not have a pathname specific 
to that version.
Offending file: /sw/share/doc/pycryptopp/COPYING.GPL
Offending file: /sw/share/doc/pycryptopp/COPYING.MIT.txt
Offending file: /sw/share/doc/pycryptopp/COPYING.SPL.txt
Offending file: /sw/share/doc/pycryptopp/COPYING.TGPPL.rst
Offending file: /sw/share/doc/pycryptopp/README.rst

As far as I can tell fink wants to version the utility in sw/bin and the 
documentation in /sw/share/doc
This is fine, but I don’t see the switch to tell fink or the install script to 
do special handling for the tools or the documentation.

Any suggestions of where to go for an example on how to handle this?  I find it 
odd, because fink automatically did this for the lockfile-py27 installation 
that I used as a template.
For example on the pycryptopp library I use
InstallScript: %p/bin/python%type_raw[python] setup.py install --prefix=%p 
--root=%d
DocFiles: COPYING.GPL COPYING.MIT.txt COPYING.SPL.txt COPYING.TGPPL.rst 
MANIFEST.in NEWS.rst PKG-INFO README.ed25519.rst README.rst

-Scott


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
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


[Fink-devel] Bug in fink bootstrap script

2015-06-12 Thread Scott Hannahs
It checks for *greater* than or equal Darwin 13 and sets the maximum Xcode 
version to 6.2.  If you have Darwin 14/Xcode 6.3.2 it fails.

Should be equal to Darwin version 13.  There is a test for version not matched 
for greater than 14 and it throws an error.

-Scott



--- bootstrap.old   2015-05-14 11:03:37.0 -0400
+++ bootstrap   2015-06-12 19:00:35.0 -0400
@@ -363,7 +363,7 @@
} elsif ($vers == 12) {
$min_xcode=4.4;
$max_xcode=5.1.1;
-   } elsif ($vers = 13) {
+   } elsif ($vers == 13) {
#
# Extrapolate for future releases
#
% 


--
___
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


Re: [Fink-devel] Bug in fink bootstrap script

2015-06-12 Thread Scott Hannahs

 On Jun 12, 2015, at 19:26, Alexander Hansen alexanderk.han...@gmail.com 
 wrote:
 
 
 On Jun 12, 2015, at 16:07, Scott Hannahs shann...@users.sourceforge.net 
 wrote:
 
 It checks for *greater* than or equal Darwin 13 and sets the maximum Xcode 
 version to 6.2.  If you have Darwin 14/Xcode 6.3.2 it fails.
 
 Should be equal to Darwin version 13.  There is a test for version not 
 matched for greater than 14 and it throws an error.
 
 -Scott
 
 
 
 --- bootstrap.old2015-05-14 11:03:37.0 -0400
 +++ bootstrap2015-06-12 19:00:35.0 -0400
 @@ -363,7 +363,7 @@
  } elsif ($vers == 12) {
  $min_xcode=4.4;
  $max_xcode=5.1.1;
 -} elsif ($vers = 13) {
 +} elsif ($vers == 13) {
  #
  # Extrapolate for future releases
  #
 % 
 
 
 
 This is known and fixed in fink’s git master.  I was planning to wait until 
 OS 10.10.4 is released to do a fink release, but maybe we’ll accelerate that.

I was just installing on an updated system with a clean fink install.  As 
usual, I didn’t go to the git master but just the ordinary download page. I am 
not sure when 10.10.4 is coming out but there are folks who will find this a 
stumbling block.  I was sort of startled to find this and I am glad it is fixed.

-Scott


--
___
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


Re: [Fink-devel] TeXLive has corrupt deb?

2015-01-18 Thread Scott Hannahs
On Jan 17, 2015, at 4:37 PM, Martin Costabel costa...@wanadoo.fr wrote:
 
 On 17/01/15 06:11, Scott Hannahs wrote:
 OK, that makes sense, but what is up with fink not recognizing the 
 no-use-binary option?
 
 If I run fink —-no-use-binary-dist install texlive-texmf I get the 
 standard fink usage message.
 
 % fink —-no-use-binary-dist install texlive-texmf
 Fink 0.38.3
 
 Usage: fink [options] command [package...]
   fink install pkg1 [pkg2 ...]
 
 If I copy-paste your command line into my terminal window, I see
 
 fink \342-no-use-binary-dist install texlive-texmf
 
 That is, you have some alien character there that looks like a dash but 
 isn't one. Fink doesn't like this.

Yikes, I have been cutting and pasting from the original email to avoid typos 
and have had that one since the original reply.  In my terminal it looks like 
an ordinary dash…  Sigh..  Dang formatted emails!

It certainly looks different in this “unformatted” email!  I couldn’t 
understand why such a common switch would not be working!

Thanks,

-Scott


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
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


Re: [Fink-devel] TeXLive has corrupt deb?

2015-01-17 Thread Scott Hannahs

 On Jan 16, 2015, at 6:56 PM, Alexander Hansen alexanderk.han...@gmail.com 
 wrote:
 
 
 On Jan 16, 2015, at 3:54 PM, Scott Hannahs shann...@users.sourceforge.net 
 wrote:
 
 On Jan 15, 2015, at 19:31, Tomoaki Okayama okay...@users.sourceforge.net 
 wrote:
 
 Could anybody fix the broken deb of texlive-texmf please?
 As long as it remains broken, all other debs of texlive-related packages
 will not be built in the env.
 
 Tomoaki Okayama
 
 2015-01-13 3:49 GMT+09:00 Alexander Hansen alexanderk.han...@gmail.com:
 
 On Jan 12, 2015, at 10:18 AM, Scott Hannahs 
 shann...@users.sourceforge.net
 wrote:
 
 I am getting an error on Mac OS X 10.9 with the TeXLive binary deb file.
 
 Any ideas?
 -Scott
 
 
 
 Yeah, it looks like that .deb is broken; 2924k is quite tiny.  For 10.10 I
 show
 
 $ ls -l
 /sw/var/cache/apt/archives/texlive-texmf_0.20140525-1_darwin-x86%5f64.deb
 -rw-r--r--  1 root  admin  975431474 Jan  6 06:23
 /sw/var/cache/apt/archives/texlive-texmf_0.20140525-1_darwin-x86%5f64.deb
 
 I’m not sure if the .deb is in the middle of being uploaded or a script 
 just
 gave up—the binary distribution is built on a different machine than where
 it is hosted.
 
 My best recommendation would be to build it on your own machine via “fink
 —no-use-b install texlive-texmf”.
 --
 Alexander Hansen, Ph.D.
 Fink User Liaison
 
 I am still bottom posting… :-)
 
 But this might be solved by the install from source exempt that isn't 
 appearing to be working either in Fink!  This seems like a big error.  This 
 was with a fresh install of fink on Mac OS X 10.10.
 
 -Scott
 
 
 
 
 The install from source worked for me.   What’s the error?

As I think I posted earlier, I just get the standard “usage” message back from 
fink.  I tried a couple of combinations.  But I am using the flag as a cut and 
post from the usage message.  Maybe I am doing something stupid.
-Scott



OK, that makes sense, but what is up with fink not recognizing the 
no-use-binary option?

If I run fink —-no-use-binary-dist install texlive-texmf I get the standard 
fink usage message.

% fink —-no-use-binary-dist install texlive-texmf
Fink 0.38.3

Usage: fink [options] command [package...]
  fink install pkg1 [pkg2 ...]

Common commands:
 install  - install/update the named packages
deleted
 --no-use-binary-dist  - Opposite of use-binary-dist

This even happens for non existent packages so it seems to be in the option 
processing.

-Scott


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
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


Re: [Fink-devel] TeXLive has corrupt deb?

2015-01-17 Thread Scott Hannahs

 On Jan 17, 2015, at 10:33 AM, Alexander Hansen alexanderk.han...@gmail.com 
 wrote:
 
 On 1/16/15 9:11 PM, Scott Hannahs wrote:
 
 On Jan 16, 2015, at 6:56 PM, Alexander Hansen alexanderk.han...@gmail.com 
 wrote:
 
 
 On Jan 16, 2015, at 3:54 PM, Scott Hannahs 
 shann...@users.sourceforge.net wrote:
 
 On Jan 15, 2015, at 19:31, Tomoaki Okayama okay...@users.sourceforge.net 
 wrote:
 
 Could anybody fix the broken deb of texlive-texmf please?
 As long as it remains broken, all other debs of texlive-related packages
 will not be built in the env.
 
 Tomoaki Okayama
 
 2015-01-13 3:49 GMT+09:00 Alexander Hansen alexanderk.han...@gmail.com:
 
 On Jan 12, 2015, at 10:18 AM, Scott Hannahs 
 shann...@users.sourceforge.net
 wrote:
 
 I am getting an error on Mac OS X 10.9 with the TeXLive binary deb file.
 
 Any ideas?
 -Scott
 
 
 
 Yeah, it looks like that .deb is broken; 2924k is quite tiny.  For 10.10 
 I
 show
 
 $ ls -l
 /sw/var/cache/apt/archives/texlive-texmf_0.20140525-1_darwin-x86%5f64.deb
 -rw-r--r--  1 root  admin  975431474 Jan  6 06:23
 /sw/var/cache/apt/archives/texlive-texmf_0.20140525-1_darwin-x86%5f64.deb
 
 I’m not sure if the .deb is in the middle of being uploaded or a script 
 just
 gave up—the binary distribution is built on a different machine than 
 where
 it is hosted.
 
 My best recommendation would be to build it on your own machine via “fink
 —no-use-b install texlive-texmf”.
 --
 Alexander Hansen, Ph.D.
 Fink User Liaison
 
 I am still bottom posting… :-)
 
 But this might be solved by the install from source exempt that isn't 
 appearing to be working either in Fink!  This seems like a big error.  
 This was with a fresh install of fink on Mac OS X 10.10.
 
 -Scott
 
 
 
 
 The install from source worked for me.   What’s the error?
 
 As I think I posted earlier, I just get the standard “usage” message back 
 from fink.  I tried a couple of combinations.  But I am using the flag as a 
 cut and post from the usage message.  Maybe I am doing something stupid.
 -Scott
 
 
 
 OK, that makes sense, but what is up with fink not recognizing the 
 no-use-binary option?
 
 If I run fink —-no-use-binary-dist install texlive-texmf I get the 
 standard fink usage message.
 
 % fink —-no-use-binary-dist install texlive-texmf
 Fink 0.38.3
 
 Usage: fink [options] command [package...]
   fink install pkg1 [pkg2 ...]
 
 Common commands:
  install  - install/update the named packages
 deleted
  --no-use-binary-dist  - Opposite of use-binary-dist
 
 This even happens for non existent packages so it seems to be in the option 
 processing.
 
 -Scott
 
 
 Oh, wrong order.  Try fink install --no-use-binary dist texlive-texmf”.

Alexander, as I said, I did try a variety of combinations.  With the missing 
dash included, I get the following error where it thinks that is a package name 
rather than an option and I went back to the other order.

% fink install --no-use-binary-dist texlive-texmf
Information about 10184 packages read in 1 seconds.
no package found for --no-use-binary-dist
Failed: no package found for specification '--no-use-binary-dist'!
% 

-Scott




--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
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


Re: [Fink-devel] TeXLive has corrupt deb?

2015-01-16 Thread Scott Hannahs
On Jan 15, 2015, at 19:31, Tomoaki Okayama okay...@users.sourceforge.net 
wrote:

 Could anybody fix the broken deb of texlive-texmf please?
 As long as it remains broken, all other debs of texlive-related packages
 will not be built in the env.
 
 Tomoaki Okayama
 
 2015-01-13 3:49 GMT+09:00 Alexander Hansen alexanderk.han...@gmail.com:
 
 On Jan 12, 2015, at 10:18 AM, Scott Hannahs shann...@users.sourceforge.net
 wrote:
 
 I am getting an error on Mac OS X 10.9 with the TeXLive binary deb file.
 
 Any ideas?
 -Scott
 
 
 
 Yeah, it looks like that .deb is broken; 2924k is quite tiny.  For 10.10 I
 show
 
 $ ls -l
 /sw/var/cache/apt/archives/texlive-texmf_0.20140525-1_darwin-x86%5f64.deb
 -rw-r--r--  1 root  admin  975431474 Jan  6 06:23
 /sw/var/cache/apt/archives/texlive-texmf_0.20140525-1_darwin-x86%5f64.deb
 
 I’m not sure if the .deb is in the middle of being uploaded or a script just
 gave up—the binary distribution is built on a different machine than where
 it is hosted.
 
 My best recommendation would be to build it on your own machine via “fink
 —no-use-b install texlive-texmf”.
 --
 Alexander Hansen, Ph.D.
 Fink User Liaison

I am still bottom posting… :-)

But this might be solved by the install from source exempt that isn't appearing 
to be working either in Fink!  This seems like a big error.  This was with a 
fresh install of fink on Mac OS X 10.10.

-Scott


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
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


[Fink-devel] TeXLive has corrupt deb?

2015-01-12 Thread Scott Hannahs
I am getting an error on Mac OS X 10.9 with the TeXLive binary deb file.

 Need to get 2924kB of archives. After unpacking 850MB will be used.
 Get:1 http://bindist.finkmirrors.net stable/main texlive-texmf 0.20140525-1 
 [2924kB]
 Fetched 2924kB in 12s (240kB/s)   
   
  
 Download complete and in download only mode
 Reading buildlock packages...
   All buildlocks accounted for.
 /sw/bin/dpkg-lockwait -i 
 /sw/var/cache/apt/archives/texlive-texmf_0.20140525-1_darwin-x86%5f64.deb
 (Reading database ... 119715 files and directories currently installed.)
 Preparing to replace texlive-texmf 0.20110705-1 (using 
 .../texlive-texmf_0.20140525-1_darwin-x86%5f64.deb) ...
 Unpacking replacement texlive-texmf ...
 /sw/bin/dpkg-deb: unexpected end of file in between members in 
 /sw/var/cache/apt/archives/texlive-texmf_0.20140525-1_darwin-x86%5f64.deb
 dpkg(27756,0x7fff7b3bb310) malloc: *** error for object 0x100ff: pointer 
 being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 ### execution of /sw/bin/dpkg-lockwait failed, exit code 6
 Failed: can't install package texlive-texmf-0.20140525-1
 

The line /sw/bin/dpkg-deb: unexpected end of file in between members in 
/sw/var/cache/apt/archives/texlive-texmf_0.20140525-1_darwin-x86%5f64.deb 
seems to indicate that the deb file is corrupted?  I deleted the downloaded deb 
file and forced a new upload but got the same error.

Any ideas?
-Scott


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com
___
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


[Fink-devel] Ghostscript fails to build

2014-09-26 Thread Scott Hannahs
Fink wizards,

I am doing a clean fink install on a Mac OS X 10.9.5 system.  It works fine up 
until GhostScript is attempted.   The log is below and seems to imply that 
there is an inconsistent dependency?

I tried the suggested fixes, but no joy.

It looks like my attempt to install octave requires epstool, but I am not sure 
why now installing ghostscript requires epstool.  Nor do I understand why 
ghostscript requiring epstool requiring ghostscript is not satisfied by 
installing ghostscript.

It appears to my simple understanding that only octave depends on epstool.

-Scott
 



 % /sw/bin/fink install ghostscript-nox
 Information about 9737 packages read in 1 seconds.
 The package 'ghostscript-nox' will be installed.
 Reading dependency for ghostscript-nox-9.14-1...
 Reading runtime dependency for ghostscript-nox-9.14-1...
 The following package will be installed or updated:
  ghostscript-nox
 Reading buildlock packages...
   All buildlocks accounted for.
 
 While trying to install:
   ghostscript-nox-9.14-1
 
 The following inconsistencies found:
   Unsatisfied dependency in epstool: ghostscript
 
 Trying to resolve dependencies...
 Could not resolve inconsistent dependencies!
 
 Fink isn't sure how to install the above packages safely. You may be able to 
 fix things by running:
 
   fink scanpackages
   sudo apt-get update
   sudo apt-get install ghostscript-nox=9.14-1
 
 Failed: Fink::SysState: Could not resolve inconsistent dependencies
 

--
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=154622311iu=/4140/ostg.clktrk
___
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


Re: [Fink-devel] Trouble installing Python 2.7

2014-06-24 Thread Scott Hannahs
Daniel,

% fink list xcode
Information about 10616 packages read in 2 seconds.
 i   xcode 5.1.0.0.1.1396320587-1   
  [virtual package representing the developer tools]
 i   xcode.app 5.1.1-1  
  [virtual package representing Xcode]
% 

Hmm.  Bad Xcode installation?

The /System/Library/Frameworks/SystemConfiguration framework does not have a 
set of header files.

Let me try a removal and complete re-install of Xcode 5.1.1 as the next step.

-Scott


On Jun 24, 2014, at 09:30, Daniel Johnson daniel.johnso...@gmail.com wrote:

 
 On Jun 24, 2014, at 12:05 AM, Alexander Hansen alexanderk.han...@gmail.com 
 wrote:
 
 On 6/23/14, 4:16 PM, Scott Hannahs wrote:
 I tried to update Python 2.7 and in amongst the long output I got a missing 
 header file error.
 
 Mac OS X 10.8.5
 fink self-update was run just previous to an update-all
 
 -Scott
 
 
 creating build/temp.macosx-10.8-x86_64-2.7/Mac/Modules
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall 
 -Wstrict-prototypes -I. -IInclude -I./Include -I/sw/include 
 -I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7/Include 
 -I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7 -c 
 ./Mac/Modules/_scproxy.c -o 
 build/temp.macosx-10.8-x86_64-2.7/./Mac/Modules/_scproxy.o
 ./Mac/Modules/_scproxy.c:6:10: fatal error: 
 'SystemConfiguration/SystemConfiguration.h' file not found
 #include SystemConfiguration/SystemConfiguration.h
 ^
 1 error generated.
 building '_tkinter' extension
 
 -
 
 It appears that your build is trying to build a Mac-native Python, which 
 isn't supposed to happen.  I'll cc the maintainer, since he may have 
 received other reports about this issue.
 
 No, I've never received a report like this. It looks like a bad Xcode install 
 to me. SystemConfiguration.h should NOT be missing. It's in the 
 SystemConfiguration framework and the compiler should find it. What does 
 'fink list xcode' report?
 
 Daniel
 


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
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


Re: [Fink-devel] Trouble installing Python 2.7

2014-06-24 Thread Scott Hannahs
I did that with the Xcode preferences.  My version of xcode-select does not 
have an install option.

-Scott


On Jun 24, 2014, at 12:29, Jack Howarth howarth.at.f...@gmail.com wrote:

 Scott,
   Make sure you also have the command line tools installed as well as the 
 Xcode.app itself. You can do that with 'xcode-select --install'.
  Jack
 
 On Tuesday, June 24, 2014, Scott Hannahs shann...@users.sourceforge.net 
 wrote:
 Daniel,
 
 % fink list xcode
 Information about 10616 packages read in 2 seconds.
  i   xcode 5.1.0.0.1.1396320587-1 
 [virtual package representing the developer tools]
  i   xcode.app 5.1.1-1
 [virtual package representing Xcode]
 %
 
 Hmm.  Bad Xcode installation?
 
 The /System/Library/Frameworks/SystemConfiguration framework does not have a 
 set of header files.
 
 Let me try a removal and complete re-install of Xcode 5.1.1 as the next step.
 
 -Scott
 
 
 On Jun 24, 2014, at 09:30, Daniel Johnson daniel.johnso...@gmail.com wrote:
 
 
  On Jun 24, 2014, at 12:05 AM, Alexander Hansen 
  alexanderk.han...@gmail.com wrote:
 
  On 6/23/14, 4:16 PM, Scott Hannahs wrote:
  I tried to update Python 2.7 and in amongst the long output I got a 
  missing header file error.
 
  Mac OS X 10.8.5
  fink self-update was run just previous to an update-all
 
  -Scott
 
 
  creating build/temp.macosx-10.8-x86_64-2.7/Mac/Modules
  gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall 
  -Wstrict-prototypes -I. -IInclude -I./Include -I/sw/include 
  -I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7/Include 
  -I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7 -c 
  ./Mac/Modules/_scproxy.c -o 
  build/temp.macosx-10.8-x86_64-2.7/./Mac/Modules/_scproxy.o
  ./Mac/Modules/_scproxy.c:6:10: fatal error: 
  'SystemConfiguration/SystemConfiguration.h' file not found
  #include SystemConfiguration/SystemConfiguration.h
  ^
  1 error generated.
  building '_tkinter' extension
 
  -
 
  It appears that your build is trying to build a Mac-native Python, which 
  isn't supposed to happen.  I'll cc the maintainer, since he may have 
  received other reports about this issue.
 
  No, I've never received a report like this. It looks like a bad Xcode 
  install to me. SystemConfiguration.h should NOT be missing. It's in the 
  SystemConfiguration framework and the compiler should find it. What does 
  'fink list xcode' report?
 
  Daniel
 
 
 
 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 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

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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


Re: [Fink-devel] Trouble installing Python 2.7

2014-06-24 Thread Scott Hannahs
I think the command is
/Applications/Xcode.app/Contents/MacOS/Xcode -installComponents

-Scott

On Jun 24, 2014, at 15:53, Scott Hannahs shann...@users.sourceforge.net wrote:

 I did that with the Xcode preferences.  My version of xcode-select does not 
 have an install option.
 
 -Scott
 
 
 On Jun 24, 2014, at 12:29, Jack Howarth howarth.at.f...@gmail.com wrote:
 
 Scott,
   Make sure you also have the command line tools installed as well as 
 the Xcode.app itself. You can do that with 'xcode-select --install'.
  Jack
 
 On Tuesday, June 24, 2014, Scott Hannahs shann...@users.sourceforge.net 
 wrote:
 Daniel,
 
 % fink list xcode
 Information about 10616 packages read in 2 seconds.
  i   xcode 5.1.0.0.1.1396320587-1
  [virtual package representing the developer tools]
  i   xcode.app 5.1.1-1   
  [virtual package representing Xcode]
 %
 
 Hmm.  Bad Xcode installation?
 
 The /System/Library/Frameworks/SystemConfiguration framework does not have a 
 set of header files.
 
 Let me try a removal and complete re-install of Xcode 5.1.1 as the next step.
 
 -Scott
 
 
 On Jun 24, 2014, at 09:30, Daniel Johnson daniel.johnso...@gmail.com wrote:
 
 
  On Jun 24, 2014, at 12:05 AM, Alexander Hansen 
  alexanderk.han...@gmail.com wrote:
 
  On 6/23/14, 4:16 PM, Scott Hannahs wrote:
  I tried to update Python 2.7 and in amongst the long output I got a 
  missing header file error.
 
  Mac OS X 10.8.5
  fink self-update was run just previous to an update-all
 
  -Scott
 
 
  creating build/temp.macosx-10.8-x86_64-2.7/Mac/Modules
  gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall 
  -Wstrict-prototypes -I. -IInclude -I./Include -I/sw/include 
  -I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7/Include 
  -I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7 -c 
  ./Mac/Modules/_scproxy.c -o 
  build/temp.macosx-10.8-x86_64-2.7/./Mac/Modules/_scproxy.o
  ./Mac/Modules/_scproxy.c:6:10: fatal error: 
  'SystemConfiguration/SystemConfiguration.h' file not found
  #include SystemConfiguration/SystemConfiguration.h
  ^
  1 error generated.
  building '_tkinter' extension
 
  -
 
  It appears that your build is trying to build a Mac-native Python, which 
  isn't supposed to happen.  I'll cc the maintainer, since he may have 
  received other reports about this issue.
 
  No, I've never received a report like this. It looks like a bad Xcode 
  install to me. SystemConfiguration.h should NOT be missing. It's in the 
  SystemConfiguration framework and the compiler should find it. What does 
  'fink list xcode' report?
 
  Daniel
 
 
 
 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 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
 
 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft___
 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

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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


Re: [Fink-devel] Trouble installing Python 2.7

2014-06-24 Thread Scott Hannahs

On Jun 24, 2014, at 15:56, Daniel Johnson daniel.johnso...@gmail.com wrote:

 On Jun 24, 2014, at 11:35 AM, Scott Hannahs shann...@users.sourceforge.net 
 wrote:
 
 % fink list xcode
 Information about 10616 packages read in 2 seconds.
 i   xcode 5.1.0.0.1.1396320587-1 
 [virtual package representing the developer tools]
 i   xcode.app 5.1.1-1
 [virtual package representing Xcode]
 % 
 
 Hmm.  Bad Xcode installation?
 
 The /System/Library/Frameworks/SystemConfiguration framework does not have a 
 set of header files.
 
 
 Eww, that's not right. You should definitely have 
 /System/Library/Frameworks/SystemConfiguration/Headers or something is broken.

Actually I think that is right.  The files are correctly (Xcode 5) at:
/Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Headers/SystemConfiguration.h

Mac OS X 10.8.5

-Scott


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
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


Re: [Fink-devel] Trouble installing Python 2.7

2014-06-24 Thread Scott Hannahs
I'm seeing this error in other packages as well (gnuplot, libcurl).  Something 
happened in the last update?

Many fink packages can't find the header files that are in the Xcode.app 
bundle.  Has a default header file search path been left out somewhere? 

I did get an update to fink when I ran the last self-update and this is when 
the issues started coming up.

Fink 0.37.0
Mac OS X 10.8.5
Xcode 5.1.1

-Scott

On Jun 24, 2014, at 16:26, Scott Hannahs shann...@users.sourceforge.net wrote:

 
 On Jun 24, 2014, at 15:56, Daniel Johnson daniel.johnso...@gmail.com wrote:
 
 On Jun 24, 2014, at 11:35 AM, Scott Hannahs shann...@users.sourceforge.net 
 wrote:
 
 % fink list xcode
 Information about 10616 packages read in 2 seconds.
 i   xcode 5.1.0.0.1.1396320587-1
  [virtual package representing the developer tools]
 i   xcode.app 5.1.1-1   
  [virtual package representing Xcode]
 % 
 
 Hmm.  Bad Xcode installation?
 
 The /System/Library/Frameworks/SystemConfiguration framework does not have 
 a set of header files.
 
 
 Eww, that's not right. You should definitely have 
 /System/Library/Frameworks/SystemConfiguration/Headers or something is 
 broken.
 
 Actually I think that is right.  The files are correctly (Xcode 5) at:
 /Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Headers/SystemConfiguration.h
 
 Mac OS X 10.8.5
 
 -Scott
 
 
 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 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
 


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
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


Re: [Fink-devel] Trouble installing Python 2.7

2014-06-24 Thread Scott Hannahs
% xcode-select --version
xcode-select version 2311.

But xcode-select in /usr/bin is a symlink to xcrun.  This is installed as part 
of the base OS X 10.8.5.
It does not get changed by Xcode 5 which is a drag install from the developer 
disk image.  Dragging the Xcode 5 application to the Applications folder will 
not change x-code select.

Either way, I did a command line tool update by running Xcode and then using 
the preferences to update the command line tools.

Re-install Xcode 5.1.1 as a drag install from developer download.  Open and 
install system components.

Same issues.  Many packages install.
Ghostscript for example works fine and updates.  Same with numpy-py27, openssl

The PATH looks correct?
% fink dumpinfo -ePATH python27
Information about 10616 packages read in 1 seconds.
PATH=/sw/var/lib/fink/path-prefix-clang:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin

This is the same path for ghostscript which compiles correctly.  But this is a 
shell execute path and not a header file path.

Three packages that I normal install don't work and all have issues finding an 
Apple specific header file.  These are Libcurl, python27 and gnuplot-minimal.

Libcurl:
libtool: compile:  gcc -DHAVE_CONFIG_H -I../include/curl -I../include 
-I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS 
-isystem /sw/include -I/sw/include -I/sw/include -fvisibility=hidden -Os 
-Qunused-arguments -MT libcurl_la-timeval.lo -MD -MP -MF 
.deps/libcurl_la-timeval.Tpo -c timeval.c  -fno-common -DPIC -o 
.libs/libcurl_la-timeval.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I../include/curl -I../include 
-I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS 
-isystem /sw/include -I/sw/include -I/sw/include -fvisibility=hidden -Os 
-Qunused-arguments -MT libcurl_la-file.lo -MD -MP -MF .deps/libcurl_la-file.Tpo 
-c file.c  -fno-common -DPIC -o .libs/libcurl_la-file.o
In file included from file.c:52:
../lib/urldata.h:163:10: fatal error: 'Security/Security.h' file not found
#include Security/Security.h
 ^

python (python27):
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall 
-Wstrict-prototypes -I. -IInclude -I./Include -I/sw/include 
-I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7/Include 
-I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7 -c ./Mac/Modules/_scproxy.c 
-o build/temp.macosx-10.8-x86_64-2.7/./Mac/Modules/_scproxy.o
./Mac/Modules/_scproxy.c:6:10: fatal error: 
'SystemConfiguration/SystemConfiguration.h' file not found
#include SystemConfiguration/SystemConfiguration.h
 ^
1 error generated.

gnuplot-minimal:
ngcc -DHAVE_CONFIG_H -I. -I..  -I../term -I../term -DBINDIR=\/sw/bin\ 
-DX11_DRIVER_DIR=\/sw/lib/gnuplot/4.6\ 
-DQT_DRIVER_DIR=\/sw/lib/gnuplot/4.6\ 
-DGNUPLOT_SHARE_DIR=\/sw/share/gnuplot/4.6\ 
-DGNUPLOT_PS_DIR=\/sw/share/gnuplot/4.6/PostScript\ 
-DGNUPLOT_JS_DIR=\/sw/share/gnuplot/4.6/js\ 
-DGNUPLOT_LUA_DIR=\/sw/share/gnuplot/4.6/lua\ 
-DCONTACT=\gnuplot-b...@lists.sourceforge.net\ 
-DHELPFILE=\/sw/share/gnuplot/4.6/gnuplot.gih\ -DGNUPLOT_X11=\`echo 
gnuplot_x11 | sed 's,x,x,'`\ -DXAPPLRESDIR=\/etc/X11/app-defaults/\  
-I/sw/include -I/sw/include -I/sw/include -I/sw/include   -g -O2 -ObjC -MT 
time.o -MD -MP -MF $depbase.Tpo -c -o time.o time.c \
mv -f $depbase.Tpo $depbase.Po
In file included from term.c:1436:
In file included from ./term.h:163:
In file included from ../term/aquaterm.trm:97:
/sw/include/aquaterm/AQTAdapter.h:9:9: fatal error: 'Foundation/NSString.h' 
file not found
#import Foundation/NSString.h
^

Thanks for all the work in looking into this.  I am quite confused if the 
missing header files are due to my installation of Xcode or that those 
particular packages do not look for them in the new internal locations that 
Xcode 5 now stores them and are looking in the old /System/Library locations.

-Scott




On Jun 24, 2014, at 16:16, Merle Reinhart merlereinh...@mac.com wrote:

 xcode-select --install is the version of xcode-select that is installed with 
 Xcode 5.x.  The one without --install is from the Xcode 4.x chain.
 
 Merle
 
 
 
 On Jun 24, 2014, at 4:08 PM, Scott Hannahs shann...@users.sourceforge.net 
 wrote:
 
 I think the command is
 /Applications/Xcode.app/Contents/MacOS/Xcode -installComponents
 
 -Scott
 
 On Jun 24, 2014, at 15:53, Scott Hannahs shann...@users.sourceforge.net 
 wrote:
 
 I did that with the Xcode preferences.  My version of xcode-select does not 
 have an install option.
 
 -Scott
 
 
 On Jun 24, 2014, at 12:29, Jack Howarth howarth.at.f...@gmail.com wrote:
 
 Scott,
  Make sure you also have the command line tools installed as well as 
 the Xcode.app itself. You can do that with 'xcode-select --install'.
 Jack
 
 On Tuesday, June 24, 2014, Scott Hannahs shann...@users.sourceforge.net 
 wrote:
 Daniel,
 
 % fink list xcode
 Information about 10616 packages read in 2 seconds.
 i   xcode 5.1.0.0.1.1396320587-1

[Fink-devel] Trouble installing Python 2.7

2014-06-23 Thread Scott Hannahs
I tried to update Python 2.7 and in amongst the long output I got a missing 
header file error.

Mac OS X 10.8.5
fink self-update was run just previous to an update-all

-Scott


creating build/temp.macosx-10.8-x86_64-2.7/Mac/Modules
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall 
-Wstrict-prototypes -I. -IInclude -I./Include -I/sw/include 
-I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7/Include 
-I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7 -c ./Mac/Modules/_scproxy.c 
-o build/temp.macosx-10.8-x86_64-2.7/./Mac/Modules/_scproxy.o
./Mac/Modules/_scproxy.c:6:10: fatal error: 
'SystemConfiguration/SystemConfiguration.h' file not found
#include SystemConfiguration/SystemConfiguration.h
 ^
1 error generated.
building '_tkinter' extension

-
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
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


[Fink-devel] Trouble installing Python 2.7

2014-06-23 Thread Scott Hannahs
I tried to update Python 2.7 and in amongst the long output I got a missing 
header file error.

Mac OS X 10.8.5
fink self-update was run just previous to an update-all

-Scott


creating build/temp.macosx-10.8-x86_64-2.7/Mac/Modules
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall 
-Wstrict-prototypes -I. -IInclude -I./Include -I/sw/include 
-I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7/Include 
-I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7 -c ./Mac/Modules/_scproxy.c 
-o build/temp.macosx-10.8-x86_64-2.7/./Mac/Modules/_scproxy.o
./Mac/Modules/_scproxy.c:6:10: fatal error: 
'SystemConfiguration/SystemConfiguration.h' file not found
#include SystemConfiguration/SystemConfiguration.h
^
1 error generated.
building '_tkinter' extension

-
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
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


[Fink-devel] Python dependency question….

2012-10-21 Thread Scott Hannahs
I have a package (duplicity) that for some reason did not get moved to the 10.8 
tree.  I have updated the package and it builds on Mac OS X 10.8, 10.6 and 10.5.

The package is dependent on python.  The minimum requirement is python 2.4 and 
has been tested up to python 2.7.  What is the best route
A. Require python 2.7 in the dependencies since it is available in all 
systems as a build
B. Let the user chose by creating a duplicity-py24, duplicity-py25, 
duplicity-py26 and duplicity-py27
C. Other, is there a method for creating a dependence on python (= 
2.4) ??

I have created the updated version based on A but that forces a large install 
for many users.  Option B seems more user interaction than is necessary for 
such a package.  C would be fine but I haven't seen that used in any other 
package and not sure it is legal.  Also there is a dependence on boto-py27 
which is explicit.  My current depends are:
# Dependencies.
BuildDepends: librsync (= 0.9.7-1002), fink (= 0.24.12-1)
Depends: python27, librsync-shlibs (= 0.9.7-1002), ncftp, lftp, boto-py27

There are cases where a user would want python 2.6 or greater since it allows 
multiprocessing some of the data transfers but is there a better way to make 
the package use already installed or system versions of python?

Secondly, the fink web site seems to be down so where do I submit packages?

Thanks,
Scott



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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


Re: [Fink-devel] Python dependency question….

2012-10-21 Thread Scott Hannahs
On Oct 21, 2012, at 3:27 PM, Alexander Hansen alexanderk.han...@gmail.com 
wrote:

 On 10/21/12 10:40 AM, Scott Hannahs wrote:
 I have a package (duplicity) that for some reason did not get moved to the 
 10.8 tree.  
 
 The reason would be that you didn't ask to have it done. :-)  We haven't
 been moving things automatically, and so packages that nothing else
 depend on can get left behind.
 
 I have updated the package and it builds on Mac OS X 10.8, 10.6 and 10.5.
 
 The package is dependent on python.  The minimum requirement is python 2.4 
 and has been tested up to python 2.7.  What is the best route
  A. Require python 2.7 in the dependencies since it is available in all 
 systems as a build
  B. Let the user chose by creating a duplicity-py24, duplicity-py25, 
 duplicity-py26 and duplicity-py27
  C. Other, is there a method for creating a dependence on python (= 
 2.4) ??
 
 I have created the updated version based on A but that forces a large 
 install for many users.  Option B seems more user interaction than is 
 necessary for such a package.  C would be fine but I haven't seen that used 
 in any other package and not sure it is legal.  Also there is a dependence 
 on boto-py27 which is explicit.  My current depends are:
 # Dependencies.
 BuildDepends: librsync (= 0.9.7-1002), fink (= 0.24.12-1)
 Depends: python27, librsync-shlibs (= 0.9.7-1002), ncftp, lftp, boto-py27
 
 There are cases where a user would want python 2.6 or greater since it 
 allows multiprocessing some of the data transfers but is there a better way 
 to make the package use already installed or system versions of python?
 
 This is an package focusing on a user executable, yes?
 
 Some maintainers like to do variants for multiple Python versions in
 such cases and then use update-alternatives to select the executable
 (your B).  Pros: users don't have to install an additional python.
 Cons: harder to maintain
 
 For maintenance purposes, it's usually easier just to pick a single
 Python version (A).  Pros: simple to maintain.  Cons: users gripe about
 having to install python27 if they have some other version installed.
 
 A dependence on python isn't that useful, since that's a convenience
 package pointing by default to python27.
 
 Something like option (C) isn't allowable unless a package just runs
 Python scripts.  If there is any linkage to a libpython then one can't
 swap in a different version.
 
 Use of the system's Python would require the entire dependency chain of
 Python modules also to be built against the system's Python.  If a
 package doesn't use any other Python modules, but instead just needs a
 Python to run scripts, that's different.

I think it is just a collection of python scripts.  There may be one compiled 
module to deal with rsync though.  I didn't know about update-alternatives but 
it looks like something I may easily screw up.  I'll submit option A that I 
have working.

Thanks,
Scott


Dr. Scott Hannahs, Director of Scientific Instrumentation and Operations
Distinguished University Scholar
National High Magnetic Field Laboratory, Florida State University
http://sthmac.magnet.fsu.edu
1800 E. Paul Dirac Dr., Tallahassee FL 32310, (850)644-0216/FAX 644-0534

OS X: because making Unix user-friendly was easier than debugging 
Windows.



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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


Re: [Fink-devel] new debianutils and mktemp/readlink

2012-06-30 Thread Scott Hannahs

On Jun 27, 2012, at 9:44 AM, TheSin wrote:

 it turns out that Lion have /usr/bin/readlink as well, can anyone confirm 
 this on 10.6/10.5 if so then it won't matter if I replace debianutils.
 ---
 TS

% uname -a
Darwin sthmac.magnet.fsu.edu 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 
16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
% whereis readlink
/usr/bin/readlink


AND

% uname -a
Darwin psmonitormac.ad.magnet.fsu.edu 9.8.0 Darwin Kernel Version 9.8.0: Wed 
Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
% whereis readlink
/usr/bin/readlink

-Scott


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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


[Fink-devel] Build of nmap fails MaxBuildJobs 1

2012-06-05 Thread Scott Hannahs
When building nmap-6.00-4 on OS X 10.6.8 with gcc 4.2.1 it fails unless 
MaxBuildJobs is set to 1.

lastest fink self-update used.

or at least it fails when MaxBuildJobs is 8 and it works when set to 1.

Here is the relevant (I hope) chunk of output

rm -f libnetutil.a
ar cr libnetutil.a netutil.o PacketElement.o NetworkLayerElement.o 
TransportLayerElement.o ARPHeader.o EthernetHeader.o ICMPv4Header.o 
ICMPv6Header.o IPv4Header.o IPv6Header.o TCPHeader.o UDPHeader.o RawData.o 
HopByHopHeader.o DestOptsHeader.o FragmentHeader.o RoutingHeader.o  
PacketParser.o npacket.o
/usr/bin/ranlib: file: libnetutil.a(NetworkLayerElement.o) has no symbols
ranlib libnetutil.a
ranlib: file: libnetutil.a(NetworkLayerElement.o) has no symbols
rm -f libpcap*.dylib
ar rc libpcap.a pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o 
nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o 
bpf_image.o bpf_dump.o  scanner.o grammar.o bpf_filter.o version.o  
VER=`cat ./VERSION`; \
MAJOR_VER=A; \
COMPAT_VER=1; \
CURRENT_VER=`sed 's/[^0-9.].*$//' ./VERSION`; \
flag-sort -r gcc -dynamiclib -undefined error -L/sw/lib \
-o libpcap.$VER.dylib pcap-bpf.o fad-getad.o pcap.o inet.o 
gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o 
pcap-common.o bpf_image.o bpf_dump.o  scanner.o grammar.o bpf_filter.o 
version.o\
-install_name /sw/lib/libpcap.$MAJOR_VER.dylib \
-compatibility_version $COMPAT_VER \
-current_version $CURRENT_VER
ranlib libpcap.a
### execution of make failed, exit code 2
Removing runtime build-lock...

It seems that it is trying to build the library before NetworkLayerElement has 
been compiled and finds an empty file?  There may be a race condition between 
when the object file is created and the library file trying to use it before it 
is closed.  Just a guess.

-Scott

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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


Re: [Fink-devel] problems building gnutls28-3.0.17-1

2012-04-23 Thread Scott Hannahs
On Apr 13, 2012, at 22:11, Alexander Hansen wrote:
 On 4/13/12 4:56 PM, Scott Hannahs wrote:
 Dave and Fink Developers,
 
 I seem to have a failure on building gnutls28-3.0.17-1 on Mac OS X 10.5.8.  
 The relevant part where something is duplicately defined is in the output 
 below???  I did a self-update and should have the latest packages and using 
 XCode 3.1.3 and gcc 4.0.1.  This is building on a PPC platform and is the 
 reason I am running OS X 10.5.8.
 
 I tried setting the max build jobs to 1 but no improvement.
 
 Any ideas?  This build correctly awhile ago and I just did an update-all.
 
 -Scott
 Also include the following system information:
 Package manager version: 0.32.5.5
 Distribution version: selfupdate-rsync Thu Apr 12 14:49:35 2012, 10.5, 
 powerpc
 Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
 Xcode: 3.1.3
 Max. Fink build jobs:
 
 
 
 
 /sw/include/gmp.h:2172: warning: '__gnu_inline__' attribute directive ignored
   CCLD   libcrypto.la
   CC gnutls_record.lo
   CC gnutls_compress.lo
   CC debug.lo
   CC gnutls_cipher.lo
   CC gnutls_mbuffers.lo
   CC gnutls_buffers.lo
   CC gnutls_handshake.lo
   CC gnutls_num.lo
   CC gnutls_errors.lo
   CC gnutls_dh.lo
   CC gnutls_kx.lo
   CC gnutls_priority.lo
   CC gnutls_hash_int.lo
   CC gnutls_cipher_int.lo
   CC gnutls_session.lo
   CC gnutls_db.lo
   CC x509_b64.lo
   CC gnutls_extensions.lo
   CC gnutls_auth.lo
   CC gnutls_v2_compat.lo
   CC gnutls_datum.lo
   CC gnutls_session_pack.lo
   CC gnutls_mpi.lo
   CC gnutls_pk.lo
   CC gnutls_cert.lo
   CC gnutls_global.lo
   CC gnutls_constate.lo
   CC gnutls_anon_cred.lo
   CC pkix_asn1_tab.lo
   CC gnutls_asn1_tab.lo
   CC gnutls_mem.lo
   CC gnutls_ui.lo
   CC gnutls_sig.lo
   CC gnutls_ecc.lo
   CC gnutls_dh_primes.lo
   CC gnutls_alert.lo
   CC system.lo
   CC gnutls_str.lo
   CC gnutls_state.lo
   CC gnutls_x509.lo
   CC gnutls_rsa_export.lo
   CC gnutls_helper.lo
   CC gnutls_supplemental.lo
   CC random.lo
   CC crypto-api.lo
   CC gnutls_privkey.lo
   CC gnutls_pcert.lo
   CC gnutls_pubkey.lo
   CC locks.lo
   CC hash.lo
   CC gnutls_dtls.lo
   CC system_override.lo
   CC crypto-backend.lo
   CC verify-tofu.lo
   CC gnutls_srp.lo
   CC gnutls_psk.lo
   CCLD   libgnutls.la
 libtool: link: warning: library `/sw/lib/libgmp.la' was moved.
 /usr/bin/nm: no name list
 /usr/bin/nm: no name list
 ld: duplicate symbol ___gmpz_abs in 
 .libs/libgnutls.lax/libcrypto.a/ecc_make_key.o and 
 .libs/libgnutls.lax/libcrypto.a/ecc_free.o
 collect2: ld returned 1 exit status
 make[3]: *** [libgnutls.la] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 ### execution of /tmp/fink.TAfdO failed, exit code 2
 Use of uninitialized value in numeric gt () at 
 /sw/lib/perl5/Fink/PkgVersion.pm line 5146,STDIN  line 1.
 Use of uninitialized value in concatenation (.) or string at 
 /sw/lib/perl5/Fink/PkgVersion.pm line 5200.
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-gnutls28-3.0.17-1
 (Reading database ... 60660 files and directories currently installed.)
 Removing fink-buildlock-gnutls28-3.0.17-1 ...
 Failed: phase compiling: gnutls28-3.0.17-1 failed
 
 I saw the same thing on 10.5/i386.  The package builds for me on both 
 10.5/i386 and 10.5/powerpc if I force it to use Xcode's (3.1+) gcc-4.2 as 
 suggested in:
 
 http://gmplib.org/list-archives/gmp-bugs/2010-January/001838.html
 
 I've put up a .info file at
 
 https://raw.github.com/akhansen/Fink-experimental/master/3rdparty/gnutls28.info
 
 Scott, try saving that in /sw/fink/dists/local/main/finkinfo and post back 
 whether it works for you, too.

Sorry on the delay, I just got back from travel.  When using this finkinfo file 
I get an error at the beginning in the configure phase that I think I can ignore

configure.ac:313: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in 
body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.ac:313: the top level

And then in the build phase I get the same error

   CCLD   libgnutls.la
 libtool: link: warning: library `/sw/lib/libgmp.la' was moved.
 /usr/bin/nm: no name list
 /usr/bin/nm: no name list
 ld: duplicate symbol ___gmpz_abs in 
 .libs/libgnutls.lax/libcrypto.a/ecc_make_key.o and 
 .libs/libgnutls.lax/libcrypto.a/ecc_free.o
 collect2: ld returned 1 exit status
 make[3]: *** [libgnutls.la] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 ### execution of /tmp/fink.R1Ibg failed, exit code 2
 Removing

Re: [Fink-devel] problems building gnutls28-3.0.17-1

2012-04-23 Thread Scott Hannahs
On Apr 23, 2012, at 11:54, Alexander Hansen wrote:
 On 4/23/12 8:45 AM, Scott Hannahs wrote:
 On Apr 13, 2012, at 22:11, Alexander Hansen wrote:
 On 4/13/12 4:56 PM, Scott Hannahs wrote:
 Dave and Fink Developers,
 
 I seem to have a failure on building gnutls28-3.0.17-1 on Mac OS X 10.5.8. 
  The relevant part where something is duplicately defined is in the output 
 below???  I did a self-update and should have the latest packages and 
 using XCode 3.1.3 and gcc 4.0.1.  This is building on a PPC platform and 
 is the reason I am running OS X 10.5.8.
 
 I tried setting the max build jobs to 1 but no improvement.
 
 Any ideas?  This build correctly awhile ago and I just did an update-all.
 
 -Scott
 Also include the following system information:
 Package manager version: 0.32.5.5
 Distribution version: selfupdate-rsync Thu Apr 12 14:49:35 2012, 10.5, 
 powerpc
 Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
 Xcode: 3.1.3
 Max. Fink build jobs:
 
 
 
 
 /sw/include/gmp.h:2172: warning: '__gnu_inline__' attribute directive 
 ignored
  CCLD   libcrypto.la
  CC gnutls_record.lo
  CC gnutls_compress.lo
  CC debug.lo
  CC gnutls_cipher.lo
  CC gnutls_mbuffers.lo
  CC gnutls_buffers.lo
  CC gnutls_handshake.lo
  CC gnutls_num.lo
  CC gnutls_errors.lo
  CC gnutls_dh.lo
  CC gnutls_kx.lo
  CC gnutls_priority.lo
  CC gnutls_hash_int.lo
  CC gnutls_cipher_int.lo
  CC gnutls_session.lo
  CC gnutls_db.lo
  CC x509_b64.lo
  CC gnutls_extensions.lo
  CC gnutls_auth.lo
  CC gnutls_v2_compat.lo
  CC gnutls_datum.lo
  CC gnutls_session_pack.lo
  CC gnutls_mpi.lo
  CC gnutls_pk.lo
  CC gnutls_cert.lo
  CC gnutls_global.lo
  CC gnutls_constate.lo
  CC gnutls_anon_cred.lo
  CC pkix_asn1_tab.lo
  CC gnutls_asn1_tab.lo
  CC gnutls_mem.lo
  CC gnutls_ui.lo
  CC gnutls_sig.lo
  CC gnutls_ecc.lo
  CC gnutls_dh_primes.lo
  CC gnutls_alert.lo
  CC system.lo
  CC gnutls_str.lo
  CC gnutls_state.lo
  CC gnutls_x509.lo
  CC gnutls_rsa_export.lo
  CC gnutls_helper.lo
  CC gnutls_supplemental.lo
  CC random.lo
  CC crypto-api.lo
  CC gnutls_privkey.lo
  CC gnutls_pcert.lo
  CC gnutls_pubkey.lo
  CC locks.lo
  CC hash.lo
  CC gnutls_dtls.lo
  CC system_override.lo
  CC crypto-backend.lo
  CC verify-tofu.lo
  CC gnutls_srp.lo
  CC gnutls_psk.lo
  CCLD   libgnutls.la
 libtool: link: warning: library `/sw/lib/libgmp.la' was moved.
 /usr/bin/nm: no name list
 /usr/bin/nm: no name list
 ld: duplicate symbol ___gmpz_abs in 
 .libs/libgnutls.lax/libcrypto.a/ecc_make_key.o and 
 .libs/libgnutls.lax/libcrypto.a/ecc_free.o
 collect2: ld returned 1 exit status
 make[3]: *** [libgnutls.la] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 ### execution of /tmp/fink.TAfdO failed, exit code 2
 Use of uninitialized value in numeric gt () at 
 /sw/lib/perl5/Fink/PkgVersion.pm line 5146,STDIN  line 1.
 Use of uninitialized value in concatenation (.) or string at 
 /sw/lib/perl5/Fink/PkgVersion.pm line 5200.
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-gnutls28-3.0.17-1
 (Reading database ... 60660 files and directories currently installed.)
 Removing fink-buildlock-gnutls28-3.0.17-1 ...
 Failed: phase compiling: gnutls28-3.0.17-1 failed
 
 I saw the same thing on 10.5/i386.  The package builds for me on both 
 10.5/i386 and 10.5/powerpc if I force it to use Xcode's (3.1+) gcc-4.2 as 
 suggested in:
 
 http://gmplib.org/list-archives/gmp-bugs/2010-January/001838.html
 
 I've put up a .info file at
 
 https://raw.github.com/akhansen/Fink-experimental/master/3rdparty/gnutls28.info
 
 Scott, try saving that in /sw/fink/dists/local/main/finkinfo and post back 
 whether it works for you, too.
 
 Sorry on the delay, I just got back from travel.  When using this finkinfo 
 file I get an error at the beginning in the configure phase that I think I 
 can ignore
 
 configure.ac:313: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected 
 in body
 ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
 configure.ac:313: the top level
 
 And then in the build phase I get the same error
 
  CCLD   libgnutls.la
 libtool: link: warning: library `/sw/lib/libgmp.la' was moved.
 /usr/bin/nm: no name list
 /usr/bin/nm: no name list
 ld: duplicate symbol ___gmpz_abs in 
 .libs/libgnutls.lax/libcrypto.a/ecc_make_key.o and 
 .libs/libgnutls.lax/libcrypto.a/ecc_free.o
 collect2: ld returned 1 exit status
 make[3]: *** [libgnutls.la] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 ### execution

[Fink-devel] problems building gnutls28-3.0.17-1

2012-04-13 Thread Scott Hannahs
Dave and Fink Developers,

I seem to have a failure on building gnutls28-3.0.17-1 on Mac OS X 10.5.8.  The 
relevant part where something is duplicately defined is in the output below???  
I did a self-update and should have the latest packages and using XCode 3.1.3 
and gcc 4.0.1.  This is building on a PPC platform and is the reason I am 
running OS X 10.5.8.

I tried setting the max build jobs to 1 but no improvement.

Any ideas?  This build correctly awhile ago and I just did an update-all.

-Scott
Also include the following system information:
Package manager version: 0.32.5.5
Distribution version: selfupdate-rsync Thu Apr 12 14:49:35 2012, 10.5, powerpc
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode: 3.1.3
Max. Fink build jobs:  




/sw/include/gmp.h:2172: warning: '__gnu_inline__' attribute directive ignored
  CCLD   libcrypto.la
  CC gnutls_record.lo
  CC gnutls_compress.lo
  CC debug.lo
  CC gnutls_cipher.lo
  CC gnutls_mbuffers.lo
  CC gnutls_buffers.lo
  CC gnutls_handshake.lo
  CC gnutls_num.lo
  CC gnutls_errors.lo
  CC gnutls_dh.lo
  CC gnutls_kx.lo
  CC gnutls_priority.lo
  CC gnutls_hash_int.lo
  CC gnutls_cipher_int.lo
  CC gnutls_session.lo
  CC gnutls_db.lo
  CC x509_b64.lo
  CC gnutls_extensions.lo
  CC gnutls_auth.lo
  CC gnutls_v2_compat.lo
  CC gnutls_datum.lo
  CC gnutls_session_pack.lo
  CC gnutls_mpi.lo
  CC gnutls_pk.lo
  CC gnutls_cert.lo
  CC gnutls_global.lo
  CC gnutls_constate.lo
  CC gnutls_anon_cred.lo
  CC pkix_asn1_tab.lo
  CC gnutls_asn1_tab.lo
  CC gnutls_mem.lo
  CC gnutls_ui.lo
  CC gnutls_sig.lo
  CC gnutls_ecc.lo
  CC gnutls_dh_primes.lo
  CC gnutls_alert.lo
  CC system.lo
  CC gnutls_str.lo
  CC gnutls_state.lo
  CC gnutls_x509.lo
  CC gnutls_rsa_export.lo
  CC gnutls_helper.lo
  CC gnutls_supplemental.lo
  CC random.lo
  CC crypto-api.lo
  CC gnutls_privkey.lo
  CC gnutls_pcert.lo
  CC gnutls_pubkey.lo
  CC locks.lo
  CC hash.lo
  CC gnutls_dtls.lo
  CC system_override.lo
  CC crypto-backend.lo
  CC verify-tofu.lo
  CC gnutls_srp.lo
  CC gnutls_psk.lo
  CCLD   libgnutls.la
libtool: link: warning: library `/sw/lib/libgmp.la' was moved.
/usr/bin/nm: no name list
/usr/bin/nm: no name list
ld: duplicate symbol ___gmpz_abs in 
.libs/libgnutls.lax/libcrypto.a/ecc_make_key.o and 
.libs/libgnutls.lax/libcrypto.a/ecc_free.o
collect2: ld returned 1 exit status
make[3]: *** [libgnutls.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /tmp/fink.TAfdO failed, exit code 2
Use of uninitialized value in numeric gt () at 
/sw/lib/perl5/Fink/PkgVersion.pm line 5146, STDIN line 1.
Use of uninitialized value in concatenation (.) or string at 
/sw/lib/perl5/Fink/PkgVersion.pm line 5200.
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gnutls28-3.0.17-1
(Reading database ... 60660 files and directories currently installed.)
Removing fink-buildlock-gnutls28-3.0.17-1 ...
Failed: phase compiling: gnutls28-3.0.17-1 failed


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
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


Re: [Fink-devel] 10.5 feedback needed for apt 0.5.4-1060

2011-10-20 Thread Scott Hannahs

On Oct 20, 2011, at 11:34 AM, Max Horn wrote:

 we would like to move the latest apt version 0.5.4-1060 from 10.4/unstable to 
 10.4/stable. But this version has so far only been tested on Intel machines, 
 running 10.6 and 10.7. For a move, we need test results on PowerPC and OS X 
 10.5
 
 So, is anybody here using 10.5, and can provide feedback as to whether 
 0.5.4-1060 builds and works correctly? we need to know this for both Intel 
 and PowerPC builds.


It seems to build and work well on OS X 10.5.8 on PPC

-Scott

% uname -a
Darwin ppcdevelmac.ad.magnet.fsu.edu 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 
15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh

% fink --version
Package manager version: 0.31.2
Distribution version: selfupdate-rsync Fri Oct  7 16:20:25 2011, 10.5, powerpc
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto

% apt-get --version
apt 0.5.4 for darwin powerpc compiled on May 25 2011 17:00:29
Supported Modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 20)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian dpkg status file
% 


--
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


Re: [Fink-devel] Failed: phase compiling: opensp4-shlibs-1.5.1-1015failed

2011-10-13 Thread Scott Hannahs

On Oct 12, 2011, at 4:38 PM, Daniel Macks wrote:

 On Thu, 6 Oct 2011 11:54:06 -0400, Scott Hannahs  wrote:
 On Oct 6, 2011, at 11:13, Alexander Hansen wrote:
 
 Try editing the opensp4-shlibs.info package description file (probably in 
 /sw/fink/dists/stable/main/finkinfo/text). There's a line:
 
 : ${CXX='g++-4.0'}
 
 that has been there probably since when gcc4 was the *new* one. Change that 
 line to:
 
 : ${CXX='g++'}
 
 so it would use the standard compiler instead. 
 It turns out that I didn't have anything depending on that package so I can 
 remove it from my suite.  It may have been a build depends?
 
 opensp4 (itself, and the opensp4-shlibs binary) used to be an important 
 library for a bunch of other packages. It's now been completely abandoned and 
 everything that used it now uses the opensp5 suite instead. Assuming you have 
 a fairly current selfupdate, you can likely remove whatever opensp4 packages 
 you have currently installed and fink will never bother trying to install or 
 build them again. 

Dan,

Thanks for the update on opensp4 and why I have legacy problems.  I am sure 
that it was leftover from an old install that no longer requires it.  At some 
point I had a utility that made a directed graph of package dependencies to try 
to find orphan and top level installs.  That was very useful though somewhat 
slow and the graph was always hard to view as way too many lines.

That small edit allowed opensp4 to install fine and use the correct libraries.  
Use of the default g++ works at least on 10.6.8 with the default g++ compiler 
of version i686-apple-darwin10-g++-4.2.1.  I guess either that package needs 
that update or see if this can be removed completely since it is superseded by 
opensp5.

Thanks,

-Scott


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
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


[Fink-devel] Failed: phase compiling: opensp4-shlibs-1.5.1-1015 failed

2011-10-06 Thread Scott Hannahs
I am having a problem with the package opensp4.

I get a failure in the compile phase
Failed: phase compiling: opensp4-shlibs-1.5.1-1015 failed

I believe that the relevant error is
ld: library not found for -lgcc_ext.10.5

Mac OS X 10.6.8 / XCode 2.3.2
I have installed XCode and the SDKs for 10.5.  However the compile is using the 
fink installed version of gcc when it compiles.

g++-4.0 is the compiler used and is only in /sw/bin however that particular 
library is *not* in gcc version 4.0 but only in later versions.

% find /sw/lib -name \*gcc_ext.10.5\*
/sw/lib/gcc4.5/lib/libgcc_ext.10.5.dylib
/sw/lib/gcc4.6/lib/libgcc_ext.10.5.dylib

Should this package be updated to require and use gcc 4.5 or 4.6?  Fink has 
installed the others on my system but in this case they are not used:
gcc-4gcc-fsf-4.5  gcc-fsf-4.6  

The info file explicitly asks for gcc 4.0 which seems to be an error?  
Otherwise it uses a default gcc which is the system gcc and it will fail also 
since that library does not exist in the system installed Xcode/gcc.

-Scott


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
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


[Fink-devel] Problem with packages opensp4-shlibs and tcltk

2011-08-24 Thread Scott Hannahs
For fink install opensp4-shlibs the final linking seems to be a problem:

g++-4.0 -r -keep_private_externs -nostdlib -o .libs/libosp.4.0.0.dylib-master.o 
 Allocator.lo ArcEngine.lo Attribute.lo Big5CodingSystem.lo CharsetDecl.lo 
CharsetInfo.lo CharsetRegistry.lo CmdLineApp.lo CodingSystem.lo 
CodingSystemKit.lo ConsoleOutput.lo ContentState.lo ContentToken.lo 
DescriptorManager.lo Dtd.lo DtdDeclEventHandler.lo EUCJPCodingSystem.lo 
ElementType.lo Entity.lo EntityApp.lo EntityCatalog.lo EntityDecl.lo 
EntityManager.lo ErrnoMessageArg.lo ErrorCountEventHandler.lo Event.lo 
EventGenerator.lo ExtendEntityManager.lo ExternalId.lo Fixed2CodingSystem.lo 
GenericEventHandler.lo Group.lo Hash.lo IListBase.lo Id.lo 
IdentityCodingSystem.lo InputSource.lo InternalInputSource.lo Link.lo 
LinkProcess.lo LiteralStorage.lo Location.lo Lpd.lo Markup.lo Message.lo 
MessageArg.lo MessageEventHandler.lo MessageFormatter.lo MessageReporter.lo 
MessageTable.lo ModeInfo.lo Notation.lo NotationStorage.lo 
NumericCharRefOrigin.lo OffsetOrderedList.lo OpenElement.lo OutputByteStream.lo 
OutputCharStream.lo OutputState.lo Param.lo Parser.lo ParserApp.lo 
ParserEventGeneratorKit.lo ParserMessages.lo ParserOptions.lo ParserState.lo 
Partition.lo PosixStorage.lo Recognizer.lo RewindStorageObject.lo 
SGMLApplication.lo SJISCodingSystem.lo SOEntityCatalog.lo Sd.lo SdText.lo 
SearchResultMessageArg.lo SgmlParser.lo ShortReferenceMap.lo StdioStorage.lo 
StorageManager.lo Syntax.lo Text.lo TokenMessageArg.lo TranslateCodingSystem.lo 
TrieBuilder.lo TypeId.lo URLStorage.lo UTF8CodingSystem.lo Undo.lo 
UnicodeCodingSystem.lo UnivCharsetDesc.lo XMLCodingSystem.lo assert.lo 
parseAttribute.lo parseCommon.lo parseDecl.lo parseInstance.lo parseMode.lo 
parseParam.lo parseSd.lo splib.lo app_inst.lo arc_inst.lo entmgr_inst.lo 
parser_inst.lo xentmgr_inst.lo SubstTable.lo UTF16CodingSystem.lo 
Fixed4CodingSystem.lo memcmp.lo memmove.lo strerror.lo  g++-4.0 -dynamiclib 
-flat_namespace -undefined suppress -o .libs/libosp.4.0.0.dylib 
.libs/libosp.4.0.0.dylib-master.o  -lpthread -L/sw/lib -lc -install_name 
/sw/lib/libosp.4.dylib -compatibility_version 5 -current_version 5.0

ld: library not found for -lstdc++

Has this library been eliminated?  This is a recent system using OS 10.6.8 but 
it had the XCode 4.0.2 installed on it.  Is this a result of using XCode  3.X? 
 The system in /usr/lib has libstdc++-static.a libstdc++.6.0.9.dylib  
libstdc++.6.dylib but not libstdc++.dylib is that link to the most recent 
dynamic library missing?

AND
The download curl --connect-timeout 30 -f -L -A 'fink/0.31.0' -O 
http://distfiles.master.finkmirrors.net/tk8.5.10-src.tar.gz;
fails due to not finding the source.  This has happened for a couple of days on 
several different mirrors.  The fink has been self-pdated.

Failed: file download failed for tk8.5.10-src.tar.gz of package tcltk-8.5.10-3

-Scott




--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-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


[Fink-devel] system-java-dev virtual package

2011-01-11 Thread Scott Hannahs
I am getting the same error as previously

Can't resolve dependency system-java-dev for package ppl-0.10.2-3 (no 
matching packages/versions found)

And it is true that I do not have system-java-dev installed according to fink.

BUT, I have read the FAQ and I installed the Java developer package from the 
Apple developer site.

I re-installed both of these packages:

java_for_mac_os_x_10.6_update_4_dp10m3310.dmg
javadeveloper_10.6_10m3261.dmg

And still have this error.

Mac OS X 10.6.6 (did this update kill things?)
% fink -V
Package manager version: 0.29.99.cvs
Distribution version: selfupdate-rsync Tue Jan 11 10:57:10 2011, 10.6, x86_64

XCode 3.2.5 update installed.

Any thoughts how to get fink to recognize the system-java-dev is installed?

-Scott


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] system-java-dev virtual package

2011-01-11 Thread Scott Hannahs

On Jan 11, 2011, at 1:25 PM, Alexander Hansen wrote:
 On 1/11/11 12:46 PM, Scott Hannahs wrote:
 I am getting the same error as previously
 
 Can't resolve dependency system-java-dev for package ppl-0.10.2-3 (no 
 matching packages/versions found)
 
 
 I expect that you're using a CVS fink version from before the fixes for
 the Java update were added, so your fink doesn't know what to do.  HEAD
 checkouts don't update automatically via selfupdate or update-all.

That was it!  I don't recall using a CVS version but may have snuck one in 
there awhile ago trying to work around another problem..  I should have picked 
that up from the fink -V printout but I was thinking I had a vanilla 
installation.

A mention in the FAQ that references this problem that you need a certain 
version of fink that can deal with it would at least make me focus on the fink 
version and see the issue rather than re-installing the java patch 2 or three 
times in various orders.

Thanks for the info.

-Scott

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

[Fink-devel] Bad dependency? Bad virtual list? problem building libidn

2010-11-27 Thread Scott Hannahs
I am not sure exactly where the dependency problem is.  Technically I was 
trying to build pyqt4-py26 but the problem seems to be in the package for 
libidn.

The package libidn requires for the package system-java-dep (= 1.5-1) however 
the virtual package for system-java exists but not for system-java-dep.  There 
are versioned packages for system-javaXX-dev where XX is 14, 15, 16 but not for 
the plain package or the 13 package.   A fink list system-java shows this 
asymmetry int eh packages.

Is the problem that the libidn should reference system-javaXX-dev or that the 
virtual package system-java-dev should exist?

-sth


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] ppl can't find library with 10.5

2010-11-22 Thread Scott Hannahs
I tried to update fink on one of my older systems this weekend.  I  
have been following the issues with ppl and the latest system updates  
that removed some header files.  However this seems to be a different  
problem.

I did run the latest Developer Java update just in case, but the  
problem seems to be that the GMP libraries are not found by the build  
process.

fink install ppl

gives the following output:

...
checking for shared library run path origin... done
checking how to link with libgmp... -lgmp
checking how to link with libgmpxx... -lgmpxx -lgmp
checking for the GMP library version 4.1.3 or above... no
configure: error: Cannot find GMP version 4.1.3 or higher.
GMP is the GNU Multi-Precision library:


However, fink has installed the libgmp packages:
% fink list libgmp
Information about 11031 packages read in 2 seconds.
 libgmpxx-64bit-shlibs
4.3.2-5Shared C++ library for gmp package
i   libgmpxx-shlibs  
4.3.2-5Shared C++ library for gmp package
 libgmpxx4-64bit-shlibs   
4.2.1-1009 Shared C++ library for gmp package  
(obsolete version)
 libgmpxx4-shlibs 
4.2.1-1009 Shared C++ library for gmp package  
(obsolete version)
 libgmpxx5-64bit-shlibs   
5.0.1-5Shared C++ library for gmp package
 libgmpxx5-shlibs 
5.0.1-5Shared C++ library for gmp package
%

Which implies that version 4.3.2 of the libgmp package is installed.   
But this is installed in /sw/lib as libgmpxx.dylib and the  
libgmp.dylib file is version 3.5.2

Did some version update leave the older version around?  Should the  
dependencies for ppl be on libgmpxx4?

-Scott


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] rmagic package

2010-09-07 Thread Scott Hannahs
Just to bump this issue.  Any reason the submission can't be accepted?  I know 
there is a lot everyone's plate but I had an issue with someone asking for the 
10.6 package to be fixed.

I think this rmagic package is working on all supported versions in its 3 OS 
versions.

https://sourceforge.net/tracker/?func=detailaid=3026891group_id=17203atid=414256

-Scott


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Package Submissions

2010-08-14 Thread Scott Hannahs
I have two submissions I that are updates to be compatible with 10.6
One I am the maintainer rmagic-2.21-131 - ID: 3026891 
http://sourceforge.net/tracker/?func=detailaid=3026891group_id=17203atid=414256
I tweaked this to run under 10.4 through 10.6.

The other was a support package I needed with no maintainer.  Package 
gd-graph3d-pm - ID: 3026884
This was a simple update to a new version of perl.

http://sourceforge.net/tracker/?func=detailaid=3026884group_id=17203atid=414256

Both seem to work and pass the validate -pedantic test and also the install -m 
test.  If these could be checked in it would help for the person who requested 
that I update rmagic for Mac OS 10.6.

Thanks,
-Scott


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Missing dependency??

2010-08-14 Thread Scott Hannahs
While updating a package that uses python 2.6 I got the following warning

Reading dependency for pexpect-py26-2.3-1...
WARNING: While resolving dependency python26-nox for package 
pexpect-py26-2.3-1, package python26-nox was not found.

Mac OS X 10.6.X

Has the package python26-nox been deprecated, removed, or otherwise eliminated 
and should the pexpect package be updated?  Or am I missing something obvious.

-Scott


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Naive question on versioning and distribution

2010-07-06 Thread Scott Hannahs

On Jul 6, 2010, at 08:38, Alexander Hansen wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 7/5/10 5:53 PM, Scott Hannahs wrote:
 I did the original package development for a package and now have  
 heard that the installation fails on 10.6.  I haven't looked at  
 package development in awhile and there are a lot of improvements  
 so I was going to update the package.

 -Scott



 Different .info files for each OS version with appropriate Type: perl
 for each, perhaps?

I can do that as well, and just hard code the version of perl used.   
But somewhere (and I can't find it this morning) I thought that the  
policy was to try to have as many packages built that will handle all  
10.4 though 10.6.  Thus I was trying to find the accepted way of using  
the perl version and the package version.  But that tells me that my  
package is duplicately defined.

And validate gives
% fink validate rmagic.info
Validating package file rmagic.info...
Error: Duplicate declaration of package rmagic. (rmagic.info)
Error: Duplicate declaration of package rmagic. (rmagic.info)
Error: Duplicate declaration of package rmagic. (rmagic.info)
Error: Duplicate declaration of package rmagic. (rmagic.info)

this is under OS 10.5.  I have the distribution defined 3 times for  
10.5 for different versions of perl.  I have 4 versions of perl on my  
system (3 in fink and one from the OS).

I can get rid of this by defining my package to be rmagic-pmNN but is  
that necessary?

-Scott


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Naive question on versioning and distribution

2010-07-06 Thread Scott Hannahs

On Jul 6, 2010, at 11:54, Alexander Hansen wrote:

 Thus I was trying to find the accepted way of using the
 perl version and the package version.  But that tells me that my  
 package
 is duplicately defined.

 And validate gives
 % fink validate rmagic.info
 Validating package file rmagic.info...
 Error: Duplicate declaration of package rmagic. (rmagic.info)
 Error: Duplicate declaration of package rmagic. (rmagic.info)
 Error: Duplicate declaration of package rmagic. (rmagic.info)
 Error: Duplicate declaration of package rmagic. (rmagic.info)

 this is under OS 10.5.  I have the distribution defined 3 times for  
 10.5
 for different versions of perl.  I have 4 versions of perl on my  
 system
 (3 in fink and one from the OS).

 I can get rid of this by defining my package to be rmagic-pmNN but is
 that necessary?

 -Scott


 If it's primarily a user-executable package, rather than a module that
 other things load, I'd recommend _not_ putting in the -pmNN.

Ok, I will get rid of the -pmNN.  Now the code explicitly calls /usr/ 
bin/perl in the header to the script.  I need to make sure that the  
packages are the correct ones for the version of PERL that is  
installed in the OS.

Ok, but then my package does not validate as above.  Because it thinks  
it is declaring the same package 3 times on OS X 10.5 for the 3  
different PERL installations and once for OS X 10.6 for the same perl  
installation.  I can remove all these so that there is only 1 perl  
version for each OS version.

Is this a bug in the validation routine that I get a duplicate package  
error or is it because I have perl5.8.8 on the system install and  
perl5.10.0, perl5.8.1 and perl 5.8.6 in my fink install?

-Scott



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Naive question on versioning and distribution

2010-07-05 Thread Scott Hannahs
I did the original package development for a package and now have heard that 
the installation fails on 10.6.  I haven't looked at package development in 
awhile and there are a lot of improvements so I was going to update the package.

My package is *not* a perl module but a utility that uses several perl modules. 
 As far as I can tell the package will run on all versions of perl as long as 
all the packages are for the same version.  I would like to just make it use 
whatever version of perl is used by the initial script which starts out
#!/usr/bin/perl

This package uses:
file-spec-pm
file-temp-pm
config-inifiles-pm
html-parser-pm
gd-graph3d-pm

Now I can simplify this by using a dependence on system-perl for the first 2.  
But the last 2 seem to require some hoops to make this all work.  I would 
rather not make the package have a version dependence since it is not compiled 
and is version independent.

If I make the Distribution have a perl type for different OS versions then the 
validation complains that I don't have the utility have different versions.  In 
other words the following doesn't work with the validation.
---
Distribution: 
  (%type_pkg[perl] = 581) 10.4,
  (%type_pkg[perl] = 584) 10.4,
  (%type_pkg[perl] = 586) 10.4,
  (%type_pkg[perl] = 586) 10.5,
  (%type_pkg[perl] = 588) 10.5,
  (%type_pkg[perl] = 5100) 10.5,
  (%type_pkg[perl] = 5100) 10.6

Type: perl (5.8.1 5.8.4 5.8.6 5.8.8 5.10.0)
# Dependencies:
Depends: 
 system-perl,
 config-inifiles-pm,
 html-parser-pm%type_pkg[perl],
 gd-graph3d-pm%type_pkg[perl]

BuildDepends: fink (= 0.26.0-1), perl%type_pkg[perl]-core
---

So how do I set this up to use the default perl, and have fink install the 
requisite perl packages that this depends on?  This is a very flexible 
mechanism but I can't quite see my way to a reasonable solution.  A pointer on 
an example to get this working would be helpful.

(the gd-graph3d-pm5100 package doesn't yet exist but seems to be a trivial 
extension of the current package).

-Scott


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel