pkgsrc-Bugs archive

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

pkg/32656: graphics/magicpoint fails to build (w options freetype)



>Number:         32656
>Category:       pkg
>Synopsis:       graphics/magicpoint fails to build (w options freetype)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 28 08:30:01 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.13
>Organization:
        Prince of Songkla University
>Environment:
        
        
System: NetBSD jade.coe.psu.ac.th 3.99.13 NetBSD 3.99.13 
(GENERIC-1.696-20051201) #4: Fri Dec 2 12:42:15 ICT 2005 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
        Building magicpoint, with
                PKG_OPTIONS.magicpoint ?= freetype
        in /etc/mk.conf results in

===> Building for magicpoint-1.10anb8
rm -f mgp.o
cc -c -O2 -fno-strict-aliasing      -I/usr/pkg/include -I/usr/X11R6/include   
-DCSRG_BASED   -DFUNCPROTO=15 -DNARROWPROTO      -DPACKAGE_NAME=\"\" 
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 
-DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 
-DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 
-DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 
-DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 
-DHAVE_LIBINTL=1 -DHAVE_LIBTTF=1 -DFREETYPE=1 
-DHAVE_TT_FACE_PROPERTIES_CHARMAPS=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 
-DFREETYPE_CHARSET16=1 -DUSE_PNG=1 -DMNG=1 -DUSE_GIF=1  -DMGPLIBDIR=\"/!
 usr/pkg/lib/X11/mgp\" -DXTHREADS -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include   
-I/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/freetype  
-DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE 
-I/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include 
-I/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include 
-I/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include mgp.c
In file included from mgp.h:68,
                 from mgp.c:34:
/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/Xft/Xft.h:59:
 error: parse error before "_XftFTlibrary"
/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/Xft/Xft.h:59:
 warning: data definition has no type or storage class
/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/Xft/Xft.h:93:
 error: parse error before "FT_UInt"
/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/Xft/Xft.h:93:
 warning: no semicolon at end of struct or union
/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/Xft/Xft.h:96:
 error: parse error before '}' token

(and much more of the same general type - about 20-25 lines
or so in all (eyeball guess)) - followed by (the normal) ....

*** Error code 1

Stop.
make: stopped in 
/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/magicpoint-1.10a
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/magicpoint

(etc).


        I would guess that something has changed in the newest freetype
        now requires some new include file included before Xft.h to define
        types (or something), and mgp.h isn't doing that (or something).

        To make sure things weren't being messed up by some other
        earlier package compilations (I do a lot of building, removing,
        updating, ... inside the pkg_comp arena, building binary packages
        that I can then use on production systems), I did a removeroot/makeroot
        pkg_comp sequence immediately before
                pkg_comp build graphics/magicpoint

        After he compilation (attempt) stopped, the following were
        installed (from pkg_comp pkg_info) ...

digest-20050731     Message digest wrapper utility
libkver-0.6         Shared library and sysctl(1) replacement to override system 
x11-links-0.28      Shadow tree of links to native X11 headers and libraries
freetype-lib-1.3.1nb2 TrueType font rendering engine and library API
freetype2-2.1.10    Font rendering engine and library API
expat-2.0.0         XML parser library written in C
libtool-base-1.5.18nb6 Generic shared library support script (the script itself)
gmake-3.80nb4       GNU version of 'make' utility
fontconfig-2.3.2nb1 Library for configuring and customizing font access
Xrender-0.9.0       Client library for the X Rendering Extension protocol
pkg-config-0.20     System for managing library compile/link flags
renderext-0.9       Headers for X11 render extension
Xft2-2.1.7nb1       Library for configuring and customizing font access
libungif-4.1.3nb3   Tools and library routines for working with GIF images
jpeg-6bnb3          IJG's jpeg compression utilities
lcms-1.15           Light Color Management System -- a color management library
mng-1.0.9           Multiple-image Network Graphics (MNG) reference library
bash-3.1pl1         The GNU Bourne Again Shell
jasper-1.701.0nb1   Software-based reference implementation of the JPEG-2000 cod
png-1.2.8           Library for manipulating PNG images
tiff-3.7.4          Library and tools for reading and writing TIFF data files
netpbm-10.31        Toolkit for conversion of images between different formats
xpkgwedge-1.15      Allows X11 pkgs to be built and used outside of ${X11BASE}
perl-5.8.7nb8       Practical Extraction and Report Language

        If it matters, the 3.0 sources that would have been available
        (via BSDSRCDIR) (but not installed into /usr/include - the sets
        unpacked were from 3.0_RELEASE) would be 3.0_STABLE (updated
        as of a few days ago).

        I can't check any other build logs, config state, etc, as
        pkg_comp cleans up after itself when it is done (even when
        the compilation failed - "make clean" has been done everywhere).

>How-To-Repeat:
        As above, simply try building graphics/magicpoint in a 3.0
        environment, with magicpoint set to use freetype
        (the "3.0 environment" part probably isn't important)
>Fix:
        ?

>Unformatted:
        Building using pkg_comp and a 3.0 libkver + binaries + sources
        Pkgsrc current within past 12 hours or so, though this problem
        has been around for at least a week (give or take...).



Home | Main Index | Thread Index | Old Index