Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407383 - Keyword ~x86-fbsd dev-lang/v8-3.8.9.8
Summary: Keyword ~x86-fbsd dev-lang/v8-3.8.9.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 08:33 UTC by Naohiro Aota
Modified: 2012-08-06 21:41 UTC (History)
1 user (show)

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


Attachments
complete build.log (build.log,100.62 KB, text/plain)
2012-03-08 08:33 UTC, Naohiro Aota
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2012-03-08 08:33:24 UTC
Created attachment 304599 [details]
complete build.log

emerge fail with:

  i686-gentoo-freebsd8.2-g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_IA32' '-DBUILDING_V8_SHARED' '-DV8_SHARED' -I../src -Wall -W -Wno-unused-parameter -Wnon-virtual-dtor -pthread -fno-rtti -fno-exceptions -pedantic -ansi -fvisibility=hidden -fPIC -m32 -fdata-sections -ffunction-sections -fomit-frame-pointer -O3  -MMD -MF /var/tmp/portage/dev-lang/v8-3.8.9.8/work/v8-3.8.9.8/out/ia32.release/.deps//var/tmp/portage/dev-lang/v8-3.8.9.8/work/v8-3.8.9.8/out/ia32.release/obj.target/v8_base/src/platform-linux.o.d.raw -O2 -march=native -pipe -fomit-frame-pointer -c -o /var/tmp/portage/dev-lang/v8-3.8.9.8/work/v8-3.8.9.8/out/ia32.release/obj.target/v8_base/src/platform-linux.o ../src/platform-linux.cc
../src/platform-linux.cc:34:23: fatal error: sys/prctl.h: No such file or directory
compilation terminated.
gmake[1]: *** [/var/tmp/portage/dev-lang/v8-3.8.9.8/work/v8-3.8.9.8/out/ia32.release/obj.target/v8_base/src/platform-linux.o] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/dev-lang/v8-3.8.9.8/work/v8-3.8.9.8/out'
gmake: *** [ia32.release] Error 2

There's FreeBSD ports available, we may be able to KEYWORD it somehow.
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/v8/
Comment 1 Naohiro Aota gentoo-dev 2012-05-27 06:14:00 UTC
v8-3.10.8.10 just need this patch to set platform to freebsd properly.

http://code.google.com/p/gyp/source/diff?spec=svn1327&old=1235&r=1327&format=unidiff&path=%2Ftrunk%2Fpylib%2Fgyp%2Fcommon.py

I'll add the patch and KEYWORD as ~x86-fbsd.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-05-27 13:53:05 UTC
(In reply to comment #1)
> v8-3.10.8.10 just need this patch to set platform to freebsd properly.
> 
> http://code.google.com/p/gyp/source/
> diff?spec=svn1327&old=1235&r=1327&format=unidiff&path=%2Ftrunk%2Fpylib%2Fgyp%
> 2Fcommon.py
> 
> I'll add the patch and KEYWORD as ~x86-fbsd.

LGTM (Looks Good To Me). Please also remember to keyword 3.11 (or any other later version when applicable).
Comment 3 Naohiro Aota gentoo-dev 2012-05-29 08:56:48 UTC
Added to the tree. Thanks.

Please add ~amd64-fbsd if anyone interest.
Comment 4 Alexis Ballier gentoo-dev 2012-08-06 21:41:30 UTC
(In reply to comment #3)
> Please add ~amd64-fbsd if anyone interest.

when someone will request it, closing