Bug 118341 - port games/gcompris core dumps on release 7.0-BETA3
Summary: port games/gcompris core dumps on release 7.0-BETA3
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: 2007-11-29 23:50 UTC by Suhaib
Modified: 2007-12-01 01:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Suhaib 2007-11-29 23:50:00 UTC
gcompris core dumps as shown:

# gcompris 
exec_prefix NULL
XF86VidMode: Compiled with XF86VidMode.
If you have problems starting GCompris in fullscreen, try the -x option to disable XF86VidMode.

** (process:96698): WARNING **: Binary relocation disabled
package_data_dir         = /usr/local/share/gnome/gcompris/boards
package_locale_dir       = /usr/local/share/locale
package_plugin_dir       = /usr/local/lib/gcompris
package_python_plugin_dir= /usr/local/share/gnome/gcompris/python
Infos:
   Config dir '/home/z/.config/gcompris'
   Users dir '/home/z/My GCompris'
   Database '/home/z/.config/gcompris/gcompris_sqlite.db'

(gcompris:96698): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_from_file: assertion `filename != NULL' failed
Segmentation fault (core dumped)

Fix: 

Data directories within gcompris binary do not match those to which gcompris is installed to. gcompris looks for data in /usr/local/share/gnome/gcompris but this directory does not exist. A temporary workaround is to make the following link:

# ln -s /usr/local/share/gcompris  /usr/local/share/gnome/gcompris
How-To-Repeat: Make gcompris and install it, then execute it
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-11-29 23:50:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2007-11-30 05:44:03 UTC
State Changed
From-To: open->feedback

Can you remove this symlink and test this patch? Thanks! 

http://people.freebsd.org/~mezz/diff/gcompris.diff
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-12-01 01:24:48 UTC
mezz        2007-12-01 01:24:42 UTC

  FreeBSD ports repository

  Modified files:
    games/gcompris       Makefile 
    games/gcompris/files patch-configure 
  Log:
  Fix a missing of share/gnome/ -> share/ to fix the crash in the start up. Bump
  the PORTREVISION.
  
  PR:             ports/118341
  Reported by:    Suhaib <biahus@operamail.com>
  Approved by:    portmgr (pav)
  
  Revision  Changes    Path
  1.41      +1 -1      ports/games/gcompris/Makefile
  1.11      +0 -9      ports/games/gcompris/files/patch-configure
_______________________________________________
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"
Comment 4 Jeremy Messenger freebsd_committer freebsd_triage 2007-12-01 01:24:58 UTC
State Changed
From-To: feedback->closed

Committed, thanks for report and test!