NetBSD Problem Report #39975
From kre@munnari.OZ.AU Thu Nov 20 11:19:11 2008
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 27E6963B874
for <gnats-bugs@gnats.NetBSD.org>; Thu, 20 Nov 2008 11:19:11 +0000 (UTC)
Message-Id: <200811201118.mAKBIr31029878@jade.coe.psu.ac.th>
Date: Thu, 20 Nov 2008 18:18:53 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: graphics/pixmap compilation errros (NetBSD 4.0 w pkgsrc modular xorg)
X-Send-Pr-Version: 3.95
>Number: 39975
>Category: pkg
>Synopsis: graphics/pixmap compilation errros (NetBSD 4.0 w pkgsrc modular xorg)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 20 11:20:00 +0000 2008
>Closed-Date: Sun Nov 30 08:46:39 +0000 2008
>Last-Modified: Sun Nov 30 08:46:39 +0000 2008
>Originator: Robert Elz
>Release: NetBSD 4.0_STABLE (pkgsrc current within past few hours)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
Compiling graphics/pixmap generates thousands of comple errors
from the first file it attempts to compile.
>How-To-Repeat:
I'm using pkg_comp with NetBSD 4.0 sets installed, and libkver
to similate a NetBSD 4.0 build environment (underlying kernel is
a 6 month old NetBSD 4.0 STABLE). The release X sets are not
installed, instead X11_TYPE=modular is in the (sandbox) mk.conf
Building graphics/pixmap starting frmo an almost clean sandbox
(it would have pkg_install, libkver, digest, lintpkgsrc, and
with the latter, perl5 all pre-installed) does as follows ...
PKG_COMP ==> Mounting sandboxed filesystems
PKG_COMP ==> Checking if pkg_install is up to date
PKG_COMP ==> Building and installing graphics/pixmap
===> Binary install for pixmap-2.6.4nb5
=> Installing pixmap-2.6.4nb5 from /pkg_comp/packages/All
pkg_add: no pkg found for 'pixmap-2.6.4nb5', sorry.
pkg_add: 1 package addition failed
=> No binary package found for pixmap-2.6.4nb5; installing from source.
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Checksum SHA1 OK for pixmap2.6.tar.gz
=> Checksum RMD160 OK for pixmap2.6.tar.gz
=> Checksum SHA1 OK for pixmap_2.6.patch1.gz
=> Checksum RMD160 OK for pixmap_2.6.patch1.gz
=> Checksum SHA1 OK for pixmap_2.6.patch2.gz
=> Checksum RMD160 OK for pixmap_2.6.patch2.gz
=> Checksum SHA1 OK for pixmap_2.6.patch3.gz
=> Checksum RMD160 OK for pixmap_2.6.patch3.gz
=> Checksum SHA1 OK for pixmap_2.6.patch4.gz
=> Checksum RMD160 OK for pixmap_2.6.patch4.gz
===> Installing dependencies for pixmap-2.6.4nb5
==========================================================================
The following variables will affect the build process of this package,
pixmap-2.6.4nb5. Their current value is shown below:
* MOTIFBASE (defined)
* MOTIF_TYPE = openmotif
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Build dependency imake-[0-9]*: NOT found
=> Verifying bin-install for ../../devel/imake
===> Binary install for imake-[0-9]*
=> Installing imake-[0-9]* from /pkg_comp/packages/All
imake-1.0.2nb2 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Build dependency imake-[0-9]*: found imake-1.0.2nb2
=> Build dependency xextproto>=7.0: NOT found
=> Verifying bin-install for ../../x11/xextproto
===> Binary install for xextproto>=7.0
=> Installing xextproto>=7.0 from /pkg_comp/packages/All
xextproto-7.0.3 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Build dependency inputproto>=1.4: NOT found
=> Verifying bin-install for ../../x11/inputproto
===> Binary install for inputproto>=1.4
=> Installing inputproto>=1.4 from /pkg_comp/packages/All
inputproto-1.4.4 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Build dependency printproto>=1.0.3: NOT found
=> Verifying bin-install for ../../x11/printproto
===> Binary install for printproto>=1.0.3
=> Installing printproto>=1.0.3 from /pkg_comp/packages/All
printproto-1.0.4 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Build dependency renderproto>=0.9.3nb1: NOT found
=> Verifying bin-install for ../../x11/renderproto
===> Binary install for renderproto>=0.9.3nb1
=> Installing renderproto>=0.9.3nb1 from /pkg_comp/packages/All
renderproto-0.9.3nb1 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Build dependency kbproto>=1.0.2: NOT found
=> Verifying bin-install for ../../x11/kbproto
===> Binary install for kbproto>=1.0.2
=> Installing kbproto>=1.0.2 from /pkg_comp/packages/All
kbproto-1.0.3 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Build dependency xproto>=7.0.9: NOT found
=> Verifying bin-install for ../../x11/xproto
===> Binary install for xproto>=7.0.9
=> Installing xproto>=7.0.9 from /pkg_comp/packages/All
xproto-7.0.14 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Build dependency xbitmaps>=1.0: NOT found
=> Verifying bin-install for ../../x11/xbitmaps
===> Binary install for xbitmaps>=1.0
=> Installing xbitmaps>=1.0 from /pkg_comp/packages/All
xbitmaps-1.0.1 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Build dependency checkperms>=1.1: NOT found
=> Verifying bin-install for ../../sysutils/checkperms
===> Binary install for checkperms>=1.1
=> Installing checkperms>=1.1 from /pkg_comp/packages/All
checkperms-1.10 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Full dependency openmotif>=2.3.1: NOT found
=> Verifying bin-install for ../../x11/openmotif
===> Binary install for openmotif>=2.3.1
=> Installing openmotif>=2.3.1 from /pkg_comp/packages/All
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/20-fix-globaladvance.conf to /etc/conf/fontconfig/conf.d/20-fix-globaladvance.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/20-unhint-small-vera.conf to /etc/conf/fontconfig/conf.d/20-unhint-small-vera.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/30-metric-aliases.conf to /etc/conf/fontconfig/conf.d/30-metric-aliases.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/30-urw-aliases.conf to /etc/conf/fontconfig/conf.d/30-urw-aliases.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/40-nonlatin.conf to /etc/conf/fontconfig/conf.d/40-nonlatin.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/45-latin.conf to /etc/conf/fontconfig/conf.d/45-latin.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/49-sansserif.conf to /etc/conf/fontconfig/conf.d/49-sansserif.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/50-user.conf to /etc/conf/fontconfig/conf.d/50-user.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/51-local.conf to /etc/conf/fontconfig/conf.d/51-local.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/60-latin.conf to /etc/conf/fontconfig/conf.d/60-latin.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/65-fonts-persian.conf to /etc/conf/fontconfig/conf.d/65-fonts-persian.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/65-nonlatin.conf to /etc/conf/fontconfig/conf.d/65-nonlatin.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/69-unifont.conf to /etc/conf/fontconfig/conf.d/69-unifont.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/80-delicious.conf to /etc/conf/fontconfig/conf.d/80-delicious.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/conf.d/90-synthetic.conf to /etc/conf/fontconfig/conf.d/90-synthetic.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/fonts.conf to /etc/conf/fontconfig/fonts.conf
fontconfig-2.6.0: copying /usr/pkg/share/examples/fontconfig/fonts.dtd to /etc/conf/fontconfig/fonts.dtd
openmotif-2.3.1nb1 successfully installed.
=> Returning to build of pixmap-2.6.4nb5
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.7nb1
===> Overriding tools for pixmap-2.6.4nb5
===> Extracting for pixmap-2.6.4nb5
===> Patching for pixmap-2.6.4nb5
=> Applying distribution patches for pixmap-2.6.4nb5
=> Applying pkgsrc patches for pixmap-2.6.4nb5
===> Creating toolchain wrappers for pixmap-2.6.4nb5
===> Configuring for pixmap-2.6.4nb5
=> Checking for portability problems in extracted files
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/pkg/lib/X11/config
make Makefiles
make includes
make depend
rm -f .depend
makedepend -f- -- -I. -I.. -I/usr/pkg/include -I/include -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -D_NO_PROTO -DAPPDEFDIR=\"/usr/pkg/lib/X11/app-defaults\" -DRGBF=\"/usr/pkg/lib/X11/rgb.txt\" -DUSE_MAKEDEPEND -- PixEdit.c Pixmap.c Dialog.c > .depend
===> Building for pixmap-2.6.4nb5
cc -O2 -fno-strict-aliasing -I. -I.. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -D_NO_PROTO -DAPPDEFDIR=\"/usr/pkg/lib/X11/app-defaults\" -DRGBF=\"/usr/pkg/lib/X11/rgb.txt\" -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c PixEdit.c
In file included from /pkg_comp/obj/pkgsrc/graphics/pixmap/4x/.buildlink/include/X11/Intrinsic.h:56,
from PixEdit.c:62:
/pkg_comp/obj/pkgsrc/graphics/pixmap/4x/.buildlink/include/X11/Xlib.h: In function 'XSetOMValues':
/pkg_comp/obj/pkgsrc/graphics/pixmap/4x/.buildlink/include/X11/Xlib.h:3573: error: expected declaration specifiers before '_X_SENTINEL'
/pkg_comp/obj/pkgsrc/graphics/pixmap/4x/.buildlink/include/X11/Xlib.h:3578: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_X_SENTINEL'
/pkg_comp/obj/pkgsrc/graphics/pixmap/4x/.buildlink/include/X11/Xlib.h:3582: error: storage class specified for parameter 'XDisplayOfOM'
Followed by about another 3000 lines of compiler error messages.
culminating in ...
PixEdit.c:2203: error: 'textOptions' undeclared (first use in this function)
PixEdit.c:2210: error: 'XtPointer' undeclared (first use in this function)
PixEdit.c:2210: error: expected ')' before 'sizeof'
PixEdit.c:1872: warning: return type of 'main' is not 'int'
*** Error code 1
Stop.
make: stopped in /pkg_comp/obj/pkgsrc/graphics/pixmap/4x/pixmap
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/pixmap
*** Error code 1
Stop.
>Fix:
Most likely this is a missing include file, or similar...
>Release-Note:
>Audit-Trail:
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39975 CVS commit: pkgsrc/graphics/pixmap
Date: Sun, 30 Nov 2008 08:43:16 +0000 (UTC)
Module Name: pkgsrc
Committed By: obache
Date: Sun Nov 30 08:43:16 UTC 2008
Modified Files:
pkgsrc/graphics/pixmap: Makefile PLIST distinfo
pkgsrc/graphics/pixmap/patches: patch-aa patch-ab patch-ac
Log Message:
Various fixes:
* Remove copy of X11 header files for old X11,
it may cause build failure with recent X, like a PR 39975.
* Need rgb.txt, add dependency on x11/rgb for X11_TYPE=modular.
And fix path for the file (SUBST.rgb and patch-ac).
* Add DESTDIR support. it seems that rules of imake deal spaces after cammna
as part of the argument (patch-ac).
* Replace IMAKE_MANNEWSUFFIX with IMAKE_MAN_SUFFIX in PLIST.
* hard coded errno and sys_errlist is not portable these days (patch-ab)
* sort PLIST
* regen patches with unfied diff.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 pkgsrc/graphics/pixmap/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/graphics/pixmap/PLIST
cvs rdiff -r1.6 -r1.7 pkgsrc/graphics/pixmap/distinfo
cvs rdiff -r1.2 -r1.3 pkgsrc/graphics/pixmap/patches/patch-aa \
pkgsrc/graphics/pixmap/patches/patch-ab
cvs rdiff -r1.5 -r1.6 pkgsrc/graphics/pixmap/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 30 Nov 2008 08:46:39 +0000
State-Changed-Why:
Fixed by pixmap-2.6.4nb6. Thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.