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

MacPorts noreply at macports.org
Sat May 19 03:04:31 PDT 2012


#34512: error "Only <glib.h> can be included directly."
----------------------------------+-----------------------------------------
 Reporter:  haianjxw@…            |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  High                  |   Milestone:                                       
Component:  ports                 |     Version:  2.1.1                                
 Keywords:  glib                  |        Port:  Stardict                             
----------------------------------+-----------------------------------------
 :info:build In file included from tomboykeybinder.cpp:9:
 :info:build In file included from ./tomboykeybinder.h:5:
 :info:build /opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error
 "Only <glib.h> can be included directly."
 :info:build #error "Only <glib.h> can be included directly."
 :info:build  ^
 :info:build 1 error generated.
 :info:build make[3]: *** [tomboykeybinder.o] Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 :info:build mv -f .deps/articleview.Tpo .deps/articleview.Po
 :info:build 1 warning generated.
 :info:build mv -f .deps/pangoview.Tpo .deps/pangoview.Po
 :info:build In file included from globalhotkeys.cpp:3:
 :info:build In file included from ./tomboykeybinder.h:5:
 :info:build /opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error
 "Only <glib.h> can be included directly."
 :info:build #error "Only <glib.h> can be included directly."
 :info:build  ^
 :info:build 1 error generated.
 :info:build make[3]: *** [globalhotkeys.o] Error 1
 :info:build mv -f .deps/cmdlineopts.Tpo .deps/cmdlineopts.Po
 :info:build mv -f .deps/dictmanage.Tpo .deps/dictmanage.Po
 :info:build mv -f .deps/desktop.Tpo .deps/desktop.Po
 :info:build mv -f .deps/log.Tpo .deps/log.Po
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_stardict/stardict/work/stardict-3.0.2/src'
 :info:build make[2]: *** [all-recursive] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_stardict/stardict/work/stardict-3.0.2/src'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_stardict/stardict/work/stardict-3.0.2'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_stardict/stardict/work/stardict-3.0.2'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_stardict/stardict/work/stardict-3.0.2"
 && /usr/bin/make -j8 -w all
 :info:build Exit code: 2
 :error:build org.macports.build for port stardict returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 51078 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: targets not executed for stardict:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Please see the log file for port stardict for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_stardict/stardict/main.log

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


More information about the macports-tickets mailing list