Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663930 - =sys-fs/reiserfsprogs-3.6.27: build failure against glibc-2.28: ../include/misc.h:76:26: error: unknown type name 'loff_t'; did you mean 'off_t'?
Summary: =sys-fs/reiserfsprogs-3.6.27: build failure against glibc-2.28: ../include/mi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Keywords: PATCH
Depends on:
Blocks: glibc-2.28
  Show dependency tree
Reported: 2018-08-17 22:22 UTC by Sergei Trofimovich (RETIRED)
Modified: 2018-10-13 17:50 UTC (History)
0 users

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

sys-fs:reiserfsprogs-3.6.27:20180817-221954.log (sys-fs:reiserfsprogs-3.6.27:20180817-221954.log,23.40 KB, text/x-log)
2018-08-17 22:22 UTC, Sergei Trofimovich (RETIRED)
reiserfsprogs-3.6.27-loff_t.patch (reiserfsprogs-3.6.27-loff_t.patch,504 bytes, patch)
2018-10-13 16:52 UTC, Sergei Trofimovich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2018-08-17 22:22:14 UTC
Created attachment 543864 [details]

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -march=sandybridge -mtune=sandybridge --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=8192 -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -std=gnu89 -Wno-unused-parameter -Wredundant-decls -Wuninitialized -c parse_time.c  -fPIC -DPIC -o .libs/parse_time.o
In file included from parse_time.c:7:
../include/misc.h:76:26: error: unknown type name 'loff_t'; did you mean 'off_t'?
 int valid_offset(int fd, loff_t offset);
In file included from parse_time.c:8:
../include/reiserfs_lib.h:300:55: error: unknown type name 'loff_t'; did you mean 'off_t'?
 void set_offset(int format, struct reiserfs_key *key, loff_t offset);
../include/reiserfs_lib.h:301:64: error: unknown type name 'loff_t'; did you mean 'off_t'?
 void set_type_and_offset(int format, struct reiserfs_key *key, loff_t offset,
make[1]: *** [Makefile:377: parse_time.lo] Error 1
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-08-17 22:26:15 UTC
Probably caused by this commit:;a=commitdiff;h=663e7d784977f6b15c0cab73f754f9f39c9c0c2c
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2018-10-13 16:52:58 UTC
Created attachment 550974 [details, diff]
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2018-10-13 16:53:24 UTC
 reiserfsprogs-3.6.27-loff_t.patch one-liner fixes build for me.
Comment 4 Larry the Git Cow gentoo-dev 2018-10-13 17:50:47 UTC
The bug has been closed via the following commit(s):

commit 6f19fe4830c4805d55596124f4f41a1a18fadc7f
Author:     Sergei Trofimovich <>
AuthorDate: 2018-10-13 17:25:07 +0000
Commit:     Sergei Trofimovich <>
CommitDate: 2018-10-13 17:50:39 +0000

    sys-fs/reiserfsprogs: fix build failure against glibc-2.28, bug #663930
    Signed-off-by: Sergei Trofimovich <>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../files/reiserfsprogs-3.6.27-loff_t.patch              | 16 ++++++++++++++++
 sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild         |  3 ++-
 2 files changed, 18 insertions(+), 1 deletion(-)