Opened 11 years ago
Closed 11 years ago
#37324 closed defect (fixed)
py25-pygtk: fatal error: 'pycairo.h' file not found
Reported by: | ybarbel@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | g5pw (Aljaž Srebrnič), seanfarley (Sean Farley), macports@… | |
Port: | py25-pygtk |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
sudo port install py25-pygtk Password: ---> Computing dependencies for py25-pygtk ---> Building py25-pygtk Error: org.macports.build for port py25-pygtk returned: command execution failed Please see the log file for port py25-pygtk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pygtk/py25-pygtk/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py25-pygtk failed
Attachments (2)
Change History (15)
Changed 11 years ago by ybarbel@…
comment:1 follow-up: 2 Changed 11 years ago by jmroot (Joshua Root)
Cc: | g5pw@… added |
---|---|
Port: | py25-pygtk added |
Please remember to fill in the Port field.
comment:2 Changed 11 years ago by ybarbel@…
Replying to jmr@…:
Please remember to fill in the Port field.
Sorry about that, will do so next time.
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Summary: | Error building py25-pygtk → py25-pygtk: fatal error: 'pycairo.h' file not found |
comment:5 follow-ups: 6 8 Changed 11 years ago by g5pw (Aljaž Srebrnič)
This is actually a bug in py25-cairo, as it installs its files in /opt/local/include (I'm not sure this is the default behaviour for py25-* ports). I'll cc the py-cairo maintainer and try to fix this. On a side note, just as a personal poll: Why are you still using python25?
Thanks!
comment:6 follow-up: 9 Changed 11 years ago by ybarbel@…
Replying to g5pw@…:
This is actually a bug in py25-cairo, as it installs its files in /opt/local/include (I'm not sure this is the default behaviour for py25-* ports). I'll cc the py-cairo maintainer and try to fix this. On a side note, just as a personal poll: Why are you still using python25?
Thanks!
I installed wine & winetricks several months ago. py25-pygtk was apparently a dependency installed at that time.
comment:8 Changed 11 years ago by seanfarley (Sean Farley)
Replying to g5pw@…:
This is actually a bug in py25-cairo, as it installs its files in /opt/local/include (I'm not sure this is the default behaviour for py25-* ports). I'll cc the py-cairo maintainer and try to fix this. On a side note, just as a personal poll: Why are you still using python25?
Thanks!
Hmm, I think this is the default behavior for py25-* ports but Ryan or some other Macports dev will have to verify. Since the py25-cairo subport is using an older version of py-cairo (due to upstream dropping support), I think I'll have to fix this manually in the portfile.
comment:9 Changed 11 years ago by g5pw (Aljaž Srebrnič)
Replying to ybarbel@…:
I installed wine & winetricks several months ago. py25-pygtk was apparently a dependency installed at that time.
I don't see a dependency on py25-pygtk explicitly in either wine or winetricks. So, while we fix this, can you just use python27? py25- modules will slowly get obsolete (there are no more security fixes for python25).
Changed 11 years ago by seanfarley (Sean Farley)
Attachment: | py25-cairo-fix-prefix.patch added |
---|
patch to fix installation of py25-cairo
comment:11 Changed 11 years ago by seanfarley (Sean Farley)
Ok, the patch I just attached to this ticket should fix this issue. Let me know otherwise.
comment:13 Changed 11 years ago by g5pw (Aljaž Srebrnič)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r100764 by adding the correct path to cflags.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pygtk/py25-pygtk/main.log