[Bug 1175587] New: windows:mingw:win{32|64}/mingw{32|64}-filesystem: Deprecated external dependency generator is used
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587 Bug ID: 1175587 Summary: windows:mingw:win{32|64}/mingw{32|64}-filesystem: Deprecated external dependency generator is used 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, idonmez@suse.com, mkbosmans@gmail.com Found By: --- Blocker: --- On building packages there is always a message printed that a 'Deprecated external dependency generator is used'. The reason for this message is located in macros.mingw32 (https://build.opensuse.org/package/view_file/windows:mingw:win32/mingw32-fil...) %_mingw32_package_header \ %global __strip %{_mingw32_strip} \ %global __objdump %{_mingw32_objdump} \ %global _use_internal_dependency_generator 0 \ %global __find_requires %{_mingw32_findrequires} \ %global __find_provides %{_mingw32_findprovides} \ %global __os_install_post %{_mingw32_install_post} by specifing '_use_internal_dependency_generator 0' and overriding the __find_requires and __find_provides. Recent obs dependency support uses *.attr file as shown below: cat /usr/lib/rpm/fileattrs/cmake.attr %__cmake_provides %{_rpmconfigdir}/cmake.prov %__cmake_path ^/usr/lib(64)?/cmake/.*/.*(Config\.cmake|-config\.cmake) where the mentioned file cmake.prov does the work of generating a list of packages that are provided by cmake configuration files. Similar files exists for debuginfo cat /usr/lib/rpm/fileattrs/debuginfo.attr %__debuginfo_provides %{_rpmconfigdir}/debuginfo.prov %__debuginfo_path ^/usr/lib/debug/ for pkgconfig files cat /usr/lib/rpm/fileattrs/pkgconfig.attr %__pkgconfig_provides %{_rpmconfigdir}/pkgconfigdeps.sh --provides %__pkgconfig_requires %{_rpmconfigdir}/pkgconfigdeps.sh --requires %__pkgconfig_path ^((%{_libdir}|%{_datadir})/pkgconfig/.*\.pc|%{_bindir}/pkg-config)$ for executables cat /usr/lib/rpm/fileattrs/elf.attr %__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private} %__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private} %__elf_magic ^(setuid,? )?(setgid,? )?(sticky )?ELF (32|64)-bit.*executable %__elf_flags exeonly %__elf_exclude_path ^/usr/lib/debug/ for shared libraries cat /usr/lib/rpm/fileattrs/elflib.attr %__elflib_provides %{_rpmconfigdir}/elfdeps --assume-exec --provides %{?__filter_GLIBC_PRIVATE:--filter-private} %__elflib_requires %{_rpmconfigdir}/elfdeps --assume-exec --requires %{?__filter_GLIBC_PRIVATE:--filter-private} %__elflib_magic ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*shared object %__elflib_exclude_path ^/usr/lib/debug/ and others. To take advantage of this type of support, the currently used files mingw32-find-provides.sh and mingw32-find-requres.sh must be split into implementations that handle a single category of corresponding files. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587 http://bugzilla.opensuse.org/show_bug.cgi?id=1175587#c1 --- Comment #1 from Ralf Habacker <ralf.habacker@freenet.de> --- There is a attempt to drop support for the deprecated dependency generator , see https://github.com/rpm-software-management/rpm/issues/2373. The issue is addressed by the following projects https://build.opensuse.org/project/show/home:rhabacker:branches:windows:ming... https://build.opensuse.org/project/show/home:rhabacker:branches:windows:ming... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587 http://bugzilla.opensuse.org/show_bug.cgi?id=1175587#c2 --- Comment #2 from Ralf Habacker <ralf.habacker@freenet.de> --- Created attachment 865410 --> http://bugzilla.opensuse.org/attachment.cgi?id=865410&action=edit test.log See the appended file for a scan with the newly added dependency generator support: ===================================== final: files 73 cdict[22] 100% ddictx[4] ... 9 /home/.../lib/cmake/KtoBlzCheck/KtoBlzCheckConfig.cmake ASCII text [mingw64_cmake] P mingw64(cmake:KtoBlzCheck) = 1.53.0 10 /home/.../lib/cmake/KtoBlzCheck/KtoBlzCheckConfigVersion.cmake ASCII text [none] 11 /home/.../lib/cmake/KtoBlzCheck/KtoBlzCheckTargets-relwithdebinfo.cmake ASCII text [none] 12 /home/.../lib/cmake/KtoBlzCheck/KtoBlzCheckTargets.cmake ASCII text [none] 13 /home/.../lib/libktoblzcheck.dll.a current ar archive [mingw64_libs] P mingw64(lib:ktoblzcheck) 14 /home/.../lib/pkgconfig/ktoblzcheck.pc pkgconfig file [mingw64_pkgconfig] P mingw64(pkg:ktoblzcheck) = 1.53.0 R mingw64(lib:ktoblzcheck) ... Processing files: mingw64-libktoblzcheck1-1.53-1.2.noarch ===================================== final: files 1 cdict[1] 0% ddictx[3] 0 /home/.../bin/libktoblzcheck-1.dll [mingw64_binaries] P mingw64(libktoblzcheck-1.dll) R mingw64(libgcc_s_seh-1.dll) R mingw64(libstdc++-6.dll) Provides: mingw64(libktoblzcheck-1.dll) mingw64-libktoblzcheck1 = 1.53-1.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587 http://bugzilla.opensuse.org/show_bug.cgi?id=1175587#c3 --- Comment #3 from Ralf Habacker <ralf.habacker@freenet.de> --- After https://github.com/openSUSE/obs-build/pull/923 has been submitted and an updated build package has been released, packagers can debug dependency generator support locally by adding an additional command line options as: osc build --build-opt="--recipe-opt=--rpmfcdebug" openSUSE_Leap_15.4 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587 http://bugzilla.opensuse.org/show_bug.cgi?id=1175587#c4 --- Comment #4 from Ralf Habacker <ralf.habacker@freenet.de> --- (In reply to Ralf Habacker from comment #3)
After https://github.com/openSUSE/obs-build/pull/923 has been submitted and an updated build package has been released, packagers can debug dependency generator support locally by adding an additional command line options as:
osc build --build-opt="--recipe-opt=--rpmfcdebug" openSUSE_Leap_15.4
This pull request has been merged with a slightly different command line option with the next release of the 'build' package. osc build --build-opt="--buildtool-opt=--rpmfcdebug" openSUSE_Leap_15.4 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587 http://bugzilla.opensuse.org/show_bug.cgi?id=1175587#c5 Ralf Habacker <ralf.habacker@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Ralf Habacker <ralf.habacker@freenet.de> --- (In reply to Ralf Habacker from comment #1)
The issue is addressed by the following projects
https://build.opensuse.org/project/show/home:rhabacker:branches:windows: mingw:win32:cmake-fixes
https://build.opensuse.org/project/show/home:rhabacker:branches:windows: mingw:win64:cmake-fixes
These related requests has been submitted. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587 http://bugzilla.opensuse.org/show_bug.cgi?id=1175587#c6 --- Comment #6 from Ralf Habacker <ralf.habacker@freenet.de> --- (In reply to Ralf Habacker from comment #0)
To take advantage of this type of support, the currently used files mingw32-find-provides.sh and mingw32-find-requres.sh must be split into implementations that handle a single category of corresponding files.
Several *attr files were added/corrected with the https://build.opensuse.org/request/show/1071506 and https://build.opensuse.org/request/show/1071509 requests: +source17: mingw32_binaries.attr +source18: mingw32_cmake.attr +source19: mingw32_config.attr +Source20: mingw32_libs.attr +source21: mingw32_pkgconfig.attr but most of them (except cmake) still use the current mingw32-find-xxx.sh scripts, which can be split into follow-on requests if that makes sense. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com