Problems with textproc/iso8879 port?

2010-06-11 Thread Antonio Vieiro

Hi all,

I'm trying to install port iso8879 in 8.0-RELEASE (needed by docbook 
and by gnome and wxgtk28) and I'm getting the problem below.


I contacted the maintainer without success. Any ideas, anyone?

Thanks in advance,
Antonio

[r...@casa /usr/ports/textproc/iso8879]# make
===  Vulnerability check disabled, database not found
===  License check disabled, port has not defined LICENSE
===  Extracting for iso8879-1986_2
= MD5 Checksum OK for isoENTS.zip.
= SHA256 Checksum OK for isoENTS.zip.
===  Patching for iso8879-1986_2
===   iso8879-1986_2 depends on executable: unzip - found
===  Configuring for iso8879-1986_2
[r...@casa /usr/ports/textproc/iso8879]# make install
===  Installing for iso8879-1986_2
===   iso8879-1986_2 depends on file: /usr/local/bin/xmlcatmgr - found
===   Generating temporary packing list
===  Checking if textproc/iso8879 already installed
Archive:  /usr/ports/distfiles/isoENTS.zip
caution: filename not matched:  -d
caution: filename not matched:  /usr/local/share/sgml/iso8879
*** Error code 11

If I remove the file in /usr/ports/distfiles/isoENTS.zip and try again 
the build fails too:


[r...@casa /usr/ports/textproc/iso8879]# make install
===  Vulnerability check disabled, database not found
===  License check disabled, port has not defined LICENSE
= isoENTS.zip doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/kuriyama/.

isoENTS.zip   100% of   20 kB   25 kBps
===  Extracting for iso8879-1986_2
= MD5 Checksum OK for isoENTS.zip.
= SHA256 Checksum OK for isoENTS.zip.
===  Patching for iso8879-1986_2
===   iso8879-1986_2 depends on executable: unzip - found
===  Configuring for iso8879-1986_2
===  Installing for iso8879-1986_2
===   iso8879-1986_2 depends on file: /usr/local/bin/xmlcatmgr - found
===   Generating temporary packing list
===  Checking if textproc/iso8879 already installed
Archive:  /usr/ports/distfiles/isoENTS.zip
caution: filename not matched:  -d
caution: filename not matched:  /usr/local/share/sgml/iso8879
*** Error code 11

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems with textproc/iso8879 port?

2010-06-11 Thread Bruce Cran
On Fri, 11 Jun 2010 20:02:47 +0200
Antonio Vieiro anto...@antonioshome.net wrote:

 I'm trying to install port iso8879 in 8.0-RELEASE (needed by
 docbook and by gnome and wxgtk28) and I'm getting the problem below.
 
 I contacted the maintainer without success. Any ideas, anyone?

 ===  Checking if textproc/iso8879 already installed
 Archive:  /usr/ports/distfiles/isoENTS.zip
 caution: filename not matched:  -d
 caution: filename not matched:  /usr/local/share/sgml/iso8879
 *** Error code 11
 
 If I remove the file in /usr/ports/distfiles/isoENTS.zip and try
 again the build fails too:

It looks like a problem with the zip command in
textproc/iso8879/Makefile:

@${UNZIP_CMD} -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}

I don't know what the solution is, but
http://installingcats.com/2008/05/23/caution-filename-not-matched-unzipping-multiple-files/
explains what the error means.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems with textproc/iso8879 port?

2010-06-11 Thread Dan Nelson
In the last episode (Jun 11), Bruce Cran said:
 On Fri, 11 Jun 2010 20:02:47 +0200
 Antonio Vieiro anto...@antonioshome.net wrote:
 
  I'm trying to install port iso8879 in 8.0-RELEASE (needed by
  docbook and by gnome and wxgtk28) and I'm getting the problem below.
  
  I contacted the maintainer without success. Any ideas, anyone?
 
  ===  Checking if textproc/iso8879 already installed
  Archive:  /usr/ports/distfiles/isoENTS.zip
  caution: filename not matched:  -d
  caution: filename not matched:  /usr/local/share/sgml/iso8879
  *** Error code 11
  
  If I remove the file in /usr/ports/distfiles/isoENTS.zip and try
  again the build fails too:
 
 It looks like a problem with the zip command in
 textproc/iso8879/Makefile:
 
 @${UNZIP_CMD} -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}

The -d option to unzip is dangerous imho, since it's in the wrong location
(at the end of the comamndline, after everything else).  Safer to use

  cd ${INSTDIR}  ${UNZIP_CMD} -q -o ${DISTDIR}/${DISTFILES}

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems with textproc/iso8879 port?

2010-06-11 Thread Antonio Vieiro

On 11/06/10 20:34, Dan Nelson wrote:

If I remove the file in /usr/ports/distfiles/isoENTS.zip and try
again the build fails too:


It looks like a problem with the zip command in
textproc/iso8879/Makefile:

@${UNZIP_CMD} -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}


The -d option to unzip is dangerous imho, since it's in the wrong location
(at the end of the comamndline, after everything else).  Safer to use

   cd ${INSTDIR}  ${UNZIP_CMD} -q -o ${DISTDIR}/${DISTFILES}



Thanks all for this. I got it working (docbook is being installed as I 
write this and yes, I'm using the new parallel make on a QuadCore and 
things fly indeed [1] ).


As I'm still a FreeBSD newbie I don't dare to write a patch for this 
yet. (I still have to learn what ${EXTRACT_BEFORE_ARGS} means in that 
makefile, for instance).


I'm a little bit overwhelmed with FreeBSD documentation. I've just found 
the FreeBSD Porter's Handbook. I think I should read that first.


Thanks again,
Antonio

[1] Excerpt from top -P while running make...

CPU 0: 75.3% user,  0.0% nice, 12.0% system,  0.0% interrupt, 12.7% idle
CPU 1: 77.9% user,  0.0% nice,  9.4% system,  0.0% interrupt, 12.7% idle
CPU 2: 85.0% user,  0.0% nice, 10.5% system,  0.0% interrupt,  4.5% idle
CPU 3: 93.6% user,  0.0% nice,  4.9% system,  0.0% interrupt,  1.5% idle

I just love that!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org