Lyx builds but won't install test -f xfonts/PSres.upr && install -c -o root -g wheel -m 444 xfonts/PSres.upr produces "error 1" - it would be really useful if something explained what error 1 is - this is even less informative than the 1970s Basic "syntax error"! How-To-Repeat: try installing lyx *** I have a trace produced with script ***
Hi, On Thu, Feb 05, 2004 at 03:00:13PM -0800, Andrew Grillet wrote: > > >Number: 62405 > >Category: ports > >Synopsis: Can't install lyx > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-ports-bugs > >State: open Could you please review this PR ? http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/62405 -Kirill
State Changed From-To: open->feedback Asked for maintainer's review and feedback
State Changed From-To: feedback->analyzed This is the same failure bento is reporting. There have also been frequent reports on the lyx-devel list (e.g. http://www.mail-archive.com/cgi-bin/htsearch?config=lyx-devel_lists_lyx_org&restrict=&exclude=&words=%22lyx-1.3.x+compile+failure%22 ). A patch was passed that looked like this: I have not tested this. Perhaps the maintainer can test try to adapt the patch for the port. Index: lib/Makefile.am =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/Makefile.am,v retrieving revision 1.51.2.2 diff -u -p -r1.51.2.2 Makefile.am --- lib/Makefile.am 17 Sep 2003 13:47:24 -0000 1.51.2.2 +++ lib/Makefile.am 5 Nov 2003 16:49:56 -0000 @@ -58,8 +58,10 @@ install-xfonts: ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; done ; $(INSTALL_DATA) xfonts/fonts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; - $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale - test -f xfonts/PSres.upr && $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr + $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale ; + if test -f xfonts/PSres.upr ; then + $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr ; + fi
Kirill Ponomarew wrote: Hi, > Could you please review this PR ? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/62405 > > -Kirill Sorry for the delay, as pointed out by Tilman the suggested patch seems to fix the problem on my 5.2.1-RC box. See attached patch. Cheers, -- Miguel Mendez <flynn@energyhq.es.eu.org> http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1
State Changed From-To: analyzed->closed In lieu of letting the port expire and be removed, I've committed the patch which appears to fix things for you.