[Rpm-maint] [rpm-software-management/rpm] Unreadable directory causes difficult to debug failure (#776)

2019-06-28 Thread Jason Tibbitts
I recently helped track down a rather bizarre build failure, where rpmbuild exited 1 (causing mock to abort) but it wasn't really obvious why. Turns out that executable permissions had been removed from a directory. (Upstream had added a directory where previously there were only files, and so

Re: [Rpm-maint] [rpm-software-management/rpm] rpm cannot parse conditional: error: unmatched ( (#775)

2019-06-28 Thread pavlinamv
Thank you -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/775#issuecomment-506709813___ Rpm-maint mailing list Rpm-maint@lists.

Re: [Rpm-maint] [rpm-software-management/rpm] rpm cannot parse conditional: error: unmatched ( (#775)

2019-06-28 Thread Michal Suchánek
There should be only one \ but github does not display it. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/775#issuecomment-506706175__

Re: [Rpm-maint] [rpm-software-management/rpm] rpm cannot parse conditional: error: unmatched ( (#775)

2019-06-28 Thread pavlinamv
Please, should the second %if look like this (I added \ at the end of the first line)? %if 1 && ( 2 || \\ 3 ) %endif -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/775#

Re: [Rpm-maint] [rpm-software-management/rpm] validFilename: Use iscntrl from ctype.h (#773)

2019-06-28 Thread Panu Matilainen
Dunno, but I dont think the "locale specific" is there just for fun. See eg https://www.gnu.org/software/gnulib/manual/html_node/iscntrl.html: > Note: This function’s behaviour depends on the locale, but does not support > the multibyte characters that occur in strings in locales with MB_CUR_MAX