Re: mock, %{buildroot}, fc35

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jerry
On Wed, Feb 2, 2022 at 5:07 PM Jerry James <loganjerry@xxxxxxxxx> wrote:
On Wed, Feb 2, 2022 at 8:27 AM Alain Vigne <alain.vigne.14@xxxxxxxxx> wrote:
> And indeed, same error:
> RPM build errors:
> error: File not found: /builddir/build/BUILDROOT/libfungw-1.2.0-1.fc36.x86_64/usr/lib/puplug/fungw_mujs.*
>     File not found: /builddir/build/BUILDROOT/libfungw-1.2.0-1.fc36.x86_64/usr/lib64/libfungw_mujs.*
> ...
> It has something to do with me removing the files post install
> rm -f %{buildroot}/%{_usr}/lib/puplug/%{srcname}*.a
> rm -f %{buildroot}/%{_libdir}/%{name}*.a

Your %files list says to include /usr/lib/puplug/fungw_mujs.* and
/usr/lib64/libfungw_mujs.* in packages, but there are no files
matching those globs in the buildroot after the %install script
finishes. 
What may lead you to this conclusion ?
My observation is:
The %make_install step install all files, shared and static libraries
in /BUILDROOT/libfungw-1.2.0-1.fc35.x86_64/usr/lib64 dir
libfungw_mujs.a
libfungw_mujs.so.1
libfungw_mujs.so.1.2
libfungw_mujs.so.1.2.0

And post install, I do want to remove those static libs.
libfungw_mujs.a
in fact, the libfungw*.a

This is happening correctly when I "rpmbuild file.spec", but is not OK with mock.

You removed the static libraries from those locations, but
there are no shared libraries there.
There are
(see above)

I still don't understand
--
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure


--
Alain V.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux