Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Mar 2015 11:27:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198349] [www/iojs-1.4.3] error: 'FILE' has not been declared while building iojs on 8.4-RELEASE
Message-ID:  <bug-198349-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198349

            Bug ID: 198349
           Summary: [www/iojs-1.4.3] error: 'FILE' has not been declared
                    while building iojs on 8.4-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://portsmon.freebsd.org/portoverview.py?category=&;
                    portname=iojs
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: saper@saper.info
                CC: linpct@gmail.com

I tried to build iojs-1.4.3 using poudriere on 8.4-RELEASE, it fails on both
amd64 and i386 with this:

  g++48 '-DV8_TARGET_ARCH_X64' '-DENABLE_DISASSEMBLER'
'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I../deps/v8  -pthread -Wall
-Wextra -Wno-unused-parameter -m64 -fno-strict-aliasing -I/usr/local/include
-O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fdata-sections
-ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF
/wrkdirs/usr/ports/www/iojs/work/iojs-io.js-c49af34/out/Release/.deps//wrkdirs/usr/ports/www/iojs/work/iojs-io.js-c49af34/out/Release/obj.target/v8_base/deps/v8/src/allocation.o.d.raw
-O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48
-fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -c -o
/wrkdirs/usr/ports/www/iojs/work/iojs-io.js-c49af34/out/Release/obj.target/v8_base/deps/v8/src/allocation.o
../deps/v8/src/allocation.cc
In file included from ../deps/v8/src/allocation.cc:10:0:
../deps/v8/src/base/platform/platform.h:142:10: error: 'FILE' does not name a
type
   static FILE* FOpen(const char* path, const char* mode);
          ^
../deps/v8/src/base/platform/platform.h:146:10: error: 'FILE' does not name a
type
   static FILE* OpenTemporaryFile();
          ^
../deps/v8/src/base/platform/platform.h:158:22: error: 'FILE' has not been
declared
   static void FPrint(FILE* out, const char* format, ...);
                      ^
../deps/v8/src/base/platform/platform.h:159:23: error: 'FILE' has not been
declared
   static void VFPrint(FILE* out, const char* format, va_list args);
                       ^
deps/v8/tools/gyp/v8_base.target.mk:367: recipe for target
'/wrkdirs/usr/ports/www/iojs/work/iojs-io.js-c49af34/out/Release/obj.target/v8_base/deps/v8/src/allocation.o'
failed
gmake[1]: ***
[/wrkdirs/usr/ports/www/iojs/work/iojs-io.js-c49af34/out/Release/obj.target/v8_base/deps/v8/src/allocation.o]
Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/www/iojs/work/iojs-io.js-c49af34/out'
Makefile:35: recipe for target 'iojs' failed
gmake: *** [iojs] Error 2
*** Error code 1

Stop in /usr/ports/www/iojs.
====>> Cleaning up wrkdir

9.3 and 10.1 builds are fine

This is also confirmed on the cluster for iojs-1.2.0:

http://portsmon.freebsd.org/portoverview.py?category=&portname=iojs

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198349-13>