View previous topic :: View next topic |
Author |
Message |
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1199
|
Posted: Sun Apr 23, 2017 8:55 pm Post subject: [Solved] Fail with emerge newuse |
|
|
Hello, i have problem to do:
Code: | fulgurance@MSI-GS73VR-6RF ~ $ sudo emerge --update --newuse --deep --with-bdeps=y @world
|
Log:
Code: | * ERROR: media-gfx/blender-2.72b-r4::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-gfx/blender-2.72b-r4::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-gfx/blender-2.72b-r4::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-gfx/blender-2.72b-r4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.72b-r4/temp/environment'.
* Working directory: '/var/tmp/portage/media-gfx/blender-2.72b-r4/work/blender-2.72b_build'
* S: '/var/tmp/portage/media-gfx/blender-2.72b-r4/work/blender-2.72b'
>>> Failed to emerge media-gfx/blender-2.72b-r4, Log file:
>>> '/var/tmp/portage/media-gfx/blender-2.72b-r4/temp/build.log'
* Messages for package app-office/libreoffice-5.2.6.2:
* If you plan to use lbase application you should enable java or you will get various crashes.
* Messages for package media-gfx/blender-2.72b-r4:
* ERROR: media-gfx/blender-2.72b-r4::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-gfx/blender-2.72b-r4::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-gfx/blender-2.72b-r4::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-gfx/blender-2.72b-r4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.72b-r4/temp/environment'.
* Working directory: '/var/tmp/portage/media-gfx/blender-2.72b-r4/work/blender-2.72b_build'
* S: '/var/tmp/portage/media-gfx/blender-2.72b-r4/work/blender-2.72b'
|
Last edited by Fulgurance on Tue Apr 25, 2017 4:25 pm; edited 1 time in total |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Apr 23, 2017 9:11 pm Post subject: Re: Fail with emerge newuse |
|
|
Fulgurance wrote: | Code: | * If you need support, post the output of `emerge --info '=media-gfx/blender-2.72b-r4::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-gfx/blender-2.72b-r4::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-gfx/blender-2.72b-r4/temp/build.log'. |
|
... so, do so, then we would have some idea of why it failed, and so perhaps point you to one of these bugs.
best ... khay |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1199
|
Posted: Sun Apr 23, 2017 10:21 pm Post subject: |
|
|
Sorry, but I do not understand what I need to do to get around this bug |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Sun Apr 23, 2017 10:24 pm Post subject: |
|
|
We don't know either until you paste the actual error. The end of the output only tells us that blender has failed in compile phase, not why. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Apr 24, 2017 1:09 am Post subject: |
|
|
Fulgurance wrote: | Sorry, but I do not understand what I need to do to get around this bug |
Fulrurance ... read the following:
Fulgurance wrote: | Code: | * If you need support, post the output of `emerge --info '=media-gfx/blender-2.72b-r4::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-gfx/blender-2.72b-r4::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-gfx/blender-2.72b-r4/temp/build.log'. |
|
Without that information we can only guess. As the build.log may be large you will probably have to use a pastebin service (use 'wgetpaste' if you have it, if not, install it).
best ... khay |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1199
|
Posted: Mon Apr 24, 2017 10:33 am Post subject: |
|
|
Oh okay. Sorry but for me, sometimes, it's difficult to understand english sentences
My emerge information:
Code: | fulgurance@MSI-GS73VR-6RF ~ $ emerge --info
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r3, 4.9.16-gentoo x86_64)
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.3
KiB Mem: 16316924 total, 6294176 free
KiB Swap: 20971516 total, 20971516 free
Timestamp of repository gentoo: Sun, 23 Apr 2017 19:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash: 4.3_p48-r1::gentoo
dev-lang/perl: 5.24.1-r1::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake: 3.7.2::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.24.2::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.15::gentoo
sys-devel/binutils: 2.26.1::gentoo
sys-devel/gcc: 5.4.0-r3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r3::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=broadwell -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/ ftp://gentoo.imj.fr/pub/gentoo/ http://gentoo.modulix.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ ftp://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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 acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gstreamer gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" 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="intel i965 nvidia" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
When I read the log, I realized that I had already encountered this bug when I compiled a program that I wanted to test with SFML.
I have this bug since I try to program with SFML. I start wondering if I do not have a big problem with an environment variable, because the end of the log seems to show that it does not recognize basic C ++ functions.
Look the log end of failed compilation, i have many "undefined reference to":
Code: | ../../lib/libbf_intern_locale.a(boost_locale_wrapper.cpp.o): In function `bl_locale_init':
boost_locale_wrapper.cpp:(.text+0x5f): undefined reference to `boost::locale::localization_backend_manager::select(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
../../lib/libbf_intern_locale.a(boost_locale_wrapper.cpp.o): In function `bl_locale_set':
boost_locale_wrapper.cpp:(.text+0x28c): undefined reference to `boost::locale::generator::add_messages_path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
boost_locale_wrapper.cpp:(.text+0x29b): undefined reference to `boost::locale::generator::add_messages_domain(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
boost_locale_wrapper.cpp:(.text+0x2e9): undefined reference to `boost::locale::generator::generate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
boost_locale_wrapper.cpp:(.text+0x5b9): undefined reference to `boost::locale::generator::generate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
collect2: error: ld returned 1 exit status
make[2]: *** [source/creator/CMakeFiles/blender.dir/build.make:275: bin/blender] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/blender-2.72b-r4/work/blender-2.72b_build'
make[1]: *** [CMakeFiles/Makefile2:6940: source/creator/CMakeFiles/blender.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-gfx/blender-2.72b-r4/work/blender-2.72b_build'
make: *** [Makefile:161: all] Error 2
[31;01m*[0m ERROR: media-gfx/blender-2.72b-r4::gentoo failed (compile phase):
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=media-gfx/blender-2.72b-r4::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=media-gfx/blender-2.72b-r4::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/media-gfx/blender-2.72b-r4/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.72b-r4/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/media-gfx/blender-2.72b-r4/work/blender-2.72b_build'
[31;01m*[0m S: '/var/tmp/portage/media-gfx/blender-2.72b-r4/work/blender-2.72b' |
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Mon Apr 24, 2017 10:37 am Post subject: |
|
|
Code: | generate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' |
This is tipical error when migrate from gcc 4 to gcc 5.
You need to run this command (see news)
Code: | # revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1199
|
Posted: Mon Apr 24, 2017 11:35 am Post subject: |
|
|
I executed the command. I have 220 packages to emerge. I'll tell you the result.
For SFML, I have a question. I compile my program on the command line, but each time I am required to specify the SFML directory, yet I installed the SFML package ... There is an additional manipulation to do?
Thanks for your help |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21607
|
Posted: Tue Apr 25, 2017 1:40 am Post subject: |
|
|
Please show us the command line you use. If SFML does not refer to media-libs/libsfml, please tell us what it references and the homepage of that project. |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1199
|
Posted: Tue Apr 25, 2017 10:35 am Post subject: |
|
|
I have finished update, and she works ! Thanks
But now, when i would like to emerge pcsx2 (playstation emulator), i have this error (sdl missing ?):
Code: | CMake Error at cmake/SelectPcsx2Plugins.cmake:20 (message):
Skip build of onepad: miss some dependencies:check these libraries -> sdl2,
X11, gtk2
Call Stack (most recent call first):
cmake/SelectPcsx2Plugins.cmake:228 (print_dep)
CMakeLists.txt:62 (include)
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/games-emulation/pcsx2-9999/work/pcsx2-9999_build/CMakeFiles/CMakeOutput.log".
* ERROR: games-emulation/pcsx2-9999::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 115: Called src_configure
* environment, line 3735: Called cmake-utils_src_configure
* environment, line 1035: Called _cmake_execute_optionally 'src_configure'
* environment, line 298: Called enable_cmake-utils_src_configure
* environment, line 1397: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
*
* If you need support, post the output of `emerge --info '=games-emulation/pcsx2-9999::gentoo'`,
* the complete build log and the output of `emerge -pqv '=games-emulation/pcsx2-9999::gentoo'`.
* The complete build log is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/environment'.
* Working directory: '/var/tmp/portage/games-emulation/pcsx2-9999/work/pcsx2-9999_build'
* S: '/var/tmp/portage/games-emulation/pcsx2-9999/work/pcsx2-9999'
>>> Failed to emerge games-emulation/pcsx2-9999, Log file:
>>> '/var/tmp/portage/games-emulation/pcsx2-9999/temp/build.log'
* Messages for package games-emulation/pcsx2-9999:
* ERROR: games-emulation/pcsx2-9999::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 115: Called src_configure
* environment, line 3735: Called cmake-utils_src_configure
* environment, line 1035: Called _cmake_execute_optionally 'src_configure'
* environment, line 298: Called enable_cmake-utils_src_configure
* environment, line 1397: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
*
* If you need support, post the output of `emerge --info '=games-emulation/pcsx2-9999::gentoo'`,
* the complete build log and the output of `emerge -pqv '=games-emulation/pcsx2-9999::gentoo'`.
* The complete build log is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/environment'.
* Working directory: '/var/tmp/portage/games-emulation/pcsx2-9999/work/pcsx2-9999_build'
* S: '/var/tmp/portage/games-emulation/pcsx2-9999/work/pcsx2-9999' |
If this is missing sdl package, what package should I install?
For SFML, when i have updated my system, it's work perfectly ! |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Tue Apr 25, 2017 10:44 am Post subject: |
|
|
Why you install git version (9999) and not 1.4?
Anyway you have installed media-libs/libsdl2? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1199
|
Posted: Tue Apr 25, 2017 11:20 am Post subject: |
|
|
Yes, sdl2 was installed, but i don't know why i have 9999 version of git installed (probably dependance for other package...)
Any solution ? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Tue Apr 25, 2017 11:53 am Post subject: |
|
|
Fulgurance wrote: | Yes, sdl2 was installed, but i don't know why i have 9999 version of git installed (probably dependance for other package...)
Any solution ? |
I doubt that is a dependency. Probably you have =games-emulation/pcsx2-9999 ** in /etc/portage/package.accept_keywords/*.
Try to remove this entry and build version 1.4 (last stable on upstream and portage) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1199
|
Posted: Tue Apr 25, 2017 4:24 pm Post subject: |
|
|
Thanks you very much, solved ! |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Tue Apr 25, 2017 4:30 pm Post subject: |
|
|
Do not trust --autounmask without review. |
|
Back to top |
|
|
|
|
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
|
|