Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390531 - media-gfx/blender-2.60a - source/blender/makesrna/intern/rna_test.c:140:2: error: too many arguments to function ‘RNA_def_property_dynamic_array_funcs’
Summary: media-gfx/blender-2.60a - source/blender/makesrna/intern/rna_test.c:140:2: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 13:47 UTC by Markus Walter
Modified: 2012-07-16 17:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,59.67 KB, text/plain)
2011-11-14 13:47 UTC, Markus Walter
Details
emerge --info (info.txt,5.39 KB, text/plain)
2011-11-14 13:48 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2011-11-14 13:47:54 UTC
Created attachment 292521 [details]
build log

On my hardened ~amd64 system with hardened-gcc-4.6.2 I see the following error when trying to build blender-2.60a. The same error (modulo some line numbers) is already present in blender-2.57-r1.

Compiling ==> 'rna_text_api.c'
source/blender/makesrna/intern/rna_test.c: In function ‘RNA_def_test’:
source/blender/makesrna/intern/rna_test.c:140:2: error: too many arguments to function ‘RNA_def_property_dynamic_array_funcs’
source/blender/makesrna/RNA_define.h:169:6: note: declared here
source/blender/makesrna/intern/rna_test.c:145:2: error: too many arguments to function ‘RNA_def_property_dynamic_array_funcs’
source/blender/makesrna/RNA_define.h:169:6: note: declared here
source/blender/makesrna/intern/rna_test.c:150:2: error: too many arguments to function ‘RNA_def_property_dynamic_array_funcs’
source/blender/makesrna/RNA_define.h:169:6: note: declared here
source/blender/makesrna/intern/rna_test.c:172:2: error: too many arguments to function ‘RNA_def_property_dynamic_array_funcs’
source/blender/makesrna/RNA_define.h:169:6: note: declared here
source/blender/makesrna/intern/rna_test.c:178:2: error: too many arguments to function ‘RNA_def_property_dynamic_array_funcs’
source/blender/makesrna/RNA_define.h:169:6: note: declared here
source/blender/makesrna/intern/rna_test.c:184:2: error: too many arguments to function ‘RNA_def_property_dynamic_array_funcs’
source/blender/makesrna/RNA_define.h:169:6: note: declared here
scons: *** [/var/tmp/portage/media-gfx/blender-2.60a/work/build/linux/source/blender/makesrna/intern/rna_test.o] Error 1
scons: building terminated because of errors.
Comment 1 Markus Walter 2011-11-14 13:48:06 UTC
Created attachment 292523 [details]
emerge --info
Comment 2 Andrey 2011-11-14 17:22:22 UTC
Try emerge --sync and re-emerge blender
Comment 3 Markus Walter 2011-11-15 15:23:02 UTC
I tried merging after a resync and still see the same error.

Tree is from 15. Nov 8:30 UTC.
Comment 4 Luca Barbato gentoo-dev 2011-11-16 01:00:28 UTC
blender is not gcc-4.6 compatible, Fabio has a patch to fix the .49 I'll check in the next days about .60a, meanwhile please use a gcc-4.5.3

lu
Comment 5 Markus Walter 2011-11-16 12:47:25 UTC
Actually I see the same error with hardened gcc-4.5.3 and vanilla gcc-4.5.3.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-16 01:02:25 UTC
Please try again with blender-2.63a and reopen if it's still an issue.
Thanks,
Diego
Comment 7 Markus Walter 2012-07-16 17:45:06 UTC
Works for me with blender-2.63a and hardened-gcc-4.7.0.