[MacPorts] #27048: swi-prolog build failure: "cannot find java include files"

MacPorts noreply at macports.org
Sun Oct 31 03:55:49 PDT 2010


#27048: swi-prolog build failure: "cannot find java include files"
---------------------------------------+------------------------------------
 Reporter:  anthony.hw.kong@…          |       Owner:  J.Wielemaker@…     
     Type:  defect                     |      Status:  new                
 Priority:  Normal                     |   Milestone:                     
Component:  ports                      |     Version:  1.9.1              
 Keywords:                             |        Port:  swi-prolog         
---------------------------------------+------------------------------------

Comment(by anthony.hw.kong@…):

 Repost the error messages in proper wiki format

 {{{


 :info:build /usr/bin/gcc-4.2 -c -Wall -O2 -g  -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_swi-prolog/work/pl-5.8.3/packages/xpce/src
 -I/opt/local/include  -I/opt/local/include -I/opt/local/include
 -I/opt/local/include/freetype2   -fno-common -no-cpp-precomp
 -DHAVE_CONFIG_H x11/xcommon.c -o x11/xcommon.o
 :info:build In file included from
 /opt/local/include/X11/extensions/render.h:29,
 :info:build                  from
 /opt/local/include/X11/extensions/Xrender.h:33,
 :info:build                  from /opt/local/include/X11/Xft/Xft.h:42,
 :info:build                  from x11/include.h:78,
 :info:build                  from x11/xcommon.c:28:
 :info:build /opt/local/include/X11/Xdefs.h:47: error: conflicting types
 for 'Bool'
 :info:build ./h/types.h:66: error: previous declaration of 'Bool' was here
 :info:build x11/xcommon.c:168: error: conflicting types for
 'X11ThreadsDisplay'
 :info:build ./h/wst.h:34: error: previous declaration of
 'X11ThreadsDisplay' was here
 :info:build x11/xcommon.c: In function 'X11ThreadsDisplay':
 :info:build x11/xcommon.c:171: warning: comparison between pointer and
 integer
 :info:build x11/xcommon.c: In function 'CtoEvent':
 :info:build x11/xcommon.c:910: warning: assignment makes integer from
 pointer without a cast
 :info:build make[4]: *** [x11/xcommon.o] Error 1
 :info:build make[3]: *** [dowsobjs] Error 2
 :info:build make[2]: *** [all] Error 2
 :info:build make[1]: *** [objects] Error 1
 :info:build make: *** [packages] Error 2
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_swi-prolog/work/pl-5.8.3" && /usr/bin/make all "
 returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for swi-prolog):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for swi-prolog is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_swi-prolog/main.log

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/27048#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list