[conspire] Building with Fink

John Andrews jla1200 at netzero.net
Wed Oct 24 13:55:39 PDT 2007


c-67-180-78-131:/sw/src Bca$ fink validate /sw/fink/dists/local/main/ 
finkinfo/maxwell.info
Validating package file /sw/fink/dists/local/main/finkinfo/ 
maxwell.info...
Package looks good!

.	This is the command that the Fink tutorial said to use to(" make"  
or" build" maxwell)
Why do they call it rebuild? This is my first attempt to "make" maxwell.

c-67-180-78-131:/sw/src Bca$ fink -v --build-as-nobody rebuild  
maxwell-0.5.1.tar.gz
WARNING: --build-as-nobody may produce non-usable binary packages. This
safe-mode should only be used for package testing and development,  
not for
production builds.
Information about 1999 packages read in 4 seconds.
Failed: no matching version found for maxwell
c-67-180-78-131:/sw/src Bca$ ls
CURRENT-FINK-10.4       fink.build              maxwell-0.5.1.tar.gz

c-67-180-78-131:/sw/src Bca$ fink -v --build-as-nobody rebuild  
maxwell         WARNING: --build-as-nobody may produce non-usable  
binary packages. This
safe-mode should only be used for package testing and development,  
not for
production builds.
Information about 1999 packages read in 3 seconds.
The package 'maxwell' will be built without being installed.
The following package will be rebuilt:
maxwell
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-maxwell-0.5.1-1 / 
sw/src/fink.build
dpkg-deb: building package `fink-buildlock-maxwell-0.5.1-1' in `/sw/ 
src/fink.build/fink-buildlock- 
maxwell-0.5.1-1_2007.10.24-13.18.11_darwin-powerpc.deb'.
Setting build lock...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock- 
maxwell-0.5.1-1_2007.10.24-13.18.11_darwin-powerpc.deb
Selecting previously deselected package fink-buildlock-maxwell-0.5.1-1.
(Reading database ... 7899 files and directories currently installed.)
Unpacking fink-buildlock-maxwell-0.5.1-1 (from .../fink-buildlock- 
maxwell-0.5.1-1_2007.10.24-13.18.11_darwin-powerpc.deb) ...
Setting up fink-buildlock-maxwell-0.5.1-1 (2007.10.24-13.18.11) ...
sudo -u nobody sh -c /var/tmp/tmp.1.CbLqq8

	What does can't locate services refer to.?

Can't locate Fink/Services.pm in @INC (@INC contains: /System/Library/ 
Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 / 
Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 / 
Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level / 
Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/ 
Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/ 
5.8.6 /Library/Perl/5.8.1 .) at /var/tmp/tmp.1.CbLqq8 line 2.
BEGIN failed--compilation aborted at /var/tmp/tmp.1.CbLqq8 line 2.
### execution of /var/tmp/tmp.1.CbLqq8 failed, exit code 2
Unpacking the file maxwell-0.5.1.tar.gz of package maxwell-0.5.1-1  
failed. The
most likely cause for this is a corrupted or incomplete download. Do  
you want
to delete the tarball and download it again? [Y/n]

This is in var/tmp/tmp.1.CbLqq8.  no-same-owner --no-same- 
permissions  maybe thats why gzip failed!

  nc-67-180-78-131:/var/tmp Bca$ cat tmp.1.CbLqq8
#!/usr/bin/perl
                 use Fink::Services qw(execute);
                 {
                         local $/;
                         $script = <DATA>;
                 }
exit &execute($script);
__DATA__
gzip -dc /sw/src/maxwell-0.5.1.tar.gz | /sw/bin/tar -xvf -  --no-same- 
owner --no-same-permissions
c-67-180-78-131:/var/tmp Bca$



	I previously redownloaded  and fixed the Check sum5 value.It must  
have something to do with building as nobody./ permissions.
It gets complicated and confusing!


Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-maxwell-0.5.1-1
(Reading database ... 7900 files and directories currently installed.)
Removing fink-buildlock-maxwell-0.5.1-1 ...
Failed: unpacking file maxwell-0.5.1.tar.gz of package  
maxwell-0.5.1-1 failed
c-67-180-78-131:/sw/src Bca$ ls
CURRENT-FINK-10.4       fink.build              maxwell-0.5.1.tar.gz
c-67-180-78-131:/sw/src Bca$ cd fink.build/
c-67-180-78-131:/sw/src/fink.build Bca$ ls
maxwell-0.5.1-1
c-67-180-78-131:/sw/src/fink.build Bca$ ls -l
total 0
drwxr-xr-x   2 nobody  nobody  68 Oct 24 13:18 maxwell-0.5.1-1
c-67-180-78-131:/sw/src/fink.build Bca$ cd maxwell-0.5.1-1/
c-67-180-78-131:/sw/src/fink.build/maxwell-0.5.1-1 Bca$ ls
c-67-180-78-131:/sw/src/fink.build/maxwell-0.5.1-1 Bca$

Does anyone have some comments about this? Maybe I should try the  
Fink forum.





More information about the conspire mailing list