[cairo-bugs] [Bug 91473] Can't compile Cairo for 32 bits

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 27 12:06:43 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91473

--- Comment #2 from piranna at gmail.com ---
You can find the full output log at
https://semaphoreci.com/nodeos/nodeos/branches/master/builds/38, the
interesting lines are:


make: Entering directory
`/home/runner/NodeOS/node_modules/nodeos-usersfs/obj/i686/nodeos/node-canvas/build'
  CC(target) Release/obj.target/cairo/deps/cairo/cairo/cairo-analysis-surface.o
  CC(target) Release/obj.target/cairo/deps/cairo/cairo/cairo-arc.o
  CC(target) Release/obj.target/cairo/deps/cairo/cairo/cairo-array.o
  CC(target) Release/obj.target/cairo/deps/cairo/cairo/cairo-atomic.o
  CC(target) Release/obj.target/cairo/deps/cairo/cairo/cairo-base64-stream.o
  CC(target) Release/obj.target/cairo/deps/cairo/cairo/cairo-base85-stream.o
  CC(target) Release/obj.target/cairo/deps/cairo/cairo/cairo-bentley-ottmann.o
  CC(target)
Release/obj.target/cairo/deps/cairo/cairo/cairo-bentley-ottmann-rectangular.o
In file included from ../deps/cairo/cairo/cairo-fixed-type-private.h:40:0,
                 from ../deps/cairo/cairo/cairo-types-private.h:43,
                 from ../deps/cairo/cairo/cairo-error-private.h:43,
                 from ../deps/cairo/cairo/cairoint.h:74,
                 from ../deps/cairo/cairo/cairo-arc.c:37:
../deps/cairo/cairo/cairo-wideint-type-private.h:129:1: error: unknown type
name '__uint128_t'
../deps/cairo/cairo/cairo-wideint-type-private.h:130:1: error: unknown type
name '__int128_t'
In file included from ../deps/cairo/cairo/cairo-fixed-type-private.h:40:0,
                 from ../deps/cairo/cairo/cairo-types-private.h:43,
                 from ../deps/cairo/cairo/cairo-error-private.h:43,
                 from ../deps/cairo/cairo/cairoint.h:74,
                 from ../deps/cairo/cairo/cairo-analysis-surface.c:37:
../deps/cairo/cairo/cairo-wideint-type-private.h:129:1: error: unknown type
name '__uint128_t'
../deps/cairo/cairo/cairo-wideint-type-private.h:130:1: error: unknown type
name '__int128_t'
In file included from ../deps/cairo/cairo/cairo-fixed-type-private.h:40:0,
                 from ../deps/cairo/cairo/cairo-types-private.h:43,
                 from ../deps/cairo/cairo/cairo-error-private.h:43,
                 from ../deps/cairo/cairo/cairoint.h:74,
                 from ../deps/cairo/cairo/cairo-array.c:39:
../deps/cairo/cairo/cairo-wideint-type-private.h:129:1: error: unknown type
name '__uint128_t'
../deps/cairo/cairo/cairo-wideint-type-private.h:130:1: error: unknown type
name '__int128_t'
  CC(target)
Release/obj.target/cairo/deps/cairo/cairo/cairo-bentley-ottmann-rectilinear.o
make: *** [Release/obj.target/cairo/deps/cairo/cairo/cairo-arc.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../deps/cairo/cairo/cairo-fixed-type-private.h:40:0,
                 from ../deps/cairo/cairo/cairo-types-private.h:43,
                 from ../deps/cairo/cairo/cairo-error-private.h:43,
                 from ../deps/cairo/cairo/cairoint.h:74,
                 from ../deps/cairo/cairo/cairo-atomic.c:34:
../deps/cairo/cairo/cairo-wideint-type-private.h:129:1: error: unknown type
name '__uint128_t'
../deps/cairo/cairo/cairo-wideint-type-private.h:130:1: error: unknown type
name '__int128_t'
In file included from ../deps/cairo/cairo/cairo-fixed-type-private.h:40:0,
                 from ../deps/cairo/cairo/cairo-types-private.h:43,
                 from ../deps/cairo/cairo/cairo-error-private.h:43,
                 from ../deps/cairo/cairo/cairoint.h:74,
                 from ../deps/cairo/cairo/cairo-base64-stream.c:39:
../deps/cairo/cairo/cairo-wideint-type-private.h:129:1: error: unknown type
name '__uint128_t'
../deps/cairo/cairo/cairo-wideint-type-private.h:130:1: error: unknown type
name '__int128_t'
In file included from ../deps/cairo/cairo/cairo-fixed-type-private.h:40:0,
                 from ../deps/cairo/cairo/cairo-types-private.h:43,
                 from ../deps/cairo/cairo/cairo-error-private.h:43,
                 from ../deps/cairo/cairo/cairoint.h:74,
                 from ../deps/cairo/cairo/cairo-base85-stream.c:37:
../deps/cairo/cairo/cairo-wideint-type-private.h:129:1: error: unknown type
name '__uint128_t'
../deps/cairo/cairo/cairo-wideint-type-private.h:130:1: error: unknown type
name '__int128_t'
make: *** [Release/obj.target/cairo/deps/cairo/cairo/cairo-array.o] Error 1
make: *** [Release/obj.target/cairo/deps/cairo/cairo/cairo-analysis-surface.o]
Error 1
make: *** [Release/obj.target/cairo/deps/cairo/cairo/cairo-atomic.o] Error 1
make: *** [Release/obj.target/cairo/deps/cairo/cairo/cairo-base64-stream.o]
Error 1
make: *** [Release/obj.target/cairo/deps/cairo/cairo/cairo-base85-stream.o]
Error 1
In file included from ../deps/cairo/cairo/cairo-fixed-type-private.h:40:0,
                 from ../deps/cairo/cairo/cairo-types-private.h:43,
                 from ../deps/cairo/cairo/cairo-error-private.h:43,
                 from ../deps/cairo/cairo/cairoint.h:74,
                 from
../deps/cairo/cairo/cairo-bentley-ottmann-rectangular.c:39:
../deps/cairo/cairo/cairo-wideint-type-private.h:129:1: error: unknown type
name '__uint128_t'
../deps/cairo/cairo/cairo-wideint-type-private.h:130:1: error: unknown type
name '__int128_t'
In file included from ../deps/cairo/cairo/cairo-fixed-type-private.h:40:0,
                 from ../deps/cairo/cairo/cairo-types-private.h:43,
                 from ../deps/cairo/cairo/cairo-error-private.h:43,
                 from ../deps/cairo/cairo/cairoint.h:74,
                 from ../deps/cairo/cairo/cairo-bentley-ottmann.c:39:
../deps/cairo/cairo/cairo-wideint-type-private.h:129:1: error: unknown type
name '__uint128_t'
../deps/cairo/cairo/cairo-wideint-type-private.h:130:1: error: unknown type
name '__int128_t'
In file included from ../deps/cairo/cairo/cairo-fixed-type-private.h:40:0,
                 from ../deps/cairo/cairo/cairo-types-private.h:43,
                 from ../deps/cairo/cairo/cairo-error-private.h:43,
                 from ../deps/cairo/cairo/cairoint.h:74,
                 from
../deps/cairo/cairo/cairo-bentley-ottmann-rectilinear.c:39:
../deps/cairo/cairo/cairo-wideint-type-private.h:129:1: error: unknown type
name '__uint128_t'
../deps/cairo/cairo/cairo-wideint-type-private.h:130:1: error: unknown type
name '__int128_t'
make: ***
[Release/obj.target/cairo/deps/cairo/cairo/cairo-bentley-ottmann-rectilinear.o]
Error 1
make: ***
[Release/obj.target/cairo/deps/cairo/cairo/cairo-bentley-ottmann-rectangular.o]
Error 1
make: *** [Release/obj.target/cairo/deps/cairo/cairo/cairo-bentley-ottmann.o]
Error 1
make: Leaving directory
`/home/runner/NodeOS/node_modules/nodeos-usersfs/obj/i686/nodeos/node-canvas/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/home/runner/NodeOS/node_modules/nodeos-barebones/deps/node/deps/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit
(child_process.js:797:12)
gyp ERR! System Linux 3.13.0-29-generic
gyp ERR! command "node"
"/home/runner/NodeOS/node_modules/nodeos-barebones/deps/node/deps/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd
/home/runner/NodeOS/node_modules/nodeos-usersfs/obj/i686/nodeos/node-canvas
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok


The problem happens when compiling node-canvas
(https://github.com/NodeOS/node-canvas) for i686, this doesn't happens for
x86_64. node-canvas internally uses a statically compiled and linked version of
Cairo and the other dependencies, and I'm compiling it using GCC 4.7.3 and musl
1.1.10. I've just checked it on my laptop and got the same errors.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150727/244688a0/attachment.html>


More information about the cairo-bugs mailing list