#1633 GCC won't install

INSTALLER
open
None
Bug
remind
Known_bugs
False
2013-02-11
2012-04-24
No

Hi,

I don't know whether this is true for any other package, but GCC was not installed although I selected the "C compiler" option in mingw-get-inst (the latest release: 20120421), while attempting a clean installation. I don't know whether this is a mingw-get or a mingw-get-inst bug, though.

Cheers,
Bogdan

Discussion

  • Keith Marshall

    Keith Marshall - 2012-04-24

    I'm inclined to suspect a mingw-get-inst problem; mingw-get itself WJFFM, (and GCC is one of the packages I've tested on, exhaustively, before the 0.5-beta release).

     
  • Keith Marshall

    Keith Marshall - 2012-04-24
    • assigned_to: keithmarshall --> cwilso11
     
  • Charles Wilson

    Charles Wilson - 2012-04-25

    Here are the two commands invoked by mingw-get-inst:

    C:\Windows\system32\cmd.exe /c mingw-get.exe update 2>&1 | "C:\MinGW-test\libexec\mingw-get\tee.exe" "C:\MinGW-test\var\log\mingw-get-log.orig.txt"

    and then

    C:\Windows\system32\cmd.exe /c mingw-get.exe install mingw-get pkginfo base gcc-core 2>&1 | "C:\MinGW-test\libexec\mingw-get\tee.exe" -a "C:\MinGW-test\var\log\mingw-get-log.orig.txt"

    I've attached two logs. The first ("Setup...") is created by mingw-get-inst itself (when you launch it with the /LOG option). The second is the result of those 'tee' commands above.

    It is apparent that, for some reason, mingw-get doesn't bother to download all of the necessary elements of 'base' and 'gcc-core' -- but then *pretends* to unpack them all the same. Unless I've messed up the command line, this seems to be a bug in mingw-get itself.

    For good measure, I repeated the experiment using mingw-get alone, without mingw-get-inst (and without the extra " 2>&1 | tee -a logfile" stuff -- that is:

    /c/Windows/system32/cmd.exe /c mingw-get.exe update

    /c/Windows/system32/cmd.exe /c mingw-get.exe install mingw-get pkginfo base gcc-core

    The behavior was unchanged: some obvious elements were not downloaded at all, but a pretense of unpacking and installing these missing tarballs was reported.

     
  • Charles Wilson

    Charles Wilson - 2012-04-25

    Log generated by mingw-get-inst

     
  • Charles Wilson

    Charles Wilson - 2012-04-25

    Log captured from mingw-get

     
    Attachments
  • Keith Marshall

    Keith Marshall - 2012-04-25

    Hmm. No bug reports at all, between the release of mingw-get-0.5 and the corresponding mingw-get-inst release, then, like omnibuses, three come along together. However, that may be a red herring, with mingw-get-inst simply being the catalyst to get those 'buses out of the garage.

    I assigned to you, Chuck, to ensure it didn't slip under your radar -- IIRC, you said that you don't religiously monitor the trackers. Armed with Albrecht Schlosser's detailed follow-up on the ML, and your own logs, I'm focusing attention back on mingw-get itself. It seems that the fix for bugs #3416013 and #3424406 has introduced a regression, whereby *some* packages are being scheduled for installation, without asserting the associated "download pending" flag; that should always be set at schedule time, for install or upgrade, then subsequently cleared on successful completion of the download, or on confirmation that the requisite package archive is already present in the local package cache.

    I'll follow-up anyway, but I'll leave it to you to assign back to me, in case you wish to activate ticket monitoring beforehand.

     
  • Keith Marshall

    Keith Marshall - 2012-04-25
    • priority: 5 --> 7
     
  • Keith Marshall

    Keith Marshall - 2012-04-26

    I've posted an interim release, with a Q&D fix. It's not the ultimate resolution, but should at least circumvent the immediate critical issue.

     
  • Charles Wilson

    Charles Wilson - 2012-04-27

    I've captured Keith's Q&D fix to mingw-get within mingw-get-inst-20120426. However, I'm leaving this bug open pending Keith's "ultimate fix", as well as waiting for a report from the OP that the new release(s) have fixed the problem.

     
  • Earnie Boyd

    Earnie Boyd - 2012-06-14

    OP are you still experiencing problems?

     
  • Earnie Boyd

    Earnie Boyd - 2012-06-14
    • milestone: --> Waiting_User_Response
    • status: open --> open-remind
     
  • Love4Boobies

    Love4Boobies - 2012-06-14

    Hi,

    No, it seems to be working now. Sorry, I was waiting for the non-Q&D fix before confirming that the problem is gone.

    Cheers,
    Bogdan

     
  • Keith Marshall

    Keith Marshall - 2012-06-14

    > I was waiting for the non-Q&D fix ...

    That may be some time in coming; my time for working on mingw-get is extremely limited, at present.

     
  • Keith Marshall

    Keith Marshall - 2012-06-14
    • assigned_to: cwilso11 --> keithmarshall
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-21
    • status: open-remind --> open
    • resolution: --> remind
    • category: --> Waiting_User_Response
    • milestone: Waiting_User_Response --> INSTALLER
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-11
    • labels: mingw-get -->
    • type: --> Bug
    • category: Waiting_User_Response --> Known_bugs
    • patch_attached: --> False
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks