Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585618 - dev-libs/klibc-20160201: snapshot version bump request
Summary: dev-libs/klibc-20160201: snapshot version bump request
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2016-06-11 17:04 UTC by Patrick McMunn
Modified: 2021-04-14 16:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

ebuild for klibc latest snapshot (klibc-20160201.ebuild,9.27 KB, text/plain)
2017-12-08 08:59 UTC, Viktor Yu. Kovalskii

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McMunn 2016-06-11 17:04:06 UTC
The current klibc 2.0.4 is nearly 2 years old. Though there haven't been any releases, there has been some development. Perhaps the git snapshot would take care of some outstanding klibc bugs. I have found that the git snapshot fixes at least bug 556142.
Comment 1 Michael 'veremitz' Everitt 2016-06-12 03:27:21 UTC
A live (-9999) ebuild would also work for this.

git-snapshot and git-r3 eclasses are your friend.
Comment 2 Pacho Ramos gentoo-dev 2016-06-12 11:43:15 UTC
are you willing to proxy maintain this?
Comment 3 Michael 'veremitz' Everitt 2016-06-12 11:48:04 UTC
Patrick has been into IRC #g-dev-help and is proposing to take this and distcc on.
Comment 4 Pacho Ramos gentoo-dev 2016-08-12 13:50:00 UTC
any news about taking this?
Comment 5 Viktor Yu. Kovalskii 2017-12-08 08:59:27 UTC
Created attachment 508778 [details]
ebuild for klibc latest snapshot
Comment 6 Viktor Yu. Kovalskii 2017-12-08 09:01:45 UTC
I wrote ebuild for the latest git snapshot of klibc at this time.

I should exclude debian patches because some of them can not be applied.

I test this ebuild with KV_MAJOR="4" KV_MINOR="x" KV_SUB="14" (linux-4.14) 
and KV_MAJOR="4" KV_MINOR="x" KV_SUB="9" (linux-4.9) klibc are built successfully.

# eselect profile list
[16]  default/linux/amd64/17.0/desktop *

emerge --info
Portage 2.3.16 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop, gcc-7.2.0, glibc-2.26-r3, 4.12.13-gentoo x86_64)
System uname: Linux-4.12.13-gentoo-x86_64-AMD_A4-5300_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.4.1
KiB Mem:     3273032 total,    115268 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 08 Dec 2017 04:30:01 +0000
Head commit of repository gentoo: 1577a991da46d6612bd1c63b5229cda8771fc28e
Timestamp of repository flying: Thu, 24 Aug 2017 03:44:04 +0000
Timestamp of repository oschtan: Fri, 02 Dec 2016 04:43:12 +0000
Head commit of repository science: 4c9c23f42d83e1fbef04f2ccf7bb08fb5fb37dee

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.0::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.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0::gentoo
sys-devel/gcc-config:     1.9.0-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo

    location: /slag/gentoo-tree
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /slag/layman/flying
    masters: gentoo

    location: /slag/layman/oschtan
    masters: gentoo

    location: /slag/layman/science
    sync-type: git
    masters: gentoo
    priority: 50

Installed sets: @lxde-full
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -march=bdver2 -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=bdver2 -fstack-protector"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=bdver2 -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=bdver2 -fstack-protector"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer 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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 aac acl acpi aio alsa amd64 berkdb bluetooth branding bzip2 cairo cblas-external ccache cdr cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr dvi emboss encode exif expat fam firefox flac fontconfig fortran gif git glamor gpm gtk gudev harfbuzz iconv icu imagemagick jpeg jpeg2k lapack latex lcms libnotify llvm lzma lzo mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp osmesa pam pango pcre pdf png policykit postscript ppds qt3support readline samba seccomp session snappy spell ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vdpau vorbis wmf wxwidgets x264 xattr xcb xdg xml xpm 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU" LLVM_TARGETS="AMDGPU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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"
Comment 7 Viktor Yu. Kovalskii 2017-12-08 09:04:16 UTC
(In reply to Viktor Yu. Kovalskii from comment #6)
> I test this ebuild with KV_MAJOR="4" KV_MINOR="x" KV_SUB="14" (linux-4.14) 
> and KV_MAJOR="4" KV_MINOR="x" KV_SUB="9" (linux-4.9) klibc are built
> successfully.

klibc with KV_MAJOR="4" KV_MINOR="x" KV_SUB="4" (linux-4.4) fails to build.
Comment 8 Larry the Git Cow gentoo-dev 2021-04-14 16:12:26 UTC
The bug has been closed via the following commit(s):

commit 3df1935ebf6359efe481e27a7e3c91051e15a95f
Author:     Jakov Smolic <>
AuthorDate: 2021-04-14 00:07:59 +0000
Commit:     Sam James <>
CommitDate: 2021-04-14 15:29:58 +0000

    dev-libs/klibc: Remove last-rited pkg
    Signed-off-by: Jakov Smolic <>
    Signed-off-by: Sam James <>

 dev-libs/klibc/Manifest                            |   3 -
 .../klibc/files/klibc-1.4.11-interp-flags.patch    |  13 -
 .../klibc/files/klibc-1.5.7-strip-fix-dash-s.patch |  12 -
 dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch      |  15 -
 dev-libs/klibc/files/klibc-2.0.3-kernel-uapi.patch |  88 ------
 dev-libs/klibc/files/klibc.m4                      |  94 ------
 dev-libs/klibc/klibc-2.0.4-r3.ebuild               | 320 ---------------------
 dev-libs/klibc/metadata.xml                        |   5 -
 profiles/package.mask                              |   5 -
 9 files changed, 555 deletions(-)