Dear all,

I was able to fix my problem by editing the file

/sw/var/lib/dpkg/status
>

as explained in the last paragraph of

http://wiki.finkproject.org/index.php/Fink:buildlocks
>

Please excuse me.
Best regards,
Eduardo.

On Wed, Jun 2, 2010 at 1:29 AM, Eduardo Pestana <
[email protected]> wrote:

> Dear all,
>
> I believe I have a related problem.
> If I issue
>
> fink -v  selfupdate
>
> I get at the end of the command output
> .......
> ..........
> Downloading the indexes of available packages in the binary distribution.
> /sw/bin/apt-get-lockwait update
> Hit http://bindist.finkmirrors.net 10.5/release/main Packages
> Hit http://bindist.finkmirrors.net 10.5/release/main Release
> Hit http://bindist.finkmirrors.net 10.5/release/crypto Packages
> Hit http://bindist.finkmirrors.net 10.5/release/crypto Release
> Hit http://bindist.finkmirrors.net 10.5/current/main Packages
> Hit http://bindist.finkmirrors.net 10.5/current/main Release
> Hit http://bindist.finkmirrors.net 10.5/current/crypto Packages
> Hit http://bindist.finkmirrors.net 10.5/current/crypto Release
> Reading Package Lists... Done
> Building Dependency Tree... Done
> W: Encountered status field in a non-version description
> W: You may want to run apt-get update to correct these problems
> Scanning package description files..........
> Information about 10196 packages read in 2 seconds.
> No packages to install.
>
> The core packages have been updated. You should now update the other
> packages
> using commands like 'fink update-all'.
>
> Now I do
>
> fink -v update-all
>
> and I get the following error
>
> $ fink -v update-all
> Information about 10196 packages read in 0 seconds.
> W: Encountered status field in a non-version description
> The package 'gcc44' will be built and installed.
> Reading dependency for gcc44-4.4.4-1000...
> Reading build dependency for gcc44-4.4.4-1000...
> Reading dependency for gcc44-shlibs-4.4.4-1000...
> Reading dependency for gcc44-compiler-4.4.4-1000...
> Reading build conflict for gcc44-4.4.4-1000...
> The package 'gcc44-shlibs' will be built and installed.
> Reading dependency for gcc44-4.4.4-1000...
> Reading build dependency for gcc44-4.4.4-1000...
> Reading dependency for gcc44-shlibs-4.4.4-1000...
> Reading dependency for gcc44-compiler-4.4.4-1000...
> Reading dependency for gcc44-shlibs-4.4.4-1000...
> Reading build dependency for gcc44-shlibs-4.4.4-1000...
> Reading build conflict for gcc44-4.4.4-1000...
> Reading build conflict for gcc44-shlibs-4.4.4-1000...
> The package 'gcc44-compiler' will be built and installed.
> Reading dependency for gcc44-4.4.4-1000...
> Reading build dependency for gcc44-4.4.4-1000...
> Reading dependency for gcc44-shlibs-4.4.4-1000...
> Reading dependency for gcc44-compiler-4.4.4-1000...
> Reading dependency for gcc44-compiler-4.4.4-1000...
> Reading build dependency for gcc44-compiler-4.4.4-1000...
> Reading build conflict for gcc44-4.4.4-1000...
> Reading build conflict for gcc44-compiler-4.4.4-1000...
> The following 2 packages will be installed or updated:
>  gcc44 gcc44-shlibs
> The following additional package will be installed:
>  gcc44-compiler
> Do you want to continue? [Y/n]
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-gcc44-4.4.4-1000
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-gcc44-4.4.4-1000' in
> `/sw/src/fink.build/fink-buildlock-gcc44-4.4.4-1000_2010.06.02-01.11.08_darwin-i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i
> /sw/src/fink.build/fink-buildlock-gcc44-4.4.4-1000_2010.06.02-01.11.08_darwin-i386.deb
> dpkg: parse error, in file `/sw/var/lib/dpkg/status' near line 5665 package
> `fink-buildlock-gcc44-4.4.4-1000':
>  missing version
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 2
> Can't set build lock for gcc44 (4.4.4-1000)
>
> If any of the above dpkg error messages mention conflicting packages or
> missing
> dependencies -- for example, telling you that the package
> fink-buildlock-gcc44-4.4.4-1000 conflicts with something else -- fink has
> probably gotten confused by trying  to build many packages at once. Try
> building just this current package gcc44 (i.e, "fink build gcc44"). When
> that
> has completed successfully,  you could retry whatever you did that led to
> the
> present error.
>
> Regardless of the cause of the lock failure, don't worry: you have not
> wasted
> compiling time! Packages that had been completely built before this error
> occurred will not have to be recompiled.
>
> See http://wiki.finkproject.org/index.php/Fink:buildlocks for more
> information.
>
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.4-1000 >/dev/null
> dpkg: parse error, in file `/sw/var/lib/dpkg/status' near line 5665 package
> `fink-buildlock-gcc44-4.4.4-1000':
>  missing version
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 2
> Failed: buildlock failure
> wanadi1:~ eduardo
> $
>
> Could you please help me out?
> Best regards and thanks,
> Eduardo.
>
>
> On Tue, Jun 1, 2010 at 12:24 AM, Sean Lake <[email protected]> wrote:
>
>> Hello all,
>>
>> I'm on a PPC machine this time. Here is the error message:
>>
>> patch -p1 < /sw/fink/dists/unstable/main/finkinfo/languages/gcc44.patch
>> patching file libjava/configure.ac
>> Hunk #1 succeeded at 139 (offset 57 lines).
>> patching file libjava/configure
>> Hunk #1 succeeded at 1021 with fuzz 1 (offset 3 lines).
>> Hunk #2 succeeded at 1975 (offset 123 lines).
>> /var/tmp/tmp.1.9FN3tj
>> #!/bin/bash -ev
>>  set +x
>>  if [ -e /usr/local/lib/libgmp.a ] || [ -e /usr/local/lib/libgmp.dylib ];
>> then
>>    echo "-----WARNING-----WARNING-----WARNING-----"
>>    echo "You seem to have GMP installed in /usr/local."
>>    echo "This is known to cause gcc44 to fail to build."
>>    echo "Please move aside /usr/local and try again."
>>    echo "-----WARNING-----WARNING-----WARNING-----"
>>    exit 1
>>  fi
>> -----WARNING-----WARNING-----WARNING-----
>> You seem to have GMP installed in /usr/local.
>> This is known to cause gcc44 to fail to build.
>> Please move aside /usr/local and try again.
>> -----WARNING-----WARNING-----WARNING-----
>> ### execution of /var/tmp/tmp.1.9FN3tj failed, exit code 1
>>
>> fink version info:
>>
>> fink --version
>> Package manager version: 0.29.10
>> Distribution version: selfupdate-rsync Mon May 31 21:44:59 2010, 10.5,
>> powerpc
>>
>> The build appears to be going ahead on my Intel machine, so I have no
>> idea what's going wrong.
>>
>> Thanks,
>> Sean
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Fink-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/fink-users
>>
>
>
------------------------------------------------------------------------------

_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to