Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944052 - net-misc/rsync-3.3.0-r1 fails to compile with gcc15.0.0_pre20241117-r2::gentoo
Summary: net-misc/rsync-3.3.0-r1 fails to compile with gcc15.0.0_pre20241117-r2::gentoo
Status: RESOLVED DUPLICATE of bug 943745
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-19 22:07 UTC by OldManSeph
Modified: 2024-11-20 04:01 UTC (History)
2 users (show)

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


Attachments
rsync-3.3.0-r1 build log (rsync-3.3.0-r1.build.log,16.07 KB, text/x-log)
2024-11-19 22:07 UTC, OldManSeph
Details
OldManSeph emerge --info (emerge_info.txt,6.93 KB, text/plain)
2024-11-19 22:08 UTC, OldManSeph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OldManSeph 2024-11-19 22:07:49 UTC
Created attachment 910395 [details]
rsync-3.3.0-r1 build log

x86_64-pc-linux-gnu-gcc -I. -I. -I./zlib -O2 -pipe -DHAVE_CONFIG_H -Wall -W  -c syscall.c -o syscall.o
syscall.c: In function ‘do_lseek’:
syscall.c:394:17: error: conflicting types for ‘lseek64’; have ‘off64_t(void)’ {aka ‘long int(void)’}
  394 |         off64_t lseek64();
      |                 ^~~~~~~
In file included from rsync.h:354,
                 from syscall.c:23:
/usr/include/unistd.h:350:18: note: previous declaration of ‘lseek64’ with type ‘__off64_t(int,  __off64_t,  int)’ {aka ‘long int(int,  long int,  int)’}
  350 | extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
      |                  ^~~~~~~
syscall.c:396:16: error: too many arguments to function ‘lseek64’
  396 |         return lseek64(fd, offset, whence);
      |                ^~~~~~~
syscall.c:394:17: note: declared here
  394 |         off64_t lseek64();
      |                 ^~~~~~~
make: *** [Makefile:70: syscall.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: net-misc/rsync-3.3.0-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 OldManSeph 2024-11-19 22:08:07 UTC
Created attachment 910396 [details]
OldManSeph emerge --info
Comment 2 immolo 2024-11-20 04:01:30 UTC

*** This bug has been marked as a duplicate of bug 943745 ***