Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808480 - sys-libs/gdbm-1.20 error: unknown type name 'off_t' (uclibc)
Summary: sys-libs/gdbm-1.20 error: unknown type name 'off_t' (uclibc)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: uClibc project
URL: https://puszcza.gnu.org.ua/bugs/?515
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-08-15 17:17 UTC by David Duchesne
Modified: 2021-09-06 21:16 UTC (History)
2 users (show)

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


Attachments
gdbm-1.20 (build log) (gdbm-1.20-build.log,13.53 KB, text/x-log)
2021-08-15 17:17 UTC, David Duchesne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Duchesne 2021-08-15 17:17:13 UTC
sys-libs/gdbm-1.20 error: unknown type name 'off_t'

Build failure with uclibc, see log attached.

Reproducible: Always




Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.0/uclibc/hardened, gcc-10.3.0, uclibc-ng-1.0.35, 4.14.240-gentoo-hardened-uclibc x86_64)
=================================================================
System uname: Linux-4.14.240-gentoo-hardened-uclibc-x86_64-AMD_A10-6800K_APU_with_Radeon-tm-_HD_Graphics-with-libc0
KiB Mem:     8172992 total,   6813252 free
KiB Swap:    8387580 total,   8387580 free
Timestamp of repository gentoo: Sat, 14 Aug 2021 01:00:01 +0000
Head commit of repository gentoo: 13904dc19fa354d50add808945db0cfc56d4a6a1

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          3.9.6_p1::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/uclibc-ng:       1.0.35::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

Installed sets: @fonts
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-unknown-linux-uclibc"
CFLAGS="-O2 -pipe"
CHOST="x86_64-unknown-linux-uclibc"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--usepkg --binpkg-respect-use=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/etc/sysctl.d/ /etc/systemd/ /lib/systemd/ /usr/lib/sysctl.d/ /usr/lib/systemd/ /run/systemd/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
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 amd64 bzip2 crypt cryptsetup device-mapper graphite hardened iconv ipv6 libglvnd libtirpc lto lvm lz4 lzma lzo minimal ncurses nptl openmp openssl pcre pgo pie readline seccomp sftp split-usr ssh ssl ssp uclibc unicode verify-sig xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="uclibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" 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 proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 David Duchesne 2021-08-15 17:17:54 UTC
Created attachment 733129 [details]
gdbm-1.20 (build log)
Comment 2 David Seifert gentoo-dev 2021-08-15 18:38:56 UTC
This is unlikely to be fixed any time soon, given how uclibc is about to go.
Comment 3 tt_1 2021-09-06 21:03:41 UTC
uhm, I had success in keywording =sys-libs/gdbm-1.21 on armv7-uclibc

which makes sense, as I now see that there was a fix pushed upstream in the linked bug, which is included in v1.21

so stabilize it and live happily ever after
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-06 21:07:02 UTC
(In reply to tt_1 from comment #3)
> uhm, I had success in keywording =sys-libs/gdbm-1.21 on armv7-uclibc
> 
> which makes sense, as I now see that there was a fix pushed upstream in the
> linked bug, which is included in v1.21
> 
> so stabilize it and live happily ever after

It was only added a few days ago. That said, I'll happily backport the patch.

BTW: please see https://www.gentoo.org/support/news-items/2021-08-18-uclibc-ng-retirement.html.
Comment 5 Larry the Git Cow gentoo-dev 2021-09-06 21:16:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47057031dff6ae1e783671baa1d4a9b2e7fb9f89

commit 47057031dff6ae1e783671baa1d4a9b2e7fb9f89
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-09-06 21:16:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-06 21:16:31 +0000

    sys-libs/gdbm: backport uclibc patch to 1.20
    
    Closes: https://bugs.gentoo.org/808480
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/gdbm/files/gdbm-1.20-uclibc-types.patch | 18 ++++++++++++++++++
 sys-libs/gdbm/gdbm-1.20.ebuild                   |  3 ++-
 2 files changed, 20 insertions(+), 1 deletion(-)