Skip to content

fpm/rpmbuild broken on latest MacOS #9057

Open
@mmaietta

Description

@mmaietta

Creating this issue so that others may find it if they come across this puzzling error all of a sudden in their build processes.

Honestly not sure what happened, as I can repro this on CI and local M2 MacBook, but the issue only appeared today after zero code changes. Not sure if this is related to an OS system update, but regardless, I have it as top priority to fix. (Wouldn't surprise me, Apple likes to do that and coincidentally my laptop updated recently. Makes sense that the macos-latest GH runners would be impacted shortly after as well)

Workaround for now that works for me locally

gem install fpm
USE_SYSTEM_FPM=true npm run your:build:command

brew install fpm also worked for me, however I think it's a very old version of fpm?

Current error logged:

⨯ cannot execute  cause=exit status 1
                    out={:timestamp=>"2025-04-24T15:48:38.812078-0700", :message=>"Process failed: rpmbuild failed (exit code 1). Full command was:[\"rpmbuild\", \"-bb\", \"--target\", \"armv7l-unknown-linux\", \"--define\", \"buildroot /var/folders/y3/r1xf5xzn5pddms2gslqh14sh0000gn/T/package-rpm-build-347ac3e9fc7a8042ca667256685257f2fe386ab56637b267032c16c13170/BUILD\", \"--define\", \"_topdir /var/folders/y3/r1xf5xzn5pddms2gslqh14sh0000gn/T/package-rpm-build-347ac3e9fc7a8042ca667256685257f2fe386ab56637b267032c16c13170\", \"--define\", \"_sourcedir /var/folders/y3/r1xf5xzn5pddms2gslqh14sh0000gn/T/package-rpm-build-347ac3e9fc7a8042ca667256685257f2fe386ab56637b267032c16c13170\", \"--define\", \"_rpmdir /var/folders/y3/r1xf5xzn5pddms2gslqh14sh0000gn/T/package-rpm-build-347ac3e9fc7a8042ca667256685257f2fe386ab56637b267032c16c13170/RPMS\", \"--define\", \"_tmppath /var/folders/y3/r1xf5xzn5pddms2gslqh14sh0000gn/T\", \"/var/folders/y3/r1xf5xzn5pddms2gslqh14sh0000gn/T/package-rpm-build-347ac3e9fc7a8042ca667256685257f2fe386ab56637b267032c16c13170/SPECS/concurrent.spec\"]", :level=>:error}

CC @beyondkmp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions