On 12/29/13 6:54 AM, Jonas Maebe wrote:
>
> On 29 Dec 2013, at 15:48, Alexander Hansen wrote:
>
>> On 12/29/13 6:18 AM, Jonas Maebe wrote:
>>>
>>> See https://github.com/fink/fink/wiki/Buildlocks for more information.
>>> /sw/bin/dpkg-lockwait -r fink-buildlock-base-files-1.9.15-1 >/dev/null
>>> lockwait: Can't get lock: Invalid argument at /sw/bin/dpkg-lockwait line 44.
>>> ### execution of /sw/bin/dpkg-lockwait failed, exit code 22
>>> Failed: buildlock failure
>>
>> I tried this on a case-insensitive 10.6.8/i386 Fink setup before I suggested 
>> it.  Let's verify that everything looks OK:
>>
>> grep pack /sw/bin/*lockwait
>
>
> I did forget to modify apt-get-lockwait (only modified 
> /sw/bin/dpkg-lockwait). However, I've now modified both and still get the 
> same problem:
>
> ***
> $ sudo fink selfupdate
> /usr/bin/rsync -az -q  
> rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP 
> /sw/fink/TIMESTAMP.tmp
> I will now run the rsync command to retrieve the latest package descriptions.
> /usr/bin/rsync -rtz --delete-after --delete -q   --include='10.4/' 
> --include='10.4/stable/' --include='10.4/stable/main/' 
> --include='10.4/stable/main/finkinfo/' 
> --include='10.4/stable/main/finkinfo/*/' 
> --include='10.4/stable/main/finkinfo/*' 
> --include='10.4/stable/main/finkinfo/**/*' --include='10.4/' 
> --include='10.4/stable/' --include='10.4/stable/crypto/' 
> --include='10.4/stable/crypto/finkinfo/' 
> --include='10.4/stable/crypto/finkinfo/*/' 
> --include='10.4/stable/crypto/finkinfo/*' 
> --include='10.4/stable/crypto/finkinfo/**/*' --include='10.4/' 
> --include='10.4/unstable/' --include='10.4/unstable/main/' 
> --include='10.4/unstable/main/finkinfo/' 
> --include='10.4/unstable/main/finkinfo/*/' 
> --include='10.4/unstable/main/finkinfo/*' 
> --include='10.4/unstable/main/finkinfo/**/*' --include='10.4/' 
> --include='10.4/unstable/' --include='10.4/unstable/crypto/' 
> --include='10.4/unstable/crypto/finkinfo/' 
> --include='10.4/unstable/crypto/finkinfo/*/' 
> --include='10.4/unstable/crypto/finkinfo/*' --incl
 u
de='10.4/unstable/crypto/finkinfo/**/*' --include='VERSION' 
--include='DISTRIBUTION' --include='README' --exclude='**' 
'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/'
> Scanning package description files..........
> Information about 12707 packages read in 3 seconds.
>
> The following 2 packages will be installed or updated:
>   base-files fink-mirrors
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-base-files-1.9.15-1 
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-base-files-1.9.15-1' in 
> `/sw/src/fink.build/fink-buildlock-base-files-1.9.15-1_2013.12.29-15.50.33_darwin-i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i 
> /sw/src/fink.build/fink-buildlock-base-files-1.9.15-1_2013.12.29-15.50.33_darwin-i386.deb
> lockwait: Can't get lock: Invalid argument at /sw/bin/dpkg-lockwait line 44.
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 22
> Can't set build lock for base-files (1.9.15-1)
>
> If any of the above dpkg error messages mention conflicting packages or 
> missing dependencies -- for example, telling you that the package
> fink-buildlock-base-files-1.9.15-1 conflicts with something else -- fink has 
> probably gotten confused by trying to build many packages at once. Try 
> building
> just this current package base-files (i.e, "fink build base-files"). 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-base-files-1.9.15-1 >/dev/null
> lockwait: Can't get lock: Invalid argument at /sw/bin/dpkg-lockwait line 44.
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 22
> Failed: buildlock failure
> ***
>
> Here's the result of the grep:
>
> $ grep pack /sw/bin/*lockwait
> /sw/bin/apt-get-lockwait:     ### Note this pack() is specific  to OS X and 
> Darwin!!!
> /sw/bin/apt-get-lockwait:     my $struct_flock = pack("lllliss", 0, 0, 0, 
> F_WRLCK, SEEK_SET);
> /sw/bin/dpkg-lockwait:        ### Note this pack() is specific  to OS X and 
> Darwin!!!
> /sw/bin/dpkg-lockwait:        my $struct_flock = pack("lllliss", 0, 0, 0, 
> F_WRLCK, SEEK_SET);
>
> md5sums of the modified files:
>
> $ md5sum /sw/bin/apt-get-lockwait
> b96f4814b49316f59f91664a659c515d  /sw/bin/apt-get-lockwait
> $ md5sum /sw/bin/dpkg-lockwait
> ae2a189919de0d535ffdc178c94fbd58  /sw/bin/dpkg-lockwait
>
>
> Jonas

It's not quite what I said, which is:

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

-- 
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-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to