On 1/5/14 3:37 PM, Richard Vaughn wrote:
> Hi --
>
> I get the following on executing the command "fink selfupdate":
>
> The package 'fink' will be built and installed.
> Reading build dependency for fink-0.36.3.1-51...
> Reading dependency for fink-0.36.3.1-51...
> Reading runtime dependency for fink-0.36.3.1-51...
> Reading build conflict for fink-0.36.3.1-51...
> The following package will be installed or updated:
>   fink
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-fink-0.36.3.1-51 
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-fink-0.36.3.1-51' in 
> `/sw/src/fink.build/fink-buildlock-fink-0.36.3.1-51_2014.01.05-18.37.20_darwin-i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i 
> /sw/src/fink.build/fink-buildlock-fink-0.36.3.1-51_2014.01.05-18.37.20_darwin-i386.deb
> Invalid type 'q' in pack at /sw/bin/dpkg-lockwait line 41.
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 25
> Can't set build lock for fink (0.36.3.1-51)
>
> If any of the above dpkg error messages mention conflicting packages or 
> missing
> dependencies -- for example, telling you that the package
> fink-buildlock-fink-0.36.3.1-51 conflicts with something else -- fink has
> probably gotten confused by trying to build many packages at once. Try 
> building
> just this current package fink (i.e, "fink build fink"). 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-fink-0.36.3.1-51 >/dev/null
> Invalid type 'q' in pack at /sw/bin/dpkg-lockwait line 41.
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 25
> Failed: buildlock failure
>
>
> Any suggestions?
>
> Rick
>
>

You didn't specify your platform or your _current_ version of fink, but 
this looks like the result of an issue which was introduced in 
fink-0.36.3 that affects only 10.6/i386, and which was fixed in 
fink-0.36.3.1.  Unfortunately, this particular issue blocks the ability 
to build any packages.

You can work around this issue by editing /sw/bin/dpkg-lockwait and 
/sw/bin/apt-get-lockwait as an administrator and changing the line in 
each that says

     my $struct_flock = pack("qqiss", 0, 0, 0, F_WRLCK, SEEK_SET);

to

     my $struct_flock = pack("lllliss", (0, 0), (0, 0), 0, F_WRLCK, 
SEEK_SET);

After you do that, you should be able to install fink-0.36.3.1 and other 
packages.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to