Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 359053

Summary: gnome-base/orbit fails to build if there is no ipv6 in the system
Product: Gentoo Linux Reporter: Piotr Curious Slawinski <curious>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg13526.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to fix the issue
ebuild supporting -ipv6

Description Piotr Curious Slawinski 2011-03-15 17:26:25 UTC
orbit fails to build when there is no ipv6 available.


Reproducible: Always

Steps to Reproduce:
1.prepare system without ipv6 (i.e. uclibc with ipv6 support disabled)
2.emerge orbit
3.
Actual Results:  
orbit build fails at linking phase.

Expected Results:  
orbit should link with ipv6 support disabled (ipv4 only)
Comment 1 Piotr Curious Slawinski 2011-03-15 17:29:45 UTC
Created attachment 265989 [details]
patch to fix the issue

it's bit dirty solution, but works. it requires modded ebuild , which i'll add aswell
Comment 2 Piotr Curious Slawinski 2011-03-15 17:32:51 UTC
Created attachment 265999 [details]
ebuild supporting -ipv6

if -ipv6 is detected, it applies noipv6 patch. 
bit dirty, as it does not fix orbit, but it's gentoo solution afterall ;)
Comment 3 Pacho Ramos gentoo-dev 2011-03-15 17:35:35 UTC
Thanks for the patch but, anyway, I am unsure about how future proof is keeping support for ipv4 only systems :-/
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-03-15 17:41:03 UTC
There is imho no point in encouraging the persistence of ipv4 only systems.

Anyway the patch, as it is, is not clean enough for integration.
It needs a configure switch (minimum), proper checks can probably be made against selected libc and this would of course need to be pushed upstream in the end.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-03-15 17:42:23 UTC
Oh and btw, if you are about to open more bugs like this, I suggest you open a tracker bug and even before that, check on gentoo-dev if there is enough devs actually interested into making gentoo ipv4 only capable. That'll save you some time I guess.
Comment 6 Pacho Ramos gentoo-dev 2011-04-20 13:28:09 UTC
(In reply to comment #5)
> Oh and btw, if you are about to open more bugs like this, I suggest you open a
> tracker bug and even before that, check on gentoo-dev if there is enough devs
> actually interested into making gentoo ipv4 only capable. That'll save you some
> time I guess.

Until this is done, this will need to wait