Summary: | libgphoto2-2.2.1-r1 ebuild fails to register cameras with HAL | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Laurynas Ruskys <bilbas> |
Component: | [OLD] Library | Assignee: | Alastair Tse (RETIRED) <liquidx> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnome, tibber, zzam |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
fixes the installation of hal-fdi-file
better fix for print-camera-list |
Description
Laurynas Ruskys
2006-09-12 11:06:22 UTC
cannot reproduce this Portage 2.1.2_pre2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-suspend2-r4 i686) ================================================================= System uname: 2.6.17-suspend2-r4 i686 Pentium III (Katmai) Gentoo Base System version 1.12.5 Last Sync: Sat, 21 Oct 2006 01:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -ftree-vectorize -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/lib/X11/xkb /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -ftree-vectorize -pipe -fvisibility-inlines-hidden" DISTDIR="/var/tmp/distfiles" FEATURES="autoconfig distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://85.25.128.62 http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="en fr ja zh zh_CN" MAKEOPTS="-j6" PKGDIR="/var/tmp/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync-exlude" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/portage/local/layman/gentopia /usr/portage/local/layman/liferea_overlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/sunrise /usr/portage/local/layman/wrobel /usr/portage/local/layman/wrobel /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/portage-xgl" SYNC="rsync://percolator.esiee.net/gentoo-portage" USE="x86 X a52 aalib acl acpi alsa avahi bash-completion beagle bitmap-fonts bonjour bzip2 cairo canna cdr cjk cli cracklib crypt daap dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd evo exif fam fbcon ffmpeg firefox flac freewnn gaim gecko-sdk gif glitz glx gnome gnutls gphoto2 gpm gstreamer gstreamer010 gtk gtkhtml h264 hal input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber jpeg kernel_linux lcms ldap libg++ libnotify libsexy linguas_en linguas_fr linguas_ja linguas_zh linguas_zh_CN logrotate mad matroska mmx mng mp3 mpeg msn musicbrainz ncurses networkmanager nfs nls nptl nptlonly nsplugin ogg opengl pam parse-clocks pcre pdf perl png ppds pppd python quicktime readline reflection samba sdl session silc smp spell spl sqlite sse ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_r200 video_cards_radeon video_cards_vesa vorbis win32codecs x264 xinerama xml xorg xv xvid zlib" when did you emerge --sync last time ? libgphoto2 ebuild had some bugs some times ago Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK Still reproducable here, though I moved to x86 stable (libgphoto2 is ~x86 unmasked). Synced today. I have CAMERAS="canon" in make.conf ~ $ ls /usr/share/hal/fdi/information/10freedesktop/10-camera-libgphoto2.fdi ls: /usr/share/hal/fdi/information/10freedesktop/10-camera-libgphoto2.fdi: No such file or directory Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo-r1 i686) ================================================================= System uname: 2.6.18-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.5 Last Sync: Sun, 22 Oct 2006 12:30:07 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LANG="lt_LT.UTF-8" LC_ALL="lt_LT.UTF-8" LINGUAS="en lt" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 7zip S3TC X a52 aac acpi aiglx alsa amarok aoss asf bash-completion berkdb binary-drivers bitmap-fonts bzip2 cairo ccache cddb cdparanoia cdr cdrom cgi cli connectionstatus contentcache cracklib crypt css cvs dbus dga dio directfb discard-path divx dlloader dmi dri dvd dvdr eds elibc_glibc encode exif fam fastcgi fbcon ffmpeg firefox flac font-server fontconfig ftp gd gdbm gif glitz gmedia gphoto2 gpm gtk gtk2 hal imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog javascript jpeg kde kdeenablefinal kernel_linux kqemu ldap libg++ lighttpd linguas_en linguas_lt lm_sensors logitech-mouse mad matroska mikmod mmap mmx mmxext mp3 mpeg mplayer musepack musicbrainz mysql ncurses nls no-old-linux nodrm nomalloccheck nowebdav nptl nptlonly nvidia offensive ogg openal opengl oss pam pam_chroot pam_console pam_timestamp paste64 pch pcre perl php png polling ppds pppd python qt3 qt4 quicktime rdesktop readline real realmedia reflection rtc samba sdl session slang sox spell spl sse sse2 ssl subversion svg svga swat symlink sysfs syslog tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode unzip usb userland_GNU video_cards_nvidia visualization vorbis win32codecs winbind wmp x264 xcomposite xext xine xinetd xml xorg xpm xrandr xscreensaver xv xvid xvmc zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 103438 [details, diff]
fixes the installation of hal-fdi-file
That patch should allow hal-fdi file to be installed, by just creating the up to now missing directory in the install-image.
(In reply to comment #3) > Created an attachment (id=103438) [edit] > fixes the installation of hal-fdi-file > > That patch should allow hal-fdi file to be installed, by just creating the up > to now missing directory in the install-image. > Besides this patch I had to build libgphoto2 twice, since it required a missing library at the first run during generating the hal/hotplug files. (In reply to comment #4) > (In reply to comment #3) > > Created an attachment (id=103438) [edit] > > fixes the installation of hal-fdi-file > > > > That patch should allow hal-fdi file to be installed, by just creating the up > > to now missing directory in the install-image. > > > > Besides this patch I had to build libgphoto2 twice, since it required a missing > library at the first run during generating the hal/hotplug files. > That issue sounds to me like calling these file-creation helper programs need to LD_LIBRARY_PATH set when running them (Perhaps to ${D}/usr/lib or similar). Created attachment 103529 [details, diff]
better fix for print-camera-list
This new patch should now also work if libgphoto2 was not installed before.
Fixed in CVS. |