Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 19:04:28 -0400 (EDT)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13360: print/cdlabelgen fails to install [PATCH]
Message-ID:  <199908242304.TAA68628@shadow.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         13360
>Category:       ports
>Synopsis:       print/cdlabelgen fails to install [PATCH]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 24 16:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
none
>Environment:

FreeBSD shadow.blackdawn.com 3.2-STABLE FreeBSD 3.2-STABLE #0: Sat Aug 14 00:56:46 EDT 1999     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:

Hrmm.. I just cvsup'd ports-supfile about half an hour ago and
attempted to install a newer version of cdlablgen. But I got this
error:

install -m 0644 ./postscript/template.ps /usr/local/share/cdlabelgen
set -e;  for file in template.ps recycle.ps recycle.epsi mp3.eps cdda.eps      cd.eps penguin.eps debian-color.eps debian-bw.eps; do  install -m 0644 postscript/$file /usr/local/share/cdlabelgen/;  done
install: postscript/template.ps: No such file or directory

This comes from /usr/ports/print/cdlabelgen/work/cdlabelgen-1.5.0/Makefile:

[-cut-]
POSTSCRIPT = template.ps recycle.ps recycle.epsi mp3.eps cdda.eps     \
                                 cd.eps penguin.eps debian-color.eps debian-bw.eps 
[-cut-]
install:
[-cut-]
	for file in $(POSTSCRIPT); do \
		$(INSTALL_FILE) postscript/$$file $(BASE_DIR)/share/cdlabelgen/; \
	-one

but, when I look in work/cdlabelgen-1.5.0/postscript, I see:
-rw-r--r--  1 root  wheel  39296 Jul  4 18:44 cd.eps
-rw-r--r--  1 root  wheel  45203 Jul  4 18:44 cdda.eps
-rw-r--r--  1 root  wheel  57083 Jul  4 18:44 debian-bw.eps
-rw-r--r--  1 root  wheel  57083 Jul  4 18:44 debian-color.eps
-rw-r--r--  1 root  wheel   3377 Jul  4 18:44 mp3.eps
-rw-r--r--  1 root  wheel  20254 Jul  4 18:44 penguin.eps
-rw-r--r--  1 root  wheel   3614 Jul  4 18:44 recycle.epsi
-rw-r--r--  1 root  wheel   1588 Jul  4 18:44 recycle.ps

Clearly, there is no template.ps.

>How-To-Repeat:

With the latest ports obtained via cvsup from cvsup4.freebsd.org, do:

	# cd /usr/ports/print/cdlabelgen && make install

The install should subsequently fail.

>Fix:

diff -urN cdlabelgen/patches/patch-aa cdlabelgen.new/patches/patch-aa
--- cdlabelgen/patches/patch-aa	Mon Jun 28 15:49:59 1999
+++ cdlabelgen.new/patches/patch-aa	Tue Aug 24 18:48:12 1999
@@ -1,5 +1,6 @@
-Index: Makefile
-@@ -4,7 +4,7 @@
+--- Makefile	Sun Jul  4 18:44:37 1999
++++ Makefile.new	Tue Aug 24 18:47:27 1999
+@@ -4,11 +4,11 @@
  
  # Where you want cdlabelgen and related files to be
  
@@ -7,4 +8,10 @@
 +#BASE_DIR   = /usr/local
  TEMPLATE   = ./postscript/template.ps
  SOURCES    = cdlabelgen ChangeLog COPYING INSTALL README Makefile
- POSTSCRIPT = template.ps recycle.ps recycle.epsi mp3.eps cdda.eps cd.eps penguin.eps
+-POSTSCRIPT = template.ps recycle.ps recycle.epsi mp3.eps cdda.eps     \
+-				 cd.eps penguin.eps debian-color.eps debian-bw.eps
++POSTSCRIPT = recycle.ps recycle.epsi mp3.eps cdda.eps     \
++		cd.eps penguin.eps debian-color.eps debian-bw.eps
+ DISTFILES = $(SOURCES) $(POSTSCRIPT)
+ 
+ # just use 'cp -a' if you don't have install...

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908242304.TAA68628>