Thank you for confirmation :), it's quite important to me that I'm not only one. The patch makes `ensure_mount_option_in_fstab.sh`, then rename it to `include_mount_options_functions.sh`. Alas, this is quite a big patch, so debbuging it will be cumbersome. I suspect that problem exists before file is renamed, because there is `include_mount_options_functions.sh.fix_failing_rules` file that is empty and `include_mount_options_functions.sh` that should be renamed in not cleaned buildroot. Tomorrow I will try to dig deeper (make use of upstream subscription [sources and OS], then if no solution would be found apply patch bit by bit). Bests, Alex On 10/03/2018 11:07 PM, Mark Stodola wrote: > On 10/03/2018 03:34 PM, aleksander.baranowski wrote: >> Hi, >> >> I recently tried to rebuild: >> https://urldefense.proofpoint.com/v2/url?u=http-3A__ftp.scientificlinux.org_linux_scientific_7.5_SRPMS_vendor_scap-2Dsecurity-2Dguide-2D0.1.36-2D10.sl7-5F5.src.rpm&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbBYBgsCHS7vSr83lHQ-aa58eXICk1KkzZlAHgohLRRrX&m=VEuwtpc-C8K822YaGWxqMbbqJQ2S4ol_0zyOs5dGj34&s=c4eo166aLjYeIW8G_REvPJtsA3ZZLpfkMSXXTZ-fkCY&e= >> >> >> or CentOS: >> https://urldefense.proofpoint.com/v2/url?u=http-3A__vault.centos.org_7.5.1804_updates_Source_SPackages_scap-2Dsecurity-2Dguide-2D0.1.36-2D10.el7.centos.src.rpm&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbBYBgsCHS7vSr83lHQ-aa58eXICk1KkzZlAHgohLRRrX&m=VEuwtpc-C8K822YaGWxqMbbqJQ2S4ol_0zyOs5dGj34&s=CB2VMlH34YrlkISCXH_ozAxRuu77b1I9JKRsVgmHUjY&e= >> >> or >> https://urldefense.proofpoint.com/v2/url?u=http-3A__vault.centos.org_7.5.1804_updates_Source_SPackages_scap-2Dsecurity-2Dguide-2D0.1.36-2D9.el7.centos.src.rpm&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbBYBgsCHS7vSr83lHQ-aa58eXICk1KkzZlAHgohLRRrX&m=VEuwtpc-C8K822YaGWxqMbbqJQ2S4ol_0zyOs5dGj34&s=wBthjF79L7TV8JmFEdL7hpTmRG3DWlEMntXaBMaaaaU&e= >> >> >> and failed miserably :(. >> >> Steps to reproduce: >> >> ```bash >> sudo yum install @development wget libxslt openscap-scanner python-lxml >> cmake -y >> wget >> https://urldefense.proofpoint.com/v2/url?u=http-3A__ftp.scientificlinux.org_linux_scientific_7.5_SRPMS_vendor_scap-2Dsecurity-2Dguide-2D0.1.36-2D10.sl7-5F5.src.rpm&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbBYBgsCHS7vSr83lHQ-aa58eXICk1KkzZlAHgohLRRrX&m=VEuwtpc-C8K822YaGWxqMbbqJQ2S4ol_0zyOs5dGj34&s=c4eo166aLjYeIW8G_REvPJtsA3ZZLpfkMSXXTZ-fkCY&e= >> >> rpmbuild --rebuild scap-security-guide-0.1.36-10.sl7_5.src.rpm >> ``` >> >> Or with mock >> ``` >> mock scap-security-guide-0.1.36-10.sl7_5.src.rpm >> ``` >> >> The patch that breaks build is >> scap-security-guide-0.1.39-fix-failing-rules-for-PCI-DSS-DISA-UGSCB.patch. >> >> It has number 12 in the spec file. >> >> Is there anything that I'm missing? Unfortunately, I'm unable to find >> scap-security-guide on CentOS CBS, so I'm clueless. >> >> Bests, >> Alex >> > > I just tried with mock (no rpmbuild prior) and it also failed on the > same patch. It is unable to find > shared/bash_remediation_functions/include_mount_options_functions.sh. > This file is indeed missing from the .tar.bz2 included in the srpm that > it is supposedly try to apply the patch to. > > -Mark