Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322833 - media-libs/musicbrainz-3.0.2: Missing cmake dependency
Summary: media-libs/musicbrainz-3.0.2: Missing cmake dependency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-05 11:49 UTC by James Potts
Modified: 2010-06-08 16:45 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 James Potts 2010-06-05 11:49:49 UTC
media-libs/musicbrainz-3.0.2 fails to install with the following error:
cmake -C /var/tmp/paludis/media-libs-musicbrainz-3.0.2/temp//gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/paludis/media-libs-musicbrainz-3.0.2/temp//gentoo_rules.cmake  /var/tmp/paludis/media-libs-musicbrainz-3.0.2/work/libmusicbrainz-3.0.2
/var/tmp/paludis/media-libs-musicbrainz-3.0.2/temp/loadsaveenv: line 2237: cmake: command not found


Reproducible: Didn't try

Steps to Reproduce:
1. paludis -u cmake (or emerge -c cmake)
2. paludis -i =media-libs/musicbrainz-3.0.2 (or emerge =media-libs/musicbrainz-3.0.2)


Actual Results:  
musicbrainz fails to install with the error mentioned above.

Expected Results:  
musicbrainz should have been installed.

paludis --info =media-libs/musicbrainz-3.0.2
paludis 0.46.0
Paludis build information:
    Compiler:
        CXX:                   i686-pc-linux-gnu-g++ 4.3.4
        CXXFLAGS:               -O2 -march=i686 -pipe
        LDFLAGS:               -Wl,-O1
        DATE:                  2010-06-04T21:54:05-0500

    Libraries:
        C++ Library:           GNU libstdc++ 20090804

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        

System:
    Linux vergebox 2.6.32-22-generic #35-Ubuntu SMP Tue Jun 1 14:17:36 UTC 2010 i686 AMD Athlon(tm) 64 FX-62 Dual Core Processor AuthenticAMD GNU/Linux

Reduced Privs:
    reduced_uid:               101
    reduced_uid->name:         paludisbuild
    reduced_uid->dir:          /var/tmp/paludis
    reduced_gid:               1000
    reduced_gid->name:         paludisbuild

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository layman:
    format:                    unavailable
    location:                  /var/db/paludis/repositories/layman
    sync:                      tar+http://git.exherbo.org/layman_repositories.tar.bz2
    sync_options:              

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository virtuals:
    format:                    virtuals

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

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       4.0_p37
        dev-java/java-config:  (none)
        dev-lang/python:       2.6.4-r1
        dev-python/pycrypto:   (none)
        dev-util/ccache:       (none)
        dev-util/cmake:        2.6.4-r3
        dev-util/confcache:    (none)
        sys-apps/baselayout:   1.12.13
        sys-apps/openrc:       (none)
        sys-apps/sandbox:      1.6-r2
        sys-devel/autoconf:    2.65
        sys-devel/automake:    1.10.3 1.11.1
        sys-devel/binutils:    2.18-r3
        sys-devel/gcc:         4.3.4 4.4.3-r2
        sys-devel/gcc-config:  1.4.1
        sys-devel/libtool:     2.2.6b
        virtual/os-headers:    2.6.30-r1 (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 paludis-overlay:
    format:                    ebuild
    location:                  /var/paludis/repositories/paludis-overlay
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /var/paludis/repositories/paludis-overlay/eclass
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/paludis-overlay/.cache/names
    newsdir:                   /var/paludis/repositories/paludis-overlay/metadata/news
    profile_eapi_when_unspecified: 0
    profile_layout:            traditional
    profiles:                  /usr/portage/profiles/default/linux/x86/10.0
    securitydir:               /var/paludis/repositories/paludis-overlay/metadata/glsa
    setsdir:                   /var/paludis/repositories/paludis-overlay/sets
    sync:                      git://git.pioto.org/paludis-overlay.git
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Package media-libs/musicbrainz-3.0.2:3::gentoo:

paludis@1275738265: [WARNING e.ebuild.userpriv_disabled] In thread ID '30587':
  ... In program paludis --info =media-libs/musicbrainz-3.0.2:
  ... When handling query '=media-libs/musicbrainz-3.0.2':
  ... When infoing 'media-libs/musicbrainz-3.0.2:3::gentoo':
  ... When checking permissions on '/var/tmp/paludis' for userpriv:
  ... Directory '/var/tmp/paludis' does not have group write permission, cannot enable userpriv
        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        /etc/paludis/bashrc: line 7: syntax error near unexpected token `)'
        /etc/paludis/bashrc: line 7: `sys-libs/db)'
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=x86
        CBUILD=i686-pc-linux-gnu
        CFLAGS=-O2 -march=native -mtune=native -pipe
        CHOST=i686-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -march=i686 -pipe
        DISTDIR=/usr/portage/distfiles
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1
        LINGUAS=
        MAKEOPTS=
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=x86 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci 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_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 elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse 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 ruby_targets_ruby18 userland_GNU video_cards_fbdev video_cards_glint video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nv video_cards_r128 video_cards_radeon video_cards_savage video_cards_sis video_cards_tdfx video_cards_trident video_cards_vesa video_cards_via video_cards_vmware 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 x86 
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        >>> Done builtin_tidyup
        rm -fr /var/tmp/paludis/media-libs-musicbrainz-3.0.2-info
        >>> Completed ebuild phase tidyup
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-05 11:59:18 UTC
no, that's not possible... because, the DEPEND is in cmake-utils.eclass, and musicbrainz inherits it. see,

$ sudo emerge -av musicbrainz

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

Calculating dependencies... done!
[ebuild  N    ] dev-util/cmake-2.8.1-r2  USE="ncurses qt4 vim-syntax -emacs" 0 kB
[ebuild  N    ] media-libs/musicbrainz-3.0.2  USE="-test" 97 kB

Total: 2 packages (2 new), Size of downloads: 97 kB

Would you like to merge these packages? [Yes/No]
Comment 2 James Potts 2010-06-05 12:08:06 UTC
Hmm...thanks, resolving as invalid, for now.  I have zero idea why paludis didn't pull in cmake before musicbrainz in this case.  I'll post this over there.

--James
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-06-05 12:30:56 UTC
(In reply to comment #0)
>     Package information:
>         dev-util/cmake:        2.6.4-r3

^ See here, am I reading this right that you have cmake ebuild installed but no cmake command? :-)
Comment 4 James Potts 2010-06-08 16:41:47 UTC
No, this is not the problem I had.  The problem I had was caused by paludis not installing ("emerge-ing") cmake before musicbrainz, which wound up being caused by a circular dependency issue (and paludis' currently inane handling of those, which is slated to be fixed in 0.48 - by simply not attempting to auto-resolve circular deps).

--James
Comment 5 James Potts 2010-06-08 16:45:19 UTC
Or at least that's what I thought had happened.  I'll have to test this again in a new chroot later.  For now, the solution is simply to install/reinstall cmake.

--Arek