Good morning, I try to create a package for Qt 5.12.6 based on the PKGBUILD delivered with 5.12.4. I adapted the version number and the sha256 checksum and followed the manual here: https://github.com/msys2/msys2/wiki/Creating-packages
I only need the x64 version so I started compiling this way: MINGW_INSTALLS=mingw64 makepkg-mingw -sCLf Everything seems to be fine till it comes to the configure script of Qt. The following error occurs: ERROR: Feature 'system-freetype' was enabled, but the pre-condition 'features.freetype && libs.freetype' failed. Some lines before: [...] Checking for EGL... no Checking for evdev... no Checking for FreeType... no Checking for GBM... no [...] So it doesn't find freetype. But pacman says that it is installed. $ pacman -Ss freetype mingw32/mingw-w64-i686-freetype 2.10.1-1 [Installiert] TrueType font rendering library (mingw-w64) mingw64/mingw-w64-x86_64-freetype 2.10.1-1 [Installiert] TrueType font rendering library (mingw-w64) Any ideas how I can fix that? Full Configure output: This is the Qt Open Source Edition. You have already accepted the terms of the Open Source license. Running configuration tests... Checking for valid makespec... yes Checking for target architecture... x86_64 Checking for SSE2 instructions... yes Checking for AES new instructions... yes Checking for alloca() in alloca.h... no Checking for alloca() in malloc.h... yes Checking for SSE3 instructions... yes Checking for SSSE3 instructions... yes Checking for SSE4.1 instructions... yes Checking for SSE4.2 instructions... yes Checking for AVX instructions... no Checking for C++14 support... yes Checking for C++1z support... yes Checking for C99 support... yes Checking for C11 support... yes Checking for pkg-config... yes Checking for D-Bus >= 1.2... no Checking for D-Bus >= 1.2 (host)... yes Checking for IncrediBuild... no Checking for udev... no Checking for POSIX fallocate()... no Checking for precompiled header support... yes Checking for RDRAND instruction... yes Checking for SHA new instructions... yes Checking for STL compatibility... yes Checking for zlib... yes Checking for Intrinsics without -mXXX argument... yes Checking for C++11 <future>... yes Checking for eventfd... no Checking for ICU... yes Checking for inotify... no Checking for slog2... no Checking for 64 bit atomics... yes Checking for DoubleConversion... yes Checking for PCRE2... yes Checking for O_CLOEXEC... no Checking for C++11 <random>... yes Checking for working std::atomic for function pointers... yes Checking for OpenSSL Headers... yes Checking for DTLS support in OpenSSL... yes Checking for getifaddrs()... no Checking for IPv6 ifname... no Checking for OpenSSL 1.1 support... yes Checking for xkbcommon >= 0.5.0... no Checking for DirectX GI... yes Checking for Direct3D 11... yes Checking for Direct2D 1... yes Checking for Direct2D 1.1... yes Checking for DirectX GI 1.2... yes Checking for Direct3D 11.1... yes Checking for Direct3D 9... yes Checking for DirectWrite... yes Checking for DirectWrite 1... yes Checking for DirectWrite 2... yes Checking for KMS... no Checking for DirectX GUID... yes Checking for Desktop OpenGL... yes Checking for EGL... no Checking for evdev... no Checking for FreeType... no Checking for GBM... no Checking for LinuxFB... no Checking for mtdev... no Checking for OpenVG... no Checking for default QPA platform... windows Checking for HarfBuzz... yes Checking for libjpeg... yes Checking for libpng... yes Checking for tslib... no Checking for Vulkan... yes Checking for XLib... no Checking for uxtheme.h... yes Checking for CUPS... no Checking for DB2 (IBM)... no Checking for InterBase... yes Checking for MySQL... yes Checking for OCI (Oracle)... no Checking for ODBC... yes Checking for PostgreSQL... yes Checking for SQLite (version 2)... no Checking for TDS (Sybase)... no Checking for jasper... yes Checking for tiff... yes Checking for webp... yes Checking for Direct3D 12... no Checking for SDL2... no Checking for Assimp... yes Checking for Autodesk FBX... no Checking for BlueZ... no Checking for WinRT Bluetooth API... no Checking for sensorfw... no Checking for Gypsy... no Checking for WinRT Geolocation API... no Checking for DirectShow... yes Checking for evr.h... yes Checking for OpenAL... no Checking for libresourceqt5... no Checking for Windows Audio Services... no Checking for WMF... no Checking for wmsdk.h... no Checking for WShellItem... yes Checking for libclang... yes Done running configuration tests. Configure summary: Build type: win32-g++ (x86_64, CPU features: mmx sse sse2) Compiler: gcc 8.2.1 Configuration: sse2 aesni sse3 ssse3 sse4_1 sse4_2 compile_examples largefile precompile_header rdrnd shani x86SimdAlways shared release c++11 c++14 c++1z concurrent dbus stl Build options: Mode ................................... release Optimize release build for size ........ no Building shared libraries .............. yes Using C standard ....................... C11 Using C++ standard ..................... C++1z Using gold linker ...................... no Using precompiled headers .............. yes Using LTCG ............................. no Target compiler supports: SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX .................................. <none> AVX512 ............................... <none> Other x86 ............................ AES RDRAND SHA Intrinsics without -mXXX option ...... yes Build parts ............................ libs examples tools App store compliance ................... no Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... no Qt Gui ................................. yes Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes Support enabled for: Using pkg-config ....................... yes udev ................................... no Using system zlib ...................... yes Qt Core: DoubleConversion ....................... yes Using system DoubleConversion ........ yes GLib ................................... no iconv .................................. no ICU .................................... yes Tracing backend ........................ <none> Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no Using system PCRE2 ..................... yes Qt Network: getifaddrs() ........................... no IPv6 ifname ............................ no libproxy ............................... no OpenSSL ................................ yes Qt directly linked to OpenSSL ........ no OpenSSL 1.1 ............................ yes DTLS ................................... yes SCTP ................................... no Use system proxies ..................... yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ no HarfBuzz ............................... yes Using system HarfBuzz ................ yes Fontconfig ............................. no Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... yes PNG .................................. yes Using system libpng ................ yes EGL .................................... no OpenVG ................................. no OpenGL: ANGLE ................................ no Desktop OpenGL ....................... yes Dynamic OpenGL ....................... no OpenGL ES 2.0 ........................ no OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no OpenGL ES 3.2 ........................ no Vulkan ................................. yes Session Management ..................... yes Features used by QPA backends: evdev .................................. no libinput ............................... no INTEGRITY HID .......................... no mtdev .................................. no tslib .................................. no xkbcommon .............................. no X11 specific: XLib ................................. no XCB Xlib ............................. no EGL on X11 ........................... no QPA backends: DirectFB ............................... no EGLFS .................................. no LinuxFB ................................ no VNC .................................... no Mir client ............................. no Windows: Direct 2D ............................ yes DirectWrite .......................... yes DirectWrite 2 ........................ yes Qt Sql: SQL item models ........................ yes Qt Widgets: GTK+ ................................... no Styles ................................. Fusion Windows WindowsVista Qt PrintSupport: CUPS ................................... no Qt Sql Drivers: DB2 (IBM) .............................. no InterBase .............................. yes MySql .................................. yes OCI (Oracle) ........................... no ODBC ................................... yes PostgreSQL ............................. yes SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no Qt Testlib: Tester for item models ................. yes Qt SerialBus: Socket CAN ............................. no Socket CAN FD .......................... no Further Image Formats: JasPer ................................. yes MNG .................................... no TIFF ................................... yes Using system libtiff ................. yes WEBP ................................... yes Using system libwebp ................. yes Qt QML: QML network support .................... yes QML debugging and profiling support .... yes QML sequence object .................... yes QML list model ......................... yes QML XML http request ................... yes QML Locale ............................. yes QML delegate model ..................... yes Qt Quick: Direct3D 12 ............................ no AnimatedImage item ..................... yes Canvas item ............................ yes Support for Qt Quick Designer .......... yes Flipable item .......................... yes GridView item .......................... yes ListView item .......................... yes TableView item ......................... yes Path support ........................... yes PathView item .......................... yes Positioner items ....................... yes Repeater item .......................... yes ShaderEffect item ...................... yes Sprite item ............................ yes Qt Scxml: ECMAScript data model for QtScxml ...... yes Qt Gamepad: SDL2 ................................... no Qt 3D: Assimp ................................. yes System Assimp .......................... yes Output Qt3D Job traces ................. no Output Qt3D GL traces .................. no Use SSE2 instructions .................. yes Use AVX2 instructions .................. no Aspects: Render aspect ........................ yes Input aspect ......................... yes Logic aspect ......................... yes Animation aspect ..................... yes Extras aspect ........................ yes Qt 3D Renderers: OpenGL Renderer ........................ yes Qt 3D GeometryLoaders: Autodesk FBX ........................... no Qt Bluetooth: BlueZ .................................. no BlueZ Low Energy ....................... no Linux Crypto API ....................... no WinRT Bluetooth API (desktop & UWP) .... no Qt Sensors: sensorfw ............................... no Qt Quick Controls 2: Styles ................................. Default Fusion Imagine Material Universal Qt Quick Templates 2: Hover support .......................... yes Multi-touch support .................... yes Qt Positioning: Gypsy GPS Daemon ....................... no WinRT Geolocation API .................. no Qt Location: Qt.labs.location experimental QML plugin . yes Geoservice plugins: OpenStreetMap ........................ yes HERE ................................. yes Esri ................................. yes Mapbox ............................... yes MapboxGL ............................. yes Itemsoverlay ......................... yes QtXmlPatterns: XML schema support ..................... yes Qt Multimedia: ALSA ................................... no GStreamer 1.0 .......................... no GStreamer 0.10 ......................... no Video for Linux ........................ no OpenAL ................................. no PulseAudio ............................. no Resource Policy (libresourceqt5) ....... no Windows Audio Services ................. no DirectShow ............................. yes Windows Media Foundation ............... no Media player backend ................... DirectShow Qt Tools: QDoc ................................... yes ERROR: Feature 'system-freetype' was enabled, but the pre-condition 'features.freetype && libs.freetype' failed. Check config.log for details.
_______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users