Re: [Fink-users] pyobjc-py25 segfaults on 64-bit Fink, Intel OS 10.5.8

2009-09-30 Thread Stefan Bruda
Hi,

Sorry, I hit send prematurely, but I did not want to say much more
except that we apparently have the same build process and I am willing
to bet that your pyobjc does not work either.

In any event, thank you for your assistance.

Cheers,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as
it isn't, it ain't.  That's logic.
--Lewis Carroll, Through the Looking-Glass

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] pyobjc-py25 segfaults on 64-bit Fink, Intel OS 10.5.8

2009-09-30 Thread Stefan Bruda
Hi,

At 01:42 +0200 on 2009-9-30 Jean-François Mertens wrote:
 >
 > 
 > On 29 Sep 2009, at 23:21, Stefan Bruda wrote:
 > 
 > > In any event, here is how the thing fails to build:
 > >
 > > gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 - 
 > > Wall -Wstrict-prototypes -Ibuild/codegen/ -Ilibffi-src/include -I/ 
 > > sw64/include/python2.5 -c libffi-src/src/types.c -o build/ 
 > > temp.macosx-10.5-i386-2.5/libffi-src/src/types.o -I/sw64/include - 
 > > DMACOSX -DAPPLE_RUNTIME -no-cpp-precomp -Wno-long-double -g -Wall - 
 > > Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wshadow - 
 > > Wpointer-arith -Wmissing-declarations -Wnested-externs -Wno-long- 
 > > long -Wno-import
 > 
 > This is very puzzling : also on 64-bit Fink, Core2Duo, OS 10.5.8, I
 > get instead _ in an apparently succesfull (!...) build of pyobjc-
 > py25-2.0+svn2008-4 :

pyobjc-py25-2.* builds fine on my machines (same as yours), but does
not work afterward.  In particular it perevents other packages to
build .

The above problem actually happens when trying to install
pyobjc-py25-1.4-3 in an attempt to get a working pyobjc.

As in your case, pyobjc-py25-2.* builds fine so to speak.  Indeed, I
am getting all the discrepancies you get, including the
"-Ilibffi-src/powerpc" and "-I/sw64/include/libxml2"

 > But please, Stefan, to get clear on the trivial items first : I'm  
 > getting
 > > # fink list -it libiconv libxml2
 > > Information about 9232 packages read in 2 seconds.
 > > i  libiconv1.12-3  Character set conversion library
 > > i  libiconv-bin1.12-3  Executables for libiconv package
 > > i  libiconv-dev1.12-3  Developer files for libiconv package
 > > i  libxml2 2.6.32-1XML parsing library, version 2
 > > i  libxml2-bin 2.6.32-1XML parsing library, version 2
 > > i  libxml2-py252.6.32-1Python bindings for libxml2 library
 > > i  libxml2-py262.6.32-1Python bindings for libxml2 library
 > > i  libxml2-shlibs  2.6.32-1XML parsing library, version 2
 > What do you get from this command ?

Same here:

< godel:~ > fink list -it libiconv libxml2
Information about 9214 packages read in 1 seconds.
 i  libiconv1.12-3  Character set conversion library
 i  libiconv-bin1.12-3  Executables for libiconv package
 i  libiconv-dev1.12-3  Developer files for libiconv package
 i  libxml2 2.6.32-1XML parsing library, version 2
 i  libxml2-bin 2.6.32-1XML parsing library, version 2
 i  libxml2-py252.6.32-1Python bindings for libxml2 library
 i  libxml2-py262.6.32-1Python bindings for libxml2 library
 i  libxml2-shlibs  2.6.32-1XML parsing library, version 2


-- 
Stefan D. Bruda, PhD
Associate Professor of Computer Science
Bishop's University 2600 College St, Sherbrooke, Quebec J1M 1Z7, Canada
Phone: (819) 822-9600 x2374, Fax: (819) 822-9661
Web: , Email: 
PGP public key: 
* Recursive, adj.; see Recursive.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] 64bit on 10.5

2009-09-30 Thread Christian Ebert
Hello,

I am (and probably will be for some time) still on 10.5.8.
However, due to Snow Leopard, there's a lot of talk here about
64bit versions for 10.5.8 too.

Why would I want to have 64bit versions in 10.5.8? What are the
advantages, restrictions etc.?

Any pointers to some trustworthy docs welcome.

THX

c
-- 
\black\trash movie_C O W B O Y_  _C A N O E_  _C O M A_
 Ein deutscher Western/A German Western

 --->> http://www.blacktrash.org/underdogma/ccc.php

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] iodine failed to install

2009-09-30 Thread Alexander Hansen
Ben Abbott wrote:
>
> On Sep 30, 2009, at 7:43 AM, Alexander Hansen wrote:
>
>> Ben Abbott wrote:
>>>
 should be available in one hour at the latest.

>>>
>>> It worked. For reference, a "fink index -f" was needed after the
>>> selfupdate.
>>>
>>> Ben
>>>
>> Do you have NoAutoIndex: true set in your fink.conf?
>
> Yes I do. If it is supposed to be false, I have no idea how it became
> true.
>
> Should I change it?
>
> Ben
>
Try that, sure.  We told people to set it to true on updates because of
problems with accessing the package cache during the update process.  I
_think_ it's safe to set it back to false.  Otherwise you have to run
"fink index -f" after every selfupdate, which gets to be time-consuming
and annoying.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] iodine failed to install

2009-09-30 Thread Ben Abbott

On Sep 30, 2009, at 7:43 AM, Alexander Hansen wrote:

> Ben Abbott wrote:
>>
>>> should be available in one hour at the latest.
>>>
>>
>> It worked. For reference, a "fink index -f" was needed after the
>> selfupdate.
>>
>> Ben
>>
> Do you have NoAutoIndex: true set in your fink.conf?

Yes I do. If it is supposed to be false, I have no idea how it became  
true.

Should I change it?

Ben


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libsablot-1.0.3-1000 fails to build

2009-09-30 Thread Jean-François Mertens

On 30 Sep 2009, at 00:32, Gary K Olson wrote:
> and I am sorry if I ruffled your feathers
Don't worry _ I've thick feathers, and a thick skin !  :)

JF

PS : My comment was with a smile _ I was happy to have
fixed my error before any error report _ but also I
knew I had beaten your msg only by half an hour,
which is probably not quite sufficient for most rsync
mirrors to have caught up ..

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] pyobjc-py25 segfaults on 64-bit Fink, Intel OS 10.5.8

2009-09-30 Thread Jean-François Mertens

On 29 Sep 2009, at 23:21, Stefan Bruda wrote:

> In any event, here is how the thing fails to build:
>
> gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 - 
> Wall -Wstrict-prototypes -Ibuild/codegen/ -Ilibffi-src/include -I/ 
> sw64/include/python2.5 -c libffi-src/src/types.c -o build/ 
> temp.macosx-10.5-i386-2.5/libffi-src/src/types.o -I/sw64/include - 
> DMACOSX -DAPPLE_RUNTIME -no-cpp-precomp -Wno-long-double -g -Wall - 
> Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wshadow - 
> Wpointer-arith -Wmissing-declarations -Wnested-externs -Wno-long- 
> long -Wno-import

This is very puzzling : also on  64-bit Fink, Core2Duo, OS 10.5.8, I  
get instead
_ in an apparently succesfull (!...) build of pyobjc- 
py25-2.0+svn2008-4 :

gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall  
-Wstrict-prototypes -I/sw64/include -I/sw64/include/python2.
5 -c libffi-src/types.c -o build/temp.macosx-10.5-i386-2.5/libffi-src/ 
types.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -no-cpp-precomp -W
no-long-double -g -fexceptions -O1 -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Wformat=2 -W -Wshadow -Wpointer-arith -Wmissing-
declarations -Wnested-externs -Wno-long-long -Wno-import -I/sw64/ 
include/libxml2 -I/sw64/include -Ibuild/codegen/ -Ilibffi-src/incl
ude -Ilibffi-src/powerpc


Note all the discrepancies !  In particular :

1) I get this additional (and apparently "wrong") flag for
"-Ilibffi-src/powerpc" [recall a couple of lines before there is
> creating build/temp.macosx-10.5-i386-2.5/libffi-src
> creating build/temp.macosx-10.5-i386-2.5/libffi-src/powerpc
> creating build/temp.macosx-10.5-i386-2.5/libffi-src/x86
]
So I would rather have expected "-Ilibffi-src/x86" in addition...
On the other hand, it is YOU who is getting "Unsupported MacOS X CPU  
type"

So your build seems possibly even more correct than mine ..
(But this stupid pkg has no configure, and no config.log ..
no way to know what happened w/o studying a whole new build system...)

2) On the other hand, I get the flag "-I/sw64/include/libxml2", which  
you don't,
and (as well on 32bit) otool shows the pkg depends on libxml2 and  
libiconv;
those deps and bdeps are apparently missing.
It is not completely fake ; nm confirms that
%p/lib/python2.5/site-packages/PyObjC/objc/_objc.so
does use symbols from libxml2.
On the other hand %p/lib/python2.5/site-packages/PyObjC/objc/test/*.so
all depend according to otool on both libiconv and libxml2,
but none of them uses any symbol from either.

3) The ordering of the flags is changed.


Is there someone knowing this type of build-system, and who has an  
idea what
might be going on ?

But please, Stefan, to get clear on the trivial items first : I'm  
getting
> # fink list -it libiconv libxml2
> Information about 9232 packages read in 2 seconds.
> i libiconv1.12-3  Character set conversion library
> i libiconv-bin1.12-3  Executables for libiconv package
> i libiconv-dev1.12-3  Developer files for libiconv package
> i libxml2 2.6.32-1XML parsing library, version 2
> i libxml2-bin 2.6.32-1XML parsing library, version 2
> i libxml2-py252.6.32-1Python bindings for libxml2 library
> i libxml2-py262.6.32-1Python bindings for libxml2 library
> i libxml2-shlibs  2.6.32-1XML parsing library, version 2
What do you get from this command ?

Thanks a lot for those very helpful reports !

JF Mertens


PS : Didn't even try if my above "apparently succesfull builds" were  
usable or not;
clearly the above questions about the build itself don't depend on that.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] iodine failed to install

2009-09-30 Thread Alexander Hansen
Ben Abbott wrote:
>
>> should be available in one hour at the latest.
>> 
>
> It worked. For reference, a "fink index -f" was needed after the  
> selfupdate.
>
> Ben
>   
Do you have NoAutoIndex: true set in your fink.conf?

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] iodine failed to install

2009-09-30 Thread Ben Abbott

On Sep 29, 2009, at 9:42 PM, monipol wrote:

> On 29/09/2009, at 22:06, Ben Abbott wrote:
>> On Sep 29, 2009, at 8:56 PM, monipol wrote:
>>> On 29/09/2009, at 08:56, Ben Abbott wrote:
 On Sep 29, 2009, at 7:50 AM, monipol wrote:
> On 29/09/2009, at 08:37, Ben Abbott wrote:
>> I'm running Mac OS 10.6
>>
>> $ fink --version
>> Package manager version: 0.29.10
>> Distribution version: selfupdate-rsync Mon Sep 28 19:10:14  
>> 2009, 10.6,
>> i386
>>
>> ... and I choose  the 32bit options.
>>
>> I thought I'd try out iodine, but ...
>>
>> $ fink install iodine
> (...)
>> OS is DARWIN, arch is i386
>> CC tun.c
>> CC dns.c
>> dns.c:30:34: error: arpa/nameser8_compat.h: No such file or  
>> directory
> (...)
>> Failed: phase compiling: iodine-0.5.2-2 failed
> Hello, Ben. I've been able to build iodine on Intel OS 10.5.8,  
> 32-bit Fink, Xcode 3.1.4.
>
> Could you please tell us the output of the following command on  
> your system?
>
> ls -l /usr/include/arpa/nameser*compat*
>
> I get
>
> lrwxr-xr-x  1 root  wheel20 26 Sep 08:19 /usr/include/arpa/ 
> nameser8_compat.h@ -> ../nameser8_compat.h
> -r--r--r--  1 root  wheel  6650 19 Feb  2008 /usr/include/arpa/ 
> nameser_compat.h
>
> Let's also notify the maintainer of the package (cc'ed).

 I get

 $ ls -l /usr/include/arpa/nameser*compat*
 -r--r--r-- 1 root wheel 6668 2009-07-14 01:16 /usr/include/arpa/ 
 nameser_compat.h
>>>
>>>
>>> And
>>>
>>> ls -l /usr/include/nameser*compat*
>>>
>>> ?
>>
>> $ ls -l /usr/include/nameser*compat*
>> ls: cannot access /usr/include/nameser*compat*: No such file or  
>> directory
>>
>> $ ls -l /usr/include/nameser*
>> -r--r--r-- 1 root wheel 22072 2009-05-18 13:34 /usr/include/nameser.h
>
> Hello, Ben. Jack, the maintainer, has just committed a potential fix  
> to this problem. Would you please test the new version  
> (iodine-0.5.2-3) on your box? If you're using CVS as your selfupdate  
> method, it should be readily available. If you're using rsync, it  
> should be available in one hour at the latest.

It worked. For reference, a "fink index -f" was needed after the  
selfupdate.

Ben


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users