pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/41970: graphics/blender compilation errors (NetBSD 4.0 / i386)
>Number: 41970
>Category: pkg
>Synopsis: graphics/blender compilation errors (NetBSD 4.0 / i386)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 01 11:35:00 +0000 2009
>Originator: Robert Elz
>Release: NetBSD 4.0 / i386 pkgsrc -current
>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:
The latest version of graphics/blender (blender-2.49a)
fails to compile correctly for me.
>How-To-Repeat:
I use pkg_comp with NetBSD 4.0 release sets installed, and libkver
to simulate a fairly pure NetBSD 4.0 release environment.
I use pkgsrc modular xorg instead of the x* sets from NetBSD 4.0.
Aside (perhaps) from "4.0" I doubt any of that is relevant to this
issue.
Upon attempting to build graphics/blender I see ...
[ 2%] Building C object
intern/guardedalloc/CMakeFiles/bf_guardedalloc.dir/intern/mallocn.o
In file included from
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:50:
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/MEM_guardedalloc.h:129:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'MEM_get_memory_in_use'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/MEM_guardedalloc.h:130:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'MEM_get_mapped_memory_in_use'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:115:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mem_in_use'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
In function 'make_memhead_header':
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:247:
error: 'mem_in_use' undeclared (first use in this function)
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:247:
error: (Each undeclared identifier is reported only once
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:247:
error: for each function it appears in.)
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
In function 'MEM_mallocN':
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:268:
error: 'mem_in_use' undeclared (first use in this function)
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
In function 'MEM_callocN':
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:288:
error: 'mem_in_use' undeclared (first use in this function)
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
In function 'MEM_mapallocN':
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:323:
error: 'mmap_in_use' undeclared (first use in this function)
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
At top level:
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:338:
error: expected specifier-qualifier-list before 'uintptr_t'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
In function 'compare_len':
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:355:
error: 'MemPrintBlock' has no member named 'len'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:355:
error: 'MemPrintBlock' has no member named 'len'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:357:
error: 'MemPrintBlock' has no member named 'len'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:357:
error: 'MemPrintBlock' has no member named 'len'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
In function 'MEM_printmemlist_stats':
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:382:
error: 'MemPrintBlock' has no member named 'len'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:383:
error: 'MemPrintBlock' has no member named 'items'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:400:
error: 'MemPrintBlock' has no member named 'len'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:400:
error: 'MemPrintBlock' has no member named 'len'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:401:
error: 'MemPrintBlock' has no member named 'items'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:412:
error: 'mem_in_use' undeclared (first use in this function)
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:414:
error: 'MemPrintBlock' has no member named 'items'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:414:
error: 'MemPrintBlock' has no member named 'len'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
In function 'MEM_freeN':
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:488:
error: 'intptr_t' undeclared (first use in this function)
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:489:
error: expected ')' before 'memh'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:495:
error: expected ')' before 'memh'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
In function 'rem_memblock':
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:590:
error: 'mem_in_use' undeclared (first use in this function)
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:597:
error: 'mmap_in_use' undeclared (first use in this function)
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:
At top level:
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:699:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'MEM_get_memory_in_use'
/pkg_comp/obj/pkgsrc/graphics/blender/4x/blender-2.49a/intern/guardedalloc/intern/mallocn.c:704:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'MEM_get_mapped_memory_in_use'
gmake[2]: ***
[intern/guardedalloc/CMakeFiles/bf_guardedalloc.dir/intern/mallocn.o] Error 1
gmake[1]: *** [intern/guardedalloc/CMakeFiles/bf_guardedalloc.dir/all] Error 2
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/graphics/blender
*** Error code 1
Stop.
>Fix:
Home |
Main Index |
Thread Index |
Old Index