Ticket #1093 (closed defect: invalid)

Opened 7 years ago

Last modified 7 years ago

cameras_* is not a valid choice name with prefix

Reported by: cmuelle8 Owned by:
Priority: MinorRelease Milestone:
Component: clients/cave Version: 0.58.0
Keywords: Cc: cmue81@…
Blocked By: Blocking:
Distribution: Gentoo

Description

This worked in 0.54.11 (I just upgraded from this version)

paludis@1295828653: [WARNING paludis.deprecated] In thread ID '12426':

... In program paludis (--log-level warning --continue-on-failure if-satisfied) -q libgphoto2: ... paludis is deprecated. Use 'cave' instead.

  • media-libs/libgphoto2

gentoo: 2.4.9 2.4.10(~) {:0} installed: 2.4.10* {:0} Description: Library that implements support for numerous digital cameras Homepage:  http://www.gphoto.org/ License: GPL-2 Installed time: Mon Nov 22 06:33:17 CET 2010

Query error:

  • In program paludis (--log-level warning --continue-on-failure if-satisfied) -q libgphoto2:
  • When performing query action from command line:
  • When handling query 'libgphoto2':
  • When making Choices key for 'media-libs/libgphoto2-2.4.10:0::installed':
  • When using raw_iuse_key and raw_use_key to populate choices:
  • Name 'cameras_*' is not a valid choice name with prefix

paludis@1295829054: [WARNING paludis.deprecated] In thread ID '12701':

... In program paludis (--log-level warning --continue-on-failure if-satisfied) --info media-libs/libgphoto2: ... paludis is deprecated. Use 'cave' instead.

paludis 0.58.0 Paludis build information:

Compiler:

CXX: x86_64-pc-linux-gnu-g++ 4.4.5 CXXFLAGS: -march=athlon64 -O2 -pipe -pedantic LDFLAGS: -Wl,-O1 DATE: 2011-01-23T23:49:27+0100

Libraries:

C++ Library: GNU libstdc++ 20101001

Paths:

DATADIR: /usr/share LIBDIR: /usr/lib64 LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: /usr/lib64/python2.7/site-packages RUBYINSTALLDIR: /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

System:

Linux coltrane 2.6.36-tuxonice-r2 #1 SMP PREEMPT Tue Nov 23 11:29:55 CET 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ AuthenticAMD GNU/Linux

Reduced Privs:

reduced_uid: 110 reduced_uid->name: paludisbuild reduced_uid->dir: /var/tmp/paludis reduced_gid: 1007 reduced_gid->name: paludisbuild

Environment:

Format: paludis Config dir: /etc/paludis Root: / System Root: / World file: /var/lib/portage/world

Repository installed-virtuals:

format: installed_virtuals root: /

Repository virtuals:

format: virtuals

Repository gentoo:

format: e location: /var/paludis/repositories/gentoo builddir: /var/tmp/paludis cache: /var/paludis/repositories/gentoo/metadata/cache distdir: /var/paludis/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /var/paludis/repositories/gentoo/eclass layout: traditional names_cache: /var/paludis/repositories/gentoo/.cache/names newsdir: /var/paludis/repositories/gentoo/metadata/news profile_eapi_when_unspecified: 0 profile_layout: traditional profiles: /var/paludis/repositories/gentoo/profiles/default/linux/amd64/10.0 securitydir: /var/paludis/repositories/gentoo/metadata/glsa setsdir: /var/paludis/repositories/gentoo/sets sync: rsync://rsync.gentoo.org/gentoo-portage sync_options: use_manifest: use write_cache: /var/paludis/repositories/gentoo/.cache

Package information:

app-admin/eselect-compiler: (none) app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1 3.1.3 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.3-r1 dev-util/confcache: (none) sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13 2.68 sys-devel/automake: 1.10.3 1.11.1 1.4_p6-r1 1.5-r1 1.7.9-r2 1.8.5-r4 1.9.6-r3 sys-devel/binutils: 2.21 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (for sys-kernel/linux-headers::installed)

Repository installed:

format: vdb location: /var/db/pkg builddir: /var/tmp/paludis eapi_when_unknown: 0 names_cache: /var/db/pkg/.cache/names provides_cache: /var/db/pkg/.cache/provides root: /

Repository installed-unpackaged:

format: installed_unpackaged location: /var/paludis/repositories/installed-unpackaged root: /

Package media-libs/libgphoto2-2.4.10::installed:

Unhandled exception:

  • In program paludis (--log-level warning --continue-on-failure if-satisfied) --info media-libs/libgphoto2:
  • When handling query 'media-libs/libgphoto2':
  • When infoing 'media-libs/libgphoto2-2.4.10::installed':
  • When running an ebuild command on 'media-libs/libgphoto2-2.4.10:0::installed':
  • When making Choices key for 'media-libs/libgphoto2-2.4.10:0::installed':
  • When using raw_iuse_key and raw_use_key to populate choices:
  • Name 'cameras_*' is not a valid choice name with prefix (paludis::ChoiceNameWithPrefixError?)

Change History

comment:1 Changed 7 years ago by cmuelle8

  • Priority changed from Sometime to MinorRelease
  • Cc cmue81@… added
  • Version changed from 0.58.1 to 0.58.0

comment:2 Changed 7 years ago by ciaranm

Your media-libs/libgphoto2-2.4.10:0::installed is wonky. Please provide the contents of USE , IUSE , USE_EXPAND , USE_EXPAND_HIDDEN , VDB_FORMAT and PKGMANAGER from /var/db/pkg/media-libs/libgphoto2-2.4.10 .

comment:3 Changed 7 years ago by cmuelle8

coltrane ~ # for i in USE IUSE USE_EXPAND USE_EXPAND_HIDDEN VDB_FORMAT PKGMANAGER ; do echo $i ; cat /var/db/pkg/media-libs/libgphoto2-2.4.10/$i ; done

USE
doc examples exif hal nls zeroconf amd64 alsa_cards_sblive alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias cameras_* collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_ps2mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_de linguas_en lirc_devices_serial php_targets_php5-2 ruby_targets_ruby18 userland_GNU video_cards_radeon video_cards_v4l video_cards_vesa xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee amd64 

IUSE
doc examples exif hal nls kernel_linux zeroconf cameras_adc65 cameras_agfa_cl20 cameras_aox cameras_ax203 cameras_barbie cameras_canon cameras_casio_qv cameras_clicksmart310 cameras_digigr8 cameras_digita cameras_dimagev cameras_dimera3500 cameras_directory cameras_enigma13 cameras_fuji cameras_gsmart300 cameras_hp215 cameras_iclick cameras_jamcam cameras_jd11 cameras_jl2005a cameras_jl2005c cameras_kodak_dc120 cameras_kodak_dc210 cameras_kodak_dc240 cameras_kodak_dc3200 cameras_kodak_ez200 cameras_konica cameras_konica_qm150 cameras_largan cameras_lg_gsm cameras_mars cameras_mustek cameras_panasonic_coolshot cameras_panasonic_l859 cameras_panasonic_dc1000 cameras_panasonic_dc1580 cameras_pccam300 cameras_pccam600 cameras_polaroid_pdc320 cameras_polaroid_pdc640 cameras_polaroid_pdc700 cameras_ptp2 cameras_ricoh cameras_ricoh_g3 cameras_samsung cameras_sierra cameras_sipix_blink cameras_sipix_blink2 cameras_sipix_web2 cameras_smal cameras_sonix cameras_sony_dscf1 cameras_sony_dscf55 cameras_soundvision cameras_spca50x cameras_sq905 cameras_st2205 cameras_stv0674 cameras_stv0680 cameras_sx330z cameras_template cameras_toshiba_pdrm11 cameras_topfield            

USE_EXPAND
ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS

USE_EXPAND_HIDDEN
CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND

VDB_FORMAT
paludis-2

PKGMANAGER
paludis-0.54.8


coltrane ~ # paludis -qD libgphoto2::gentoo
paludis@1295901304: [WARNING paludis.deprecated] In thread ID '13689':
  ... In program paludis (--log-level warning --continue-on-failure if-satisfied) -qD libgphoto2::gentoo:
  ... paludis is deprecated. Use 'cave' instead.
* media-libs/libgphoto2::gentoo
    gentoo:                  2.4.9 2.4.10(~)* {:0} 
    Homepage:                http://www.gphoto.org/
    Description:             Library that implements support for numerous digital cameras
    Herds:                   gnome graphics
    Use flags:               doc examples exif hal nls zeroconf cameras: -adc65 -agfa_cl20 -aox -ax203 -barbie -canon -casio_qv -clicksmart310 -digigr8 -digita -dimagev -dimera3500 -directory -enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11 -jl2005a -jl2005c -kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200 -kodak_ez200 -konica -konica_qm150 -largan -lg_gsm -mars -mustek -panasonic_coolshot -panasonic_dc1000 -panasonic_dc1580 -panasonic_l859 -pccam300 -pccam600 -polaroid_pdc320 -polaroid_pdc640 -polaroid_pdc700 -ptp2 -ricoh -ricoh_g3 -samsung -sierra -sipix_blink -sipix_blink2 -sipix_web2 -smal -sonix -sony_dscf1 -sony_dscf55 -soundvision -spca50x -sq905 -st2205 -stv0674 -stv0680 -sx330z -template -topfield -toshiba_pdrm11 Build Options: -optional_tests -split strip -trace -preserve_work
    Build dependencies:      

Query error:
  * In program paludis (--log-level warning --continue-on-failure if-satisfied) -qD libgphoto2::gentoo:
  * When performing query action from command line:
  * When handling query 'libgphoto2::gentoo':
  * When finding some arbitrary version from packages matching net-dns/avahi[mdnsresponder-compat] with filter all matches filtered through installed at root /:
  * When making Choices key for 'net-dns/avahi-0.6.28:0::installed':
  * When using raw_iuse_key and raw_use_key to populate choices:
  * Name 'cameras_*' is not a valid choice name with prefix


comment:4 Changed 7 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to invalid

The cameras_* in USE isn't legal. You'll need to remove it. You'll probably also have to remove it from various other USE files in VDB.

It most likely got in there because of something screwy in your use.conf. For a few releases we didn't have particularly tight validation enabled there, so some illegal things would slip through.

comment:5 Changed 7 years ago by cmuelle8

  • Status changed from closed to reopened
  • Resolution invalid deleted

OK, using

find /var/db/pkg -name "USE" -exec sed -i -e 's/cameras_\* //' {} \;

fixed it. I can work with paludis/cave again. Problem was that I had

*/* CAMERAS: *

in /etc/paludis/use.conf

If I don't use CAMERAS at all, will all camera drivers of an ebuild be installed?

coltrane pkg # paludis -qD libgphoto2::gentoo
paludis@1295901912: [WARNING paludis.deprecated] In thread ID '16820':
  ... In program paludis (--log-level warning --continue-on-failure if-satisfied) -qD libgphoto2::gentoo:
  ... paludis is deprecated. Use 'cave' instead.
* media-libs/libgphoto2::gentoo
    gentoo:                  2.4.9 2.4.10(~)* {:0} 
    Homepage:                http://www.gphoto.org/
    Description:             Library that implements support for numerous digital cameras
    Herds:                   gnome graphics
    Use flags:               doc examples exif hal nls zeroconf cameras: -adc65 -agfa_cl20 -aox -ax203 -barbie -canon -casio_qv -clicksmart310 -digigr8 -digita -dimagev -dimera3500 -directory -enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11 -jl2005a -jl2005c -kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200 -kodak_ez200 -konica -konica_qm150 -largan -lg_gsm -mars -mustek -panasonic_coolshot -panasonic_dc1000 -panasonic_dc1580 -panasonic_l859 -pccam300 -pccam600 -polaroid_pdc320 -polaroid_pdc640 -polaroid_pdc700 -ptp2 -ricoh -ricoh_g3 -samsung -sierra -sipix_blink -sipix_blink2 -sipix_web2 -smal -sonix -sony_dscf1 -sony_dscf55 -soundvision -spca50x -sq905 -st2205 -stv0674 -stv0680 -sx330z -template -topfield -toshiba_pdrm11 Build Options: -optional_tests -split strip -trace -preserve_work
    Build dependencies:      
            virtual/libusb:0
            cameras_ax203? (
                media-libs/gd
            )
            cameras_st2205? (
                media-libs/gd
            )
            zeroconf? (
                || (
                    net-dns/avahi[mdnsresponder-compat]
                    net-misc/mDNSResponder
                )
            )
            exif? (
                >=media-libs/libexif-0.5.9
            )
            hal? (
                >=sys-apps/hal-0.5
                >=sys-apps/dbus-1
            )
            sys-devel/libtool
            dev-util/pkgconfig
            sys-devel/flex
            >=sys-devel/gettext-0.14.1
            doc? (
                app-doc/doxygen
            )
            || (
                =sys-devel/automake-1.11*
            )
            >=sys-devel/autoconf-2.61
            >=sys-devel/libtool-2.2.6b

.. suggests that this is not the case? What can I put into use.conf to build all CAMERAS modules? Do I have to list every camera use flag in use.conf to achieve this??

muchos gracias, Christian / cmuelle8

comment:6 Changed 7 years ago by ciaranm

  • Status changed from reopened to closed
  • Resolution set to invalid

CAMERAS: * has never worked. It's not possible for it to work, since there's no complete list of all supported values for any use expand flag anywhere. You have to list every flag yourself, but be aware that there's no complete list anywhere.

comment:7 Changed 7 years ago by cmuelle8

OK, thanks.

Note: See TracTickets for help on using tickets.