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

Bug 934244

Summary: net-fs/samba-4.20.1: source3/librpc/idl/open_files.idl:33: error: Unable to determine origin of type `struct timeval'
Product: Gentoo Linux Reporter: Rafael Kitover <rkitover>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rkitover
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description Rafael Kitover 2024-06-14 10:47:11 UTC
Build fails with:

source3/librpc/idl/open_files.idl:33: error: Unable to determine origin of type `struct timeval'
source3/librpc/idl/open_files.idl:33: error: Unable to determine origin of type `struct timeval'
source3/librpc/idl/open_files.idl:94: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:94: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:95: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:95: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:96: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:96: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:97: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:97: error: Unable to determine origin of type `struct timespec'

more similar errors from .idl files follow in the build log.

Reproducible: Always
Comment 1 Rafael Kitover 2024-06-14 10:48:16 UTC
Created attachment 895813 [details]
build log
Comment 2 Rafael Kitover 2024-06-14 10:49:01 UTC
Created attachment 895814 [details]
emerge --info
Comment 3 Rafael Kitover 2024-06-14 10:49:58 UTC
> emerge -pqv =net-fs/samba-4.20.1
[ebuild   R   ] net-fs/samba-4.20.1  USE="acl -addc -ads -ceph client -cluster cups -debug (-fam) -glusterfs -gpg -iprint -json -ldap -llvm-libunwind pam -profiling-data python -quota regedit (-selinux) -snapper -spotlight -syslog (-system-heimdal) system-mitkrb5 systemd (-test) -unwind winbind zeroconf" ABI_X86="-32 (64) (-x32)" PYTHON_SINGLE_TARGET="-python3_10 python3_11 -python3_12"
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-14 10:50:35 UTC
The real error is:

during IPA pass: *free_lang_data
../../source4/libcli/resolve/resolve.c:340:1: internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257
  340 | }
      | ^

which is a dupe of bug 933423

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