GithubHelp home page GithubHelp logo

mdimura / docker-mingw-arch Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 10.0 37 KB

mingw-based build environment based on arch-linux. Easy cross-compilation for windows target.

License: MIT License

Dockerfile 94.33% Shell 5.67%

docker-mingw-arch's People

Contributors

burning-daylight avatar mdimura avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-mingw-arch's Issues

yay -S --noedit is no more valid

Current yay doesn't support --noedit flag so README is misleading.

Still:

yay -S --noconfirm mingw-w64-fftw-bin mingw-w64-libogg mingw-w64-libvorbis-bin

Fails with:
error: failed retrieving file
under docker (gitlab)

error: key "E06FE8F53CDC6A4C" could not be looked up remotely

Hi im using this image through gitlab ci/cd and wanted to install qtwebkit with "yay -Sy --noconfirm mingw-w64-qt5-webkit". Unfortunately it fails with above error. Is there anything i can do?

Here's some more log:

$ yay -Sy --noconfirm mingw-w64-qt5-webkit
:: Synchronizing package databases...
downloading core.db...
downloading extra.db...
downloading community.db...
downloading ownstuff.db...
:: There are 5 providers available for java-runtime:
:: Repositoryextra
    1) jre-openjdk 2) jre11-openjdk 3) jre7-openjdk 4) jre8-openjdk :: Repositoryownstuff
    5) jre10-openjdk 
Enter a number (default=1): 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo:6]  mingw-w64-libgpg-error-1.43-1  mingw-w64-libgcrypt-1.9.4-1  mingw-w64-libxslt-1.1.34-1  mingw-w64-icu-70.1-1  mingw-w64-giflib-5.2.1-5  mingw-w64-libwebp-1.2.1-1
[Repo Make:21]  python2-2.7.18-5  python2-appdirs-1.4.4-3  python2-pyparsing-2.4.7-3  python2-six-1.16.0-1  python2-packaging-20.9-2  python2-ordered-set-3.1.1-3  python2-setuptools-2:44.1.1-1  python-3.9.7-2  java-runtime-common-3-3  nspr-4.32-1  nss-3.72-2  libnet-1:1.1.6-1  jre-openjdk-headless-17.0.1.u12-1  giflib-5.2.1-2  jre-openjdk-17.0.1.u12-1  gperf-3.1-3  libyaml-0.2.5-1  rubygems-3.2.29-1  ruby-reline-0.2.5-1  ruby-irb-1.3.6-1  ruby-3.0.2-2
[Aur:2]  mingw-w64-angleproject-2.1.r6381.9f09037-2  mingw-w64-qt5-webkit-5.9.0-1
[Aur Make:2]  gyp-git-2077.8e8c317-1  depot-tools-git-r8355.04d9c8345-1
:: Downloaded PKGBUILD (1/4): gyp-git
:: Downloaded PKGBUILD (2/4): depot-tools-git
:: Downloaded PKGBUILD (3/4): mingw-w64-qt5-webkit
:: Downloaded PKGBUILD (4/4): mingw-w64-angleproject
  4 gyp-git                                  (Build Files Exist)
  3 depot-tools-git                          (Build Files Exist)
  2 mingw-w64-angleproject                   (Build Files Exist)
  1 mingw-w64-qt5-webkit                     (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/4) Parsing SRCINFO: gyp-git
:: (2/4) Parsing SRCINFO: depot-tools-git
:: (3/4) Parsing SRCINFO: mingw-w64-angleproject
:: (4/4) Parsing SRCINFO: mingw-w64-qt5-webkit
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 ownstuff is up to date
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: ruby will be installed before its rubygems dependency
warning: dependency cycle detected:
warning: ruby-irb will be installed before its ruby dependency
warning: dependency cycle detected:
warning: ruby-reline will be installed before its ruby dependency
Packages (27) giflib-5.2.1-2  gperf-3.1-3  java-runtime-common-3-3  jre-openjdk-17.0.1.u12-1  jre-openjdk-headless-17.0.1.u12-1  libnet-1:1.1.6-1  libyaml-0.2.5-1  mingw-w64-giflib-5.2.1-5  mingw-w64-icu-70.1-1  mingw-w64-libgcrypt-1.9.4-1  mingw-w64-libgpg-error-1.43-1  mingw-w64-libwebp-1.2.1-1  mingw-w64-libxslt-1.1.34-1  nspr-4.32-1  nss-3.72-2  python-3.9.7-2  python2-2.7.18-5  python2-appdirs-1.4.4-3  python2-ordered-set-3.1.1-3  python2-packaging-20.9-2  python2-pyparsing-2.4.7-3  python2-setuptools-2:44.1.1-1  python2-six-1.16.0-1  ruby-3.0.2-2  ruby-irb-1.3.6-1  ruby-reline-0.2.5-1  rubygems-3.2.29-1
Total Download Size:    97.51 MiB
Total Installed Size:  542.82 MiB
:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading python-3.9.7-2-x86_64.pkg.tar.zst...
downloading nspr-4.32-1-x86_64.pkg.tar.zst...
downloading nss-3.72-2-x86_64.pkg.tar.zst...
downloading python2-2.7.18-5-x86_64.pkg.tar.zst...
downloading python2-appdirs-1.4.4-3-any.pkg.tar.zst...
downloading python2-pyparsing-2.4.7-3-any.pkg.tar.zst...
downloading python2-six-1.16.0-1-any.pkg.tar.zst...
downloading python2-packaging-20.9-2-any.pkg.tar.zst...
downloading python2-ordered-set-3.1.1-3-any.pkg.tar.zst...
downloading python2-setuptools-2:44.1.1-1-any.pkg.tar.zst...
downloading java-runtime-common-3-3-any.pkg.tar.zst...
downloading libnet-1:1.1.6-1-x86_64.pkg.tar.zst...
downloading jre-openjdk-headless-17.0.1.u12-1-x86_64.pkg.tar.zst...
downloading giflib-5.2.1-2-x86_64.pkg.tar.zst...
downloading jre-openjdk-17.0.1.u12-1-x86_64.pkg.tar.zst...
downloading gperf-3.1-3-x86_64.pkg.tar.zst...
downloading libyaml-0.2.5-1-x86_64.pkg.tar.zst...
downloading ruby-3.0.2-2-x86_64.pkg.tar.zst...
downloading rubygems-3.2.29-1-any.pkg.tar.zst...
downloading ruby-reline-0.2.5-1-any.pkg.tar.zst...
downloading ruby-irb-1.3.6-1-any.pkg.tar.zst...
downloading mingw-w64-libgpg-error-1.43-1-any.pkg.tar.zst...
downloading mingw-w64-libgcrypt-1.9.4-1-any.pkg.tar.zst...
downloading mingw-w64-libxslt-1.1.34-1-any.pkg.tar.zst...
downloading mingw-w64-icu-70.1-1-any.pkg.tar.zst...
downloading mingw-w64-giflib-5.2.1-5-any.pkg.tar.zst...
downloading mingw-w64-libwebp-1.2.1-1-any.pkg.tar.zst...
checking keyring...
downloading required keys...
:: Import PGP key E06FE8F53CDC6A4C, "Martchus <[email protected]>"? [Y/n] 
error: key "E06FE8F53CDC6A4C" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
error installing repo packages
Cleaning up file based variables
00:02
ERROR: Job failed: exit code 1

[Feature request] Allow static builds

This is awesome, thanks for the work creating this Docker image.

Could you please add also support for static builds? For projects compatible with LGPL, having the option to build binaries statically is great. I do it regularly in my Arch machine, and IIRC the only thing I had to install was mingw-w64-qt5-base-static, then add to the .pro file:

CONFIG+=static
CONFIG+=no_smart_library_merge
QTPLUGIN+=qwindows

windeployqt is not working ?

Trying to use windeployqt on my succesfully generated .exe results in:
[devel@5bd0432e0abb ~]$ x86_64-w64-mingw32-windeployqt-qt5 /home/devel/boomrtx/build/tools/boomconfig/boomconfig.exe Unable to query qmake: qmake returns 255:

I started digging for possible answers, but maybe you would know better :)

Nice work on that image, btw.

Git without ssh

can you add openssh package for working with git ssh repo, tnx

QTSerialPort missing

Hello. Could you add mingw-w64-qt5-serialport to a list of installed packages?

alot of -qt missing for EmbroiderModder

i've been trying to build EmbroiderModder 2 on windows for a long time with no success
finally i've found your docker image when trying here's what i get after a long time of making ..

cd ../../libembroidery-convert/ && make -f Makefile 
make[1]: Entering directory '/home/hammi/Embroidermodder/libembroidery-convert'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/hammi/Embroidermodder/libembroidery-convert'
cd ../../embroidermodder2/ && make -f Makefile 
make[1]: Entering directory '/home/hammi/Embroidermodder/embroidermodder2'
linking embroidermodder2.exe
/home/hammi/.mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqtmaind
/home/hammi/.mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lwindowsprintersupportd
/home/hammi/.mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqwindowsvistastyled
/home/hammi/.mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqwindowsd
/home/hammi/.mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqgifd
/home/hammi/.mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqicod
/home/hammi/.mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqjpegd
collect2: error: ld returned 1 exit status
Makefile:652: recipe for target 'embroidermodder2.exe' failed
make[1]: *** [embroidermodder2.exe] Error 1
make[1]: Leaving directory '/home/hammi/Embroidermodder/embroidermodder2'
Makefile:76: recipe for target 'sub-------embroidermodder2-make_default-ordered' failed
make: *** [sub-------embroidermodder2-make_default-ordered] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.