Opened 12 years ago

Closed 12 years ago

#34999 closed defect (duplicate)

libgtksourceviewmm: #error "Only <glib.h> can be included directly."

Reported by: bellamyia@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: libgtksourceviewmm

Description

glom install continues to fail on libgtksourceviewmm. Terminal output

$ sudo port install glom
--->  p5-xml-parser is replaced by p5.12-xml-parser
--->  Computing dependencies for p5.12-xml-parser
--->  Cleaning p5.12-xml-parser
--->  Computing dependencies for glom
--->  Dependencies to be installed: libgtksourceviewmm
--->  Building libgtksourceviewmm
Error: org.macports.build for port libgtksourceviewmm returned: command execution failed
Error: Failed to install libgtksourceviewmm

The following lines in the attached log file show errors:

main.log:1617: :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
main.log:1887: :info:build /opt/local/include/glib-2.0/glib/gmessages.h:28:2: error: #error "Only <glib.h> can be included directly."
main.log:1888: :info:build #error "Only <glib.h> can be included directly."
main.log:1890: :info:build 1 error generated.
main.log:1891: :info:build make[5]: *** [sourceiter.lo] Error 1
main.log:1894: :info:build make[4]: *** [all-recursive] Error 1
main.log:1896: :info:build make[3]: *** [all-recursive] Error 1
main.log:1898: :info:build make[2]: *** [all] Error 2
main.log:1900: :info:build make[1]: *** [all-recursive] Error 1
main.log:1902: :info:build make: *** [all] Error 2
main.log:1904: :info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_gnome_libgtksourceviewmm/libgtksourceviewmm/work/libgtksourceviewmm-0.3.1" && /usr/bin/make -j4 -w all 
main.log:1906: :error:build org.macports.build for port libgtksourceviewmm returned: command execution failed
main.log:1907: :debug:build Error code: CHILDSTATUS 48544 2
main.log:1908: :debug:build Backtrace: command execution failed

Attachments (1)

main.log (12.7 KB) - added by bellamyia@… 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by bellamyia@…

Attachment: main.log added

comment:1 Changed 12 years ago by bellamyia@…

Cc: bellamyia@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; bellamyia@… removed
Port: libgtksourceviewmm added
Resolution: duplicate
Status: newclosed
Summary: glom @1.4.2 #error "Only <glib.h> can be included directly."libgtksourceviewmm: #error "Only <glib.h> can be included directly."

Duplicate of #34989 which I already fixed. Please "sudo port selfupdate", then "sudo port clean libgtksourceviewmm", then try again.

Note: See TracTickets for help on using tickets.