[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-beginners
Subject:    Re: [Fink-beginners] gcc44-compiler install fails
From:       Jonathan Winger <wingerj () berkeley ! edu>
Date:       2010-06-08 19:50:26
Message-ID: 7F9CBEA6-005F-4B4F-9EA7-6989D45549EE () berkeley ! edu
[Download RAW message or body]

On Jun 8, 2010, at 12:28 PM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 6/8/10 3:17 PM, Jonathan Winger wrote:
> > 
> > On Jun 8, 2010, at 12:06 PM, Alexander Hansen wrote:
> > 
> > On 6/8/10 1:36 PM, Alexander Hansen wrote:
> > > > > On 6/8/10 1:04 PM, Jonathan Winger wrote:
> > > > > 
> > > > > > On Jun 7, 2010, at 6:25 PM, Alexander Hansen wrote:
> > > > > 
> > > > > > On 6/7/10 9:05 PM, Jonathan Winger wrote:
> > > > > > > > > Mac Pro, 2 x 2.66 GHz Dual-Core Intel Xeon, OSX 10.6.3, Fink \
> > > > > > > > > 0.29.99.cvs. 
> > > > > > > > > Install of gcc44-compiler fails with the following messages:
> > > > > > > > > 
> > > > > > > > > % fink install gcc44-compiler
> > > > > > > > > Information about 8964 packages read in 1 seconds.
> > > > > > > > > The following package will be installed or updated:
> > > > > > > > > gcc44-compiler
> > > > > > > > > Reading buildlock packages...
> > > > > > > > > /sw/bin/dpkg-lockwait -i \
> > > > > > > > > /sw/fink/dists/unstable/main/binary-darwin-x86_64/languages/gcc44-compiler_4.4.4-1000_darwin-x86_64.deb
> > > > > > > > >  (Reading database ... 
> > > > > > > > > dpkg: serious warning: files list file for package `gcc44-compiler' \
> > > > > > > > > missing, assuming package has no files currently installed. 64162 \
> > > > > > > > > files and directories currently installed.) Preparing to replace \
> > > > > > > > > gcc44-compiler 4.4.4-1000 (using \
> > > > > > > > > .../gcc44-compiler_4.4.4-1000_darwin-x86_64.deb) ... Unpacking \
> > > > > > > > >                 replacement gcc44-compiler ...
> > > > > > > > > /sw/bin/dpkg-deb: unexpected end of file in between members in \
> > > > > > > > > /sw/fink/dists/unstable/main/binary-darwin-x86_64/languages/gcc44-compiler_4.4.4-1000_darwin-x86_64.deb
> > > > > > > > >  dpkg(9557,0x7fff70fc9be0) malloc: *** error for object \
> > > > > > > > >                 0x7fff5fc43c18: pointer being freed was not \
> > > > > > > > >                 allocated
> > > > > > > > > *** set a breakpoint in malloc_error_break to debug
> > > > > > > > > ### execution of /sw/bin/dpkg-lockwait failed, exit code 134
> > > > > > > > > Failed: can't install package gcc44-compiler-4.4.4-1000
> > > > > > > > > 
> > > > > > > > > I tried moving /usr/local in case it was interfering, as per \
> > > > > > > > > FAQ#6.8 \
> > > > > > > > > <http://www.finkproject.org/faq/comp-general.php?#usr-local-libs>, \
> > > > > > > > > but got the same error.  
> > > > > > > > > Help?
> > > > > > > > > 
> > > > > > > > > Thanks,
> > > > > > > > > jon
> > > > > 
> > > > > > That FAQ only applies at compile time, not at install time--it's
> > > > > > typically associated with immediately fatal errors.
> > > > > 
> > > > > > Try closing applications down as a quick-and-dirty thing to try.
> > > > > 
> > > > > > If that doesn't work, I found upon searching the list archives that
> > > > > > prior instances of this problem were associated with the generation of a
> > > > > > corrupted .deb file during the compile phase.
> > > > > 
> > > > > > Try "fink -l rebuild gcc44-compiler", and if you get the same error,
> > > > > > check the fink-build-gcc44-* log in /tmp to see what's going on during
> > > > > > the .deb generation phase.
> > > > > 
> > > > > > Hi Alexander,
> > > > > 
> > > > > > "fink -l rebuild gcc44-compiler" seemed to work - the package seems to \
> > > > > > have been installed.  However, I still get a few of the following \
> > > > > > messages: 
> > > > > 
> > > > > > dpkg: serious warning: files list file for package `gcc44-compiler' \
> > > > > > missing, assuming package has no files currently installed.
> > > > > 
> > > > > > Why is this?  Is it a cause for concern? (Relevant part of the output \
> > > > > > shown below)
> > > > > 
> > > > > > Thanks again,
> > > > > > Jon
> > > > > 
> > > > > > Removing runtime build-lock...
> > > > > > Removing build-lock package...
> > > > > > /sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.4-1000
> > > > > > (Reading database ... 
> > > > > > dpkg: serious warning: files list file for package `gcc44-compiler' \
> > > > > > missing, assuming package has no files currently installed. 64163 files \
> > > > > > and directories currently installed.) Removing \
> > > > > > fink-buildlock-gcc44-4.4.4-1000 ... Closed logfile \
> > > > > > /tmp/fink-build-log_gcc44_4.4.4-1000_2010.06.07-19.03.59 Reading \
> > > > > >                 buildlock packages...
> > > > > > /sw/bin/dpkg-lockwait -i \
> > > > > > /sw/fink/dists/unstable/main/binary-darwin-x86_64/languages/gcc44-shlibs_4.4.4-1000_darwin-x86_64.deb
> > > > > >  (Reading database ... 
> > > > > > dpkg: serious warning: files list file for package `gcc44-compiler' \
> > > > > > missing, assuming package has no files currently installed. 64162 files \
> > > > > > and directories currently installed.) Preparing to replace gcc44-shlibs \
> > > > > > 4.4.4-1000 (using .../gcc44-shlibs_4.4.4-1000_darwin-x86_64.deb) ... \
> > > > > > Unpacking replacement gcc44-shlibs ... Setting up gcc44-shlibs \
> > > > > > (4.4.4-1000) ... Clearing dependency_libs of .la files being installed
> > > > > 
> > > > > > Updating the list of locally available binary packages.
> > > > > > Scanning dists/unstable/main/binary-darwin-x86_64
> > > > > > Changed package: \
> > > > > > dists/unstable/main/binary-darwin-x86_64/languages/gcc44-compiler_4.4.4-1000_darwin-x86_64.deb
> > > > > >  Changed package: \
> > > > > > dists/unstable/main/binary-darwin-x86_64/languages/gcc44-shlibs_4.4.4-1000_darwin-x86_64.deb
> > > > > >  Changed package: \
> > > > > > dists/unstable/main/binary-darwin-x86_64/languages/gcc44_4.4.4-1000_darwin-x86_64.deb
> > > > > > 
> > > > > 
> > > > > 
> > > > > Actually, you'll need to go back further in the log.  The "serious
> > > > > warning" indicates that for some reason no files got put in the
> > > > > gcc-compiler splitoff package, and we'll want to see why that happened.
> > > > > 
> > > > > You can probably just hunt for the first instance of gcc44-compiler in
> > > > > your log and go from there.
> > 
> > Actually, thinking about it, how about checking the output of
> > 
> > dpkg -c
> > /sw/fink/dists/unstable/main/binary-darwin-x86_64/languages/gcc44-compiler_4.4.4-1000_darwin-x86_64.deb
> >  
> > 
> > It just occurred to me that the "gcc44-compiler" gripe may be from your
> > prior attempt, and it may be OK no.
> 
> > Hi Alexander,
> 
> > dpkg -c
> > /sw/fink/dists/unstable/main/binary-darwin-x86_64/languages/gcc44-compiler_4.4.4-1000_darwin-x86_64.deb
> > 
> 
> > returns a huge list of stuff.  Does that mean that all is ok?  Would it return \
> > nothing if in fact something was wrong?
> 
> > Thanks,
> > Jon
> 
> (I looked at your log file rather than sending it to the list--it's
> rather big even yet).
> 
> Correct.  The  command would return nothing if _that file_ were bad.
> 
> Using "fink reinstall gcc-compiler" should therefore clear the message.
> 
> - -- 
> Alexander Hansen
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkwOmdgACgkQB8UpO3rKjQ/odQCfSZUPAhu2sVOkE3lMlUTdGCnO
> nIoAn2Tm7we9191nacpoZo8DyYv0WxAK
> =5LaV
> -----END PGP SIGNATURE-----

Hi Alexander,
That did the trick.  Thanks for all of your help!
Jon



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic