Bug 148239 - [PATCH] unbreak graphics/libchamplain python bindings. Feature-safe: yes
Summary: [PATCH] unbreak graphics/libchamplain python bindings. Feature-safe: yes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 18:50 UTC by R.Mahmatkhanov
Modified: 2010-07-03 13:30 UTC (History)
0 users

See Also:


Attachments
file.diff (614 bytes, patch)
2010-06-29 18:50 UTC, R.Mahmatkhanov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R.Mahmatkhanov 2010-06-29 18:50:05 UTC
Version 0.4.6 of libchamplain (that now in ports tree) contains bug, that breaks python bindings (champlain.so). You can read this for details: https://bugzilla.gnome.org/show_bug.cgi?id=622232

The problem is that libchamplain tarball contains bull-sized bindings/python/champlain/pychamplain.c (that is autogenerated) and so this breaks the things (while builds and installs correctly). As author said 0.4.7 that will contain the fix will not be released right now, so there is the patch that removes pychamplain.c on post-patch files to let the Makefile generate it from scratch.  

It's completely feature safe and actually i vote for commit this before port freeze, as this breaks all the apps in ports that rely upon champlain.so (deskutils/gtg for example).

Fix: Patch attached with submission follows:
How-To-Repeat: Install graphics/libchamplain.
run python -c "import champlain". You'll get this:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/local/lib/python2.6/site-packages/champlain.so: Undefined symbol "champlain_functions"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-06-29 18:50:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Koop Mast freebsd_committer freebsd_triage 2010-07-03 13:28:14 UTC
State Changed
From-To: open->closed

Comitted Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-07-03 13:28:51 UTC
kwm         2010-07-03 12:27:52 UTC

  FreeBSD ports repository

  Modified files:
    graphics/libchamplain Makefile 
  Log:
  Force regenerate of a .c file to fix the python bindings. This file was empty.
  
  PR:             ports/148239
  Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.8       +3 -0      ports/graphics/libchamplain/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"