When emerging dev-libs/libxml-1.8.17-r2, emerge fails. See URL above. Reproducible: Always Steps to Reproduce: 1. emerge libxml Actual Results: Emerge fails Expected Results: Emerge should work! :-P Posted on the forums, was recommended to file a bug report, so here it is. Apparently there's an easy fix...
Created attachment 180687 [details] dev-libs/libxml-1.8.17-r3.ebuild
Created attachment 180688 [details, diff] open_call_fix.patch
(In reply to comment #0) > When emerging dev-libs/libxml-1.8.17-r2, emerge fails. See URL above. > > Reproducible: Always > > Steps to Reproduce: > 1. emerge libxml > > > > Actual Results: > Emerge fails > > Expected Results: > Emerge should work! :-P > > Posted on the forums, was recommended to file a bug report, so here it is. > Apparently there's an easy fix... > Please find in attachment a patch which normaly fix the problem, there are many different way to call "open" POSIX function, when O_CREAT flag is added in 2nde argument normaly, a third is needed (to explicitly say the files permissions if is created) this patch added the third argument with 0644 octal code. new ebuild was attached to. mrpouet
Thank you, mrpouet. It works! Directions: 1. click on the ebuild link. 2. Select all from your browser, copy to /usr/portage/dev-libs/libxml/libxml-1.8.17-r3.ebuild using your favourite editor. 3. Click on the patch link. 4. Select all from your browser, copy to /usr/portage/dev-libs/libxml/files/open_call_fix.patch 5. cd /usr/portage/dev-libs/libxml 6. ebuild libxml-1.8.17-r3.ebuild digest 7. Emerge libxml
(In reply to comment #4) > Thank you, mrpouet. It works! > > Directions: > > 1. click on the ebuild link. > 2. Select all from your browser, copy to > /usr/portage/dev-libs/libxml/libxml-1.8.17-r3.ebuild using your favourite > editor. > 3. Click on the patch link. > 4. Select all from your browser, copy to > /usr/portage/dev-libs/libxml/files/open_call_fix.patch > 5. cd /usr/portage/dev-libs/libxml > 6. ebuild libxml-1.8.17-r3.ebuild digest > 7. Emerge libxml > normaly it's more recommanded to use an overlay, (avoids to overwrite ebuild at next emerge sync) but works too. so cool ;) a developer to comfirm the bug ?
Yeah, I realised right after I left the directions that I should have written them to use an overlay. I second the motion to get a dev to confirm the bug - and maybe get the patched version into portage.
(In reply to comment #6) > Yeah, I realised right after I left the directions that I should have written > them to use an overlay. > > I second the motion to get a dev to confirm the bug - and maybe get the patched > version into portage. > as specified here http://forums.gentoo.org/viewtopic-t-733031-highlight-.html (your origin post on gentoo forum) the bug need to be approved and fix on CVS by a gentoo developer itself to fix the bugs on bugzilla.
This bug isn't actually resolved or fixed. It is merely a patch. I mistakenly marked it as fixed. If the devs could take a look and implement this in portage, that'd be great.
+ 03 Feb 2009; Patrick Lauer <patrick@gentoo.org> + +files/open_call_fix.patch, +libxml-1.8.17-r3.ebuild: + gcc 4.3.3 fix, thanks to Romain Perier. Closes #257309