Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469156 - app-misc/lcd4linux-0.10.1_rc2-r2 - drv_LCD2USB.c:(.text+0x9f): undefined reference to `usb_debug'
Summary: app-misc/lcd4linux-0.10.1_rc2-r2 - drv_LCD2USB.c:(.text+0x9f): undefined refe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 483300 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-09 11:14 UTC by Juergen Rose
Modified: 2013-12-30 11:11 UTC (History)
5 users (show)

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


Attachments
/var/tmp/portage/app-misc/lcd4linux-0.10.1_rc2-r2/temp/build.log (build.log,27.72 KB, text/plain)
2013-05-09 11:14 UTC, Juergen Rose
Details
fix compliation errors regarding discontinued usb_debug flag in latest usblib (fix_usb_debug_lcd4linux-0.10.1-RC2.diff,2.96 KB, patch)
2013-11-10 20:40 UTC, Gerhard Hintermayer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2013-05-09 11:14:41 UTC
Created attachment 347816 [details]
/var/tmp/portage/app-misc/lcd4linux-0.10.1_rc2-r2/temp/build.log

'emerge lcd4linux' fails with:
...
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o lcd4linux  lcd4linux.o cfg.o debug.o drv.o drv_generic.o evaluator.o property.o hash.o layout.o pid.o timer.o thread.o udelay.o qprintf.o rgb.o widget.o widget_text.o widget_bar.o widget_icon.o widget_keypad.o widget_timer.o widget_gpo.o plugin.o plugin_cfg.o plugin_math.o plugin_string.o plugin_test.o plugin_time.o drv_Crystalfontz.o drv_Curses.o drv_HD44780.o drv_LCD2USB.o drv_MatrixOrbital.o drv_USBLCD.o drv_X11.o drv_Image.o drv_generic_text.o drv_generic_graphic.o widget_image.o drv_generic_gpio.o drv_generic_parport.o drv_generic_serial.o drv_generic_i2c.o drv_generic_keypad.o  plugin_apm.o plugin_cpuinfo.o plugin_diskstats.o plugin_dvb.o plugin_exec.o plugin_file.o plugin_i2c_sensors.o plugin_iconv.o plugin_imon.o plugin_isdn.o plugin_kvv.o plugin_loadavg.o plugin_meminfo.o plugin_mysql.o plugin_netdev.o plugin_pop3.o plugin_ppp.o plugin_proc_stat.o plugin_python.o plugin_sample.o plugin_seti.o plugin_statfs.o plugin_uname.o plugin_uptime.o plugin_wireless.o  -lncurses -lX11 -lgd -lusb   -lmysqlclient -L/usr/lib64/python2.7 -lpython2.7  -lpthread -ldl  -lutil -lm 
drv_LCD2USB.o: In function `drv_L2U_open':
drv_LCD2USB.c:(.text+0x9f): undefined reference to `usb_debug'
drv_USBLCD.o: In function `drv_UL_init':
drv_USBLCD.c:(.text+0x45f): undefined reference to `usb_debug'
collect2: error: ld returned 1 exit status
make[1]: *** [lcd4linux] Error 1




root@lynx2:/root(85)# emerge --info '=app-misc/lcd4linux-0.10.1_rc2-r2'
Portage 2.1.11.63 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.17, 3.9.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.9.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.2
KiB Mem:     3972780 total,    688428 free
KiB Swap:    8008364 total,   7922648 free
Timestamp of tree: Thu, 09 May 2013 07:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.4, 3.2.4
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise science sabayon x-portage x-cpan x-g-octave
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/science /var/lib/layman/sabayon /usr/local/portage /var/lib/cpan /var/lib/g-octave"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boo boost branding bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx fts3 fuse g3dvl garmin gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glib glpk gml gmp gnome gnome-keyring gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile harness hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3 id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jabber jadetex java jbig john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kqemu kvm ladspa lame lapack laptop latex lcms ldap lensfun libffi libkms libnotify libsamplerate lirc live lua lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp overview pam pango pcre pda pdf perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm projectx pstricks pulseaudio python python-bindings q32 qemu qhull qt3support qt4 quicktime raw readline reiserfs reports rhythmbox rle romio rpc rrdcgi rrdtool samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 ssl ssse3 startup-notification stlport subtitles subversion sudo suexec svg svm swig szip t1lib tcl tcpd tex tex4ht texmacs tgif theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb userlocales utempter v4l vaapi vala vdpau video virt-network virtualbox visio vorbis vpx wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xa xattr xcb xemacs xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DVB_CARDS="usb-wt220u" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel displaylink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-misc/lcd4linux-0.10.1_rc2-r2 was built with the following:
USE="iconv (multilib) mysql python -mpd" ABI_X86="64" LCD_DEVICES="cfontz hd44780 mtxorb ncurses -X -beckmannegle -bwct -cwlinux -ea232 -g15 -hd44780i2c -lcd2usb -lcdlinux -lcdterm -ledmatrix -lph7508 -luise -m50530 -milfordbpk -noritake -null -picolcd -png -ppm -routerboard -serdisplib -simplelcd -t6963 -trefon -usbhub -usblcd -wincor"



root@lynx2:/root(86)# emerge -pqv '=app-misc/lcd4linux-0.10.1_rc2-r2'
[ebuild   R   ] app-misc/lcd4linux-0.10.1_rc2-r2  USE="iconv mysql python -mpd" LCD_DEVICES="X* cfontz hd44780 lcd2usb* lcdlinux* mtxorb ncurses png* usblcd* -beckmannegle -bwct -cwlinux -ea232 -g15 -hd44780i2c -lcdterm -ledmatrix -lph7508 -luise -m50530 -milfordbpk -noritake -null -picolcd -ppm -routerboard -serdisplib -simplelcd -t6963 -trefon -usbhub -wincor"
Comment 1 André Erdmann 2013-05-17 10:42:55 UTC
I recently ran into this issue. too.
As a workaround, installing dev-libs/libusb:0 (thus unmerging dev-libs/libusb-compat) and then lcd4linux did the trick for me.
Comment 2 Juergen Rose 2013-05-25 09:38:45 UTC
If I deinstall libusbx, libusb-compat and virtual/libusb, the next 'emerge -pvuDN world' wants to reinstall them. How can I managed that emerge -pvuDN world' installs dev-libs/libusb-0.1.12-r7 and dev-libs/libusb-1.0.9 instead of libusbx, libusb-compat?
Comment 3 Stephan 2013-08-10 14:59:31 UTC
I also encounter this problem. deinstalling libusb-compat will not work. it is reinstalled after rebuilding lcd4linux with use flag lcd_devices_lcd2usb

emerge --info lcd4linux

Portage 2.1.12.2 (default/linux/amd64/13.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-AMD_E-350_Processor-with-gentoo-2.2
KiB Mem:     3649352 total,    577088 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 09 Aug 2013 18:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.11.1, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-misc/lcd4linux-0.10.1_rc2-r2 was built with the following:
USE="iconv (multilib) -mpd -mysql -python" LCD_DEVICES="cfontz hd44780 mtxorb ncurses -X -beckmannegle -bwct -cwlinux -ea232 -g15 -hd44780i2c -lcd2usb -lcdlinux -lcdterm -ledmatrix -lph7508 -luise -m50530 -milfordbpk -noritake -null -picolcd -png -ppm -routerboard -serdisplib -simplelcd -t6963 -trefon -usbhub -usblcd -wincor"

--------------------------------------------------------------------------

nas package.use # emerge  --pretend --verbose lcd4linux 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-misc/lcd4linux-0.10.1_rc2-r2  USE="iconv -mpd -mysql -python" LCD_DEVICES="cfontz hd44780 lcd2usb* mtxorb ncurses -X -beckmannegle -bwct -cwlinux -ea232 -g15 -hd44780i2c -lcdlinux -lcdterm -ledmatrix -lph7508 -luise -m50530 -milfordbpk -noritake -null -picolcd -png -ppm -routerboard -serdisplib -simplelcd -t6963 -trefon -usbhub -usblcd -wincor" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

--------------------------------------------------------------------------

nas package.use # emerge --verbose lcd4linux

....
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -march=athlon64 -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o lcd4linux  lcd4linux.o cfg.o debug.o drv.o drv_generic.o evaluator.o property.o hash.o layout.o pid.o timer.o thread.o udelay.o qprintf.o rgb.o widget.o widget_text.o widget_bar.o widget_icon.o widget_keypad.o widget_timer.o widget_gpo.o plugin.o plugin_cfg.o plugin_math.o plugin_string.o plugin_test.o plugin_time.o drv_Crystalfontz.o drv_Curses.o drv_HD44780.o drv_LCD2USB.o drv_MatrixOrbital.o drv_generic_text.o drv_generic_gpio.o drv_generic_parport.o drv_generic_serial.o drv_generic_i2c.o drv_generic_keypad.o  plugin_apm.o plugin_cpuinfo.o plugin_diskstats.o plugin_dvb.o plugin_exec.o plugin_file.o plugin_i2c_sensors.o plugin_iconv.o plugin_imon.o plugin_isdn.o plugin_kvv.o plugin_loadavg.o plugin_meminfo.o plugin_netdev.o plugin_pop3.o plugin_ppp.o plugin_proc_stat.o plugin_sample.o plugin_seti.o plugin_statfs.o plugin_uname.o plugin_uptime.o plugin_wireless.o  -lncurses -lusb   -lm 
drv_LCD2USB.o: In function `drv_L2U_open':
drv_LCD2USB.c:(.text+0x10f): undefined reference to `usb_debug'
collect2: ld returned 1 exit status
make[1]: *** [lcd4linux] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/lcd4linux-0.10.1_rc2-r2/work/lcd4linux-0.10.1-RC2'
make: *** [all] Error 2
 * ERROR: app-misc/lcd4linux-0.10.1_rc2-r2 failed (compile phase):
 *   emake failed
 *
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-10-20 11:44:32 UTC
*** Bug 483300 has been marked as a duplicate of this bug. ***
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-10-20 11:45:52 UTC
The package is broken with libusb-compat, and still needs the old libusb-0.1.12.
CCing treecleaners for package removal because there is no maintainer, and no fix in sight.
Comment 6 Gerhard Hintermayer 2013-10-22 08:57:50 UTC
(In reply to Samuli Suominen from comment #5)
> The package is broken with libusb-compat, and still needs the old
> libusb-0.1.12.
> CCing treecleaners for package removal because there is no maintainer, and
> no fix in sight.

The fix is to remove all invocations of usb_debug, this worked for me. removing lcd4linux from portage would be a pity. I could provide a patch for that ...
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2013-10-22 09:19:37 UTC
then the logging would be gone? well, if it really takes that to get this fixed, please do provide such patch
no other distro has patch for this ready? need to check all them. maybe it's even in some mailing list etc.
Comment 8 Gerhard Hintermayer 2013-10-22 10:18:41 UTC
(In reply to Samuli Suominen from comment #7)
> then the logging would be gone? well, if it really takes that to get this
> fixed, please do provide such patch
> no other distro has patch for this ready? need to check all them. maybe it's
> even in some mailing list etc.

usb_debug was bound to 0 in the code anyhow. (driver BWCT,LCD2USB,picLCD,Trefon,USBLCD) I assume 0 means no logging at all. So we're not loosing any info ;-)
Comment 9 Juergen Rose 2013-11-02 15:21:39 UTC
(In reply to Gerhard Hintermayer from comment #6)
> (In reply to Samuli Suominen from comment #5)
> > The package is broken with libusb-compat, and still needs the old
> > libusb-0.1.12.
> > CCing treecleaners for package removal because there is no maintainer, and
> > no fix in sight.
> 
> The fix is to remove all invocations of usb_debug, this worked for me.
> removing lcd4linux from portage would be a pity. I could provide a patch for
> that ...

I would like to have this patch.
Comment 10 Gerhard Hintermayer 2013-11-04 13:45:53 UTC
Sorry about the delay. Hope to find some time to sumbit the patch this week.
Comment 11 Gerhard Hintermayer 2013-11-10 20:40:51 UTC
Created attachment 363024 [details, diff]
fix compliation errors regarding discontinued usb_debug flag in latest usblib

sorry for the delay. here you are. hope I got the diff right ;-) 
just removed all occurences of usb_debug from all drivers (I'm just using USB2LCD, and driver works with no problems after usb_debug removal, assume the same behaviour for all the other drivers)
Comment 12 Juergen Rose 2013-12-02 13:51:53 UTC
(In reply to Gerhard Hintermayer from comment #11)
> Created attachment 363024 [details, diff] [details, diff]
> fix compliation errors regarding discontinued usb_debug flag in latest usblib
> 
> sorry for the delay. here you are. hope I got the diff right ;-) 
> just removed all occurences of usb_debug from all drivers (I'm just using
> USB2LCD, and driver works with no problems after usb_debug removal, assume
> the same behaviour for all the other drivers)

Thanks, the patch worked for me.
Comment 13 Pacho Ramos gentoo-dev 2013-12-30 11:11:00 UTC
+*lcd4linux-0.10.1_rc2-r3 (30 Dec 2013)
+
+  30 Dec 2013; Pacho Ramos <pacho@gentoo.org>
+  +files/lcd4linux-0.10.1_rc2-usbdebug.patch, +lcd4linux-0.10.1_rc2-r3.ebuild:
+  Drop usb_debug calls, bug #469156 by Juergen Rose and patch by Gerhard
+  Hintermayer
+