Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 130297
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Luis Medinas (RETIRED) <metalgod@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Morgan <david.morgan@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130297 depends on: Show dependency tree
Bug 130297 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-17 13:31 0000
It seems that banshee needs to check for 'built_with_use net-dns/avahi dbus'
when emerging with USE=daap, otherwise

checking for AVAHISHARP... configure: error: Package requirements (avahi-sharp)
were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the AVAHISHARP_CFLAGS and AVAHISHARP_LIBS environment
variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/banshee-0.10.9-r1/work/banshee-0.10.9/config.log

!!! ERROR: media-sound/banshee-0.10.9-r1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  banshee-0.10.9-r1.ebuild, line 99:   Called gnome2_src_configure
  gnome2.eclass, line 51:   Called econf '--enable-avahi' '--disable-xing'
'--disable-helix' '--disable-docs' '--with-gstreamer-0-10' '--enable-ipod'
'--enable-njb' '--disable-gtk-doc'
  ebuild.sh, line 527:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

Works fine when avahi is emerged with USE=dbus though

------- Comment #1 From Luis Medinas (RETIRED) 2006-04-17 14:50:05 0000 -------
no, you need avahi to be build with mono use flag according to your log.

 checking for AVAHISHARP... configure: error: Package requirements
(avahi-sharp)
were not met.

------- Comment #2 From David Morgan 2006-04-17 14:55:17 0000 -------
You'd have thought so, but it was built with USE=mono.

I've tried it multiple times, it works with USE="mono dbus", and fails with
USE="mono -dbus"

------- Comment #3 From David Morgan 2006-04-17 15:24:53 0000 -------
In fact, the banshee ebuild already checks that avahi is built with USE=mono,
but I think it does so incorrectly.

USE="-mono -daap" emerge avahi banshee fails because avahi is built without
mono support, but banshee shouldn't care in this case.

In my opinion the check should be 
if use daap && ! built_with_use net-dns/avahi mono dbus, 
but you're obviously welcome to disagree.

(! built_with_use cat/pkg flag1 flag2 seems to behave in the correct way, but
I'm not 100% sure)

------- Comment #4 From David Morgan 2006-04-17 15:32:06 0000 -------
Actually, I think this is an avahi bug, not a banshee bug.

When I do USE="mono -dbus" emerge avahi, part of the output at the end of
autoconf running is

Building avahi-sharp:               no

Which is presumably not the corrent behaviour


I think what I said about the check for avahi being built with mono needing a
'use daap &&' still stands though

(sorry for all the emails bugzilla's sending you)

------- Comment #5 From Luis Medinas (RETIRED) 2006-04-17 15:46:37 0000 -------
add avahi maintainer to look at this.

------- Comment #6 From Sven Wegener 2006-04-17 23:24:00 0000 -------
Yep, avahi needs dbus for mono support, I'll fix this later today when I'm back
at home.

------- Comment #7 From David Morgan 2006-04-22 03:32:07 0000 -------
Looks like avahi has been fixed, but banshee will still fail if you do

USE="-mono -daap" emerge avahi banshee 

Could you fix that (unless you think that it's the correct behaviour) and then
this can be marked as fixed.

The solution I'm talking about is to change

        if ! built_with_use net-dns/avahi mono ; then

to

        if use daap && ! built_with_use net-dns/avahi mono ; then

(we don't want to be failing because of something to do with avahi when we
aren't supposed to be using it)

------- Comment #8 From Luis Medinas (RETIRED) 2006-04-22 09:20:48 0000 -------
i understand what you meant but mono use flag doesn't exist on banshee. It only
makes sense if you add USE="daap" for banshee. USE="-daap -mono" emerge banshee
works for me.

Thanks for the heads up.

------- Comment #9 From David Morgan 2006-04-22 09:32:23 0000 -------
USE=-mono emerge avahi && USE=-daap banshee, then :)

------- Comment #10 From Luis Medinas (RETIRED) 2006-04-22 09:53:12 0000 -------
i added your changes to the ebuild after get the problem. Thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug