Bug 62405 - Can't install print/lyx
Summary: Can't install print/lyx
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 23:00 UTC by andrew
Modified: 2004-02-25 18:45 UTC (History)
0 users

See Also:


Attachments
lyx.diff (1.28 KB, patch)
2004-02-18 20:13 UTC, Miguel Mendez
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description andrew 2004-02-05 23:00:31 UTC
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 ***
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-02-13 09:09:38 UTC
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
Comment 2 Kirill Ponomarev freebsd_committer freebsd_triage 2004-02-13 09:09:43 UTC
State Changed
From-To: open->feedback

Asked for maintainer's review and feedback
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2004-02-13 09:28:32 UTC
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
Comment 4 Miguel Mendez 2004-02-18 20:13:21 UTC
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
Comment 5 Brian Feldman freebsd_committer freebsd_triage 2004-02-25 18:44:27 UTC
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.