pkgsrc-Bugs archive

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

pkg/39975: graphics/pixmap compilation errros (NetBSD 4.0 w pkgsrc modular xorg)



>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 11:20:00 +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@localhost:/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...



Home | Main Index | Thread Index | Old Index