Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows QuickStart fails #1241

Open
fredimartins opened this issue Sep 9, 2017 · 11 comments
Open

Windows QuickStart fails #1241

fredimartins opened this issue Sep 9, 2017 · 11 comments

Comments

@fredimartins
Copy link

C:\WINDOWS\system32>choco install sming -y -source 'https://www.myget.org/f/sming/'
Chocolatey v0.10.8
Installing the following packages:
sming
By installing you accept licenses for the packages.
sming not installed. An error occurred during installation:
Unable to resolve dependency 'jre8 '.
sming package files install completed. Performing other installation steps.
The install of sming was NOT successful.
sming not installed. An error occurred during installation:
Unable to resolve dependency 'jre8 '.

Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures

  • sming (exited 1) - sming not installed. An error occurred during installation:
    Unable to resolve dependency 'jre8 '.
@slaff
Copy link
Contributor

slaff commented Sep 15, 2017

Just run as an admin user the command below:

choco install -y sming

That should install all needed packages. In the future we may remove the Eclipse IDE as a dependant package.

@kwis2
Copy link

kwis2 commented Sep 16, 2017

with choco install -y sming on fresh system I got

Chocolatey v0.10.8
Installing the following packages:
sming
By installing you accept licenses for the packages.
sming not installed. An error occurred during installation:
Unable to resolve dependency 'spiffy '.
sming package files install completed. Performing other installation steps.
The install of sming was NOT successful.
sming not installed. An error occurred during installation:
Unable to resolve dependency 'spiffy '.

Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures

  • sming (exited 1) - sming not installed. An error occurred during installation
    :
    Unable to resolve dependency 'spiffy '.

and in log file

2017-09-16 21:07:23,528 2976 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2017-09-16 21:07:23,538 2976 [INFO ] - Installing the following packages:
2017-09-16 21:07:23,538 2976 [INFO ] - sming
2017-09-16 21:07:23,538 2976 [INFO ] - By installing you accept licenses for the packages.
2017-09-16 21:07:25,130 2976 [INFO ] - [NuGet] Attempting to resolve dependency 'eclipse-cpp '.
2017-09-16 21:07:25,300 2976 [INFO ] - [NuGet] Attempting to resolve dependency 'jre8 '.
2017-09-16 21:07:25,510 2976 [INFO ] - [NuGet] Attempting to resolve dependency 'esp8266-udk '.
2017-09-16 21:07:25,621 2976 [INFO ] - [NuGet] Attempting to resolve dependency 'mingw-get '.
2017-09-16 21:07:25,691 2976 [INFO ] - [NuGet] Attempting to resolve dependency '7zip.commandline'.
2017-09-16 21:07:25,821 2976 [INFO ] - [NuGet] Attempting to resolve dependency '7zip.portable'.
2017-09-16 21:07:26,452 2976 [INFO ] - [NuGet] Attempting to resolve dependency 'sming.core '.
2017-09-16 21:07:26,452 2976 [INFO ] - [NuGet] Attempting to resolve dependency 'spiffy '.
2017-09-16 21:07:26,562 2976 [ERROR] - sming not installed. An error occurred during installation:
Unable to resolve dependency 'spiffy '.
2017-09-16 21:07:26,582 2976 [INFO ] - sming package files install completed. Performing other installation steps.
2017-09-16 21:07:26,582 2976 [DEBUG] - No package information as package is null.
2017-09-16 21:07:26,602 2976 [DEBUG] - No package information to save as package is null.
2017-09-16 21:07:26,602 2976 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2017-09-16 21:07:26,602 2976 [ERROR] - The install of sming was NOT successful.
2017-09-16 21:07:26,612 2976 [ERROR] - sming not installed. An error occurred during installation:
Unable to resolve dependency 'spiffy '.
2017-09-16 21:07:26,622 2976 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2017-09-16 21:07:26,622 2976 [INFO ] -
2017-09-16 21:07:26,622 2976 [ERROR] - Failures
2017-09-16 21:07:26,632 2976 [ERROR] - - sming (exited 1) - sming not installed. An error occurred during installation:
Unable to resolve dependency 'spiffy '.
2017-09-16 21:07:26,632 2976 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2017-09-16 21:07:26,722 2976 [DEBUG] - Exiting with 1

@slaff
Copy link
Contributor

slaff commented Sep 18, 2017

Ok, may be I was not clear enough. But if you are following our updated Wiki guide you will see that FIRST you have to add sming to the list of repositories with

choco sources add -name smingrepo -source 'https://www.myget.org/F/sming/'

And THEN run

choco install -y sming

@R3cycl0r
Copy link

I'm having the same issue about "spiffy" also adding first the list of repos and then running installer, what to do?

@kwis2
Copy link

kwis2 commented Sep 18, 2017

@slaff my procedure of windows install looks like below.
fresh VM with win 7 pro with jre8 and 7zip instaled

cmd as admin
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

then
choco sources add -name smingrepo -source 'https://www.myget.org/F/sming/'

finally in powershell as admin
choco install -y sming

it work fine untill mingw install - it hangs with window with C:\ProgramData\cocolatey\bin\7zip.exe

MinGW
mingw-get
WARNING: Url has SSL/TLS available, switching to HTTPS for download
Downloading mingw-get
from 'https://prdownloads.sourceforge.net/mingw/mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz?download'
Progress: 100% - Completed download of C:\Users\pomiar\AppData\Local\Temp\chocolatey\mingw-get\mingw-get-0.6.2-mingw32-b
eta-20131004-1-bin.tar.xz (260.27 KB).
Download of mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz (260.27 KB) completed.
C:\Users\pomiar\AppData\Local\Temp\chocolatey\mingw-get\mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz
Extracting 'C:\Users\pomiar\AppData\Local\Temp\chocolatey\mingw-get\mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz'
to 'C:\tools\MinGW'

For information below is full install log
https://github.com/kwis2/Windows-QuickStart-fails/blob/master/log_1.txt

@fredimartins
Copy link
Author

exacly same here, it work fine untill mingw install - it hangs with window with C:\ProgramData\cocolatey\bin\7zip.exe

@kwis2
Copy link

kwis2 commented Sep 21, 2017

Witha another try to install sming
VM, Win 7 pro 32 bit, procedure as above, but while install hangs on 7zip window I manually unpacked files

install hangs on May not be able to find 'C:\tools\mingw64\bin\mingw-get.exe' which file was in c:\tools\MinGW folder.

Installing / updading required mingw packages
WARNING: May not be able to find 'C:\tools\mingw64\bin\mingw-get.exe'. Please use full path for executables.
ERROR: Exception calling "Start" with "0" argument(s): "Nie można odnaleźć określonego pliku"
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type refreshenv).
The install of sming was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\sming\tools\chocolateyInstall.ps1'.
See log for details.

Chocolatey installed 9/10 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Installed:

  • 7zip.portable v16.04
  • 7zip.commandline v16.02.0.20170209
  • spiffy v1.0.4
  • jre8 v8.0.144
  • mingw-get v1.0.2
  • sming.core v3.3.0
  • eclipse-cpp v4.4.2.20150413
  • esp8266-udk v2.1.0
  • mingw v5.3.0

Failures

  • sming (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\sming\tools\chocolateyInstall.ps1'.
    See log for details.
    PS C:\Windows\system32>

So I decided to copy MinGW into mingw64, and installation was succesfull with a lot of errors like

mingw-get.exe: *** ERROR *** C:\tools\mingw64/msys/1.0/share/man/man1/xargs.1: extraction failed
mingw-get.exe: *** ERROR *** C:\tools\mingw64/msys/1.0/share/man/man1/xargs.1: probable package conflict; existing file
not overwritten

and finally I decide to run choco install --force -y sming and got

The install of sming was successful.
Software installed to 'C:\tools\sming'

Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

but make don't work at all

edit:
after reset make works, but

......
C+ system/stringconversion.cpp
make[1]: *** [out/build/system/stringconversion.o] Error 1
make[1]: Leaving directory `/C/tools/sming/Sming'
make: *** [reload] Error 2

and cc1plus.exe stop work !!!

cocolatey log https://github.com/kwis2/Windows-QuickStart-fails/blob/master/chocolatey.txt

@anthonyvallee
Copy link

I am having the same issue here, choco install -y sming hangs with 7zip not extracting the files.

@bryanlikes
Copy link

I also have the exact same symptoms as kwis2 post on sept 21.

@kwis2
Copy link

kwis2 commented Nov 20, 2017

choco still not work on 32 bit windows, and it try to install old, 3.3.0 version of sming

@kwis2
Copy link

kwis2 commented Nov 25, 2017

Now there is no problem with 7zip, but now there is another problem.

Chocolatey installed 6/8 packages. 2 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Installed:

  • 7zip.portable v16.04
  • 7zip.commandline v16.02.0.20170209
  • spiffy v1.0.4
  • sming.core v3.3.0
  • esp8266-udk v2.1.0
  • mingw v5.3.0

Failures

  • mingw-get (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\mingw-get\tools\chocolateyInstall.ps1'.
    See log for details.

  • sming (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\sming\tools\chocolateyInstall.ps1'.
    See log for details.

below is full log chocolatey.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants