Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257309 - dev-libs/libxml-1.8.17-r2 fails to merge
Summary: dev-libs/libxml-1.8.17-r2 fails to merge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 23:46 UTC by Audiodef
Modified: 2009-02-03 23:53 UTC (History)
0 users

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


Attachments
dev-libs/libxml-1.8.17-r3.ebuild (libxml-1.8.17-r3.ebuild,1.26 KB, text/plain)
2009-02-02 12:54 UTC, Romain Perier (RETIRED)
Details
open_call_fix.patch (open_call_fix.patch,363 bytes, patch)
2009-02-02 12:55 UTC, Romain Perier (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Audiodef 2009-02-01 23:46:36 UTC
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...
Comment 1 Romain Perier (RETIRED) gentoo-dev 2009-02-02 12:54:45 UTC
Created attachment 180687 [details]
dev-libs/libxml-1.8.17-r3.ebuild
Comment 2 Romain Perier (RETIRED) gentoo-dev 2009-02-02 12:55:21 UTC
Created attachment 180688 [details, diff]
open_call_fix.patch
Comment 3 Romain Perier (RETIRED) gentoo-dev 2009-02-02 12:58:17 UTC
(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
Comment 4 Audiodef 2009-02-02 16:55:09 UTC
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
Comment 5 Romain Perier (RETIRED) gentoo-dev 2009-02-02 17:37:08 UTC
(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 ?
Comment 6 Audiodef 2009-02-02 20:35:23 UTC
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. 
Comment 7 Romain Perier (RETIRED) gentoo-dev 2009-02-03 11:13:13 UTC
(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.
Comment 8 Audiodef 2009-02-03 16:01:30 UTC
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. 
Comment 9 Patrick Lauer gentoo-dev 2009-02-03 23:53:03 UTC
+  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