Re: Bad exit status from %prep during chmod -Rf a+rX,u+w,g-w,o-w .

2021-10-04 Thread Pavel Raiskup
Hm, the options don't look invalid, so two-problems IMO:

- chmod looks to be buggy (when the process has the permissions to extract
  the tarball, fixing permissions shouldn't be problem as on Linux
  unprivileged user can not give the files away).
- rpmbuild should print-out the stderr output from chmod process

Pavel

On Monday, October 4, 2021 11:57:50 AM CEST Miro Hrončok wrote:
> On 04. 10. 21 11:49, Miro Hrončok wrote:
> > Hello,
> > 
> > I see this failure in dnf:
> > 
> > https://copr.fedorainfracloud.org/coprs/churchyard/patch251/build/2872812/
> > 
> > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x8REO2
> > + umask 022
> > + cd /builddir/build/BUILD
> > + cd /builddir/build/BUILD
> > + rm -rf dnf-4.9.0
> > + /usr/bin/gzip -dc /builddir/build/SOURCES/dnf-4.9.0.tar.gz
> > + /usr/bin/tar -xof -
> > + STATUS=0
> > + '[' 0 -ne 0 ']'
> > + cd dnf-4.9.0
> > + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
> > error: Bad exit status from /var/tmp/rpm-tmp.x8REO2 (%prep)
> >  Bad exit status from /var/tmp/rpm-tmp.x8REO2 (%prep)
> > 
> > I am perplexed with the error.
> > Could it be some problem with Copr builders?
> 
> Unlikely, I've reproduced this in Koji:
> 
> https://lists.fedoraproject.org/archives/list/de...@lists.fedoraproject.org/thread/GO3LFGR3IDOUVFRZYD4LY2D6LV252I2S/
> 
> -- 
> Miro Hrončok
> -- 
> Phone: +420777974800
> IRC: mhroncok
> ___
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.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.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
> 



___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.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.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Bad exit status from %prep during chmod -Rf a+rX,u+w,g-w,o-w .

2021-10-04 Thread Miro Hrončok

On 04. 10. 21 11:49, Miro Hrončok wrote:

Hello,

I see this failure in dnf:

https://copr.fedorainfracloud.org/coprs/churchyard/patch251/build/2872812/

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x8REO2
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf dnf-4.9.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/dnf-4.9.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dnf-4.9.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
error: Bad exit status from /var/tmp/rpm-tmp.x8REO2 (%prep)
     Bad exit status from /var/tmp/rpm-tmp.x8REO2 (%prep)

I am perplexed with the error.
Could it be some problem with Copr builders?


Unlikely, I've reproduced this in Koji:

https://lists.fedoraproject.org/archives/list/de...@lists.fedoraproject.org/thread/GO3LFGR3IDOUVFRZYD4LY2D6LV252I2S/

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.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.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Bad exit status from %prep during chmod -Rf a+rX,u+w,g-w,o-w .

2021-10-04 Thread Miro Hrončok

Hello,

I see this failure in dnf:

https://copr.fedorainfracloud.org/coprs/churchyard/patch251/build/2872812/

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x8REO2
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf dnf-4.9.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/dnf-4.9.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dnf-4.9.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
error: Bad exit status from /var/tmp/rpm-tmp.x8REO2 (%prep)
Bad exit status from /var/tmp/rpm-tmp.x8REO2 (%prep)

I am perplexed with the error.
Could it be some problem with Copr builders?
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.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.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure