[MacPorts] #46895: octave @3.8.2_5: build fails with +x11
MacPorts
noreply at macports.org
Wed Feb 18 00:27:27 PST 2015
#46895: octave @3.8.2_5: build fails with +x11
-----------------------------+--------------------------------
Reporter: md14-macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: octave
-----------------------------+--------------------------------
The octave +x11 variant fails to build.
{{{
$ sudo port -vs install octave +x11
...
/bin/sh ../libtool --tag=CXX --mode=compile
/opt/local/bin/clang++-mp-3.4 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_THREAD_SAFE -D_REENTRANT -I/opt/local/include/freetype2
-I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng16 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng16 -I../liboctave/cruft/misc
-I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric
-I../liboctave/operators -I../liboctave/operators -I../liboctave/system
-I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-
tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -pipe -Os -arch x86_64 -stdlib=libc++ -D_THREAD_SAFE -pthread
-c -o dldfcn/dldfcn___init_fltk___la-__init_fltk__.lo `test -f
'dldfcn/__init_fltk__.cc' || echo './'`dldfcn/__init_fltk__.cc
...
In file included from dldfcn/__init_fltk__.cc:69:
In file included from /opt/local/include/FL/fl_draw.H:27:
In file included from /opt/local/include/FL/x.H:43:
/opt/local/include/FL/mac.H:32:32: error: typedef redefinition with
different types ('class FLWindow_opaque *' vs 'XID' (aka 'unsigned long'))
typedef class FLWindow_opaque *Window; // pointer to the FLWindow
objective-c class
^
/opt/local/include/X11/X.h:96:13: note: previous definition is here
typedef XID Window;
^
...
}}}
The build succeeds if I omit "+x11" (`sudo port -vs install octave`).
--
Ticket URL: <https://trac.macports.org/ticket/46895>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list