Subject: pkg/36027: xorg-libs on OpenBSD: some files are in the PLIST but not in /usr/pkg
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <alnsn@yandex.ru>
List: pkgsrc-bugs
Date: 03/17/2007 19:40:00
>Number:         36027
>Category:       pkg
>Synopsis:       xorg-libs on OpenBSD: some files are in the PLIST but not in /usr/pkg
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 17 19:40:00 +0000 2007
>Originator:     Alexander Nasonov
>Release:        
>Organization:
>Environment:
OpenBSD obx1000.my.domain 4.0 GENERIC#1107 i386

>Description:
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/xorg/lib/libGL.so.3.1
ERROR:         /usr/pkg/xorg/lib/libGLU.so.4.0
ERROR:         /usr/pkg/xorg/lib/libGLw.so.3.0
ERROR:         /usr/pkg/xorg/lib/libX11.so.8.1
ERROR:         /usr/pkg/xorg/lib/libXRes.so.2.0
ERROR:         /usr/pkg/xorg/lib/libXTrap.so.8.0
ERROR:         /usr/pkg/xorg/lib/libXaw.so.7.0
ERROR:         /usr/pkg/xorg/lib/libXaw.so.8.1
ERROR:         /usr/pkg/xorg/lib/libXcomposite.so.1.0
ERROR:         /usr/pkg/xorg/lib/libXdamage.so.1.0
ERROR:         /usr/pkg/xorg/lib/libXext.so.8.0
ERROR:         /usr/pkg/xorg/lib/libXfixes.so.3.0
ERROR:         /usr/pkg/xorg/lib/libXi.so.8.0
ERROR:         /usr/pkg/xorg/lib/libXinerama.so.3.0
ERROR:         /usr/pkg/xorg/lib/libXmu.so.8.0
ERROR:         /usr/pkg/xorg/lib/libXmuu.so.3.0
ERROR:         /usr/pkg/xorg/lib/libXp.so.8.0
ERROR:         /usr/pkg/xorg/lib/libXpm.so.6.0
ERROR:         /usr/pkg/xorg/lib/libXss.so.3.0
ERROR:         /usr/pkg/xorg/lib/libXt.so.8.0
ERROR:         /usr/pkg/xorg/lib/libXtst.so.8.0
ERROR:         /usr/pkg/xorg/lib/libXv.so.3.0
ERROR:         /usr/pkg/xorg/lib/libXvMC.so.3.0
ERROR:         /usr/pkg/xorg/lib/libXxf86dga.so.3.0
ERROR:         /usr/pkg/xorg/lib/libXxf86misc.so.3.0
ERROR:         /usr/pkg/xorg/lib/libXxf86vm.so.3.0
ERROR:         /usr/pkg/xorg/lib/libdps.so.3.0
ERROR:         /usr/pkg/xorg/lib/libdpstk.so.3.0
ERROR:         /usr/pkg/xorg/lib/liboldX.so.8.0
ERROR:         /usr/pkg/xorg/lib/libxkbfile.so.2.0
ERROR:         /usr/pkg/xorg/lib/libxkbui.so.2.0
*** Error code 1

>How-To-Repeat:
$ cd x11/xorg-libs
$ bmake install

...

$ cat /home/pkg/etc/openbsd/mk.conf 
.ifdef BSD_PKG_MK       # begin pkgsrc settings

DISTDIR=                /home/pkg/distfiles
#WRKOBJDIR=             /home/obj/${LOWER_OPSYS}
WRKOBJDIR=              /usr/obj/pkgsrc
PKGCHK_CONF=            /home/pkg/chk/${LOWER_OPSYS}/pkgchk.conf
PKGCHK_UPDATE_CONF=     /home/pkg/chk/${LOWER_OPSYS}/update.conf
PKGSRCDIR=              /home/pkg/src
PKG_DBDIR=              /home/pkg/db/${LOWER_OPSYS}
LOCALBASE=              /usr/pkg
VARBASE=                /var
PACKAGES=               /home/pkg/packages/${LOWER_OPSYS}
PKG_TOOLS_BIN=          /usr/pkg/sbin
DEPENDS_TARGET=         package
PKGMANDIR=              man
FETCH_CMD=              /usr/pkg/bin/ftp
TOOLS_PLATFORM.pax?=    /usr/pkg/bin/pax
TOOLS_PLATFORM.tar?=    /usr/pkg/bin/tar
TOOLS_PLATFORM.mtree?=  /usr/pkg/sbin/mtree
PKG_DEVELOPER=          yes
SU_CMD=                 /usr/bin/sudo /bin/sh -c

X11_TYPE=xorg

ACCEPTABLE_LICENSES+=no-profit
ACCEPTABLE_LICENSES+=ms-ttf-license
ACCEPTABLE_LICENSES+=adobe-acrobat-license
ACCEPTABLE_LICENSES+=no-commercial-use
ACCEPTABLE_LICENSES+=openmotif-license
ACCEPTABLE_LICENSES+=mplayer-codec-license
ACCEPTABLE_LICENSES+=lame-license
ACCEPTABLE_LICENSES+=unrar-license
ACCEPTABLE_LICENSES+=opera-850-license
ACCEPTABLE_LICENSES+=flash-license

PKG_DEFAULT_OPTIONS=    ncurses inet6 ssl -arts -esound -sdl
PKG_OPTIONS.vim=        cscope -ruby
PKG_OPTIONS.msmtp=      -ssl gnutls
PKG_OPTIONS.bash=       static
PKG_OPTIONS.mplayer=    -cdparanoia -faad -nas
PKG_OPTIONS.ffmpeg=     lame vorbis
PKG_OPTIONS.postgresql82-server=pam
PKG_OPTIONS.fluxbox=    xrender imlib2 xft
PKG_OPTIONS.sudo=               pam
#PKG_OPTIONS.tin=       icu
#PKG_OPTIONS.lynx=      socks5

.endif                  # end pkgsrc settings

>Fix: