On 20/07/2017 02:29, Hanspeter Niederstrasser wrote:
On 7/19/17 1:59 AM, Ralph Gebauer wrote:
Dear fink users,

while compiling the latest version of the gcc6 compiler, my computer crashed (for reasons not related to fink).

Now it seems impossible to "restart" the update process of gcc6: I obtain a buildlock failure, probably due to the half-finished compilation (see below).

I also tried "fink cleanup --bl", but this didn't help.


Thanks a lot for any help with this issue.

Ralph


fink update gcc6-compiler
Information about 10230 packages read in 2 seconds.
The following package will be installed or updated:
  gcc6-compiler
The following additional package will be installed:
  gcc6-shlibs
Default answer will be chosen in 60 seconds...
Do you want to continue? [Y/n]
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-gcc6-6.4.0-1 /sw/src/fink.build dpkg-deb: building package `fink-buildlock-gcc6-6.4.0-1' in `/sw/src/fink.build/fink-buildlock-gcc6-6.4.0-1_2017.07.19-08.36.18_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-gcc6-6.4.0-1_2017.07.19-08.36.18_darwin-x86_64.deb dpkg: parse error, in file `/sw/var/lib/dpkg/status' near line 6950 package `fink-buildlock-gcc6-6.4.0-1':
  missing version
### execution of /sw/bin/dpkg-lockwait failed, exit code 2
Can't set build lock for gcc6 (6.4.0-1)

If any of the above dpkg error messages mention conflicting packages or missing dependencies -- for example, telling you that the package fink-buildlock-gcc6-6.4.0-1 conflicts with something else -- fink has probably gotten confused by trying to build many packages at once. Try building just this current package gcc6 (i.e, "fink build gcc6"). 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 https://github.com/fink/fink/wiki/Buildlocks for more information.
/sw/bin/dpkg-lockwait -r fink-buildlock-gcc6-6.4.0-1 >/dev/null
dpkg: parse error, in file `/sw/var/lib/dpkg/status' near line 6950 package `fink-buildlock-gcc6-6.4.0-1':
  missing version
### execution of /sw/bin/dpkg-lockwait failed, exit code 2
Failed: buildlock failure

Does this help:
http://www.finkproject.org/faq/comp-general.php?phpLang=en#dpkg-parse-error

Hanspeter

Thanks a lot! This solved the problem.

Ralph



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to