NetBSD Problem Report #32656
From kre@munnari.OZ.AU Sat Jan 28 08:27:46 2006
Return-Path: <kre@munnari.OZ.AU>
Received: from jade.coe.psu.ac.th (unknown [202.12.74.196])
by narn.netbsd.org (Postfix) with ESMTP id 664B263B90C
for <gnats-bugs@gnats.NetBSD.org>; Sat, 28 Jan 2006 08:27:45 +0000 (UTC)
Message-Id: <200601280827.k0S8RSuN021479@jade.coe.psu.ac.th>
Date: Sat, 28 Jan 2006 15:27:28 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@netbsd.org
Subject: graphics/magicpoint fails to build (w options freetype)
X-Send-Pr-Version: 3.95
>Number: 32656
>Category: pkg
>Synopsis: graphics/magicpoint fails to build (w options freetype)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 28 08:30:01 +0000 2006
>Closed-Date: Sat Sep 20 16:05:20 +0000 2008
>Last-Modified: Sat Sep 20 16:05:20 +0000 2008
>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:/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:
?
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->itojun
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Mon, 30 Jan 2006 19:54:46 +0000
Responsible-Changed-Why:
Assigned to maintainer.
Responsible-Changed-From-To: itojun->pkg-manager
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Sat, 17 Nov 2007 13:35:51 +0000
Responsible-Changed-Why:
Back to role account.
From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/32656 CVS commit: pkgsrc/graphics/magicpoint
Date: Wed, 10 Sep 2008 13:32:48 +0000 (UTC)
Module Name: pkgsrc
Committed By: taca
Date: Wed Sep 10 13:32:48 UTC 2008
Modified Files:
pkgsrc/graphics/magicpoint: Makefile PLIST distinfo
pkgsrc/graphics/magicpoint/patches: patch-aa patch-ab patch-ac patch-ad
patch-ae patch-af patch-ag patch-al patch-am
Added Files:
pkgsrc/graphics/magicpoint: options.mk
pkgsrc/graphics/magicpoint/patches: patch-an patch-ao patch-ap patch-aq
patch-ar patch-as patch-at patch-au patch-av patch-aw patch-ax
patch-ay patch-az patch-ba patch-bb
Removed Files:
pkgsrc/graphics/magicpoint/patches: patch-ah patch-ak
Log Message:
Update magicpoint to 1.13a.
* Fix build error with xft2 option and graphics/freetype-lib package is
installed. Shoud be fix PR pkg/32656.
* Refering PR pkg/38552 adpot some of patches.
* Move PKG_OPTIONS related item to options.mk.
* More pkgsrc clean up.
* Try to reduce compile warnings.
What's new in 1.13a?
* m17n library support enhancement
* MacOS support enhancement
* add new environment variable MGPRC for the path of the .mgprc file.
* add "psfont" directive to specify the font used by mgp2ps
* add -g option for mgp2ps to allow users to adjust line distanc
* add -zoomonclk option for newimage
* allow to handle gif format images by default
* many bug fixes
Dedication
Magicpoint 1.13a is dedicated to the memory of Dr. Jun-ichiro
"itojun" Hagino, who was known for his enormous contribution to
the Internet and the Open Source Software community. He was the
developer of Magicpoint from its infancy. Magicpoint could not
exist without his devoted work.
What's new in 1.12a?
* add %tsystem directive which might be more stable than %xsystem
* add -rotate option for newimage
* allow to use non-ASCI filename in slides (use -U to enable this feature)
* many bug fixes
To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 pkgsrc/graphics/magicpoint/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/graphics/magicpoint/PLIST
cvs rdiff -r1.15 -r1.16 pkgsrc/graphics/magicpoint/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/graphics/magicpoint/options.mk
cvs rdiff -r1.10 -r1.11 pkgsrc/graphics/magicpoint/patches/patch-aa
cvs rdiff -r1.3 -r1.4 pkgsrc/graphics/magicpoint/patches/patch-ab
cvs rdiff -r1.2 -r1.3 pkgsrc/graphics/magicpoint/patches/patch-ac \
pkgsrc/graphics/magicpoint/patches/patch-ae
cvs rdiff -r1.1 -r1.2 pkgsrc/graphics/magicpoint/patches/patch-ad \
pkgsrc/graphics/magicpoint/patches/patch-af \
pkgsrc/graphics/magicpoint/patches/patch-ag \
pkgsrc/graphics/magicpoint/patches/patch-al \
pkgsrc/graphics/magicpoint/patches/patch-am
cvs rdiff -r1.1 -r0 pkgsrc/graphics/magicpoint/patches/patch-ah \
pkgsrc/graphics/magicpoint/patches/patch-ak
cvs rdiff -r0 -r1.1 pkgsrc/graphics/magicpoint/patches/patch-an \
pkgsrc/graphics/magicpoint/patches/patch-ao \
pkgsrc/graphics/magicpoint/patches/patch-ap \
pkgsrc/graphics/magicpoint/patches/patch-aq \
pkgsrc/graphics/magicpoint/patches/patch-ar \
pkgsrc/graphics/magicpoint/patches/patch-as \
pkgsrc/graphics/magicpoint/patches/patch-at \
pkgsrc/graphics/magicpoint/patches/patch-au \
pkgsrc/graphics/magicpoint/patches/patch-av \
pkgsrc/graphics/magicpoint/patches/patch-aw \
pkgsrc/graphics/magicpoint/patches/patch-ax \
pkgsrc/graphics/magicpoint/patches/patch-ay \
pkgsrc/graphics/magicpoint/patches/patch-az \
pkgsrc/graphics/magicpoint/patches/patch-ba \
pkgsrc/graphics/magicpoint/patches/patch-bb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: taca@NetBSD.org
State-Changed-When: Wed, 10 Sep 2008 13:38:41 +0000
State-Changed-Why:
Now this problem should be go away.
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/32656 (graphics/magicpoint fails to build (w options freetype))
Date: Sat, 20 Sep 2008 15:53:36 +0700
Date: Wed, 10 Sep 2008 13:38:44 +0000 (UTC)
From: taca@NetBSD.org
Message-ID: <20080910133844.DDD2963B853@narn.NetBSD.org>
| Synopsis: graphics/magicpoint fails to build (w options freetype)
|
| State-Changed-From-To: open->feedback
| State-Changed-By: taca@NetBSD.org
| State-Changed-When: Wed, 10 Sep 2008 13:38:41 +0000
| State-Changed-Why:
| Now this problem should be go away.
Yes, thanks, I finally had a chance to try it last night, and it
built fine - the first time I've been able to build with both
freetype and Xft2 for a long tiime.
This PR can close.
kre
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 20 Sep 2008 16:05:20 +0000
State-Changed-Why:
Confirmed fixed - thanks for testing.
>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...).
(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.