Ticket #26508 (closed defect: fixed)
libgweather @2.30.2 IOError: [Errno 2] No such file or directory: '/gtk.defs'
| Reported by: | frankwilhelms@… | Owned by: | devans@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.1 |
| Keywords: | gtk.defs py26-gtk | Cc: | |
| Port: | libgweather |
Description (last modified by jmr@…) (diff)
Build of libgweather fails with error message: Error: Target org.macports.build returned: shell command failed
Full command line log:
sudo port install libgweather ---> Computing dependencies for libgweather ---> Fetching libgweather ---> Attempting to fetch libgweather-2.30.2.tar.bz2 from http://lil.fr.distfiles.macports.org/libgweather ---> Verifying checksum(s) for libgweather ---> Extracting libgweather ---> Applying patches to libgweather ---> Configuring libgweather ---> Building libgweather Error: Target org.macports.build returned: shell command failed Log for libgweather is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libgweather/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Tested measures: Tried "port clean --all libgweather", "port selfupdate", "port upgrade outdated", "port install libgweather" several times and port install libgweather several times, stable.
My survey in the database: Latest Ticket with same error message I found is #26201, but the error is different and the log file here (wc-l 1931) is much longer than the one in #26201 (line numbering: 561)
Building stops first due to: IOError: [Errno 2] No such file or directory: '/gtk.defs'
Attachments
Change History
comment:6 Changed 3 years ago by devans@…
- Keywords py26-gtk added; libgweather removed
- Owner changed from macports-tickets@… to devans@…
- Cc devans@…, openmaintainers@…, frankwilhelms@… removed
I can't reproduce this. The file in question is installed by py26-gtk and should be here
${prefix}/Library/Frameworks/Python.framework/Versions/2.6/share/pygtk/2.0/defs/gdk.defs
BTW, the ticket submitter is automatically copied on all posts so you don't have to CC yourself.
comment:7 Changed 3 years ago by frankwilhelms@…
Thank you for the fast reply! This worked, the commands:
port install py26-gtk port clean --all libgweather port install libgweather
did the job, without problem.
So I assume py26-gtk is somehow missing in the dependencies.
Thank your for your help!


main.log