Martin Gansser wrote: > changed spec file: > [1] https://martinkg.fedorapeople.org/ErrorReports/speed-dreams.spec > could not build with mock: No match for argument: FreeSOLID-devel >= 2.1.2 > I get this error messages when building with rpmbuild -ba speed-dreams.spec > + rm -f > /home/martin/rpmbuild/BUILD/speed-dreams-2.4.1-build/BUILDROOT/usr/include/3D/Makefile.am > + rm -f > /home/martin/rpmbuild/BUILD/speed-dreams-2.4.1-build/BUILDROOT/usr/include/SOLID/Makefile.am > + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed > 2.4.1-1.fc42 --unique-debug-suffix -2.4.1-1.fc42.x86_64 > --unique-debug-src-base speed-dreams-2.4.1-1.fc42.x86_64 --run-dwz > --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S > debugsourcefiles.list > /home/martin/rpmbuild/BUILD/speed-dreams-2.4.1-build/speed-dreams-2.4.1 > find-debuginfo: starting > Extracting debug info from 30 files > DWARF-compressing 30 files > sepdebugcrcfix: Updated 30 CRC32s, 0 CRC32s did match. > Creating .debug symlinks for symlinks to ELF files > Copying sources found by 'debugedit -l' to > /usr/src/debug/speed-dreams-2.4.1-1.fc42.x86_64 > find-debuginfo: done > + '[' '%{buildarch}' = noarch ']' > + QA_CHECK_RPATHS=1 > + case "${QA_CHECK_RPATHS:-}" in > + /usr/lib/rpm/check-rpaths > ******************************************************************************* > * > * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause > * 'rpmbuild' to fail. To ignore these errors, you can set the > * '$QA_RPATHS' environment variable which is a bitmask allowing the > * values below. The current value of QA_RPATHS is 0x0000. > * > * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor > * issue but are introducing redundant searchpaths without > * providing a benefit. They can also cause errors in multilib > * environments. > * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute > * nor relative filenames and can therefore be a SECURITY risk > * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a > * SECURITY risk > * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other > * RPATHs; this is just a minor issue but usually unwanted > * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs > * and they cause unneeded work while loading libraries > * 0x0020 ... an RPATH references '..' of an absolute path; this will break > * the functionality when the path before '..' is a symlink > * > * > * Examples: > * - to ignore standard and empty RPATHs, execute 'rpmbuild' like > * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm > * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like > * $ RPM_BUILD_ROOT=<top-dir> /usr/lib/rpm/check-rpaths > * > ******************************************************************************* > ERROR 0001: file '/usr/lib64/libsolid.so' contains a standard runpath > '/usr/lib64' in [/usr/lib64:/usr/lib64/games/speed-dreams-2/lib] > ERROR 0001: file '/usr/lib64/libmoto.so' contains a standard runpath > '/usr/lib64' in [/usr/lib64:/usr/lib64/games/speed-dreams-2/lib] > ERROR 0001: file '/usr/lib64/libbroad.so' contains a standard runpath > '/usr/lib64' in [/usr/lib64:/usr/lib64/games/speed-dreams-2/lib] > ******************************************************************************* > * > * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause > * 'rpmbuild' to fail. To ignore these errors, you can set the > * '$QA_RPATHS' environment variable which is a bitmask allowing the > * values below. The current value of QA_RPATHS is 0x0000. > * > * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor > * issue but are introducing redundant searchpaths without > * providing a benefit. They can also cause errors in multilib > * environments. > * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute > * nor relative filenames and can therefore be a SECURITY risk > * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a > * SECURITY risk > * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other > * RPATHs; this is just a minor issue but usually unwanted > * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs > * and they cause unneeded work while loading libraries > * 0x0020 ... an RPATH references '..' of an absolute path; this will break > * the functionality when the path before '..' is a symlink > * > * > * Examples: > * - to ignore standard and empty RPATHs, execute 'rpmbuild' like > * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm > * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like > * $ RPM_BUILD_ROOT=<top-dir> /usr/lib/rpm/check-rpaths > * > ******************************************************************************* > ERROR 0001: file '/usr/bin/speed-dreams-2' contains a standard runpath > '/usr/lib64' in [/usr/lib64:/usr/lib64/games/speed-dreams-2/lib] > ERROR 0001: file '/usr/bin/sd2-accc' contains a standard runpath > '/usr/lib64' in [/usr/lib64:/usr/lib64/games/speed-dreams-2/lib] > ERROR 0001: file '/usr/bin/sd2-nfs2ac' contains a standard runpath > '/usr/lib64' in [/usr/lib64:/usr/lib64/games/speed-dreams-2/lib] > ERROR 0001: file '/usr/bin/sd2-nfsperf' contains a standard runpath > '/usr/lib64' in [/usr/lib64:/usr/lib64/games/speed-dreams-2/lib] > ERROR 0001: file '/usr/bin/sd2-trackgen' contains a standard runpath > '/usr/lib64' in [/usr/lib64:/usr/lib64/games/speed-dreams-2/lib] > Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.1nSC8v (%install) Did you see?
You deleted the standard path as well as the non-standard paths, only remove the standard path. # Fix RPATH using chrpath # ERROR 0001: file '/usr/lib64/libsolid.so' contains a standard runpath '/usr/lib64' in [/usr/lib64/games/speed-dreams-2/lib:/usr/lib64] # ERROR 0001: file '/usr/lib64/libmoto.so' contains a standard runpath '/usr/lib64' in [/usr/lib64/games/speed-dreams-2/lib:/usr/lib64] # ERROR 0001: file '/usr/lib64/libbroad.so' contains a standard runpath '/usr/lib64' in [/usr/lib64/games/speed-dreams-2/lib:/usr/lib64] chrpath -r %{_libdir}/games/speed-dreams-2/lib %{buildroot}%{_libdir}/libsolid.so chrpath -r %{_libdir}/games/speed-dreams-2/lib %{buildroot}%{_libdir}/libmoto.so chrpath -r %{_libdir}/games/speed-dreams-2/lib %{buildroot}%{_libdir}/libbroad.so # ERROR 0001: file '/usr/bin/speed-dreams-2' contains a standard runpath '/usr/lib64' in [/usr/lib64/games/speed-dreams-2/lib:/usr/lib64] # ERROR 0001: file '/usr/bin/sd2-accc' contains a standard runpath '/usr/lib64' in [/usr/lib64/games/speed-dreams-2/lib:/usr/lib64] # ERROR 0001: file '/usr/bin/sd2-nfs2ac' contains a standard runpath '/usr/lib64' in [/usr/lib64/games/speed-dreams-2/lib:/usr/lib64] # ERROR 0001: file '/usr/bin/sd2-nfsperf' contains a standard runpath '/usr/lib64' in [/usr/lib64/games/speed-dreams-2/lib:/usr/lib64] # ERROR 0001: file '/usr/bin/sd2-trackgen' contains a standard runpath '/usr/lib64' in [/usr/lib64/games/speed-dreams-2/lib:/usr/lib64] chrpath -r %{_libdir}/games/speed-dreams-2/lib %{buildroot}%{_bindir}/speed-dreams-2 chrpath -r %{_libdir}/games/speed-dreams-2/lib %{buildroot}%{_bindir}/sd2-accc chrpath -r %{_libdir}/games/speed-dreams-2/lib %{buildroot}%{_bindir}/sd2-nfs2ac chrpath -r %{_libdir}/games/speed-dreams-2/lib %{buildroot}%{_bindir}/sd2-nfsperf chrpath -r %{_libdir}/games/speed-dreams-2/lib %{buildroot}%{_bindir}/sd2-trackgen -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue