Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[prefix] Updating glibc failed
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
zhuyan
n00b
n00b


Joined: 30 Mar 2006
Posts: 58

PostPosted: Tue May 22, 2018 3:50 am    Post subject: [prefix] Updating glibc failed Reply with quote

I got following error message saying that kernel version is too low to support NPTL.

I add "-nptl" in global USE flag. It still can't get thing through. Any clue on this?


Error message:

Code:

* Package:    sys-libs/glibc-2.26-r7
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux prefix userland_GNU
 * FEATURES:   preserve-libs
 * Auto adding -march=x86-64 to CFLAGS_x86 #185404
 *       Manual CC:   x86_64-pc-linux-gnu-gcc -m64
 * Checking gcc for __thread support ...
 [ ok ]
 * Checking kernel version (2.6.32 >= 3.2.0) ...
 [ !! ]

 * You need a kernel of at least 3.2.0 for NPTL support!
 * ERROR: sys-libs/glibc-2.26-r7::gentoo failed (unpack phase):
 *   Kernel version too low!
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_unpack
 *   environment, line 3460:  Called check_nptl_support
 *   environment, line  670:  Called die
 * The specific snippet of code:
 *               die "Kernel version too low!";
 *
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.26-r7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.26-r7::gentoo'`.
 * The complete build log is located at '/tools/bootstrap/gentoo/var/tmp/portage/sys-libs/glibc-2.26-r7/temp/build.log'.
 * The ebuild environment file is located at '/tools/bootstrap/gentoo/var/tmp/portage/sys-libs/glibc-2.26-r7/temp/environment'.
 * Working directory: '/tools/bootstrap/gentoo/var/tmp/portage/sys-libs/glibc-2.26-r7/work'
 * S: '/tools/bootstrap/gentoo/var/tmp/portage/sys-libs/glibc-2.26-r7/work/glibc-2.26'



emerge --info '=sys-libs/glibc-2.26-r7::gentoo' output is
Code:

fatal: Not a git repository (or any of the parent directories): .git               
Portage 2.3.38 (python 3.5.5-final-0, default/linux/amd64/17.0/no-multilib/prefix/kernel-3.2+, gcc-6.4.0, glibc-2.25-r5, 2.6.32-642.el6.x86_64 x86_64)
=================================================================                                                                                     
                         System Settings                                                                                                             
=================================================================                                                                                     
System uname: Linux-2.6.32-642.el6.x86_64-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-centos-6.8-Final                                     
KiB Mem:     1906276 total,    257620 free                                                                                                           
KiB Swap:    2047996 total,   2002744 free                                                                                                           
Timestamp of repository gentoo: Tue, 22 May 2018 03:00:01 +0000                                                                                       
Head commit of repository gentoo: eda10b77edb2cd26d51a94ee0c779ba07388e33a                                                                           
sh bash 4.4_p12                                                                                                                                       
ld GNU ld (Gentoo 2.29 p1.0) 2.29                                                                                                                     
app-shells/bash:          4.4_p12::gentoo                                                                                                             
dev-lang/perl:            5.24.3::gentoo                                                                                                             
dev-lang/python:          2.7.14::gentoo, 3.4.6::gentoo, 3.5.5-r1::gentoo                                                                             
dev-util/cmake:           3.9.3::gentoo                                                                                                               
dev-util/pkgconfig:       0.29.2::gentoo                                                                                                             
sys-apps/baselayout:      2.4.1-r2::gentoo                                                                                                           
sys-apps/sandbox:         2.10-r4::gentoo                                                                                                             
sys-devel/autoconf:       2.69-r4::gentoo                                                                                                             
sys-devel/automake:       1.15.1-r1::gentoo                                                                                                           
sys-devel/binutils:       2.29::gentoo                                                                                                               
sys-devel/gcc:            6.4.0::gentoo                                                                                                               
sys-devel/gcc-config:     1.8_p20160608::rap                                                                                                         
sys-devel/libtool:        2.4.6-r4::gentoo                                                                                                           
sys-devel/make:           4.2.1-r1::gentoo                                                                                                           
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)                                                                                       
sys-libs/glibc:           2.25-r5::gentoo                                                                                                             
Repositories:                                                                                                                                         

gentoo
    location: /tools/bootstrap/gentoo/usr/portage
    sync-type: rsync                             
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000                                 
    eclass-overrides: rap                           
    sync-rsync-verify-jobs: 1                       
    sync-rsync-extra-opts:                           
    sync-rsync-verify-max-age: 24                   
    sync-rsync-verify-metamanifest: yes             

rap
    location: /tools/bootstrap/gentoo/usr/portage-stage
    sync-type: git                                     
    sync-uri: https://anongit.gentoo.org/git/proj/android.git
    masters: gentoo                                         
    eclass-overrides: rap                                   

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -pipe"
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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /tools/bootstrap/gentoo/etc/gentoo-release"
CXXFLAGS="-O2 -pipe -O2 -pipe"
DISTDIR="/tools/bootstrap/gentoo/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 force-prefix merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/tools/bootstrap/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/tools/bootstrap/gentoo/"
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="/tools/bootstrap/gentoo/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pcre prefix readline seccomp ssl tcpd unicode 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, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 665

PostPosted: Tue May 22, 2018 4:50 am    Post subject: Reply with quote

zhuyan,

Is this a new install and you are following the handbook?

Code:
System uname: Linux-2.6.32-642.el6.x86_64-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-centos-6.8-Final


Are you using a centos livecd to do the install? That kernel may be the problem. You may have much better luck with a recent sysrescuecd, it's gentoo based and many people use for gentoo install.

HTH
Back to top
View user's profile Send private message
zhuyan
n00b
n00b


Joined: 30 Mar 2006
Posts: 58

PostPosted: Tue May 22, 2018 1:35 pm    Post subject: Reply with quote

russK,

I am doing a bootstrap, which is a project letting gentoo portage running on old linux server.

https://wiki.gentoo.org/wiki/Project:Prefix
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 665

PostPosted: Tue May 22, 2018 3:03 pm    Post subject: Reply with quote

nptl is still showing in your 'emerge --info'

Code:
USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pcre prefix readline seccomp ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21605

PostPosted: Wed May 23, 2018 1:34 am    Post subject: Reply with quote

russK wrote:
nptl is still showing in your 'emerge --info'

Code:
USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pcre prefix readline seccomp ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451
As I read the eclass, that will not matter. The function that aborts on him does not check USE=nptl.
sys-libs/glibc/glibc-2.26-r7.ebuild:
src_unpack() {
    use multilib && unpack gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}.tar.xz

    setup_env

    # Check NPTL support _before_ we unpack things to save some time
    check_nptl_support
Note no conditional here.
eclass/toolchain-glibc.eclass:
check_nptl_support() {
   # don't care about the compiler here as we aren't using it
   just_headers && return

   local run_kv build_kv want_kv
   run_kv=$(int_to_KV $(get_KV))
   build_kv=$(int_to_KV $(get_kheader_version))
   want_kv=${NPTL_KERN_VER}

   ebegin "Checking gcc for __thread support"
   if ! eend $(want__thread ; echo $?) ; then
      echo
      eerror "Could not find a gcc that supports the __thread directive!"
      eerror "Please update your binutils/gcc and try again."
      die "No __thread support in gcc!"
   fi

   if ! is_crosscompile && ! tc-is-cross-compiler ; then
      # Building fails on an non-supporting kernel
      ebegin "Checking kernel version (${run_kv} >= ${want_kv})"
      if ! eend_KV ${run_kv} ${want_kv} ; then
         echo
         eerror "You need a kernel of at least ${want_kv} for NPTL support!"
         die "Kernel version too low!"
      fi
   fi
Nor here.

Fortunately, the fix is fairly straightforward. OP: upgrade to a modern kernel. If you cannot do that, then switch to a profile compatible with your ancient kernel. Your current profile says in its name that it requires 3.2+. Try the profile for kernel-2.6.32+.
Back to top
View user's profile Send private message
zhuyan
n00b
n00b


Joined: 30 Mar 2006
Posts: 58

PostPosted: Wed May 23, 2018 1:52 am    Post subject: Reply with quote

Hu,

I think you are right! I am using a wrong profile.

Thanks

Yan
Back to top
View user's profile Send private message
heilong
n00b
n00b


Joined: 23 May 2005
Posts: 45

PostPosted: Thu Sep 13, 2018 9:34 am    Post subject: Reply with quote

I'm running into the same problem.

I have a VPS (Virtual Private Server) running Gentoo, the kernel is 2.6.32 and can't be upgraded.

My profile is "default/linux/x86/17.0/hardened (stable)"

The release notes for glibc 2.26 mention:
Quote:
* Linux kernel 3.2 or later is required at runtime, on all architectures
supported by that kernel. (This is a change from version 2.25 only for
x86-32 and x86-64.)


What are my options?

Code:

# emerge --info '=sys-libs/glibc-2.26-r7::gentoo'
Portage 2.3.40 (python 3.6.5-final-0, default/linux/x86/17.0/hardened, gcc-6.4.0, glibc-2.25-r11, 2.6.32-042stab127.2 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.32-042stab127.2-i686-Intel-R-_Xeon-R-_CPU_E5645_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:     1048576 total,    677556 free
KiB Swap:    1048576 total,   1046576 free
Timestamp of repository gentoo: Tue, 11 Sep 2018 11:44:27 +0000
Head commit of repository gentoo: 7c75c30c639fd2eb333886e52e22af41edf7c048

Head commit of repository chaoslab: a2daa1dc696d029aaeee8ee516d2009153aa76c3

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
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, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::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.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

chaoslab
    location: /var/lib/portage-overlays/chaoslab
    sync-type: git
    sync-uri: https://gitlab.com/chaoslab/chaoslab-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
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 -march=i686 -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 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://mirror.leaseweb.com/gentoo/ ftp://cosmos.illinois.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ rsync://mirror.leaseweb.com/gentoo/"
INSTALL_MASK="/usr/lib/systemd/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
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="acl apache2 bash-completion bzip2 cgi crypt ctype cxx fastcgi filter fish-completion hardened iconv imap ipv6 javascript jpeg json libtirpc logrotate maildir mysql mysqli ncurses nls nptl offensive openmp pam pcre pic pie png python3 readline seccompssl ssp threads tiff tmux unicode vhosts x86 xattr xml xtpax zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 sse3" 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" L10N="en" 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 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby22 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, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21605

PostPosted: Fri Sep 14, 2018 1:31 am    Post subject: Reply with quote

Your choices are to upgrade your kernel or not to upgrade glibc. If your VPS provider cannot support a newer kernel, find a better provider. v2.6.32 is abandoned upstream. Even with the extended support that Willy Tarreau provided, v2.6.32.x has not been patched since March 2016. Based on what you provided, it's not clear that your provider is even current with that release. Even if you are current to the last v2.6.32.x release, you are now 2.5 years out of date, and that is assuming that all relevant patches were reliably backported. Considering the nature of stable kernel backports, there is no guarantee that all patches that should have been backported were. (This is not a criticism of Willy Tarreau, or Greg KH, or any of the other stable maintainers. It is a fundamental limitation of how the stable process works.)
Back to top
View user's profile Send private message
heilong
n00b
n00b


Joined: 23 May 2005
Posts: 45

PostPosted: Fri Sep 14, 2018 7:59 am    Post subject: Reply with quote

Hey Hu,

Thanks for your detailed reply. I was not aware that this kernel is so outdated! Heh, when I learned Linux, 2.4 was the norm and 2.6 was the cutting edge, and now it's a dinosaur... time flies!
Not updating `glibc` is not a viable solution, already if I mask `glibc>=2.26`, there's some other package update that pulls it in, in the end I would have to mask more and more packages, until at some point most of my software would be not updatable.
I've opened a support ticket with my VPS hosting provider, will see what they answer.

By the way, it seems that the default profile that I'm using now requires linux>=3.2 (at run-time) because of the glibc version.
It would be nice if, when running an emerge update, it would detect the outdated kernel and fail at the dependency resolution process, and not later - during the glibc build, like is happening now?

Thanks
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21605

PostPosted: Sat Sep 15, 2018 1:07 am    Post subject: Reply with quote

Gentoo is a rolling distribution, and for better or worse, part of that is not supporting freezing only part of the system. If you can't update the kernel, you probably will need to freeze other parts, and the freeze will grow over time as frozen parts impede upgrades of unfrozen ones, forcing you to freeze those parts, which will then impede other packages. If you need to freeze anything, you should plan now for which components must be kept current (for security fixes) and determine how you will do that. We may be able to help. If you want help, post a separate thread explaining the situation: some packages must freeze, packages X, Y, Z must keep upgrading, etc. The exact solution, if one exists, will depend greatly on which packages you need to keep current.

If you don't mind, who is your hosting provider? I thought all the major ones had moved on by now.

Note that this forum doesn't use Markdown (which I suspect you were trying to invoke with your use of backticks). It follows the older convention of having select HTML reinvented with square brackets rather than angle brackets.

Regarding dependency resolution, yes, it would be nice if that worked, but given how far back even 3.2 is, I am surprised anyone even thought it worthwhile to put the explicit blocker into the tree to save you from breaking the system with the upgrade.
Back to top
View user's profile Send private message
heilong
n00b
n00b


Joined: 23 May 2005
Posts: 45

PostPosted: Sat Sep 15, 2018 3:44 pm    Post subject: Reply with quote

Thanks for the detailed explanation. I understand the consequences of freezing, and how it will become more and more hard to maintain as time passes.

The hosting provider is RapidVPS, I've been using them for almost 10 years. They were one of the few providers offering Gentoo VPSes at the time, however a few years later they stopped offering Gentoo as a choice for new VPSes. They didn't shut down existing Gentoo customers, though. My friend also has a VPS with them, running CentOS, it's running on the same 2.6.32 kernel. It looks like somebody didn't care to keep things up to date.

Their support had just replied to my ticket, saying that they are working on a solution that would provide a newer kernel, I'll wait for some time before I complain to them more.

You're right about Markdown, using backticks just became a habit... I guess even if they are not supported, people will likely understand their meaning. But I'll keep it in mind about using BBCodes for something more important.

Thanks again for your time
Back to top
View user's profile Send private message
ddriver
n00b
n00b


Joined: 24 Feb 2005
Posts: 67

PostPosted: Fri Feb 08, 2019 3:01 pm    Post subject: Reply with quote

I have the same problem with A2 hosting. They still run 2.6.32 and I know that this is very soon going to start causing me a problem when I am unable to remain current.

Other than that they are a great provider. Fast reliable server and very good value.
_________________
Anything but a n00b. Grrr! Unix since '87, Linux since '95, Gentoo since early noughties. I'm a guy who knows how to Google for solutions instead of asking idiot questions.
Back to top
View user's profile Send private message
heilong
n00b
n00b


Joined: 23 May 2005
Posts: 45

PostPosted: Fri Feb 08, 2019 6:32 pm    Post subject: Reply with quote

Well, I no longer have that problem anymore.
I pestered RapidVPS for a while about this topic (as well as 64-bit support), and then one day I suddenly got an email that my VPS was accidentally nuked during some migration. No backups, no options to bring it back. No VPS - no problem, right? :) I'm now looking into other services, or possibly just buying my own server and put it in a data center nearby...
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21605

PostPosted: Sat Feb 09, 2019 3:16 am    Post subject: Reply with quote

Depending on your needs, you might look at the major cloud providers: Amazon Web Services Elastic Compute Cloud, Google's Compute Engine, Microsoft's Azure, etc. Suitability will depend on what you are willing to pay and how much virtual hardware you need.
Back to top
View user's profile Send private message
ddriver
n00b
n00b


Joined: 24 Feb 2005
Posts: 67

PostPosted: Sat Feb 09, 2019 3:46 pm    Post subject: Reply with quote

I received a message back from my provider. They use OpenVZ. They don't have any upgrade plans or any servers with a newer kernel. They didn't seem too concerned about the problem.

Looks like my only option is to find a new provider. I suppose I can survive a few months with a partially supported or unsupported system, so I have time to make new plans.
_________________
Anything but a n00b. Grrr! Unix since '87, Linux since '95, Gentoo since early noughties. I'm a guy who knows how to Google for solutions instead of asking idiot questions.
Back to top
View user's profile Send private message
heilong
n00b
n00b


Joined: 23 May 2005
Posts: 45

PostPosted: Sat Feb 09, 2019 5:49 pm    Post subject: Reply with quote

Yeah RapidVPS are also using OpenVZ, and OpenVZ is still on 2.16.
I don't want to go AWS or another cloud computing way because I mostly agree with: https://www.gnu.org/philosophy/who-does-that-server-really-serve.en.html
I will probably buy a second-hand server that I will manage myself. That would be more expensive than a VPS, of course.
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