Re: [Fink-users] 10.6/32bit and fontconfig2-dev build failure

2009-08-29 Thread Martin Costabel
Ben Abbott wrote:
> 
> On Aug 29, 2009, at 9:50 AM, Martin Costabel wrote:
> 
>> Ben Abbott wrote:
>> []
>>> grep: /usr/X11/lib/libSM.la: No such file or directory
[]
> I assume the link below is good?
> 
>   
> http://fink.cvs.sourceforge.net/viewvc/fink/experimental/costabel/fix-x11-la.sh?view=log

Yes.

> I notice you have an "undo" option (very nice).
> 
> In any event, it didn't work for me on 10.6
> 
>   -rpath /sw/lib/fontforge -version-info 4:7:0
> libtool: link: warning: `/sw/lib/libfreetype.la' seems to be moved
> grep: /usr/lib/libiconv.la: No such file or directory
> /sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
> libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
> make[1]: *** [../libgdraw.la] Error 1

Great. I hadn't even noticed that they removed *all* *.la files, not 
only those in X11. I guess nobody has really tried running fink in a 
10.5->10.6/32bit upgraded configuration.

I guess this kills it. Either someone comes up very quickly with an idea 
how the fink build process can eliminate all *.la files in /sw/lib, or 
the upgrade path 10.5->10.6 is dead.

-- 
Martin



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] 10.6/32bit and fontconfig2-dev build failure

2009-08-29 Thread Ben Abbott

On Aug 29, 2009, at 9:50 AM, Martin Costabel wrote:

> Ben Abbott wrote:
> []
>> grep: /usr/X11/lib/libSM.la: No such file or directory
>> /sw/bin/sed: can't read /usr/X11/lib/libSM.la: No such file or  
>> directory
>> libtool: link: `/usr/X11/lib/libSM.la' is not a valid libtool archive
>> make[1]: *** [../libgutils.la] Error 1
>> make: *** [libgutils] Error 2
> []
>> Is Apple's X11 to blame (do I need to install Xquartz?)?
>
> Yes and no. Apple is to blame, but installing Xquartz won't help.  
> Apple has been changing their mind a couple of times about the  
> presence of the *.la libtool files in /usr/X11/lib. While they  
> disappeared in xcode-3.1.2 (IIRC) and in the recent xquartz updates,  
> they came back in the last xcode for 10.5, xcode-3.1.3, and they are  
> gone now in 10.6.
>
>> … or does the fontconfig2-dev package need to be modified to work  
>> with  Snow Leopard?
>> ... or something else?
>
> The Fink chiefs need to wake up and pull their head out of the sand  
> where they have been keeping it for the last year. This disaster has  
> been announced for a long time, but nothing has been decided about  
> it yet (CCing fink-core).
>
> At the moment I see 3 solutions:
>
> 1. Get the *.la files back. This can be done for example by running  
> the script I prepared for this situation some months ago (google for  
> "fix-x11-la.sh"). I haven't tested this on 10.6, but it should work  
> there, too (famous last words...)

I assume the link below is good?


http://fink.cvs.sourceforge.net/viewvc/fink/experimental/costabel/fix-x11-la.sh?view=log

I notice you have an "undo" option (very nice).

In any event, it didn't work for me on 10.6

-rpath /sw/lib/fontforge -version-info 4:7:0
libtool: link: warning: `/sw/lib/libfreetype.la' seems to be moved
grep: /usr/lib/libiconv.la: No such file or directory
/sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[1]: *** [../libgdraw.la] Error 1
make: *** [libgdraw] Error 2
### execution of /var/tmp/tmp.1.wd42rv failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fontforge-20090408-201
(Reading database ... 245688 files and directories currently installed.)
Removing fink-buildlock-fontforge-20090408-201 ...
Failed: phase compiling: fontforge-20090408-201 failed

Ben


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] 10.6/32bit and fontconfig2-dev build failure

2009-08-29 Thread Martin Costabel
Ben Abbott wrote:
[]
> grep: /usr/X11/lib/libSM.la: No such file or directory
> /sw/bin/sed: can't read /usr/X11/lib/libSM.la: No such file or directory
> libtool: link: `/usr/X11/lib/libSM.la' is not a valid libtool archive
> make[1]: *** [../libgutils.la] Error 1
> make: *** [libgutils] Error 2
[]
> Is Apple's X11 to blame (do I need to install Xquartz?)?

Yes and no. Apple is to blame, but installing Xquartz won't help. Apple 
has been changing their mind a couple of times about the presence of the 
*.la libtool files in /usr/X11/lib. While they disappeared in 
xcode-3.1.2 (IIRC) and in the recent xquartz updates, they came back in 
the last xcode for 10.5, xcode-3.1.3, and they are gone now in 10.6.

> … or does the fontconfig2-dev package need to be modified to work with  
> Snow Leopard?
> 
> ... or something else?

The Fink chiefs need to wake up and pull their head out of the sand 
where they have been keeping it for the last year. This disaster has 
been announced for a long time, but nothing has been decided about it 
yet (CCing fink-core).

At the moment I see 3 solutions:

1. Get the *.la files back. This can be done for example by running the 
script I prepared for this situation some months ago (google for 
"fix-x11-la.sh"). I haven't tested this on 10.6, but it should work 
there, too (famous last words...)

2. Remove and then rebuild any package that has anything to do with X11. 
The time needed for organizing this will probably be more or less 
equivalent to removing /sw altogether and installing Fink from scratch.

3. Before building packages, remove all *.la files in the fink tree:

  sudo find /sw/lib/ -name \*.la --delete

The problem with the latter solution is that when a dev package gets 
pulled in during the build process, it may reintroduce contaminated *.la 
files. Thus all required builddeps would have to be installed first and 
then the *.la-removal command be run.

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] 10.6/32bit and fontconfig2-dev build failure

2009-08-29 Thread David Reiser

On Aug 29, 2009, at 9:14 AM, Ben Abbott wrote:

> $ fink update-all
> Information about 9081 packages read in 0 seconds.
> The package 'fontconfig2-dev' will be built and installed.
>
> WARNING: The package fontconfig2-dev Depends on system-xfree86-dev,
>but system-xfree86-dev only allows things to BuildDepend on it.
>
> Reading dependency for fontconfig2-dev-2.4.1-208...
>
> [snip]
>
> Unpacking replacement fontconfig2-shlibs ...
> Setting up fontconfig2-shlibs (2.4.1-208) ...
>
> Setting up fontconfig2-dev (2.4.1-208) ...
> WARNING: /usr/X11/lib/libfreetype.la does not exist, skipping.
>
> [snip]
>
> grep: /usr/X11/lib/libSM.la: No such file or directory
> /sw/bin/sed: can't read /usr/X11/lib/libSM.la: No such file or  
> directory
> libtool: link: `/usr/X11/lib/libSM.la' is not a valid libtool archive
> make[1]: *** [../libgutils.la] Error 1
> make: *** [libgutils] Error 2
> ### execution of /var/tmp/tmp.2.oD4y6C failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-fontforge-20090408-201
> (Reading database ... 245688 files and directories currently  
> installed.)
> Removing fink-buildlock-fontforge-20090408-201 ...
> Updating the list of locally available binary packages.
> Scanning dists/unstable/main/binary-darwin-i386
> New package: dists/unstable/main/binary-darwin-i386/x11/fontconfig2-
> dev_2.4.1-208_darwin-i386.deb
> New package: dists/unstable/main/binary-darwin-i386/x11/fontconfig2-
> shlibs_2.4.1-208_darwin-i386.deb
> Failed: phase compiling: fontforge-20090408-201 failed
>
> Before reporting any errors, please run "fink selfupdate" and
> try again.  If you continue to have issues, please check to see if the
> FAQ on fink's website solves the problem.  If not, ask on the fink- 
> users
> or fink-beginners mailing lists, with a carbon copy to the maintainer:
>
>   Daniel Johnson 
>
> Note that this is preferable to emailing the maintainer directly,  
> since
> most fink package maintainers do not have access to all possible
> hardware and software configurations.
>
> I notice there are dynamic libs for the missing x11 libs.
>
> $ ls /usr/X11/lib/libfree*
> /usr/X11/lib/libfreetype.6.dylib  /usr/X11/lib/libfreetype.dylib
>
> $ ls /usr/X11/lib/libSM*
> /usr/X11/lib/libSM.6.0.0.dylib/usr/X11/lib/libSM.6.dylib  /usr/X11/
> lib/libSM.dylib
>
> Is Apple's X11 to blame (do I need to install Xquartz?)?

According to the macosforge x11 mailing list, there isn't an xquartz  
for snow leopard yet -- 2.4.0 won't install on 10.6, and 2.4.1 isn't  
targeted until around December.
>
> … or does the fontconfig2-dev package need to be modified to work with
> Snow Leopard?
>
> ... or something else?
>
> Ben


Dave
--
David Reiser
dbrei...@earthlink.net





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] 10.6/32bit and fontconfig2-dev build failure

2009-08-29 Thread Ben Abbott
$ fink update-all
Information about 9081 packages read in 0 seconds.
The package 'fontconfig2-dev' will be built and installed.

WARNING: The package fontconfig2-dev Depends on system-xfree86-dev,
 but system-xfree86-dev only allows things to BuildDepend on it.

Reading dependency for fontconfig2-dev-2.4.1-208...

[snip]

Unpacking replacement fontconfig2-shlibs ...
Setting up fontconfig2-shlibs (2.4.1-208) ...

Setting up fontconfig2-dev (2.4.1-208) ...
WARNING: /usr/X11/lib/libfreetype.la does not exist, skipping.

[snip]

grep: /usr/X11/lib/libSM.la: No such file or directory
/sw/bin/sed: can't read /usr/X11/lib/libSM.la: No such file or directory
libtool: link: `/usr/X11/lib/libSM.la' is not a valid libtool archive
make[1]: *** [../libgutils.la] Error 1
make: *** [libgutils] Error 2
### execution of /var/tmp/tmp.2.oD4y6C failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fontforge-20090408-201
(Reading database ... 245688 files and directories currently installed.)
Removing fink-buildlock-fontforge-20090408-201 ...
Updating the list of locally available binary packages.
Scanning dists/unstable/main/binary-darwin-i386
New package: dists/unstable/main/binary-darwin-i386/x11/fontconfig2- 
dev_2.4.1-208_darwin-i386.deb
New package: dists/unstable/main/binary-darwin-i386/x11/fontconfig2- 
shlibs_2.4.1-208_darwin-i386.deb
Failed: phase compiling: fontforge-20090408-201 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

Daniel Johnson 

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.

I notice there are dynamic libs for the missing x11 libs.

$ ls /usr/X11/lib/libfree*
/usr/X11/lib/libfreetype.6.dylib  /usr/X11/lib/libfreetype.dylib

$ ls /usr/X11/lib/libSM*
/usr/X11/lib/libSM.6.0.0.dylib  /usr/X11/lib/libSM.6.dylib  /usr/X11/ 
lib/libSM.dylib

Is Apple's X11 to blame (do I need to install Xquartz?)?

… or does the fontconfig2-dev package need to be modified to work with  
Snow Leopard?

... or something else?

Ben


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users