Skip to content

fpm/rpmbuild broken on latest MacOS #9057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mmaietta opened this issue Apr 24, 2025 · 0 comments
Open

fpm/rpmbuild broken on latest MacOS #9057

mmaietta opened this issue Apr 24, 2025 · 0 comments

Comments

@mmaietta
Copy link
Collaborator

mmaietta commented Apr 24, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant