FS#60204 - [reiserfsprogs] fails to build in clean chroot

Attached to Project: Arch Linux
Opened by Erich Eckner (deepthought) - Wednesday, 26 September 2018, 12:00 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 November 2018, 06:21 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

extra-x86_64-build fails with:

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


Additional info:
* package version(s)
reiserfsprogs 3.6.27-1 (git revision 43d12d0306ae85803a356caabd0b384eb917c80e)
* config and/or log files etc.
full log is attached

Steps to reproduce:
> git checkout 43d12d0306ae85803a356caabd0b384eb917c80e
> cd reiserfsprogs/repos/core-x86_64
> extra-x86_64-build
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 04 November 2018, 06:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  reiserfsprogs-3.6.27-2
Comment by loqs (loqs) - Wednesday, 26 September 2018, 13:59 GMT
Changing the CFLAGS in PKGBUILD to the following allowed the build to succeed.
CFLAGS+=' -fgnu89-inline -D_GNU_SOURCE'
Comment by Erich Eckner (deepthought) - Tuesday, 02 October 2018, 11:49 GMT
I can confirm, that this fix works.

Loading...