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

MSYS2 build error: "qmlcachegen.exe: Bad address" #1636

Closed
Lafudoci opened this issue Oct 11, 2018 · 9 comments
Closed

MSYS2 build error: "qmlcachegen.exe: Bad address" #1636

Lafudoci opened this issue Oct 11, 2018 · 9 comments
Labels

Comments

@Lafudoci
Copy link
Contributor

Lafudoci commented Oct 11, 2018

Built from last master 6ca3c.
Win7 x64 MSYS2
QMake version 3.1
Using Qt version 5.11.2 in C:/msys64/mingw64/lib

I found the same issue occured at aeonix#15.

/C/msys64/mingw64/bin/qmlcachegen.exe --resource-file-mapping=C:/msys64/home/x99/monero-gui/qml.qrc=C:/msys64/home/x99/monero-gui/build/qml_qmlcache.qrc -o release/qmlcache_loader.cpp ../qml.qrc
make[1]: execvp: /C/msys64/mingw64/bin/qmlcachegen.exe: Bad address
make[1]: *** [Makefile.Release:1029: release/qmlcache_loader.cpp] Error 127
make[1]: Leaving directory '/home/x99/monero-gui/build'
make: *** [Makefile:36: release] Error 2

Full log: https://paste.fedoraproject.org/paste/xdqtNp14H~b2oFgYp0m~hw

@sanderfoobar
Copy link
Contributor

sanderfoobar commented Oct 13, 2018

Solved on IRC. Best to use 5.11.1. 5.11.2 is known to have problems.

+resolved

@Lafudoci
Copy link
Contributor Author

Lafudoci commented Oct 14, 2018

@skftn Sorry this issue occurred on another machine (Win7). Using qt5.11.1 didn't resolve this. @rbrunner7 and me had no idea about the solution yet. In my case, the only difference from the working one is win7 vs. win10 but still needs more test.

update: reported from IRC it doesn't relate to win7

@Lafudoci
Copy link
Contributor Author

@skftn Could you reopen this? This issue wasn't resolved and also reported in #1559.

@sanderfoobar
Copy link
Contributor

sanderfoobar commented Oct 15, 2018

+reopen

@HarrisonHesslink
Copy link

Just run it again and it should work

@wrokvidLiac
Copy link

i did it and still same error!
even delete some qml_cache files and nothing
strace not working on mingw so i cant understand what is happening!

@stoffu
Copy link
Contributor

stoffu commented Dec 13, 2018

Resolved in #1796

@Lafudoci
Copy link
Contributor Author

Lafudoci commented Dec 13, 2018

@stoffu #1796 did solve my issue of qmlcachegen.exe: Bad address. Thank you!

@naughtyfox
Copy link

I still get this error:
make[1]: execvp: /C/msys64/mingw64/bin/qmlcachegen.exe: Bad address

when i'm trying to invoke in manually i get another error:

$ LANG=C /C/msys64/mingw64/bin/qmlcachegen.exe --resource-file-mapping=C:/exa/monero-gui/qml.qrc=C:/exa/monero-gui/build/qml_qmlcache.qrc -o release/qmlcache_loader.cpp ../qml.qrc
Error generating loader stub: ▒▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒ ▒▒▒▒.

which means that invocation passes. I think this is the bug in mingw make utility

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

No branches or pull requests

7 participants