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

Bug 944052

Summary: net-misc/rsync-3.3.0-r1 fails to compile with gcc15.0.0_pre20241117-r2::gentoo
Product: Gentoo Linux Reporter: OldManSeph <sschaefering>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: immoloism, sschaefering
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: rsync-3.3.0-r1 build log
OldManSeph emerge --info

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 ***