[MacPorts] #34021: pan2 0.135 error "Only <glib.h> can be included directly"

MacPorts noreply at macports.org
Fri Apr 13 04:54:06 PDT 2012


#34021: pan2 0.135 error "Only <glib.h> can be included directly"
-----------------------------+----------------------------------------------
 Reporter:  jovo@…           |       Owner:  macports-tickets@…                   
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                       
Component:  ports            |     Version:  2.0.4                                
 Keywords:  libg             |        Port:  pan2                                 
-----------------------------+----------------------------------------------
 pan2 0.135 results in:

 {{{
 :info:build Making all in general
 :info:build make[3]: Entering directory
 `/opt/local/var/macports/build/_Users_jovo_myPorts_news_pan2/pan2/work/pan-0.135/pan/general'
 :info:build   CXX    debug.o
 :info:build   CXX    e-util.o
 :info:build   CXX    file-util.o
 :info:build In file included from file-util.h:28,
 :info:build                  from file-util.cc:39:
 :info:build /opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error
 "Only <glib.h> can be included directly."
 :info:build make[3]: *** [file-util.o] Error 1
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_Users_jovo_myPorts_news_pan2/pan2/work/pan-0.135/pan/general'
 :info:build make[2]: *** [all-recursive] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_Users_jovo_myPorts_news_pan2/pan2/work/pan-0.135/pan'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_Users_jovo_myPorts_news_pan2/pan2/work/pan-0.135'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_Users_jovo_myPorts_news_pan2/pan2/work/pan-0.135'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_Users_jovo_myPorts_news_pan2/pan2/work/pan-0.135"
 && /usr/bin/make -w all " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     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 pan2):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for pan2 is at:
 /opt/local/var/macports/logs/_Users_jovo_myPorts_news_pan2/pan2/main.log
 }}}

 Which looks like another glib2 related issue, see attached main.log

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


More information about the macports-tickets mailing list