pkgsrc-Bugs archive

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

Re: pkg/43870: graphics/graphviz fails to build



The following reply was made to PR pkg/43870; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/43870: graphics/graphviz fails to build
Date: Sun, 12 Sep 2010 21:21:38 +0200

 On Sat, Sep 11, 2010 at 07:25:00PM +0000, 
cryintothebluesky%googlemail.com@localhost wrote:
 > >Number:         43870
 > >Category:       pkg
 > >Synopsis:       graphics/graphviz fails to build
 > NetBSD p3smp 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #0: Fri Jul  2 15:26:33 BST 
 > 2010  root@p3smp:/opt/obj.i386/sys/arch/i386/compile/GENERIC i386
 > >Description:
 > When building ./lib/vmalloc/malloc.c the following error is generated:
 > 
 > malloc.c:389: error: return type is an incomplete type
 > >How-To-Repeat:
 > 
 > >Fix:
 > Edit file ./FEATURE/vmalloc and change the following lines from
 > 
 > #define _lib_mallopt    1       /* mallopt() in default lib(s) */
 > #define _lib_mallinfo   1       /* mallinfo() in default lib(s) */
 > #define _lib_mstats     1       /* mstats() in default lib(s) */
 > 
 > to
 > 
 > #define _lib_mallopt    0       /* mallopt() in default lib(s) */
 > #define _lib_mallinfo   0       /* mallinfo() in default lib(s) */
 > #define _lib_mstats     0       /* mstats() in default lib(s) */
 
 I don't see this error on 5.99.39/amd64, or 2010Q2 bulk build reports
 for 5.0.2/i386 like:
 
http://nyftp.netbsd.org/pub/pkgsrc/packages/reports/2010Q2/NetBSD-5.0.2-i386/20100911.1708/meta/report.html
 
 vmalloc is generated during the build. Could you please investigate
 why these three options are set for you? In my build the full file is:
 /* : : generated from ../../lib/vmalloc/features/vmalloc by iffe version 
2004-08-11 : : */
 #ifndef _def_atexit_vmalloc
 #define _def_atexit_vmalloc     1
 #define _sys_types      1       /* #include <sys/types.h> ok */
 #define _lib_atexit     1       /* atexit() in default lib(s) */
 #define _lib_getpagesize        1       /* getpagesize() in defaultlib(s) */
 #define _hdr_stdlib     1       /* #include <stdlib.h> ok */
 #define _sys_stat       1       /* #include <sys/stat.h> ok */
 #define _hdr_time       1       /* #include <time.h> ok */
 #define _sys_time       1       /* #include <sys/time.h> ok */
 #define _sys_times      1       /* #include <sys/times.h> ok */
 #define _hdr_stddef     1       /* #include <stddef.h> ok */
 #define _typ_ssize_t    1       /* ssize_t is a type */
 #define _hdr_malloc     1       /* #include <malloc.h> ok */
 #define _lib_alloca     1       /* alloca exists */
 #define _stk_down       1       /* stack grows downward */
 #define _exit_cleanup   1       /* stuck with standard _cleanup */
 #endif
 
 Cheers,
  Thomas
 


Home | Main Index | Thread Index | Old Index