Summary: | sci-electronics/chipmunksystem fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | The Soldering-Iron Brotherhood <sci-electronics> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | estar, treecleaner |
Priority: | High | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Pending Removal: 2012-12-24 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 270353 | ||
Attachments: | Fix things. |
Description
Diego Elio Pettenò (RETIRED)
2009-11-27 11:53:14 UTC
A closer look shows that the code tries to use the deprecated cuserid() function from glibc. That can be simulated by getpwuid(getuid()). *** Bug 322241 has been marked as a duplicate of this bug. *** Created attachment 251951 [details, diff]
Fix things.
Here’s a patch that fixes the compile errors for me (gcc complained about L_cuserid and a custom getline() somewhere) and fixes runtime issues with heap corruption and a lack of 64-bit awareness in diglog.
It works well enough that I was able to load an example file, but given the issues I’ve seen so far, I would not trust it much. Still, it seems to run.
Two and a half years later... Pacho this one's for you. I have seen our version is really really old, but looking to: http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/pickup.html Looks the way it's now packaged has changed completely and probably ebuild will need a lot of work (looks like sources are splitted in various tarballs and we probably should split this ebuild also). If nobody volunteers to do such work, this will be treecleaner dropped |