Opened 9 years ago

Closed 9 years ago

#50819 closed defect (worksforme)

gtk3 @ 3.18.8_0 Build failed - gdbus-codegen: No such file or directory

Reported by: chris.jonesey@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: gtk3

Description

Mac OS X version: 10.9.5
MacPorts version: 2.3.4

%  sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.3.4 installed,
MacPorts base version 2.3.4 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated


% sudo port clean gtk3
--->  Cleaning gtk3


% sudo port upgrade outdated
--->  Computing dependencies for gtk3
--->  Fetching archive for gtk3
--->  Attempting to fetch gtk3-3.18.8_0+universal+x11.darwin_13.i386-x86_64.tbz2 from http://packages.macports.org/gtk3
--->  Attempting to fetch gtk3-3.18.8_0+universal+x11.darwin_13.i386-x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/gtk3
--->  Attempting to fetch gtk3-3.18.8_0+universal+x11.darwin_13.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gtk3
--->  Fetching distfiles for gtk3
--->  Verifying checksums for gtk3
--->  Extracting gtk3
--->  Applying patches to gtk3
--->  Configuring gtk3
--->  Building gtk3
Error: org.macports.build for port gtk3 returned: command execution failed
Please see the log file for port gtk3 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk3/gtk3/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets


<<snippet from main.log referenced above>>

:info:build     && (cmp -s xgen-gtbh gtktypebuiltins.h || cp xgen-gtbh gtktypebuiltins.h ) \
:info:build     && rm -f xgen-gtbh \
:info:build     && echo timestamp > stamp-gtktypebuiltins.h
:info:build gdbus-codegen \
:info:build     --interface-prefix org.Gtk. \
:info:build     --c-namespace _Gtk \
:info:build     --generate-c-code gtkdbusgenerated \
:info:build     ./gtkdbusinterfaces.xml
:info:build make[2]: gdbus-codegen: No such file or directory
:info:build gdbus-codegen \
:info:build     --interface-prefix org.Gtk. \
:info:build     --c-namespace _Gtk \
:info:build     --generate-c-code gtkdbusgenerated \
:info:build     ./gtkdbusinterfaces.xml
:info:build make[2]: gdbus-codegen: No such file or directory
:info:build make[2]: *** [gtkdbusgenerated.c] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [gtkdbusgenerated.h] Error 1
:info:build /opt/local/bin/glib-mkenums: gtktextview.h:59: Failed to parse `  /*< private >*/ '
:info:build /opt/local/bin/glib-mkenums: gtktextview.h:61: Failed to parse `  /*< public >*/ '
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk3/gtk3/work/gtk+-3.18.8-x86_64/gtk'
: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_ports_gnome_gtk3/gtk3/work/gtk+-3.18.8-x86_64'
: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_ports_gnome_gtk3/gtk3/work/gtk+-3.18.8-x86_64'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk3/gtk3/work/gtk+-3.18.8-x86_64" && /usr/bin/make -j8 -w all V=1 CPP_FOR_BUILD="/usr/bin/cpp" CC='/usr/bin/clang -arch x86_64' CC_FOR_BUILD='/usr/bin/clang -arch x86_64'
:info:build Exit code: 2
:error:build org.macports.build for port gtk3 returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"proc-org.macports.build-build-0 org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for gtk3: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port gtk3 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk3/gtk3/main.log

Attachments (3)

main.log (281.5 KB) - added by chris.jonesey@… 9 years ago.
glib_contents.txt (46.9 KB) - added by chris.jonesey@… 9 years ago.
macports.conf (5.7 KB) - added by chris.jonesey@… 9 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 9 years ago by chris.jonesey@…

Cc: chris.jonesey@… added

Cc Me!

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

Cc: devans@… added; chris.jonesey@… removed
Owner: changed from macports-tickets@… to cal@…
Port: gtk3 added

Please attach the entire main.log file.

Changed 9 years ago by chris.jonesey@…

Attachment: main.log added

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

gdbus-codegen is supposed to be part of the glib2 port, on which the gtk3 port does declare a dependency, so it should be there.

Is the glib2 port installed? Check with:

port -v installed glib2

Is the gdbus-codegen program there? Check with:

ls -l /opt/local/bin/gdbus-codegen

If the glib2 port is installed but the gdbus-codegen program is not, what is the contents of the glib2 port? Check with:

port contents glib2

Changed 9 years ago by chris.jonesey@…

Attachment: glib_contents.txt added

comment:4 Changed 9 years ago by chris.jonesey@…

port -v installed glib2
The following ports are currently installed:
  glib2 @2.46.2_0+universal (active) platform='darwin 13' archs='i386 x86_64'

ls -l /opt/local/bin/gdbus-codegen
-rwxr-xr-x  1 root  admin  1284 Nov 24 02:24 /opt/local/bin/gdbus-codegen

port contents glib2

in attached file glib_contents.txt

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

I don't see why the build would claim gdbus-codegen does not exist, when clearly it does.

What is the value of binpath in macports.conf? Have you changed it?

comment:6 Changed 9 years ago by neverpanic (Clemens Lang)

Cc: devans@… removed
Owner: changed from cal@… to devans@…

comment:7 Changed 9 years ago by chris.jonesey@…

I have not modified macports.conf.

I attached it.

Changed 9 years ago by chris.jonesey@…

Attachment: macports.conf added

comment:8 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

I can't explain the failure you're seeing. However, note that gtk3-3.18.8_0+universal+x11.darwin_13.i386-x86_64.tbz2 does exist on our server now, so if you clean and try again, you should get the version built by our server, and not have to build it yourself.

comment:9 Changed 9 years ago by chris.jonesey@…

The updated version on the server worked! Thanks!

comment:10 Changed 9 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed

I can't reproduce this error either but since it built correctly on the buildbot and the archived binary's working, I'll close this for now.

Note: See TracTickets for help on using tickets.