Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#33951 closed defect (fixed)

gtk-nodoka-engine: #error "Only <glib.h> can be included directly."

Reported by: jonathan.protzenko@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: gtk-nodoka-engine

Description

Stumbled upon the problem this morning.

:notice:build --->  Building gtk-nodoka-engine
:debug:build Executing org.macports.build (gtk-nodoka-engine)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' GI_SCANNER_DISABLE_CACHE='1'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/gtk-nodoka-engine-0.7.5" && /usr/bin/make -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/gtk-nodoka-engine-0.7.5" && /usr/bin/make -j2 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/gtk-nodoka-engine-0.7.5'
:info:build Making all in src
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/gtk-nodoka-engine-0.7.5/src'
:info:build make[1]: Nothing to be done for `all'.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/gtk-nodoka-engine-0.7.5/src'
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/gtk-nodoka-engine-0.7.5'
:info:build /bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I./src/GTKEngine -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14    -I/opt/local/include  -pipe -O2 -arch x86_64 -MT animation.lo -MD -MP -MF .deps/animation.Tpo -c -o animation.lo `test -f './src/GTKEngine/animation.c' || echo './'`./src/GTKEngine/animation.c
:info:build libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I./src/GTKEngine -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include -pipe -O2 -arch x86_64 -MT animation.lo -MD -MP -MF .deps/animation.Tpo -c ./src/GTKEngine/animation.c  -fno-common -DPIC -o .libs/animation.o
:info:build In file included from ./src/GTKEngine/animation.c:26:
:info:build /opt/local/include/glib-2.0/glib/gtimer.h:28:2: error: #error "Only <glib.h> can be included directly."
:info:build make[1]: *** [animation.lo] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/gtk-nodoka-engine-0.7.5'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/gtk-nodoka-engine-0.7.5'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/work/gtk-nodoka-engine-0.7.5" && /usr/bin/make -j2 -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 gtk-nodoka-engine): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install gtk-nodoka-engine
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:build Log for gtk-nodoka-engine is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtk-nodoka-engine/gtk-nodoka-engine/main.log

Please note that the package is a dependency for gimp, which I think people install pretty often.

Change History (6)

comment:1 Changed 13 years ago by jonathan.protzenko@…

Cc: jonathan.protzenko@… added

Cc Me!

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

Cc: jonathan.protzenko@… removed
Port: gtk-nodoka-engine added
Summary: gtk-nodoka-engine @0.7.5 fails to buildgtk-nodoka-engine: #error "Only <glib.h> can be included directly."

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Please report this bug to the makers of gtk-nodoka-engine so they can solve it.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Looks like it can be fixed the same way as #33950.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

comment:6 Changed 13 years ago by jonathan.protzenko@…

Thanks. I've emailed the two persons listed in the AUTHORS file, because there was no obvious bug tracker for the project.

Note: See TracTickets for help on using tickets.