Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ERROR: dev-libs/icu-60.2::gentoo failed (compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
johngalt
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 258
Location: 3rd Rock

PostPosted: Wed Jun 06, 2018 3:47 pm    Post subject: [SOLVED] ERROR: dev-libs/icu-60.2::gentoo failed (compile Reply with quote

Hi,

Trying a Gentoo install from scratch on a Dell Inspiron 3521 (Celeron 1007u with UEFI) and following the handbook step by step, using KiTTy to SSH into the laptop (from my Windows desktop), which is booted via SystemRescueCDx86 latest (placed on USB via Rufus).

I follow the steps exactly, but when I get to the optional step Updating the @world set (yes, I know it is optional, but I'm concerned that a failure now will cause more problems later on) it fails every time at the same point.

HW specs: Dell Inspiron 3521 - Celeron 1007u CPU, 4 GB RAM, Intel X-25/m Gen 2 80 GB SSD
Partitions: as in handbook, except for larger swap for sleep / hibernation once I get it all working:

Code:
Partition    Filesystem    Size    Description
/dev/sda1    (bootloader)    2M    BIOS boot partition
/dev/sda2    fat32          128M    Boot/EFI system partition
/dev/sda3    (swap)       8192M    Swap partition
/dev/sda4    ext4           ~67000M    Root partition


date: set correctly to UTC, currently.

mirrors I'm using: Ga Tech (I live in GA, so closest and much better dl speeds)

/portage/make.conf:

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe -march=ivybridge"

# Use the same settings for both variables
CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j2"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo"


The tarball I downloaded, verified and extracted is this one:

http://www.gtlib.gatech.edu/pub/gentoo/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20180605T214502Z.tar.xz

Profile: Was originally

Code:
[12]  default/linux/amd64/17.0 (stable)*


Changed to
Code:
[12]  default/linux/amd64/17.0 (stable)
[16]  default/linux/amd64/17.0/desktop (stable) *


In anticipation of later emerging XFCE after getting X and other things set up.

So, I've gotten to this point https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Updating_the_.40world_set and run the command in the terminal, and it always fails on dev-libs/icu-60.2.

Running emerge --info '=dev-libs/icu-60.2::gentoo' gave me the following output:

Code:
emerge --info '=dev-libs/icu-60.2::gentoo'
Portage 2.3.40 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.26-r7, 4.14.32-std522-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.32-std522-amd64-x86_64-Intel-R-_Celeron-R-_CPU_1007U_@_1.50GHz-with-gentoo-2.4.1
KiB Mem:     3915992 total,    603096 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 06 Jun 2018 00:45:01 +0000
Head commit of repository gentoo: ef0c997909858dad994cf369f77bbb9fd02d5766
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=ivybridge"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=ivybridge"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 readline sdl seccomp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="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="karbon plan sheets stage words" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


At this point I am lost. I have no idea why this keeps occurring - I've tried following various guides, including Sakaki at one point, as well as this one https://keepbot.github.io/2017/12/Gentoo-on-Dell-7510/ - always a no go on emerging @world.

Any other info needed to help determine the problem , please let me know - the system is up and I have an SSH session open into it right now as it sits with this failure.
_________________
desultory wrote:
If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.


Amen.


Last edited by johngalt on Thu Jun 07, 2018 8:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6993
Location: Austria

PostPosted: Wed Jun 06, 2018 3:53 pm    Post subject: Reply with quote

So, where is the build.log with the error?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
johngalt
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 258
Location: 3rd Rock

PostPosted: Wed Jun 06, 2018 4:23 pm    Post subject: Reply with quote

My apologies. I only did the one.

Here is the output of emerge -pqv '=dev-libs/icu-60.2::gentoo':
Code:
[ebuild  N    ] dev-libs/icu-60.2  USE="-debug -doc -examples -static-libs" ABI_X86="(64) -32 (-x32)"


And here is the build log:

https://pastebin.com/L1NJ5HWp
_________________
desultory wrote:
If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.


Amen.
Back to top
View user's profile Send private message
johngalt
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 258
Location: 3rd Rock

PostPosted: Wed Jun 06, 2018 11:18 pm    Post subject: Reply with quote

Replaced 3 pages of code tags with a pastebin post of the build.log.
_________________
desultory wrote:
If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.


Amen.
Back to top
View user's profile Send private message
bobbymcgee
n00b
n00b


Joined: 12 Apr 2018
Posts: 55

PostPosted: Thu Jun 07, 2018 5:25 am    Post subject: Reply with quote

I'm guessing -march=ivybridge is trying to turn on AVX and that celeron does not support it.

does not look like it supports AES either, so i'd try nehalem or less or native will probably work if you not cross compiling.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21753
Location: here

PostPosted: Thu Jun 07, 2018 5:48 am    Post subject: Reply with quote

bobbymcgee wrote:
does not look like it supports AES either, so i'd try nehalem or less or native will probably work if you not cross compiling.

Or native, gcc provided correct cflags
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
bobbymcgee
n00b
n00b


Joined: 12 Apr 2018
Posts: 55

PostPosted: Thu Jun 07, 2018 5:59 am    Post subject: Reply with quote

fedeliallalinea wrote:
bobbymcgee wrote:
does not look like it supports AES either, so i'd try nehalem or less or native will probably work if you not cross compiling.

Or native, gcc provided correct cflags


hopefully. :)
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21753
Location: here

PostPosted: Thu Jun 07, 2018 6:45 am    Post subject: Reply with quote

bobbymcgee wrote:
hopefully. :)

Only work in gnu/linux and not for all arches
man gcc wrote:
-march=native causes the compiler to auto-detect the architecture of the build computer. At present, this feature is only supported on GNU/Linux, and not
all architectures are recognized. If the auto-detect is unsuccessful the option has no effect.

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


Joined: 12 Apr 2018
Posts: 55

PostPosted: Thu Jun 07, 2018 7:50 am    Post subject: Reply with quote

fedeliallalinea wrote:
bobbymcgee wrote:
hopefully. :)

Only work in gnu/linux and not for all arches
man gcc wrote:
-march=native causes the compiler to auto-detect the architecture of the build computer. At present, this feature is only supported on GNU/Linux, and not
all architectures are recognized. If the auto-detect is unsuccessful the option has no effect.


you are just making yourself look stupid. -march=native is not and never was perfect is all i am saying. let me know when god becomes a gcc contributor. lol
Back to top
View user's profile Send private message
johngalt
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 258
Location: 3rd Rock

PostPosted: Thu Jun 07, 2018 2:59 pm    Post subject: Reply with quote

bobbymcgee wrote:
I'm guessing -march=ivybridge is trying to turn on AVX and that celeron does not support it.

does not look like it supports AES either, so i'd try nehalem or less or native will probably work if you not cross compiling.


fedeliallalinea wrote:
bobbymcgee wrote:
does not look like it supports AES either, so i'd try nehalem or less or native will probably work if you not cross compiling.

Or native, gcc provided correct cflags


Thanks for the suggestions, guys. I've done this so many times over the last week that I'm not 100% sure anymore, but I am relatively sure that I tried native already with the exact same problems.

I'm definitely not cross-compiling - this build is strictly for this machine only, any other builds get built elsewhere for their respective platforms. In looking ath te CPU ark page, I was surprised ot see it listed as an Ivy Bridge, which the system confirmed when I ran
Code:
grep -m1 -A3 "vendor_id" /proc/cpuinfo
and I got
Code:
vendor_id       : GenuineIntel
cpu family      : 6
model           : 58
model name      : Intel(R) Celeron(R) CPU 1007U @ 1.50GHz


and then testing gcc for -march=native using
Code:
gcc -march=native -E -v - </dev/null 2>&1 | grep cc1


I get
Code:
 /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1 -E -quiet -v - -march=ivybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx -mno-clzero -mno-pku --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=ivybridge


I'll give it a shot with -native, then try something older than ivybridge if native doesn't work - but if native doesn't work, is that indicative of a larger issue here?
_________________
desultory wrote:
If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.


Amen.
Back to top
View user's profile Send private message
johngalt
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 258
Location: 3rd Rock

PostPosted: Thu Jun 07, 2018 8:22 pm    Post subject: Reply with quote

I could have sworn it broke the first time with native, but I must have had something else in there to break it - this time it went through all 126 pkgs.

Thanks everyone.
_________________
desultory wrote:
If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.


Amen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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