Skip to content

RPM build fails #521

@mbert

Description

@mbert

So far the RPM installation has worked flawlessly. But maybe there's a regression after the recent changes? In that case you will probably want to know ;)

Definitely. I've already found problem - I've missed copying GlobalDefaults.plist into /Library/Preferences. This file where global GNUstep preferences stored (backend name, theme name, fonts etc.). You may try to build your RPMs. :)

Originally posted by @trunkmaster in #491

It looks like there's still something wrong with the copying of the GlobalDefaults.plist file:

Making install for app ProjectCenter...
 Installing bundle directory...
+ cd ..
+ cp -f /root/rpmbuild/BUILD/nextspace-gnustep-1.31.1_0.32.0-build/BUILDROOT/Library/Themes/NextSpace.theme/Resources/ThemeImages/common_Tile.tiff /root/rpmbuild/BUILD/nextspace-gnustep-1.31.1_0.32.0-build/BUILDROOT/Library/Images
+ cp /root/rpmbuild/SOURCES/GlobalDefaults.plist /root/rpmbuild/BUILD/nextspace-gnustep-1.31.1_0.32.0-build/BUILDROOT/Library/Preferences
cp: cannot stat '/root/rpmbuild/SOURCES/GlobalDefaults.plist': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.p5DnpV (%install)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.p5DnpV (%install)
================================================================================
 Building of NEXTSPACE GNUstep RPM FAILED!
================================================================================
Aborting...

Regarding RPM builds in general - it's really your choice how you want to deal with these build / infrastructure issues (and I won't argue any further after this). I generally prefer to treat all build, test and infrastructure issues as top priority as they can lead to ugly combinations of issues that are then getting increasingly difficult to disentangle. Also fixing them while they are fresh is usually "cheapest".

I am a bit old-school and rather unfamiliar with github's CI functionality. If it's not too tedious, setting up a CI build for something based on the docker-based build scripts I attached in #491 could probably be something worth to consider in order to catch regressions quickly and automatically.

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