Skip to content
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

RPM Packaging is not working #235

Open
jyo64 opened this issue Nov 22, 2024 · 1 comment
Open

RPM Packaging is not working #235

jyo64 opened this issue Nov 22, 2024 · 1 comment

Comments

@jyo64
Copy link

jyo64 commented Nov 22, 2024

When I try to create an RPM Package for a flutter build I get the following error:

cp: cannot stat 'saber/*': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.xMvFh2 (%install)
%source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from
Bad exit status from /var/tmp/rpm-tmp.xMvFh2 (%install)

RPM build warnings:

RPM build errors:
MakeError
#0 AppPackageMakerRPM._make (package:flutter_app_packager/src/makers/rpm/app_package_maker_rpm.dart:179:7)

#1 FlutterDistributor.package (package:flutter_distributor/src/flutter_distributor.dart:182:35)

#2 CommandRunner.runCommand (package:args/command_runner.dart:212:13)

Unhandled exception:
MakeError
#0 AppPackageMakerRPM._make (package:flutter_app_packager/src/makers/rpm/app_package_maker_rpm.dart:179:7)

#1 FlutterDistributor.package (package:flutter_distributor/src/flutter_distributor.dart:182:35)

#2 CommandRunner.runCommand (package:args/command_runner.dart:212:13)

My SPEC file does not generate an attribute called changelog even if its in my make config file. Could it be an issue with make_rpm_config.dart?

@jyo64
Copy link
Author

jyo64 commented Nov 26, 2024

Maybe because in packages/flutter_app_packager/lib/src/makers/rpm/make_rpm_config.dart changelog is being read, but not written to the SPEC file.

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