On 12/29/13 6:18 AM, Jonas Maebe wrote: > > On 27 Dec 2013, at 20:28, Alexander Hansen wrote: > >> Try the following while we sort out what the "real" solution is going to be. >> Edit /sw/bin/dpkg-lockwait and /sw/bin/apt-get-lockwait as an administrator >> and change 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); > > Doesn't seem to work (my file system is case-insensitive HFS+ and I'm on > 10.6.8, fwiw): > > $ 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 2 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.10.18_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.10.18_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 > > > Jonas
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 -- 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