This seems to be a bug in Automake. I think I have found a work-around. Please try it out.
Thanks. On Sun, Aug 30, 2020 at 01:30:01PM +0200, John Darrington wrote: Okay. I see now that I have the same problem when I use DESTDIR= I will look into it. Thanks for reporting this. J' On Sun, Aug 30, 2020 at 02:22:05PM +0300, opensuse.lietuviu.kalba wrote: 2020-08-30 14:05, John Darrington ra????: > So --prefix=/usr ... in this case, your DESTDIR should contain the following files. If it contains > anything else, then there's a problem, somewhere. Yes, most files are in /usr for RPM packaging (i.e. $RPM_BUILD_ROOT/usr) ??? it is correct. $RPM_BUILD_ROOT is the root of files to be included into RPM. The only *exceptions are* $RPM_BUILD_ROOT/etc/ld.so.conf.d/pspp.conf *and* *libpsppire-glade** ??? that way I am writing to you. As I don't need libpsppire-glade*, I use temporal workaround: rm -f $RPM_BUILD_ROOT/$(pwd)/src/ui/gui/libpsppire-glade* || true rm -f $RPM_BUILD_ROOT/usr/lib/debug$(pwd)/src/ui/gui/libpsppire-glade* || true See more details in https://build.opensuse.org/package/view_file/home:embar-/PSPP-master/pspp.spec?expand=1 -- Regards, Mindaugas