Felix Frolow | 2 Sep 08:04
Picon
Picon

guile installation problem on os x

I fail to install guile18-net-http on mac intel MacBook Pro:

The following package will be installed or updated:
  guile18-net-http
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-guile18-net- 
http-0.3.1-1001 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-guile18-net- 
http-0.3.1-1001' in `/sw/src/fink.build/fink-buildlock-guile18-net- 
http-0.3.1-1001_2007.09.02-08.18.36_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-guile18- 
net-http-0.3.1-1001_2007.09.02-08.18.36_darwin-i386.deb
Selecting previously deselected package fink-buildlock-guile18-net- 
http-0.3.1-1001.
(Reading database ... 66352 files and directories currently installed.)
Unpacking fink-buildlock-guile18-net-http-0.3.1-1001 (from .../fink- 
buildlock-guile18-net-http-0.3.1-1001_2007.09.02-08.18.36_darwin- 
i386.deb) ...
Setting up fink-buildlock-guile18-net-http-0.3.1-1001  
(2007.09.02-08.18.36) ...
gzip -dc /sw/src/net-http-0.3.1.tar.gz | /sw/bin/tar -xf -  --no-same- 
owner --no-same-permissions
Use of uninitialized value in list assignment at /sw/lib/perl5/Fink/ 
PkgVersion.pm line 4906.
Use of uninitialized value in list assignment at /sw/lib/perl5/Fink/ 
PkgVersion.pm line 4906.
patch -p1 </sw/fink/dists/unstable/main/finkinfo/languages/guile18- 
net-http.patch
patching file configure
(Continue reading)

Martin Costabel | 2 Sep 09:16
Picon

Re: guile installation problem on os x

Felix Frolow wrote:
> I fail to install guile18-net-http on mac intel MacBook Pro:
> 
> The following package will be installed or updated:
>   guile18-net-http
[]
> gzip -dc /sw/src/net-http-0.3.1.tar.gz | /sw/bin/tar -xf -  --no-same- 
> owner --no-same-permissions
[]
> patch -p1 </sw/fink/dists/unstable/main/finkinfo/languages/guile18- 
> net-http.patch
> patching file configure
[]
> /var/tmp/tmp.1.i4QiKJ
> #!/bin/zsh -efv
> export PATH=/sw/share/guile/1.8/scripts/binoverride:$PATH
> #./configure %c
> ./configure --prefix=/sw/src/fink.build/root-guile18-net- 
> http-0.3.1-1001/sw --infodir=/sw/src/fink.build/root-guile18-net- 
> http-0.3.1-1001/sw/share/info
> creating cache ./config.cache
> checking for guile-1.6... error
> checking for guile-1.6-config... guile-1.6-config
> configure: warning: cannot execute guile-1.6-config
[]
> checking if we are cross compiling... configure: error: cannot find  
> guile-1.6-config

This is a bug in the patch file (maintainer CCed); it hasn't been 
updated from 1.6 to 1.8. If you are adventurous and want to fix it 
(Continue reading)

William Scott | 2 Sep 16:48
Favicon

Re: guile installation problem on os x


Sorry Felix.  The fault is mine.  There was a mistake in the patch file 
(still referred to guile1.6.  I've fixed it now and am about to commit the 
change to fink's cvs, but if you are in a hurry, just change all instances 
of 1.6 to 1.8 in the patch file.

Bill

On Sun, 2 Sep 2007, Felix Frolow wrote:

     I fail to install guile18-net-http on mac intel MacBook Pro:

     The following package will be installed or updated:
       guile18-net-http
     Setting runtime build-lock...
     dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-guile18-net- 
     http-0.3.1-1001 /sw/src/fink.build
     dpkg-deb: building package `fink-buildlock-guile18-net- 
     http-0.3.1-1001' in `/sw/src/fink.build/fink-buildlock-guile18-net- 
     http-0.3.1-1001_2007.09.02-08.18.36_darwin-i386.deb'.
     Installing build-lock package...
     /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-guile18- 
     net-http-0.3.1-1001_2007.09.02-08.18.36_darwin-i386.deb
     Selecting previously deselected package fink-buildlock-guile18-net- 
     http-0.3.1-1001.
     (Reading database ... 66352 files and directories currently installed.)
     Unpacking fink-buildlock-guile18-net-http-0.3.1-1001 (from .../fink- 
     buildlock-guile18-net-http-0.3.1-1001_2007.09.02-08.18.36_darwin- 
     i386.deb) ...
     Setting up fink-buildlock-guile18-net-http-0.3.1-1001  
(Continue reading)

Will Oram | 2 Sep 17:26

dpkg and Phase Patching

It had been a VERY long time since I updated anything fink has  
control over. When calling 'fink selfupdate; fink update-all', the  
first few apps installed fine. pkgconfig's update, though, failed due  
to phase patching (?). Removing pkgconfig didn't help. Can't find a  
reproduction of this elsewhere; any idea what this means and what to do?

Cheers,
Will

---

[stuff goes here]
pkg-config-0.22/check/common
pkg-config-0.22/check/simple.pc
pkg-config-0.22/check/requires-test.pc
pkg-config-0.22/check/public-dep.pc
pkg-config-0.22/check/private-dep.pc
pkg-config-0.22/check/includedir.pc
patch -p1 </sw/fink/dists/unstable/main/finkinfo/devel/pkgconfig.patch
patching file Makefile.in
Hunk #1 FAILED at 145.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej
patching file check/Makefile.in
Hunk #1 succeeded at 148 (offset 6 lines).
patching file configure
Hunk #1 FAILED at 463.
Hunk #2 FAILED at 19452.
Hunk #3 FAILED at 19512.
3 out of 3 hunks FAILED -- saving rejects to file configure.rej
### execution of patch failed, exit code 1
(Continue reading)

Martin Costabel | 2 Sep 19:22
Picon

Re: dpkg and Phase Patching

Will Oram wrote:
> It had been a VERY long time since I updated anything fink has  
> control over. When calling 'fink selfupdate; fink update-all', the  
> first few apps installed fine. pkgconfig's update, though, failed due  
> to phase patching (?). Removing pkgconfig didn't help. Can't find a  
> reproduction of this elsewhere; any idea what this means and what to do?

You don't say which version of OSX and Fink you are running. But the 
pkgconfig.patch file that you have there isn't the right one. It is 
either from 10.4-transitional or from 10.4/stable, both of which don't 
have pkgconfig-0.22-1, or it is several months old.
[]
> patch -p1 </sw/fink/dists/unstable/main/finkinfo/devel/pkgconfig.patch
> patching file Makefile.in
> Hunk #1 FAILED at 145.

This cannot happen with an up-to-date pkgconfig.patch file.
[]
> Failed: phase patching (patchfiles): pkgconfig-0.22-1 failed

I'd try selfupdate again.

--

-- 
Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
(Continue reading)

Will Oram | 2 Sep 22:02

Re: dpkg and Phase Patching


On Sep 2, 2007, at 12.22 PM, Martin Costabel wrote:

> Will Oram wrote:
>> It had been a VERY long time since I updated anything fink has   
>> control over. When calling 'fink selfupdate; fink update-all',  
>> the  first few apps installed fine. pkgconfig's update, though,  
>> failed due  to phase patching (?). Removing pkgconfig didn't help.  
>> Can't find a  reproduction of this elsewhere; any idea what this  
>> means and what to do?
>
>
> You don't say which version of OSX and Fink you are running. But  
> the pkgconfig.patch file that you have there isn't the right one.  
> It is either from 10.4-transitional or from 10.4/stable, both of  
> which don't have pkgconfig-0.22-1, or it is several months old.

Er, sorry. Running 10.4, fink v0.8.1.rsync i386 and unstable flag set.
> []
>> patch -p1 </sw/fink/dists/unstable/main/finkinfo/devel/ 
>> pkgconfig.patch
>> patching file Makefile.in
>> Hunk #1 FAILED at 145.
>
> This cannot happen with an up-to-date pkgconfig.patch file.
> []
>> Failed: phase patching (patchfiles): pkgconfig-0.22-1 failed
>
> I'd try selfupdate again.

(Continue reading)

Martin Costabel | 2 Sep 23:01
Picon

Re: dpkg and Phase Patching

Will Oram wrote:
> On Sep 2, 2007, at 12.22 PM, Martin Costabel wrote:
[]
>> I'd try selfupdate again.
> 
> No go. Almost every fink command I execute is preceded with 'fink  
> selfupdate; fink XXX' out of habit.

Well, you have an old version of the file

/sw/fink/dists/unstable/main/finkinfo/devel/pkgconfig.patch

Why selfupdate doesn't update it, I don't know, but you could try to 
remove it and then selfupdate again. If it still is the old version, 
then please tell us which rsync mirror was used for the selfupdate; 
maybe it isn't up to date.

Look at the file, its first lines should talk about the file 
pkg-config-0.22/check/Makefile.in. If the "check" is not there, you have 
the old version.

--

-- 
Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
(Continue reading)

Will Oram | 2 Sep 23:35

Re: dpkg and Phase Patching


On Sep 2, 2007, at 4.01 PM, Martin Costabel wrote:

> Will Oram wrote:
>> On Sep 2, 2007, at 12.22 PM, Martin Costabel wrote:
> []
>>> I'd try selfupdate again.
>> No go. Almost every fink command I execute is preceded with 'fink   
>> selfupdate; fink XXX' out of habit.
>
> Well, you have an old version of the file
>
> /sw/fink/dists/unstable/main/finkinfo/devel/pkgconfig.patch
>
> Why selfupdate doesn't update it, I don't know, but you could try  
> to remove it and then selfupdate again. If it still is the old  
> version, then please tell us which rsync mirror was used for the  
> selfupdate; maybe it isn't up to date.
>
> Look at the file, its first lines should talk about the file pkg- 
> config-0.22/check/Makefile.in. If the "check" is not there, you  
> have the old version.

It is indeed an old file -- 0.21. Which server it was pulling from is  
uncertain, but assuming it was part of the rsync selfupdate process,  
I had been using rsync://msn.wi.us.finkmirrors.net/finkinfo/. It is  
now the master server, and working perfectly now.

Thanks!

(Continue reading)

Martin Costabel | 2 Sep 23:48
Picon

Re: dpkg and Phase Patching

Will Oram wrote:
[]
> It is indeed an old file -- 0.21. Which server it was pulling from is  
> uncertain, but assuming it was part of the rsync selfupdate process,  
> I had been using rsync://msn.wi.us.finkmirrors.net/finkinfo/. It is  
> now the master server, and working perfectly now.

Good to hear. That server is indeed seriously out of touch. Its 
timestamp is from 5 months ago and the pkgconfig.patch file from last 
year. It should either be woken up or removed from the mirror list.

--

-- 
Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Dan Christensen | 4 Sep 04:46
Picon
Favicon

hashcash build fails on Intel

On my Macbook Pro running 10.4.10, "fink install hashcash" fails because
the Makefile is passing -mcpu=750, which isn't a valid choice.  This is
hashcash-1.22.1, and the build attempt is pasted below.

Is there an easy way for me to change the Makefile slightly and rebuild?
By making a custom .info file, I can see how to build for a generic x86
cpu, but for this package choosing good optimization options is crucial,
and I don't see how to do this with only changes to the .info file.

Thanks,

Dan

# fink install hashcash
Information about 6512 packages read in 1 seconds.
The following package will be installed or updated:
 hashcash
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-hashcash-1.22-1 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-hashcash-1.22-1' in `/sw/src/fink.build/fink-buildlock-hashcash-1.22-1_2007.09.03-22.39.42_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-hashcash-1.22-1_2007.09.03-22.39.42_darwin-i386.deb
Selecting previously deselected package fink-buildlock-hashcash-1.22-1.
(Reading database ... 41729 files and directories currently installed.)
Unpacking fink-buildlock-hashcash-1.22-1 (from
.../fink-buildlock-hashcash-1.22-1_2007.09.03-22.39.42_darwin-i386.deb) ...
Setting up fink-buildlock-hashcash-1.22-1 (2007.09.03-22.39.42) ...
gzip -dc /sw/src/hashcash-1.22.tgz | /sw/bin/tar -xf -  --no-same-owner --no-same-permissions 
make CC=gcc g3-osx
make "CFLAGS= -DREGEXP_POSIX -O3 -funroll-loops -fno-inline -mcpu=750 -faltivec " build
(Continue reading)


Gmane