net-dns/avahi-0.6.31-r2 with USE=gdbm fail to build when dev-lang/python is not builded with USE=gdbm Log and emerge --info attached Step to resolv # USE=gdbm emerge -va1tN dev-lang/python net-dns/avahi Reproducible: Always
Created attachment 366342 [details] emerge --info
Created attachment 366344 [details] build.log
(In reply to Bertrand Jacquin from comment #2) > Created attachment 366344 [details] > build.log checking for python module gdbm... no configure: error: Could not find Python module gdbm I'm not able to reproduce (yet?) but let's go through this systematically: 1) did you run python-updater ? 2) can you give me all the USE flags on avahi. ie `emerge -vp avahi` Thanks.
(In reply to Anthony Basile from comment #3) > (In reply to Bertrand Jacquin from comment #2) > > Created attachment 366344 [details] > > build.log > > checking for python module gdbm... no > configure: error: Could not find Python module gdbm > > I'm not able to reproduce (yet?) but let's go through this systematically: > > 1) did you run python-updater ? I did. > 2) can you give me all the USE flags on avahi. ie `emerge -vp avahi` net-dns/avahi-0.6.31-r2 USE="dbus gdbm ipv6 python -autoipd -bookmarks -doc -gtk -gtk3 -howl-compat -introspection -mdnsresponder-compat -mono -qt4 {-test} -utils" PYTHON_TARGETS="python2_6 python2_7"
(In reply to Bertrand Jacquin from comment #4) > (In reply to Anthony Basile from comment #3) > > (In reply to Bertrand Jacquin from comment #2) > > > Created attachment 366344 [details] > > > build.log > > > > checking for python module gdbm... no > > configure: error: Could not find Python module gdbm > > > > I'm not able to reproduce (yet?) but let's go through this systematically: > > > > 1) did you run python-updater ? > > I did. > > > 2) can you give me all the USE flags on avahi. ie `emerge -vp avahi` > > net-dns/avahi-0.6.31-r2 USE="dbus gdbm ipv6 python -autoipd -bookmarks -doc > -gtk > -gtk3 -howl-compat -introspection -mdnsresponder-compat -mono -qt4 {-test} > -utils" PYTHON_TARGETS="python2_6 python2_7" Okay finally I hit it. You need *both* gdbm and python flags enabled on avahi. (USE="gdbm -python" works.) So now I'm confused because I thought that PYTHON_REQ_USE="gdbm" was supposed to guarantee the dependency.
This should fix that. diff -u -r1.14 avahi-0.6.31-r2.ebuild --- avahi-0.6.31-r2.ebuild 12 Oct 2013 12:14:46 -0000 1.14 +++ avahi-0.6.31-r2.ebuild 10 Jan 2014 23:02:42 -0000 @@ -44,6 +44,7 @@ gtk? ( dev-dotnet/gtk-sharp ) ) python? ( + ${PYTHON_DEPS} gtk? ( dev-python/pygtk ) dbus? ( dev-python/dbus-python ) )
(In reply to Mike Gilbert from comment #6) > This should fix that. > > diff -u -r1.14 avahi-0.6.31-r2.ebuild > --- avahi-0.6.31-r2.ebuild 12 Oct 2013 12:14:46 -0000 1.14 > +++ avahi-0.6.31-r2.ebuild 10 Jan 2014 23:02:42 -0000 > @@ -44,6 +44,7 @@ > gtk? ( dev-dotnet/gtk-sharp ) > ) > python? ( > + ${PYTHON_DEPS} > gtk? ( dev-python/pygtk ) > dbus? ( dev-python/dbus-python ) > ) Okay its in avahi-0.6.31-r2. Can you please test if this fixes it for you and reopen if it doesn't. I'm testing now at my end.
(In reply to Anthony Basile from comment #7) > (In reply to Mike Gilbert from comment #6) > > This should fix that. > > > > diff -u -r1.14 avahi-0.6.31-r2.ebuild > > --- avahi-0.6.31-r2.ebuild 12 Oct 2013 12:14:46 -0000 1.14 > > +++ avahi-0.6.31-r2.ebuild 10 Jan 2014 23:02:42 -0000 > > @@ -44,6 +44,7 @@ > > gtk? ( dev-dotnet/gtk-sharp ) > > ) > > python? ( > > + ${PYTHON_DEPS} > > gtk? ( dev-python/pygtk ) > > dbus? ( dev-python/dbus-python ) > > ) > > Okay its in avahi-0.6.31-r2. Can you please test if this fixes it for you > and reopen if it doesn't. I'm testing now at my end. Works for me.