pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34739: libexif inappropriate doc path



>Number:         34739
>Category:       pkg
>Synopsis:       libexif inappropriate doc path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 07 04:05:00 +0000 2006
>Originator:     Makoto Miida
>Release:        Mac OS X 10.3.9
>Organization:
>Environment:
Darwin ***.enpaix.net 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 
PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc

>Description:
When running "bmake package" for pkgsrc/graphics/libexif, 
install and packaging phases return error messages 
and the packaging phase is aborted.

It seems because there is a difference 
between actual directory and expected directory 
for documents installation.

I am not sure if the patch I paste into the Fix part of this PR 
works fine for every other platform using pkgsrc.

please guys review, modify and release if it is appropriate.


===> Installing for libexif-0.6.13nb1

<<snip>>

Making install in doc
test -z "/Volumes/NetBSD/pkg/share/doc/libexif-0.6.13" || mkdir -p -- . "/Volume
s/NetBSD/pkg/share/doc/libexif-0.6.13"
 /usr/bin/install -c -o root -g wheel -m 444 'README.apidocs' '/Volumes/NetBSD/p
kg/share/doc/libexif-0.6.13/README.apidocs'
Making install in binary
test -z "/Volumes/NetBSD/pkg/share/doc/libexif-0.6.13" || mkdir -p -- . "/Volume
s/NetBSD/pkg/share/doc/libexif-0.6.13"
 /usr/bin/install -c -o root -g wheel -m 444 'README' '/Volumes/NetBSD/pkg/share
/doc/libexif-0.6.13/README'
 /usr/bin/install -c -o root -g wheel -m 444 'AUTHORS' '/Volumes/NetBSD/pkg/shar
e/doc/libexif-0.6.13/AUTHORS'
 /usr/bin/install -c -o root -g wheel -m 444 'NEWS' '/Volumes/NetBSD/pkg/share/d
oc/libexif-0.6.13/NEWS'
 /usr/bin/install -c -o root -g wheel -m 444 'ChangeLog' '/Volumes/NetBSD/pkg/sh
are/doc/libexif-0.6.13/ChangeLog'
 /usr/bin/install -c -o root -g wheel -m 444 'ABOUT-NLS' '/Volumes/NetBSD/pkg/sh
are/doc/libexif-0.6.13/ABOUT-NLS'
 /usr/bin/install -c -o root -g wheel -m 444 'COPYING' '/Volumes/NetBSD/pkg/shar
e/doc/libexif-0.6.13/COPYING'
=> Automatic manual page handling
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/ABOUT-NLS'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/AUTHORS'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/COPYING'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/ChangeLog'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/NEWS'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/README'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/README.apidocs'
=> Registering installation for libexif-0.6.13nb1
pkg_admin: libexif-0.6.13nb1: File `/Volumes/NetBSD/pkg/share/doc/libexif/ABOUT-
NLS' is in +CONTENTS but not on filesystem!
pkg_admin: libexif-0.6.13nb1: File `/Volumes/NetBSD/pkg/share/doc/libexif/AUTHOR
S' is in +CONTENTS but not on filesystem!
pkg_admin: libexif-0.6.13nb1: File `/Volumes/NetBSD/pkg/share/doc/libexif/COPYIN
G' is in +CONTENTS but not on filesystem!
pkg_admin: libexif-0.6.13nb1: File `/Volumes/NetBSD/pkg/share/doc/libexif/Change
Log' is in +CONTENTS but not on filesystem!
pkg_admin: libexif-0.6.13nb1: File `/Volumes/NetBSD/pkg/share/doc/libexif/NEWS' 
is in +CONTENTS but not on filesystem!
pkg_admin: libexif-0.6.13nb1: File `/Volumes/NetBSD/pkg/share/doc/libexif/README
' is in +CONTENTS but not on filesystem!
pkg_admin: libexif-0.6.13nb1: File `/Volumes/NetBSD/pkg/share/doc/libexif/README
.apidocs' is in +CONTENTS but not on filesystem!
libexif-0.6.13nb1 requires installed package gettext-lib-0.14.6
===> Building binary package for libexif-0.6.13nb1
Creating package /Users/mm/Documents/_Archives/pkgsrc-packages/Darwin/7.9.0/powe
rpc/All/libexif-0.6.13nb1.tgz
Using SrcDir value of /Volumes/NetBSD/pkg
Registering depends: gettext-lib>=0.14.5.
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/ABOUT-NLS'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/AUTHORS'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/COPYING'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/ChangeLog'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/NEWS'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/README'
pkg_create: can't stat `/Volumes/NetBSD/pkg/share/doc/libexif/README.apidocs'
tar: Unable to access share/doc/libexif/ABOUT-NLS (No such file or directory)
tar: Unable to access share/doc/libexif/AUTHORS (No such file or directory)
tar: Unable to access share/doc/libexif/COPYING (No such file or directory)
tar: Unable to access share/doc/libexif/ChangeLog (No such file or directory)
tar: Unable to access share/doc/libexif/NEWS (No such file or directory)
tar: Unable to access share/doc/libexif/README (No such file or directory)
tar: Unable to access share/doc/libexif/README.apidocs (No such file or director
y)
tar: WARNING! These file names were not selected:
share/doc/libexif/ABOUT-NLS
share/doc/libexif/AUTHORS
share/doc/libexif/COPYING
share/doc/libexif/ChangeLog
share/doc/libexif/NEWS
share/doc/libexif/README
share/doc/libexif/README.apidocs
pkg_create: /Volumes/NetBSD/pkg/bin/tar command failed with code 1
ERROR: (env pkg_create -K pkgdb: exitcode 2)
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/graphics/libexif
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/graphics/libexif
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/graphics/libexif
*** Error code 1

Stop.

>How-To-Repeat:
cd graphics/libexif && sudo bmake package

>Fix:
Changing the configure script as below works fine for my environment.

--- configure.orig      Wed Dec 28 06:18:32 2005
+++ configure
@@ -20271,7 +20271,7 @@ echo "${ECHO_T}${maindocdir} (default va
 echo $ECHO_N "checking package docdir... $ECHO_C" >&6
     # check whether to include package version into documentation path
     # FIXME: doesn't work properly.
-    if ls -d /usr/{share/,}doc/make-0-9* > /dev/null 2>&1
+    if test -d "/usr/{share/,}doc/make-0-9*"
     then
         docdir="${maindocdir}/${PACKAGE}-${VERSION}"
         echo "$as_me:$LINENO: result: ${docdir} (redhat style)" >&5




Home | Main Index | Thread Index | Old Index