Reply to topic

Craft fails to install kstars (fails at msys)

gorwell
Registered Member
Posts
2
Karma
0
Ok, so running "craft kstars" did a lot of things, but eventually the install ended up with an error I can't get over.
My system is Windows 10 x64, using msvc_2017_64-cl as my compiler.

In short, msys install fails (specifically post-qmerge) while running autorebase.bat.

Code: Select all
*** Action: compile for dev-utils/msys ***
*** Action: cleanimage for dev-utils/msys ***
*** Action: install for dev-utils/msys ***
*** Action: post-install for dev-utils/msys ***
*** Action: qmerge for dev-utils/msys ***
executing command: H:\CraftRoot\dev-utils\bin\shimgen.exe --output H:\CraftRoot\build\dev-utils\msys\image-Debug-base\dev-utils\bin\msys.exe --path python3.exe --command H:\CraftRoot\craft\bin\shells.py
*** Action: post-qmerge for dev-utils/msys ***

upgrading sed...
upgrading libffi...
upgrading libgpg-error...
upgrading libgcrypt...
upgrading glib2...
upgrading libcurl...
upgrading curl...
upgrading grep...
upgrading dash...
upgrading dtc...
upgrading file...
upgrading gawk...
upgrading libassuan...
installing libgnutls...
installing libksba...
installing libnpth...
installing nettle...
installing pinentry...
upgrading gnupg...
==> Appending keys from msys2.gpg...
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Locally signing trusted keys in keyring...
  -> Locally signing key D55E7A6D7CE9BA1587C0ACACF40D263ECA25678A...
  -> Locally signing key 123D4D51A1793859C2BE916BBBE514E53E0D0813...
  -> Locally signing key B91BCF3303284BF90CC043CA9F418C233E652008...
  -> Locally signing key 9DD0D4217D75A33B896159E6DA7EF2ABAEEA755C...
==> Importing owner trust values...
==> Updating trust database...
gpg: no need for a trustdb check
upgrading libarchive...
upgrading libgpgme...
upgrading libpcre16...
upgrading libpcre32...
upgrading libpcrecpp...
upgrading libpcreposix...
upgrading m4...
upgrading pcre...
upgrading rebase...
upgrading time...
upgrading ttyrec...
upgrading xz...
executing command: autorebase.bat
rebase: Too many DLLs for available address space: Cannot allocate memory
Action: post-qmerge for dev-utils/msys FAILED
*** Craft all failed: dev-utils/msys after 1 minute 48 seconds ***
fatal error: package dev-utils/msys all failed


And since msys post-qmerge seems to have failed, running "craft kstars" again results in another error, no doubt due to not completing the msys install completely:

Code: Select all
*** Action: compile for libs/shared-mime-info ***
*** bash execute: H:\CraftRoot\msys\usr\bin\bash.exe -c "cd /h/CraftRoot/build/libs/shared-mime-info/work/shared-mime-info-1.9 && autoreconf -vfi" ***
executing command: "H:\CraftRoot\msys\usr\bin\bash.exe" -c "cd /h/CraftRoot/build/libs/shared-mime-info/work/shared-mime-info-1.9 && autoreconf -vfi"
/usr/bin/bash: autoreconf: command not found
*** bash execute: H:\CraftRoot\msys\usr\bin\bash.exe -c "cd /h/CraftRoot/build/libs/shared-mime-info/work/Debug-1.9 && /h/CraftRoot/build/libs/shared-mime-info/work/shared-mime-info-1.9/configure   --disable-default-make-check --disable-update-mimedb PKG_CONFIG=':'  --prefix='/h/CraftRoot'  --datarootdir='/h/CraftRoot/bin/data' " ***
executing command: "H:\CraftRoot\msys\usr\bin\bash.exe" -c "cd /h/CraftRoot/build/libs/shared-mime-info/work/Debug-1.9 && /h/CraftRoot/build/libs/shared-mime-info/work/shared-mime-info-1.9/configure   --disable-default-make-check --disable-update-mimedb PKG_CONFIG=':'  --prefix='/h/CraftRoot'  --datarootdir='/h/CraftRoot/bin/data' "
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether make supports nested variables... (cached) no
checking for gcc... cl -nologo
checking whether the C compiler works... yes
checking for C compiler default output file name... conftest.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... obj
checking whether we are using the GNU C compiler... no
checking whether cl -nologo accepts -g... no
checking for cl -nologo option to accept ISO C89... none needed
checking whether cl -nologo understands -c and -o together... no
checking for style of include used by make... none
checking dependency style of /h/CraftRoot/build/libs/shared-mime-info/work/shared-mime-info-1.9/compile cl -nologo... none
checking for an ANSI C-conforming const... yes
checking whether NLS is requested... yes
/h/CraftRoot/build/libs/shared-mime-info/work/shared-mime-info-1.9/configure: line 4037: intltool-update: command not found
checking for intltool >= 0.35.0...  found
configure: error: Your intltool is too old.  You need intltool 0.35.0 or later.
Action: compile for libs/shared-mime-info FAILED
*** Craft all failed: libs/shared-mime-info after 16 seconds ***
fatal error: package libs/shared-mime-info all failed


Any ideas how to fix? Perhaps closely related to this: https://www.mail-archive.com/cygwin@cyg ... 55547.html
Although I have no clue how I could possibly revert to a previous library version in Craft. Any wise wizards around?
gorwell
Registered Member
Posts
2
Karma
0
Ok, found a workaround.

Since I'm building on x64 environment and apparently rebase is done for mingw32 it doesn't matter - I commented out the lines in autorebase.bat, then ran
Code: Select all
craft --post-qmerge dev-utils/msys
to finish the install properly, and then proceeded to
Code: Select all
craft kstars
and now everything finished properly and I had a built and runnable kstars.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], boudewijn, davide445, everwaerde, Google [Bot], hiteshshah, madkhoram, Mamarok, millaan, philippea, raphaelra