Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92433 - kdebase-3.4.0-r1 will not build unless logitech-mouse is in use flags and dependencies met
Summary: kdebase-3.4.0-r1 will not build unless logitech-mouse is in use flags and dep...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 94888 (view as bug list)
Depends on:
Blocks: 81966
  Show dependency tree
 
Reported: 2005-05-12 13:55 UTC by Anthony J Moulen
Modified: 2005-06-07 06:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony J Moulen 2005-05-12 13:55:05 UTC
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.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-13 03:22:24 UTC
same error here on amd64, upgrading to libusb-0.1.10a fixes the problem
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-13 03:35:00 UTC
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.
Comment 3 Anthony J Moulen 2005-05-13 07:50:35 UTC
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. 
Comment 4 Martin May 2005-05-18 08:06:21 UTC
(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.
Comment 5 Martin May 2005-05-18 14:32:53 UTC
(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.
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-03 02:50:47 UTC
*** Bug 94888 has been marked as a duplicate of this bug. ***
Comment 7 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-07 06:06:30 UTC
The latest revision in portage has a patch to respect the logitech-mouse USE 
flag, please report if there are other issues.