Re: Empty debugsourcefiles.list when building out of source

2018-01-11 Thread Nico Kadel-Garcia
On Thu, Jan 11, 2018 at 5:39 AM, David Demelier wrote: > On Thu, Jan 11, 2018 at 05:22:05AM -0500, Nico Kadel-Garcia wrote: >> What RPM are you building from? > > I do rpmbuild -ba OpenRCT2.spec I should have said "SRPM". What you have mentioned there is a .spec file, and I've no idea where you g

Re: Empty debugsourcefiles.list when building out of source

2018-01-11 Thread David Demelier
On Thu, Jan 11, 2018 at 11:50:50AM +0100, Andrea Musuruane wrote: > Actually you should use the %cmake macro: > https://fedoraproject.org/wiki/Packaging:Cmake Thanks, this is indeed the correct solution. -- David Demelier ___ devel mailing list -- deve

Re: Empty debugsourcefiles.list when building out of source

2018-01-11 Thread Patrick Monnerat
On 01/11/2018 11:45 AM, David Demelier wrote: On Thu, Jan 11, 2018 at 11:21:56AM +0100, Patrick Monnerat wrote: 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}" Is ther

Re: Empty debugsourcefiles.list when building out of source

2018-01-11 Thread Andrea Musuruane
On Thu, Jan 11, 2018 at 11:45 AM, David Demelier wrote: > Is there a place where you see that we must use this variable? > > Anyway, it worked, I changed the CMake invocation to: > > cmake ... \ > -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ > -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ >

Re: Empty debugsourcefiles.list when building out of source

2018-01-11 Thread Mark Wielaard
On Thu, 2018-01-11 at 11:21 +0100, Patrick Monnerat wrote: > 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

Re: Empty debugsourcefiles.list when building out of source

2018-01-11 Thread David Demelier
On Thu, Jan 11, 2018 at 11:21:56AM +0100, Patrick Monnerat wrote: > 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}" Is there a place where you see that we must us

Re: Empty debugsourcefiles.list when building out of source

2018-01-11 Thread David Demelier
On Thu, Jan 11, 2018 at 05:22:05AM -0500, Nico Kadel-Garcia wrote: > What RPM are you building from? I do rpmbuild -ba OpenRCT2.spec -- David Demelier ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@l

Re: Empty debugsourcefiles.list when building out of source

2018-01-11 Thread Nico Kadel-Garcia
On Thu, Jan 11, 2018 at 5: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: Ope

Re: Empty debugsourcefiles.list when building out of source

2018-01-11 Thread Patrick Monnerat
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-