NetBSD Problem Report #32335

From www@netbsd.org  Mon Dec 19 05:55:31 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id AA2F763B85F; Mon, 19 Dec 2005 05:55:31 +0000 (UTC)
Message-Id: <20051219055531.AA2F763B85F@narn.netbsd.org>
Date: Mon, 19 Dec 2005 05:55:31 +0000 (UTC)
From: bkelly@coastsystems.net
Reply-To: bkelly@coastsystems.net
To: gnats-bugs@netbsd.org
Subject: Unable to build cairo
X-Send-Pr-Version: www-1.0

>Number:         32335
>Category:       pkg
>Synopsis:       Unable to build cairo
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    interix-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 19 06:00:00 +0000 2005
>Closed-Date:    Mon Dec 23 23:33:33 +0000 2013
>Last-Modified:  Mon Dec 23 23:33:33 +0000 2013
>Originator:     Boyd Kelly
>Release:        pkgsrc CVS on Interix3
>Organization:
>Environment:
bash-3.00$ uname -a
Interix media 3.5 SP-8.0.1969.32 x86 Pentium III/Celeron (rev0x0803)
bash-3.00$
>Description:
Building cairo on Interix terminates with error:


if /bin/sh ../../libtool --tag=CC --mode=compile gcc -D_ALL_SOURCE -DHAVE_CONFIG
_H  -I. -I. -I../.. -I../.. -I.   -I/usr/pkg/include -I/usr/pkg/include/freetype
2 -DGLX_GLXEXT_LEGACY -I/usr/include   -O -I/usr/pkg/include -I/usr/pkg/include/
freetype2 -DGLX_GLXEXT_LEGACY -I/usr/include -MT pixregion.lo -MD -MP -MF ".deps
/pixregion.Tpo" -c -o pixregion.lo pixregion.c;  then mv -f ".deps/pixregion.Tpo
" ".deps/pixregion.Plo"; else rm -f ".deps/pixregion.Tpo"; exit 1; fi
mkdir .libs
 gcc -D_ALL_SOURCE -DHAVE_CONFIG_H -I. -I../.. -I/usr/pkgsrc/graphics/cairo/work
/.buildlink/include -I/usr/pkgsrc/graphics/cairo/work/.buildlink/include/freetyp
e2 -DGLX_GLXEXT_LEGACY -O -MT pixregion.lo -MD -MP -MF .deps/pixregion.Tpo -c pi
xregion.c  -DPIC -o .libs/pixregion.o
In file included from pixregionint.h:52,
                 from pixregion.c:53:
pixman.h:98:21: stdint.h: No such file or directory
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2/pixman/src
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2/pixman
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/cairo

I have then copied the file as follows:

bash-3.00$ pwd
/usr/pkgsrc/graphics/cairo/work/cairo-1.0.2/pixman/src
bash-3.00$ cp /usr/pkg/include/stdint.h .
bash-3.00$

However build then fails with:

../pixman/src/stdint.h:83: warning: redefinition of `int64_t'
/usr/include/sys/types.h:167: warning: `int64_t' previously declared here
In file included from cairoint.h:180,
                 from cairo.c:38:
cairo-wideint.h:60:2: #error Cannot find definitions for fixed-width integral ty
pes (uint8_t, uint32_t, etc.)
*** Error code 1

Stop.




>How-To-Repeat:
cd /usr/pkgsrc/graphics/cairo
bmake install


>Fix:
Only partial fix...

bash-3.00$ pwd
/usr/pkgsrc/graphics/cairo/work/cairo-1.0.2/pixman/src
bash-3.00$ cp /usr/pkg/include/stdint.h .
bash-3.00$

But build still fails with:

../pixman/src/stdint.h:83: warning: redefinition of `int64_t'
/usr/include/sys/types.h:167: warning: `int64_t' previously declared here
In file included from cairoint.h:180,
                 from cairo.c:38:
cairo-wideint.h:60:2: #error Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)
*** Error code 1

Stop.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: misc-bug-people->interix-pkg-people
Responsible-Changed-By: cube@netbsd.org
Responsible-Changed-When: Mon, 19 Dec 2005 11:50:38 +0000
Responsible-Changed-Why:
Interix-specific issue.


State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 23 Jan 2011 06:04:05 +0000
State-Changed-Why:
Is this still a problem?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 23 Dec 2013 23:33:33 +0000
State-Changed-Why:
cairo has changed enough since 2005 that there's no point keeping this
PR around.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.