On 01/11/2018 11:13 AM, David Demelier wrote:
Hello,

I'm trying to upgrade my OpenRCT 2 package [0] to fedora 27.

It looks like something changed regarding the generation of debug files because
I can't get it to build a .rpm anymore.

I get:

     Processing files: OpenRCT2-debugsource-0.1.1-1.fc27.x86_64
     error: Empty %files file 
/home/markand/rpmbuild/BUILD/OpenRCT2-0.1.1/debugsourcefiles.list

I also encountered this problem before and I fixed it by respecting the RPM_OPT_FLAGS. Before cmake, use:

export CFLAGS="${RPM_OPT_FLAGS}"
export CXXFLAGS="${RPM_OPT_FLAGS}"

This did the trick.

Obviously the problem depends on a compiler flag, but I can't tell you which.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to