Re: mock, %{buildroot}, fc35

2022-02-03 Thread Barry
> On 3 Feb 2022, at 09:45, Vít Ondruch wrote: > >  > Dne 02. 02. 22 v 21:59 Michel Alexandre Salim napsal(a): >>> On Wed, Feb 02, 2022 at 06:41:16PM +0100, Alain Vigne wrote: >>> My problem is : I don't know how to debug in the mock environment. (But, I >>> should persevere: there is always a

Re: mock, %{buildroot}, fc35

2022-02-03 Thread Vít Ondruch
Dne 02. 02. 22 v 21:59 Michel Alexandre Salim napsal(a): On Wed, Feb 02, 2022 at 06:41:16PM +0100, Alain Vigne wrote: My problem is : I don't know how to debug in the mock environment. (But, I should persevere: there is always a solution, you proved it to me ;) Try `mock shell`. I think

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Michel Alexandre Salim
On Wed, Feb 02, 2022 at 06:41:16PM +0100, Alain Vigne wrote: > > My problem is : I don't know how to debug in the mock environment. (But, I > should persevere: there is always a solution, you proved it to me ;) > Try `mock shell`. You won't have Internet access inside, so if you need to add more

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Jerry James
On Wed, Feb 2, 2022 at 11:41 AM Alain Vigne wrote: > Aahhh. Good job ! Now I understand ! You are right ! > This Requires should be a BuildRequires, correct, > (and I was right too ;) because in my environment (rpmbuild) I have this > mujs-devel package installed, and the files landed in my

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Alain Vigne
On Wed, Feb 2, 2022 at 6:29 PM Jerry James wrote: > On Wed, Feb 2, 2022 at 10:26 AM Jerry James wrote: > > The reason is in the build log: > > Checking for mujs... not found > > ... > > binding: fungw_mujs disabled > > Your spec file has this: > > %package -n %{libmujs} >

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Jerry James
On Wed, Feb 2, 2022 at 10:26 AM Jerry James wrote: > The reason is in the build log: > Checking for mujs... not found > ... > binding: fungw_mujs disabled Your spec file has this: %package -n %{libmujs} Summary: Scripting support for %{name}: MuJS Requires: %{libname} =

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Jerry James
On Wed, Feb 2, 2022 at 9:31 AM Alain Vigne wrote: > What may lead you to this conclusion ? Because that's what the error message means. It means that there is a file pattern in %files that does not match anything in the buildroot. > My observation is: > The %make_install step install all

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Pavel Raiskup
On Wednesday, February 2, 2022 4:50:59 PM CET Vitaly Zaitsev via devel wrote: > On 02/02/2022 16:35, Pavel Raiskup wrote: > > And if not specified, mock tries to > > pick the mock configuration according the host system (so it uses > > '-r fedora-35-x86_64' on a fedora-35-x86_64 host system). > >

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Alain Vigne
Hello Jerry On Wed, Feb 2, 2022 at 5:07 PM Jerry James wrote: > On Wed, Feb 2, 2022 at 8:27 AM Alain Vigne > 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

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Emmanuel Seyman
* Alain Vigne [02/02/2022 16:07] : > > Can someone explain to me why my .srpm [1] > is not building in mock ? This fails with the following message: RPM build errors: error: File not found: /builddir/build/BUILDROOT/libfungw-1.2.0-1.fc36.x86_64/usr/lib64/libfungw_mujs.* error: File not found:

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Jerry James
On Wed, Feb 2, 2022 at 8:27 AM Alain Vigne 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: >

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Alain Vigne
On Wed, Feb 2, 2022 at 4:51 PM Vitaly Zaitsev via devel < devel@lists.fedoraproject.org> wrote: > On 02/02/2022 16:35, Pavel Raiskup wrote: > > And if not specified, mock tries to > > pick the mock configuration according the host system (so it uses > > '-r fedora-35-x86_64' on a fedora-35-x86_64

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Vitaly Zaitsev via devel
On 02/02/2022 16:35, Pavel Raiskup wrote: And if not specified, mock tries to pick the mock configuration according the host system (so it uses '-r fedora-35-x86_64' on a fedora-35-x86_64 host system). No. It uses /etc/mock/default.cfg. -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org)

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Steven A. Falco
On 2/2/22 10:07 AM, Alain Vigne wrote: Can someone explain to me why my  .srpm  [1] is not building in mock ? I ran > mock filename.srpm Will it work in COPR, Koji ? [1] https://avigne.fedorapeople.org/libfungw-1.2.0-1.fc35.src.rpm

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Pavel Raiskup
On Wednesday, February 2, 2022 4:18:29 PM CET Ankur Sinha wrote: > On Wed, Feb 02, 2022 16:07:38 +0100, Alain Vigne wrote: > > Can someone explain to me why my .srpm [1] > > is not building in mock ? > > > > I ran > > > mock filename.srpm > > Have you had a chance to look at the mock man page,

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Pavel Raiskup
On Wednesday, February 2, 2022 4:07:38 PM CET Alain Vigne wrote: > Can someone explain to me why my .srpm [1] > is not building in mock ? > > I ran > > mock filename.srpm You did not provide the build logs. > Will it work in COPR, Koji ? > > [1]

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Alain Vigne
Hello Ankur On Wed, Feb 2, 2022 at 4:18 PM Ankur Sinha wrote: > On Wed, Feb 02, 2022 16:07:38 +0100, Alain Vigne wrote: > > Can someone explain to me why my .srpm [1] > > is not building in mock ? > > > > I ran > > > mock filename.srpm > > Have you had a chance to look at the mock man page, or

Re: mock, %{buildroot}, fc35

2022-02-02 Thread Ankur Sinha
On Wed, Feb 02, 2022 16:07:38 +0100, Alain Vigne wrote: > Can someone explain to me why my  .srpm  [1] > is not building in mock ? > > I ran > > mock filename.srpm Have you had a chance to look at the mock man page, or this wiki page?

mock, %{buildroot}, fc35

2022-02-02 Thread Alain Vigne
Can someone explain to me why my .srpm [1] is not building in mock ? I ran > mock filename.srpm Will it work in COPR, Koji ? [1] https://avigne.fedorapeople.org/libfungw-1.2.0-1.fc35.src.rpm TIA -- Alain V. ___ devel mailing list --