Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 663930

Summary: =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'?
Product: Gentoo Linux Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 663916    
Attachments: sys-fs:reiserfsprogs-3.6.27:20180817-221954.log
reiserfsprogs-3.6.27-loff_t.patch

Description Sergei Trofimovich (RETIRED) gentoo-dev 2018-08-17 22:22:14 UTC
Created attachment 543864 [details]
sys-fs:reiserfsprogs-3.6.27:20180817-221954.log

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);
                          ^~~~~~
                          off_t
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);
                                                       ^~~~~~
                                                       off_t
../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,
                                                                ^~~~~~
                                                                off_t
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:

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=663e7d784977f6b15c0cab73f754f9f39c9c0c2c
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2018-10-13 16:52:58 UTC
Created attachment 550974 [details, diff]
reiserfsprogs-3.6.27-loff_t.patch
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f19fe4830c4805d55596124f4f41a1a18fadc7f

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

    sys-fs/reiserfsprogs: fix build failure against glibc-2.28, bug #663930
    
    Closes: https://bugs.gentoo.org/663930
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
    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(-)