On 12/27/13 8:31 AM, Jonas Maebe wrote: > > On 27 Dec 2013, at 17:14, Alexander Hansen wrote: > >> On 12/27/13 6:45 AM, Richard Miles wrote: >>> See https://github.com/fink/fink/wiki/Buildlocks for more information. >>> /sw/bin/dpkg-lockwait -r fink-buildlock-fink-mirrors-0.36.1.1-1 >/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 >> >> What happens if you just use "fink install fink-mirrors"? I haven't >> seen this particular error before. > > I'm seeing the same on 10.6 after an rsync update. Here's the result of "fink > install fink-mirrors" after the error occurred in the middle of the "fink > selfupdate" process: > > $ fink install fink-mirrors > Information about 12707 packages read in 2 seconds. > The following package will be installed or updated: > fink-mirrors > Setting runtime build-lock... > dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-fink-mirrors-0.36.1.1-1 > /sw/src/fink.build > dpkg-deb: building package `fink-buildlock-fink-mirrors-0.36.1.1-1' in > `/sw/src/fink.build/fink-buildlock-fink-mirrors-0.36.1.1-1_2013.12.27-17.29.46_darwin-i386.deb'. > Installing build-lock package... > /sw/bin/dpkg-lockwait -i > /sw/src/fink.build/fink-buildlock-fink-mirrors-0.36.1.1-1_2013.12.27-17.29.46_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-mirrors (0.36.1.1-1) > > If any of the above dpkg error messages mention conflicting packages or > missing dependencies -- for example, telling you that the package > fink-buildlock-fink-mirrors-0.36.1.1-1 > conflicts with something else -- fink has probably gotten confused by trying > to build many packages at once. Try building just this current package > fink-mirrors (i.e, "fink build > fink-mirrors"). 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-mirrors-0.36.1.1-1 >/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 > >> Also, what does "fink -V" return? > > $ fink -V > Package manager version: 0.36.3 > Distribution version: selfupdate-rsync Fri Dec 27 17:29:10 2013, 10.6, i386 > Trees: local/main stable/main stable/crypto unstable/main unstable/crypto > > Copyright (c) 2001 Christoph Pfisterer > Copyright (c) 2001-2013 The Fink Package Manager Team > This program is distributed in the hope that it will be useful, > but WITHOUT ANY WARRANTY; without even the implied warranty of > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU General Public License for more details. > > > Jonas
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); -- 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