Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED][Emerge Failed] media-libs/musicbrainz:5 Failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 261

PostPosted: Fri Jun 09, 2017 7:53 am    Post subject: [SOLVED][Emerge Failed] media-libs/musicbrainz:5 Failed Reply with quote

Hi

i have this package that does not compile and i dont understand why.
can you help me ?

thanks

Code:

wolftop ~ # emerge media-libs/musicbrainz:5
Calculating dependencies   * waiting for lock on /var/db/.pkg.portage_lockfile ...                                                         [ ok ]
... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-libs/musicbrainz-5.1.0::gentoo
 * libmusicbrainz-5.1.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                              [ ok ]
>>> Unpacking source...
>>> Unpacking libmusicbrainz-5.1.0.tar.gz to /var/tmp/portage/media-libs/musicbrainz-5.1.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/musicbrainz-5.1.0/work
>>> Preparing source in /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build"
cmake -C /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/gentoo_toolchain.cmake  /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0
loading initial cache file /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2")
-- Checking for module 'neon'
--   Found neon, version 0.30.2
-- Found Neon: /usr/lib/libneon.so 
-- Checking for module 'libxml-2.0'
--   Found libxml-2.0, version 2.9.4
-- Found LibXml2: /usr/lib/libxml2.so 
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=corei7-avx -mtune=corei7-avx -mno-avx -mno-aes -O2 -pipe
C++             -march=corei7-avx -mtune=corei7-avx -mno-avx -mno-aes -O2 -pipe
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build"
ninja -v -j5 -l0
ninja: error: '/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0/src/*.inc', needed by 'src/mb5_c.cc', missing and no known rule to make it
 * ERROR: media-libs/musicbrainz-5.1.0::gentoo failed (compile phase):
 *   ninja -v -j5 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 3001:  Called cmake-utils_src_compile
 *   environment, line  720:  Called cmake-utils_src_make
 *   environment, line  892:  Called _cmake_ninja_src_make
 *   environment, line  297:  Called eninja
 *   environment, line 1220:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=media-libs/musicbrainz-5.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/musicbrainz-5.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/musicbrainz-5.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/musicbrainz-5.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build'
 * S: '/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0'

>>> Failed to emerge media-libs/musicbrainz-5.1.0, Log file:

>>>  '/var/tmp/portage/media-libs/musicbrainz-5.1.0/temp/build.log'


Ebuild.log
Code:

^[[Awolftop ~ # cat /var/tmp/portage/media-libs/musicbrainz-5.1.0/temp/build.log
 * Package:    media-libs/musicbrainz-5.1.0
 * Repository: gentoo
 * Maintainer: sound@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libmusicbrainz-5.1.0.tar.gz to /var/tmp/portage/media-libs/musicbrainz-5.1.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/musicbrainz-5.1.0/work
>>> Preparing source in /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build"
cmake -C /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/gentoo_toolchain.cmake  /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0
loading initial cache file /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2")
-- Checking for module 'neon'
--   Found neon, version 0.30.2
-- Found Neon: /usr/lib/libneon.so 
-- Checking for module 'libxml-2.0'
--   Found libxml-2.0, version 2.9.4
-- Found LibXml2: /usr/lib/libxml2.so 
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=corei7-avx -mtune=corei7-avx -mno-avx -mno-aes -O2 -pipe
C++             -march=corei7-avx -mtune=corei7-avx -mno-avx -mno-aes -O2 -pipe
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build"
ninja -v -j5 -l0
ninja: error: '/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0/src/*.inc', needed by 'src/mb5_c.cc', missing and no known rule to make it
 * ERROR: media-libs/musicbrainz-5.1.0::gentoo failed (compile phase):
 *   ninja -v -j5 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 3001:  Called cmake-utils_src_compile
 *   environment, line  720:  Called cmake-utils_src_make
 *   environment, line  892:  Called _cmake_ninja_src_make
 *   environment, line  297:  Called eninja
 *   environment, line 1220:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=media-libs/musicbrainz-5.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/musicbrainz-5.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/musicbrainz-5.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/musicbrainz-5.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build'
 * S: '/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/libmusicbrainz-5.1.0'
wolftop ~ #


emerge info
Code:

 emerge --info '=media-libs/musicbrainz-5.1.0::gentoo'
Portage 2.3.6 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.24-r1, 4.11.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.11.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.3
KiB Mem:     5862480 total,    709348 free
KiB Swap:    2441876 total,   2441876 free
Timestamp of repository gentoo: Thu, 08 Jun 2017 06:15:01 +0000
sh bash 4.4_p12
ld GNU gold (Gentoo 2.27 p1.0 2.27) 1.12
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.27::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.fr.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-vcs-ignore: true

qwin-overlay
    location: /var/lib/layman/qwin-overlay
    masters: gentoo
    priority: 0

FireBurn
    location: /var/lib/layman/FireBurn
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    masters: gentoo
    priority: 50

mva
    location: /var/lib/layman/mva
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

wjn-overlay
    location: /var/lib/layman/wjn-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -mtune=corei7-avx -mno-avx -mno-aes -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7-avx -mtune=corei7-avx -mno-avx -mno-aes -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 userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac accessibility acl acpi alsa amd64 asf audit berkdb bluetooth bonobo branding bzip2 cairo caps cdda cdr cli colord cracklib crypt cxx dbus deprecated dri dts dvd dvdr eds emboss encode evo exceptions exif fam firefox flac fortran g3dvl games gcj gdbm gdm gif glamor glib gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 hpn iconv introspection ipv6 jit jpeg jpeg2k lcms ldap libnotify libressl libsecret lvm1 mad mmx mng modules mp3 mp4 mpeg nautilus ncurses nettle nls nptl nsplugin ogg opengl openmp pam pango parse-clocks pcre pdf png policykit ppds pulseaudio qt3support qt5 quvi readline recursion-limit regex sasl sctp sdl seccomp session skey spell sqlite sse sse2 startup-notification svg symlink systemd tcpd telepathy theora threads tiff tracker truetype udev udisks unicode upower usb vaapi vala vdpau vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="32 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="PTP canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" CURL_SSL="libressl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="joystick evdev synaptics" KERNEL="linux" L10N="fr en ar ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en ar ja" LLVM_TARGETS="AArch64 X86" NETBEANS_MODULES="*" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau intel i965" XFCE_PLUGINS="brightnes clock trash" 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"
USE_PYTHON="3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
[LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2016-0
kernel 4.9.14
gnome 3.22


Last edited by ade05fr on Sun Jul 16, 2017 9:31 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16903
Location: here

PostPosted: Fri Jun 09, 2017 8:45 am    Post subject: Reply with quote

I don't understand because your system want use ninja as CMAKE_MAKEFILE_GENERATOR, but it's the problem.
Try compile package with
Code:
CMAKE_MAKEFILE_GENERATOR="emake" emerge -1 media-libs/musicbrainz:5

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 261

PostPosted: Fri Jun 09, 2017 7:39 pm    Post subject: Reply with quote

Thanks that was the problem

i checked my make.conf file and the ninja is set on this option.

WHat is the difference between those 2 ?

thanks
_________________
[LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2016-0
kernel 4.9.14
gnome 3.22
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16903
Location: here

PostPosted: Sat Jun 10, 2017 6:22 am    Post subject: Reply with quote

ade05fr wrote:
WHat is the difference between those 2 ?

Shortly, Ninja is an equivalent of GNU/Make but marked by speed.

You can open a bug for this problem, there is a tracker for packages that failing with ninja
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Duke42
n00b
n00b


Joined: 11 Aug 2002
Posts: 34

PostPosted: Thu Sep 07, 2017 8:27 am    Post subject: Reply with quote

I hate to revive old threads but this one is pretty handy. In order to "save" such an environment setting one can use
Quote:
/etc/portage/package.env

where you can input something like that
Code:

media-libs/musicbrainz  emake

and then you do not have to worry about this any more: like in emerge world or revdep-rebuild.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum