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

Bug 920174

Summary: sys-devel/autogen-5.18.16-r2 - fmemopen.c: error: off64_t undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: ago, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
sys-devel:autogen-5.18.16-r2:20231216-214655.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-16 22:03:57 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../autoopts  -I/usr/include/guile/2.2 -O3 -pipe -march=native -fno-diagnostics-color -Wno-format-contains-nul -fno-strict-aliasing -c -o autogen-ag.o `test -f 'ag.c' || echo './'`ag.c
In file included from ag.c:39:
fmemopen.c:57:12: error: unknown type name 'off64_t'
   57 |    typedef off64_t * seek_off_t;
      |            ^~~~~~~
fmemopen.c: In function 'fmem_seek':
fmemopen.c:349:16: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'?
  349 |     *offset = (off64_t)new_pos;
      |                ^~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20231214-201013

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-gentoo-linux-musl-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm
  [3]   openjdk-bin-21 

php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit a64eeaa19a04b1ab40de63472f523cea53abf7ff
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 16 20:47:02 2023 +0000

    2023-12-16 20:47:02 UTC

emerge -qpvO sys-devel/autogen
[ebuild  N    ] sys-devel/autogen-5.18.16-r2  USE="libopts -static-libs"
Comment 1 Toralf Förster gentoo-dev 2023-12-16 22:03:58 UTC
Created attachment 879662 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-16 22:03:59 UTC
Created attachment 879663 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-16 22:04:00 UTC
Created attachment 879664 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-16 22:04:01 UTC
Created attachment 879665 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-16 22:04:02 UTC
Created attachment 879666 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-16 22:04:03 UTC
Created attachment 879667 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-16 22:04:05 UTC
Created attachment 879668 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-16 22:04:06 UTC
Created attachment 879669 [details]
sys-devel:autogen-5.18.16-r2:20231216-214655.log
Comment 9 Toralf Förster gentoo-dev 2023-12-16 22:04:07 UTC
Created attachment 879670 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-03-03 00:27:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6641ea68521cc81c1222137c736d6947722ba94d

commit 6641ea68521cc81c1222137c736d6947722ba94d
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-03-03 00:26:56 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-03-03 00:27:20 +0000

    sys-devel/autogen: Apply musl-1.2.4 largefile workaround
    
    Bug: https://bugs.gentoo.org/920174
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-devel/autogen/autogen-5.18.16-r3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2024-03-03 16:00:46 UTC
*** Bug 906921 has been marked as a duplicate of this bug. ***