Code Monkey home page Code Monkey logo

Comments (9)

markand avatar markand commented on June 14, 2024

After changing it, it now fails later:

make[2]: Leaving directory '/home/markand/AUR/mingw-w64-qt5-base/src/build-i686-w64-mingw32/src/tools/rcc'
cd 3rdparty/pcre/ && ( test -e Makefile || /home/markand/AUR/mingw-w64-qt5-base/src/build-i686-w64-mingw32/bin/qmake /home/markand/AUR/mingw-w64-qt5-base/src/qtbase-opensource-src-5.7.0/src/3rdparty/pcre/pcre.pro -qtconf /home/markand/AUR/mingw-w64-qt5-base/src/build-i686-w64-mingw32/bin/qt.conf -o Makefile ) && make -f Makefile 
Cannot find file: /home/markand/AUR/mingw-w64-qt5-base/src/qtbase-opensource-src-5.7.0/src/3rdparty/pcre/pcre.pro.
make[1]: *** [Makefile:164: sub-3rdparty-pcre-make_first] Error 2
make[1]: Leaving directory '/home/markand/AUR/mingw-w64-qt5-base/src/build-i686-w64-mingw32/src'
make: *** [Makefile:42: sub-src-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
markand@melon [git mingw-w64-qt5-base] (master) $ 
markand@melon [git mingw-w64-qt5-base] (master) $ find . -name pcre.pro
find: ā€˜./pkgā€™: Permission denied
./src/qtbase-opensource-src-5.7.0/config.tests/unix/pcre/pcre.pro

from pkgbuilds.

Martchus avatar Martchus commented on June 14, 2024

I will fixed the messed hashes, but I'm not sure about the other error. I want to rebuild the packages anyways to check whether the dynamic switch (for OpenGL backend) works. Maybe I can reproduce the error then. I see you're building in your home directory. However, it is preferable to build in a clean chroot for less interference with installed packages. You should definitely uninstall any previous version of mingw-w64-qt5-base first.

The project file which could not be found is removed in the PKGBUILD to use pcre provided by mingw-w64-pcre package instead of the bundled version. For me this works (at least it worked last time I tried to build the package), but you could try adding -system-pcre flag to explicitly specify usage system pcre.

from pkgbuilds.

Martchus avatar Martchus commented on June 14, 2024

You could try to build the version from qt5-dynamic-opengl branch. One of the hashes was wrong, indeed. I also added the mentioned flag to be sure system pcre is used. I'm currently trying to build it so let's wait whether I can reproduce the error.

When this link becomes valid you'll know the build succeeded for me: https://martchus.no-ip.biz/repo/arch/ownstuff/os/x86_64/mingw-w64-qt5-base-5.7.0-5-x86_64.pkg.tar.xz

from pkgbuilds.

markand avatar markand commented on June 14, 2024

I think you have mingw-w64-pcre installed because it built once installed. I think you have it installed from an other dependency because this package does not depend directly on mingw-w64-pcre. Would you mind adding this depend please? :)

I have removed the postgresql/mysql connectors from the PKGBUILD, I think the pcre depend should come from them.

from pkgbuilds.

Martchus avatar Martchus commented on June 14, 2024

pcre comes from glib2 and hence should be installed. Adding dependencies already pulled by other dependencies should be avoided I think but I can add it though.

BTW: The version from qt5-dynamic-opengl branch needs further fixing, just in case you tried to build it.

So installing mingw-w64-pcre solves the issue?

from pkgbuilds.

markand avatar markand commented on June 14, 2024

BTW: The version from qt5-dynamic-opengl branch needs further fixing, just in case you tried to build it.

I've just tried the one from the AUR with postgresql/mysql removed.

So installing mingw-w64-pcre solves the issue?

Yes :)

from pkgbuilds.

Martchus avatar Martchus commented on June 14, 2024

I've added mingw-w64-pcre explicitly and fixed the checksum so I guess this is resolved.

from pkgbuilds.

markand avatar markand commented on June 14, 2024

Thanks!

from pkgbuilds.

markand avatar markand commented on June 14, 2024

Thanks!

from pkgbuilds.

Related Issues (20)

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.