Skip to content

fpm rpm test suite fails on fedora 36 #1956

@jordansissel

Description

@jordansissel

Sample failure

  1) FPM::Package::RPM#output architecture can be basically anything
     Failure/Error: rpm = ::RPM::File.new(target)
     Errno::ENOENT:
       No such file or directory @ rb_sysopen - /run/user/1000/studtmp-ba2e3ed252acb8208461a7b55e4ce412bc3b63058a83f50d1927aa28f3b0
     # ./spec/fpm/package/rpm_spec.rb:165:in `new'
     # ./spec/fpm/package/rpm_spec.rb:165:in `block (4 levels) in <top (required)>'

Running the rpmbuild from this test myself has this error

+ /usr/lib/rpm/check-buildroot
xargs: invalid number "%{_smp_build_ncpus}" for -P option
Try 'xargs --help' for more information.
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
xargs: invalid number "%{_smp_build_ncpus}" for -P option
Try 'xargs --help' for more information.
error: Bad exit status from /run/user/1000/rpm-tmp.uJQ7Dd (%install)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions