[ports-i386@dosirak.kr.freebsd.org: docbook-sk-4.1.2_3 failed on i386 4]

Kris Kennaway kris at obsecurity.org
Mon Apr 5 02:14:35 GMT 2004


The docbook-xml and docbook-sk ports set USE_ZIP, which adds an
EXTRACT_DEPENDS on the unzip port.  However unzip is not actually used
in the extract phase, but in the install phase.

It's legal for the user to extract the port, then deinstall unzip,
then build and install the port, which is what the following log does.
It shows that the unzip dependency is not just needed by these ports
at extract time, but at package install time, because that's when
unzip is actually run.

The ports collection doesn't have an INSTALL_DEPENDS, and I'm not sure
one is needed.  What should probably happen is that these ports should
be changed to extract their source completely during the extract
phase.  Another possibility would be to add unzip as a BUILD_DEPENDS
and do that in the build phase.

Kris

----- Forwarded message from User Ports-i386 <ports-i386 at dosirak.kr.freebsd.org> -----

X-Original-To: kkenn at localhost
Delivered-To: kkenn at localhost.obsecurity.org
Delivered-To: kris at freebsd.org
Date: Mon, 5 Apr 2004 11:03:44 +0900 (KST)
From: User Ports-i386 <ports-i386 at dosirak.kr.freebsd.org>
To: kris at FreeBSD.org
Subject: docbook-sk-4.1.2_3 failed on i386 4
X-UIDL: hFR!!U~p!!hB)"!7!H!!
X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.16.4

building docbook-sk-4.1.2_3 on dosirak
in directory /var/pkgbuild/4/chroot/7392
/usr/ports/textproc/docbook-sk
1
unzip-5.50_2



xmlcatmgr-2.0.b1
maintained by: gnome at FreeBSD.org
build started at Mon Apr  5 02:02:45 GMT 2004
add_pkg
================================================================
====================<phase 1: make checksum>====================
===>  Vulnerability check disabled
>> docbkx412.zip doesn't seem to exist in /tmp/distfiles/.
>> Attempting to fetch from ftp://ftp2.kr.freebsd.org/pub/FreeBSD/ports/distfiles//.
docbkx412.zip                                           73 kB 2843 kBps
>> Checksum OK for docbkx412.zip.
/usr/ports/textproc/docbook-sk
2
unzip-5.50_2



xmlcatmgr-2.0.b1
================================================================
====================<phase 2: make extract>====================
add_pkg unzip-5.50_2
adding dependencies
pkg_add unzip-5.50_2
===>  Vulnerability check disabled
===>  Extracting for docbook-sk-4.1.2_3
>> Checksum OK for docbkx412.zip.
===>   docbook-sk-4.1.2_3 depends on executable: unzip - found
deleting dependencies
pkg_delete unzip-5.50_2
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for docbook-sk-4.1.2_3
================================================================
====================<phase 4: make build>====================
add_pkg
===>  Configuring for docbook-sk-4.1.2_3
================================================================
====================<phase 5: make package>====================
add_pkg xmlcatmgr-2.0.b1
adding dependencies
pkg_add xmlcatmgr-2.0.b1
 + Creating /usr/local/share/sgml/catalog
 + Registering CATALOG catalog.ports (SGML)
 + Creating /usr/local/share/sgml/catalog.ports
 + Creating /usr/local/share/xml/catalog
 + Registering nextCatalog catalog.ports (XML)
 + Creating /usr/local/share/xml/catalog.ports

The following catalogs are installed:

 1) ${PREFIX}/share/sgml/catalog

   The top level catalog for SGML stuff.  It is not changed
   by any ports/packages except textproc/xmlcatmgr.

 2) ${PREFIX}/share/sgml/catalog.ports

   This catalog is for handling SGML stuff installed under
   ${PREFIX}/share/sgml.  It is changed by ports/packages.

 3) ${PREFIX}/share/xml/catalog

   The top level catalog for XML stuff.  It is not changed
   by any ports/packages except textproc/xmlcatmgr.

 4) ${PREFIX}/share/xml/catalog.ports

   This catalog is for handling XML stuff installed under
   ${PREFIX}/share/xml.  It is changed by ports/packages.

===>  Installing for docbook-sk-4.1.2_3
===>   docbook-sk-4.1.2_3 depends on file: /usr/local/bin/xmlcatmgr - found
===>   Generating temporary packing list
===>  Checking if textproc/docbook-sk already installed
for file in `unzip -l /tmp/distfiles/docbkx412.zip|/usr/bin/awk '/:[0-9].*[^\/]$/{print $4}'`; do  install -c -o root -g wheel -m 444 /tmp/a/ports/textproc/docbook-sk/work/$file /usr/local/share/xml/docbook/4.1.2/$file;  done
unzip: not found
===>   Registering installation for docbook-sk-4.1.2_3
===>  Building package for docbook-sk-4.1.2_3
tar: share/xml/docbook/4.1.2/40chg.txt: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/41chg.txt: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ChangeLog: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/calstblx.dtd: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/dbcentx.mod: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/dbgenent.mod: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/dbhierx.mod: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/dbnotnx.mod: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/dbpoolx.mod: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/docbook.cat: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/docbookx.dtd: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-amsa.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-amsb.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-amsc.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-amsn.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-amso.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-amsr.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-box.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-cyr1.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-cyr2.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-dia.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-grk1.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-grk2.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-grk3.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-grk4.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-lat1.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-lat2.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-num.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-pub.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/ent/iso-tech.ent: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/readme.txt: Cannot stat: No such file or directory
tar: share/xml/docbook/4.1.2/soextblx.dtd: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
pkg_create: make_dist: tar command failed with code 512
Creating package /tmp/packages/All/docbook-sk-4.1.2_3.tgz
Registering depends: xmlcatmgr-2.0.b1.
Creating gzip'd tar ball in '/tmp/packages/All/docbook-sk-4.1.2_3.tgz'
*** Error code 1

Stop in /a/ports/textproc/docbook-sk.
================================================================
build ended at Mon Apr  5 02:03:31 GMT 2004

----- End forwarded message -----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040404/f1047147/attachment.bin


More information about the freebsd-gnome mailing list