View previous topic :: View next topic |
Author |
Message |
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Sat Jun 02, 2007 2:59 pm Post subject: [solved] How to remove "avahi" from a sytem with g |
|
|
Hello, I don't want use avahi (better known as zeroconf or bonjour) any more, because it doesn't help me in my daily enviroment/work and it is a little open door in the system.
- emerge -uDavN runs finde, rebuild some ebuilds
- emerge -a --depclean runs fine, removes avahi itself
- revdep-rebuild doesn't run fine, nearly every gnome-package want to be rebuild but everyone of them want a avahi-lib and of course they didn't find it (libtool error)
Any idea what to do?
<edit />
System needs a complete recompile with emerge -e world
Stupid, but I can't find a better solution. _________________ Just you and me strogg!
Last edited by hoschi on Fri Jun 08, 2007 7:38 am; edited 1 time in total |
|
Back to top |
|
|
comprookie2000 Retired Dev
Joined: 25 Jul 2004 Posts: 925 Location: Sun City Center, Florida
|
|
Back to top |
|
|
vandien Tux's lil' helper
Joined: 03 May 2006 Posts: 137
|
Posted: Sun Jun 03, 2007 10:57 pm Post subject: |
|
|
You sound like you're on the right track, can you post more info on a failed build? does revdep-rebuild start rebuilding packages or does it fail before?
Also, I'm fairly sure avahi has no impact on the system security unless you actually have the avahi service running. No info is broadcast unless /etc/init.d/avahi-daemon is started. So removing avahi support doesn't do much other than make your binaries smaller. |
|
Back to top |
|
|
Gergan Penkov Veteran
Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Sun Jun 03, 2007 11:08 pm Post subject: |
|
|
I had similar experience some two years ago with howl https://forums.gentoo.org/viewtopic-t-386827-highlight-libtool.html
resolved with using as-needed (I'm also nuking all the la-s from my system, which is really unsupported) _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack |
|
Back to top |
|
|
Annagul Apprentice
Joined: 05 Dec 2004 Posts: 156 Location: San Fernando, Cádiz (Spain)
|
Posted: Mon Jun 04, 2007 8:19 am Post subject: |
|
|
I use Gnome and I haven't Avahi installed. The packages has been build with the USE "-avahi" and it works perfectly. What about your make.conf? _________________ Sapere aude |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Wed Jun 06, 2007 3:17 pm Post subject: |
|
|
comprookie2000 wrote: | Did you try it with - avahi or -hal -avahi |
only -avahi _________________ Just you and me strogg! |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Wed Jun 06, 2007 3:18 pm Post subject: |
|
|
vandien wrote: | You sound like you're on the right track, can you post more info on a failed build? does revdep-rebuild start rebuilding packages or does it fail before?
|
It starts, and the ebuild fails. _________________ Just you and me strogg! |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Wed Jun 06, 2007 3:19 pm Post subject: |
|
|
I rebuild "libtool" but there is still the same problem
http://www.hottemptation.org/night/libtool.png
/etc/make.conf (avahi is inside again, because without I cant start x11 any longer)
Quote: |
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="x86"
USE="mmx sse sse2 nptl nptlonly sysfs sysvipc acpi fbcon unicode pcmcia usb wifi dvd cdr gnome gtk cairo glitz nautilus libnotify libsexy startup-notification dbus hal avahi dri xcomposite opengl openal alsa png jpeg tiff gif svg pdf gstreamer mpeg ogg theora vorbis flac x264 quicktime xvid ffmpeg mp3 aac encode truetype firefox cups cdinstall jabber samba sqlite ipod mono -perl -ruby -java -motif -lesstif -apm -kde -qt3 -qt4 -oss -arts -esd -xine -win32codecs -crypt -nsplugin"
VIDEO_CARDS="i810"
ALSA_CARDS="intel8x0"
ALSA_PCM_PLUGINS=""
LCD_DEVICES=""
INPUT_DEVICES="keyboard evdev"
FEATURES="parallel-fetch"
MAKEOPTS="-j2"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
|
_________________ Just you and me strogg! |
|
Back to top |
|
|
Gergan Penkov Veteran
Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Wed Jun 06, 2007 8:28 pm Post subject: |
|
|
Also re-emrging libtool will not help, the problem are the libtool archives or the la-s. There are two ways here one of them remove the use flags (avahi bonjour and so on), unmerge avahi, emerge -N world, after that the problems start to appear or even on emerge -N world. One of the solutions is to track manually the chain of builds to be rebuild, probably starting with glib and gtk and working you up - revdep-rebuild will not help you in this fall. The second possibility is going with emerge -e world.
There are more options here, but I'll not recommend them to you as if the handling is incorrect there could be disastrous results (deleting all the la-s on the system or such). _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Wed Jun 06, 2007 9:43 pm Post subject: |
|
|
I will do a "emerge -e world" because I always use "emerge -uDavN world" and hope. Should I open a bug?
Because this is really $5&"23!"!!"2
<edit />
Slayer - Raining Blood _________________ Just you and me strogg! |
|
Back to top |
|
|
Polynomial-C Retired Dev
Joined: 01 Jun 2003 Posts: 1432 Location: Germany
|
Posted: Wed Jun 06, 2007 11:59 pm Post subject: |
|
|
Hi,
I suggest you (as well as Gregan Penkov does, I suppose) to consider setting LDFLAGS="-Wl,--as-needed" before doing emerge -e world. This should prevent some (probably many) packages from uselessly linking to avahi. On the other hand, not all packages are --as-needed safe. There are still packages in portage, which refuse to compile with --as-needed because of broken Makefiles...
Ah and again my usual disclaimer... don't use --as-needed with binutils prior to version 2.17 as these versions could misbehave when being used with --as-needed...
Cheers
Poly-C _________________ The manual said "Requires Windows10 or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
Back to top |
|
|
Gergan Penkov Veteran
Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Thu Jun 07, 2007 1:08 am Post subject: |
|
|
hoschi wrote: | I will do a "emerge -e world" because I always use "emerge -uDavN world" and hope. Should I open a bug?
Because this is really $5&"23!"!!"2
<edit />
Slayer - Raining Blood |
Hat's geklappt?
P.S. it is Reign In Blood
(and yes --as-need will resolve most of these problems)
Do not post bugs about such issues, they will be resolved more or less as invalid, as the portage/paludis/pkgcore could not know about such artificial dependancies and revdep-rebuild on the other side could not find the correct order to rebuild the packages - it is exactly what I argued with ciaranm in some thread, that without --as-needed all the pkg-managers are useless (in such cases). _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Thu Jun 07, 2007 7:47 am Post subject: |
|
|
I decided it leave at it is. Normally I a hate it to have a non perfect system, but I move this month to munich (new job and so on).
Maybe later. _________________ Just you and me strogg! |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Thu Jun 07, 2007 8:54 am Post subject: |
|
|
Fuck off! I will do it!
Can't life with a system what is not "perfect"! _________________ Just you and me strogg! |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Thu Jun 07, 2007 10:21 pm Post subject: |
|
|
Okay, I compiled over 500 ebuilds for over 14 hours and...it doesn't help
Damn! _________________ Just you and me strogg! |
|
Back to top |
|
|
Gergan Penkov Veteran
Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Thu Jun 07, 2007 10:43 pm Post subject: |
|
|
Ok, post your full output from revdep-rebuild -pv and the result from
Code: | find / -name "*.la" -print0| xargs -0 grep -n "avahi" -f |
somewhere in pastebin or some similar service. _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Fri Jun 08, 2007 7:36 am Post subject: |
|
|
Oh
Now it compiles and everything looks well
libtool seem to be a little bit confused, but now is everything fine
btw. 530 ebuilds in 14 hours at 30 degree temperature _________________ Just you and me strogg! |
|
Back to top |
|
|
|