While compiling the update to kdebase-3.4.0-r1 I ran into a problem with the new mouse-config section which gave a bunch of errors which seem to reflect a need for logitech-mouse controls and usb functions that were not in my libusb. Apparently the use flag for logitech-mouse is not restricting out the right things in the new ebuild. Below is what I pulled from the bottom of my build. I was not able to do a logged build at this time. By adding logitech-mouse to my use flag, and correcting the needed dependency for libusb-0.1.10a I was able to build. .lo xcursor/libthemepage.la -lXtst -lkio -lXcursor -L/usr/lib -lusb .libs/mouse.o(.text+0x3c85): In function `MouseConfig::MouseConfig(QWidget*, char const*)': : undefined reference to `usb_init' .libs/mouse.o(.text+0x3c8a): In function `MouseConfig::MouseConfig(QWidget*, char const*)': : undefined reference to `usb_find_busses' .libs/mouse.o(.text+0x3c8f): In function `MouseConfig::MouseConfig(QWidget*, char const*)': : undefined reference to `usb_find_devices' .libs/mouse.o(.text+0x3c96): In function `MouseConfig::MouseConfig(QWidget*, char const*)': : undefined reference to `usb_busses' .libs/mouse.o(.text+0x6255): In function `MouseConfig::MouseConfig(QWidget*, char const*)': : undefined reference to `usb_init' .libs/mouse.o(.text+0x625a): In function `MouseConfig::MouseConfig(QWidget*, char const*)': : undefined reference to `usb_find_busses' .libs/mouse.o(.text+0x625f): In function `MouseConfig::MouseConfig(QWidget*, char const*)': : undefined reference to `usb_find_devices' .libs/mouse.o(.text+0x6266): In function `MouseConfig::MouseConfig(QWidget*, char const*)': : undefined reference to `usb_busses' .libs/logitechmouse.o(.text+0x114): In function `LogitechMouse::~LogitechMouse()': : undefined reference to `usb_close' .libs/logitechmouse.o(.text+0x154): In function `LogitechMouse::~LogitechMouse()': : undefined reference to `usb_close' .libs/logitechmouse.o(.text+0x194): In function `LogitechMouse::~LogitechMouse()': : undefined reference to `usb_close' .libs/logitechmouse.o(.text+0x1f7): In function `LogitechMouse::updateResolution()': : undefined reference to `usb_control_msg' .libs/logitechmouse.o(.text+0x24d): In function `LogitechMouse::updateResolution()': : undefined reference to `usb_strerror' .libs/logitechmouse.o(.text+0x4b0): In function `LogitechMouse::setLogitechTo400()': : undefined reference to `usb_control_msg' .libs/logitechmouse.o(.text+0x4ed): In function `LogitechMouse::setLogitechTo400()': : undefined reference to `usb_strerror' .libs/logitechmouse.o(.text+0x6f0): In function `LogitechMouse::setLogitechTo800()': : undefined reference to `usb_control_msg' .libs/logitechmouse.o(.text+0x72d): In function `LogitechMouse::setLogitechTo800()': : undefined reference to `usb_strerror' .libs/logitechmouse.o(.text+0x932): In function `LogitechMouse::setChannel1()': : undefined reference to `usb_control_msg' .libs/logitechmouse.o(.text+0x961): In function `LogitechMouse::setChannel1()': : undefined reference to `usb_strerror' .libs/logitechmouse.o(.text+0xb67): In function `LogitechMouse::setChannel2()': : undefined reference to `usb_control_msg' .libs/logitechmouse.o(.text+0xb9d): In function `LogitechMouse::setChannel2()': : undefined reference to `usb_strerror' .libs/logitechmouse.o(.text+0xf2c): In function `LogitechMouse::updateCordlessStatus()': : undefined reference to `usb_control_msg' .libs/logitechmouse.o(.text+0x187e): In function `LogitechMouse::LogitechMouse(usb_device*, int, QWidget*, char const*)': : undefined reference to `usb_open' .libs/logitechmouse.o(.text+0x1c7e): In function `LogitechMouse::LogitechMouse(usb_device*, int, QWidget*, char const*)': : undefined reference to `usb_open' collect2: ld returned 1 exit status make[4]: *** [kcm_input.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdebase-3.4.0-r1/work/kdebase-3.4.0/kcontrol/input' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebase-3.4.0-r1/work/kdebase-3.4.0/kcontrol/input' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.4.0-r1/work/kdebase-3.4.0/kcontrol' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.4.0-r1/work/kdebase-3.4.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdebase-3.4.0-r1 failed. !!! Function kde_src_compile, Line 166, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
same error here on amd64, upgrading to libusb-0.1.10a fixes the problem
Basically the problem is that kdebase hasn't a --without-logitech-mouse switch, so it tries to compile against the installed libusb. See also bug 81966.
I think I understand that, but the ebuild has to then force the dependency instead of only showing the dependency if I modify my use flags to what it was requiring anyway. Also it appears that kdebase-3.4.0.ebuild didn't have this issue, but -r1 does. Of course this is what using unstable is all about right, documenting the problems so that when it become stable it isn't a problem anymore.
(In reply to comment #1) > same error here on amd64, upgrading to libusb-0.1.10a fixes the problem I have two amd64-systems and libusb-0.1.10a - compile doesnot work. Same error as above.
(In reply to comment #1) > same error here on amd64, upgrading to libusb-0.1.10a fixes the problem I have two amd64-systems and libusb-0.1.10a - compile doesnot work. Same error as above.(In reply to comment #4) > (In reply to comment #1) > > same error here on amd64, upgrading to libusb-0.1.10a fixes the problem > > I have two amd64-systems and libusb-0.1.10a - compile doesnot work. Same error > as above. After recompiling kdelibs it works. I am a little bit wondering about that.
*** Bug 94888 has been marked as a duplicate of this bug. ***
The latest revision in portage has a patch to respect the logitech-mouse USE flag, please report if there are other issues.