Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 232273

Summary: games-emulation/visualboyadvance-1.7.2-r2 ~x86-fbsd keyword request
Product: Gentoo/Alt Reporter: Davide Italiano (RETIRED) <dav_it>
Component: FreeBSDAssignee: Gentoo x86 FreeBSD Team <x86-fbsd+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: games
Priority: High Keywords: KEYWORDREQ
Version: unspecified   
Hardware: x86   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 233624    
Attachments: build.log
patch to workaround the issue

Description Davide Italiano (RETIRED) gentoo-dev 2008-07-18 22:58:30 UTC
It compiles and works fine on g/fbsd 7.0
Comment 1 Naohiro Aota gentoo-dev 2012-10-12 21:25:06 UTC
Created attachment 326404 [details]
build.log

Now it fails with:

In file included from /usr/include/sys/types.h:47:0,
                 from /usr/include/zconf.h:424,
                 from /usr/include/zlib.h:34,
                 from /usr/include/minizip/unzip.h:51,
                 from ../System.h:23,
                 from expr.y:11:
/usr/include/sys/_pthreadtypes.h:65:16: error: reference to 'pthread' is ambiguous
/usr/include/sys/_pthreadtypes.h:44:8: error: candidates are: struct pthread
In file included from expr.y:3:0:
/usr/include/stdio.h:143:9: error:                 struct std::pthread
In file included from /usr/include/sys/types.h:47:0,
                 from /usr/include/zconf.h:424,
                 from /usr/include/zlib.h:34,
                 from /usr/include/minizip/unzip.h:51,
                 from ../System.h:23,
                 from expr.y:11:
/usr/include/sys/_pthreadtypes.h:65:36: error: invalid type in declaration before ';' token
/usr/include/sys/_pthreadtypes.h:69:16: error: reference to 'pthread_mutex' is ambiguous
/usr/include/sys/_pthreadtypes.h:48:8: error: candidates are: struct pthread_mutex
Comment 2 Naohiro Aota gentoo-dev 2012-10-12 21:27:13 UTC
Created attachment 326406 [details, diff]
patch to workaround the issue

Including sys/types.h avoid the error.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2012-10-13 01:00:54 UTC
looks fine, commit on.
Comment 4 Naohiro Aota gentoo-dev 2012-10-16 03:01:41 UTC
Thanks. I've added the patch and added ~x86-fbsd.