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)

main.log (100.2 KB) - added by ybarbel@… 11 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pygtk/py25-pygtk/main.log
py25-cairo-fix-prefix.patch (604 bytes) - added by seanfarley (Sean Farley) 11 years ago.
patch to fix installation of py25-cairo

Download all attachments as: .zip

Change History (15)

Changed 11 years ago by ybarbel@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pygtk/py25-pygtk/main.log

comment:1 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 in reply to:  1 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-pygtkpy25-pygtk: fatal error: 'pycairo.h' file not found

comment:4 Changed 11 years ago by d_blatner@…

Cc: d_blatner@… added

Cc Me!

comment:5 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 in reply to:  5 ; 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:7 Changed 11 years ago by seanfarley (Sean Farley)

Cc: sean.michael.farley@… added

Cc Me!

comment:8 in reply to:  5 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 in reply to:  6 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).

comment:10 Changed 11 years ago by macports@…

Cc: macports@… added

Cc Me!

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:12 Changed 11 years ago by d_blatner@…

Cc: d_blatner@… removed

Cc Me!

comment:13 Changed 11 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

Fixed in r100764 by adding the correct path to cflags.

Note: See TracTickets for help on using tickets.