[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
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587#c2
--- Comment #2 from Ralf Habacker
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587#c3
--- Comment #3 from Ralf Habacker
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587
http://bugzilla.opensuse.org/show_bug.cgi?id=1175587#c4
--- Comment #4 from Ralf Habacker
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
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
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