On Friday 24 February 2006 05:10, Scott Karns wrote: > Hello all. > > I just finished tracking down a curious and very > frustrating RPM build problem. Let me start by stating > that it is not a scribus build bug, rather an > autoconf/automake bug. > > I have successfully used the same specfile to build my > RPMs from CVS snapshots for the better of a year now > when a few days ago my builds began to fail during the > install phase. The error I was getting was: > > /usr/bin/install -c -p -m 644 ./colorchart.h > \ > /home/scott/RPM/tmp/scribus-1.3.3-0.cvs20060221.1sak-buildroot/usr/ >include/scribus/colorchart.h /usr/bin/install -c -p -m 644 > ./colorcombo.h > \ > /usr/include/scribus/colorcombo.h > /usr/bin/install: cannot create regular file \ > `/usr/include/scribus/colorcombo.h': No such file or > directory > make[3]: *** [install-data-local] Error 1 > make[3]: Leaving directory > `/home/scott/RPM/BUILD/scribus-1.3.3cvs/scribus' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory > `/home/scott/RPM/BUILD/scribus-1.3.3cvs/scribus' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/home/scott/RPM/BUILD/scribus-1.3.3cvs/scribus' > make: *** [install-recursive] Error 1 > error: Bad exit status from > /home/scott/RPM/tmp/rpm-tmp.63260 (%install) > > So my question was, why is DEST_DIR not used for > colorcombo.h? I looked and looked at the corresponding > line in scribus/Makefile.am and for the life of me, > could not see any difference. Not until a looked at > what whitespace was on that line as compared to the > other, error free lines, did I understand. The > colorcombo.h line in scribus/Makefile.h had tabs in it > and all the surrounding lines had multiple spaces in > them. It was then a simple matter to create the > following patch: > > --- scribus-1.3.3cvs/scribus/Makefile.am.orig > 2006-02-21 \ > 17:02:16.000000000 -0700 > +++ scribus-1.3.3cvs/scribus/Makefile.am > 2006-02-23 \ > 20:13:43.000000000 -0700 > @@ -270,7 +270,7 @@ > $(INSTALL_DATA) $(srcdir)/collect4output.h > \ > $(prefix)/include/scribus/collect4output.h > $(INSTALL_DATA) $(srcdir)/color.h > \ > $(prefix)/include/scribus/color.h > $(INSTALL_DATA) $(srcdir)/colorchart.h > \ > $(prefix)/include/scribus/colorchart.h > - $(INSTALL_DATA) $(srcdir)/colorcombo.h > \ > $(prefix)/include/scribus/colorcombo.h > + $(INSTALL_DATA) $(srcdir)/colorcombo.h > \ > $(prefix)/include/scribus/colorcombo.h > $(INSTALL_DATA) $(srcdir)/colorm.h > \ > $(prefix)/include/scribus/colorm.h > $(INSTALL_DATA) $(srcdir)/cpalette.h > \ > $(prefix)/include/scribus/cpalette.h > $(INSTALL_DATA) $(srcdir)/crypt.h > \ > $(prefix)/include/scribus/crypt.h > > Sorry, but this MUA doesn't allow me to send > attachments. I see that it has also converted the tabs > in the line in question to spaces, but hopefully you > get the idea. > > The versions of the auto* family of utilities on my > build system are: > automake1.7-1.7.9-2mdk > autoconf2.1-2.13-24mdk > automake1.4-1.4.0.p6-1mdk > autoconf2.5-2.59-6mdk > > I hope this will save someone else the frustration > this caused me. > > -Scott > > __________________________________________________ Hi,
It is now fixed in CVS. Thanks for the pointer. Peter
