Re: goocanvas2-cairotypes mock build fails

2021-06-10 Thread Petr Pisar
V Thu, Jun 10, 2021 at 07:26:53AM -, Martin Gansser napsal(a):
> sorry forgot to send the link to the spec file [2]
> 
> [2] https://martinkg.fedorapeople.org/ErrorReports/goocanvas2-cairotypes.spec

You should looked at
. It would save
your from "chmod 0755", "perllocal.pod", ".packlist", "perl-macros",
"%make_install DESTDIR=%buildroot" and other anachronisms.

-- Petr



signature.asc
Description: PGP signature
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: goocanvas2-cairotypes mock build fails

2021-06-10 Thread Martin Gansser
Thanks
BuildRequires: perl-macros was missing. 
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: goocanvas2-cairotypes mock build fails

2021-06-10 Thread Martin Gansser
sorry forgot to send the link to the spec file [2]

[2] https://martinkg.fedorapeople.org/ErrorReports/goocanvas2-cairotypes.spec
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: goocanvas2-cairotypes mock build fails

2021-06-10 Thread Elliott Sales de Andrade
On Thu, 10 Jun 2021 at 02:56, Martin Gansser  wrote:
>
> Hi,
>
> I'am trying to build goocanvas2-cairotypes with mock, but this fails with 
> this error message [1]:
>
> Files found in blib/arch: installing files in blib/lib into architecture 
> dependent library tree
> Installing 
> /builddir/build/BUILDROOT/goocanvas2-cairotypes-0.001-1.fc35.x86_64/usr/lib64/perl5/vendor_perl/auto/GooCanvas2/CairoTypes/CairoTypes.so
> Installing 
> /builddir/build/BUILDROOT/goocanvas2-cairotypes-0.001-1.fc35.x86_64/usr/lib64/perl5/vendor_perl/GooCanvas2/CairoTypes.pm
> Installing 
> /builddir/build/BUILDROOT/goocanvas2-cairotypes-0.001-1.fc35.x86_64/usr/share/man/man3/GooCanvas2::CairoTypes.3pm
> + chmod 0755 
> '/builddir/build/BUILDROOT/goocanvas2-cairotypes-0.001-1.fc35.x86_64%{perl_vendorarch}/auto/GooCanvas2/CairoTypes/CairoTypes.so'
> chmod: cannot access 
> '/builddir/build/BUILDROOT/goocanvas2-cairotypes-0.001-1.fc35.x86_64%{perl_vendorarch}/auto/GooCanvas2/CairoTypes/CairoTypes.so':
>  No such file or directory

It looks like %{perl_vendorarch} is not expanded; did you specify the
right Perl BuildRequires?
https://docs.fedoraproject.org/en-US/packaging-guidelines/Perl/#_build_dependencies

> RPM build errors:
> error: Bad exit status from /var/tmp/rpm-tmp.lactiy (%install)
> Bad exit status from /var/tmp/rpm-tmp.lactiy (%install)
> Child return code was: 1
>
> [1] https://martinkg.fedorapeople.org/ErrorReports/build.log
>
> Regards
> Martin

-- 
Elliott
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure