[Bug 1205135] New: windows:mingw:win{32|64}: Packages that do not use the macros specific to the use of the cmake build system
http://bugzilla.opensuse.org/show_bug.cgi?id=1205135 Bug ID: 1205135 Summary: windows:mingw:win{32|64}: Packages that do not use the macros specific to the use of the cmake build system Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: fstrba@suse.com Reporter: ralf.habacker@freenet.de QA Contact: screening-team-bugs@suse.de CC: fridrich.strba@bluewin.ch, hib@hiberis.nl, mkbosmans@gmail.com Found By: --- Blocker: --- As documented at https://en.opensuse.org/Build:projects:windows:mingw#Porting_native_cmake_pa... there are specific macros for using the cmake build system %_mingw32_cmake[_build|_install] which are not used by the following packages: ./mingw32-ampl-mp ./mingw32-clucene ./mingw32-cmocka ./mingw32-freeocl ./mingw32-glfw ./mingw32-grantlee ./mingw32-hdf5 ./mingw32-kate4-parts ./mingw32-kdewin ./mingw32-kdewin-tools ./mingw32-ktoblzcheck ./mingw32-libattica ./mingw32-libdbusmenu-qt ./mingw32-libechonest ./mingw32-libftdi ./mingw32-libgit2 ./mingw32-libgraphite2 ./mingw32-libjreen ./mingw32-liblastfm ./mingw32-libmodman ./mingw32-libproxy ./mingw32-libqjson ./mingw32-lucene++ ./mingw32-metis ./mingw32-oce ./mingw32-perfectspot ./mingw32-phonon ./mingw32-qt5keychain ./mingw32-qtkeychain ./mingw32-qtsparkle ./mingw32-qtweetlib ./mingw32-quazip ./mingw32-snoregrowl ./mingw32-snorenotify ./mingw32-taglib ./mingw32-win_iconv ./mingw32-zlib -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205135 http://bugzilla.opensuse.org/show_bug.cgi?id=1205135#c1 --- Comment #1 from Ralf Habacker <ralf.habacker@freenet.de> --- The same for the mingw64 project: $ cd ~/osc/windows:mingw:win64 $ osc update $ find -maxdepth 2 -name '*.spec' -exec gawk ' $0 ~ /mingw64_cmake/ { cmake=1 } cmake == 1 && $0 ~ /mingw64_make/ { print FILENAME }' {} \; | xargs dirname | sort | uniq ./mingw64-ampl-mp ./mingw64-clpeak ./mingw64-clucene ./mingw64-cmocka ./mingw64-freeocl ./mingw64-glfw ./mingw64-grantlee ./mingw64-hdf5 ./mingw64-kate4-parts ./mingw64-kdewin ./mingw64-kdewin-tools ./mingw64-ktoblzcheck ./mingw64-libattica ./mingw64-libdbusmenu-qt ./mingw64-libechonest ./mingw64-libftdi ./mingw64-libgit2 ./mingw64-libgraphite2 ./mingw64-libiio ./mingw64-libjreen ./mingw64-liblastfm ./mingw64-libmodman ./mingw64-libproxy ./mingw64-libqjson ./mingw64-lucene++ ./mingw64-metis ./mingw64-nanomsg ./mingw64-oce ./mingw64-perfectspot ./mingw64-phonon ./mingw64-qca2 ./mingw64-qt5keychain ./mingw64-qtkeychain ./mingw64-qtsparkle ./mingw64-qtweetlib ./mingw64-quazip ./mingw64-taglib ./mingw64-tomahawk-unstable ./mingw64-win_iconv ./mingw64-zlib -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205135 http://bugzilla.opensuse.org/show_bug.cgi?id=1205135#c2 --- Comment #2 from Ralf Habacker <ralf.habacker@freenet.de> --- (In reply to Ralf Habacker from comment #0)
As documented at https://en.opensuse.org/Build:projects:windows: mingw#Porting_native_cmake_packages_to_mingw32 there are specific macros for using the cmake build system %_mingw32_cmake[_build|_install] which are not used by the following packages:
The mentioned url has been changed and is now https://en.opensuse.org/Build:projects:windows:mingw:win32#Porting_native_cm... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205135 http://bugzilla.opensuse.org/show_bug.cgi?id=1205135#c3 --- Comment #3 from Ralf Habacker <ralf.habacker@freenet.de> --- Since some packages use %make_jobs instead of %_mingw32_cmake_build $ osc co windows:mingw:win32 $ find -maxdepth 2 -name '*.spec' -exec gawk '$1 ~ _mingw32_cmake {c=1} c && $1 ~ /make_jobs/ { print FILENAME " " $0}' {} \; | wc -l they would not work if you upgrade to a newer package version and use Ninja as a build tool, as is the case with Qt6. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205135 http://bugzilla.opensuse.org/show_bug.cgi?id=1205135#c4 --- Comment #4 from Ralf Habacker <ralf.habacker@freenet.de> --- Several cmake related package uses the deprecated macro '%make_jobs': grep make_jobs -A2 /usr/lib/rpm/macros.d/macros.cmake %make_jobs \ echo "Deprecated %%make_jobs macro used, please use %%cmake_build" \ %cmake_build For mingw32 that would be %_mingw32_cmake_build and %_mingw64_cmake_build for mingw64. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com