Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441558 - app-emulation/gxemul-0.6.0 broken due to upstream bug associated with temp file creation.
Summary: app-emulation/gxemul-0.6.0 broken due to upstream bug associated with temp fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-11-03 09:43 UTC by David Turner
Modified: 2012-11-15 21:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for gxemul-0.6.0 ebuild to fix internal mkstemp implementation (0.6.0-fix-mymkstemp.patch,253 bytes, patch)
2012-11-03 09:44 UTC, David Turner
Details | Diff
Patch for gxemul-0.6.0 ebuild to fix system mkstemp test in configure (0.6.0-fix-mkstemp-test.patch,384 bytes, patch)
2012-11-03 09:45 UTC, David Turner
Details | Diff
Patch to Ebuild to apply previous two source patches. (gxemul-0.6.0-ebuild.patch,381 bytes, patch)
2012-11-03 09:49 UTC, David Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Turner 2012-11-03 09:43:08 UTC
gxemul-0.6.0 suffers from an upstream bug which breaks the application.

This was reported to Debian as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574537 on Thu, 18 Mar 2010 21:39:01 UTC and (is reportedly) fixed in gxemul/0.6.0-2.

This bug is two fold with a bad test for system mkstemp in the configure script resulting in the internal implementation being used, even if a system mkstemp() is present... and the internal implementation being broken *facepalm*

Reproducible: Always

Steps to Reproduce:
1. KEYWORDS="~x86" emerge =app-emulation/gxemul-0.6.0
2. run gxemul with a disc image
3. This will die with an error of the type "Can not create /tmp/gxemul.XXXXX"
while trying to load the disc image.
Comment 1 David Turner 2012-11-03 09:44:49 UTC
Created attachment 328190 [details, diff]
Patch for gxemul-0.6.0 ebuild to fix internal mkstemp implementation
Comment 2 David Turner 2012-11-03 09:45:36 UTC
Created attachment 328192 [details, diff]
Patch for gxemul-0.6.0 ebuild to fix system mkstemp test in configure
Comment 3 David Turner 2012-11-03 09:49:12 UTC
Created attachment 328194 [details, diff]
Patch to Ebuild to apply previous two source patches.
Comment 4 David Turner 2012-11-03 09:51:59 UTC
Have attached two patches fixing both issues which I have tested and these resolve the bug.
If these or equivalent patches could be applied to the portage tree ebuilds, that would be optimal. Thanks.
Comment 5 Denis Dupeyron (RETIRED) gentoo-dev 2012-11-15 21:36:40 UTC
Fixed, thanks.

Denis.