Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339933 - net-dns/avahi: python_mod_optimize() complains about missing 'avahi_discover'
Summary: net-dns/avahi: python_mod_optimize() complains about missing 'avahi_discover'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 12:33 UTC by Markus Rathgeb
Modified: 2011-03-01 19:29 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,86.51 KB, text/plain)
2010-10-15 05:47 UTC, Markus Rathgeb
Details
environment (environment,194.48 KB, text/plain)
2010-10-15 05:48 UTC, Markus Rathgeb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rathgeb 2010-10-06 12:33:04 UTC
So build does not fail, but could this be a "cosmetic" problem?

A update from net-dns/avahi-0.6.27-r1 to net-dns/avahi-0.6.28 complains with the following line:
 * python_mod_optimize(): 'avahi_discover' does not exist


<<<          dir /usr/share/doc/avahi-0.6.27-r1
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * python_mod_optimize(): 'avahi_discover' does not exist
 * Compilation and optimization of Python modules for CPython 2.6 ...                                                                                                                                                                                                                                                   [ ok ]
 *
 * If this is your first install of avahi please reload your dbus config
 * with /etc/init.d/dbus reload before starting avahi-daemon!
 *
>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages...


Reproducible: Always

Steps to Reproduce:
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-14 22:53:26 UTC
Hi,

can you please submit a full build.log and environment file?

Thanks, Michael
Comment 2 Markus Rathgeb 2010-10-15 05:45:31 UTC
Because the merge does not fail, the files are cleaned up.
So I used the "ebuild" command, instead of the "emerge" commend.

As stated before, the message occurs at the ebuild "qmerge" phase.

I will attach the files
/var/tmp/portage/net-dns/avahi-0.6.28/temp/build.log
/var/tmp/portage/net-dns/avahi-0.6.28/temp/environment
after executing
ebuild /usr/portage/net-dns/avahi/avahi-0.6.28.ebuild qmerge
Comment 3 Markus Rathgeb 2010-10-15 05:47:59 UTC
Created attachment 250649 [details]
build.log
Comment 4 Markus Rathgeb 2010-10-15 05:48:35 UTC
Created attachment 250651 [details]
environment
Comment 5 Dror Levin (RETIRED) gentoo-dev 2011-01-20 22:08:25 UTC
I cannot reproduce this, is this still relevant?
Comment 6 Mike Nerone 2011-01-20 23:04:41 UTC
I had experienced this issue (and subscribed to the bug silently), but it does seem to have disappeared now.
Comment 7 Dror Levin (RETIRED) gentoo-dev 2011-01-20 23:12:29 UTC
(In reply to comment #6)
> I had experienced this issue (and subscribed to the bug silently), but it does
> seem to have disappeared now.

Closing then, must've been a bug in python.eclass or something. Feel free to reopen (or shout) if this isn't really solved.
Comment 8 Lucian Muresan 2011-01-23 22:11:10 UTC
Got it now myself, so it's actually not fixed...
Comment 9 Dror Levin (RETIRED) gentoo-dev 2011-01-23 22:36:13 UTC
(In reply to comment #8)
> Got it now myself, so it's actually not fixed...

Please provide emerge --info and build.log.
Comment 10 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-01 17:20:20 UTC
avahi_discover is installed only with USE="dbus gtk python".
Fixed in net-dns/avahi-0.6.28-r1.
Comment 11 Lucian Muresan 2011-03-01 19:16:49 UTC
(In reply to comment #10)
> avahi_discover is installed only with USE="dbus gtk python".
> Fixed in net-dns/avahi-0.6.28-r1.
> 

Just for my clarification: if an user wants to have a system without gtk at all, does (s)he have to see that red dotted message, is there something to worry about, is (s)he missing something?
Comment 12 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-01 19:29:41 UTC
(In reply to comment #11)
> Just for my clarification: if an user wants to have a system without gtk at
> all, does (s)he have to see that red dotted message, is there something to
> worry about, is (s)he missing something?

The error was printed because python.eclass had detected a bug in an ebuild. This bug has been fixed.