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

Bug 871177

Summary: dev-libs/chmlib-0.40-r1 - call to undeclared function pread64; ISO C99 and later do not support
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
dev-libs:chmlib-0.40-r1:20220918-085646.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 09:13:22 UTC
too long lines were shrinked:

libtool: compile:  clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -
clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DH
libtool: compile:  clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -
/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/chm_lib.c:738:15: error: 
      call to undeclared function 'pread64'; ISO C99 and later do not support
      implicit function declarations [-Werror,-Wimplicit-function-declaration]
    readLen = pread64(h->fd, buf, (long)len, os);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20220915-203738

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 5f2fa9b1a32565dcaa7598b8076fc7af1e205e0b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 08:16:58 2022 +0000

    2022-09-18 08:16:58 UTC

emerge -qpvO dev-libs/chmlib
[ebuild  N    ] dev-libs/chmlib-0.40-r1  USE="examples -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 09:13:23 UTC
Created attachment 810241 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 09:13:23 UTC
Created attachment 810244 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 09:13:24 UTC
Created attachment 810247 [details]
dev-libs:chmlib-0.40-r1:20220918-085646.log
Comment 4 Toralf Förster gentoo-dev 2022-09-18 09:13:26 UTC
Created attachment 810250 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 09:13:28 UTC
Created attachment 810253 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 09:13:29 UTC
Created attachment 810256 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 09:13:30 UTC
Created attachment 810259 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 09:13:31 UTC
Created attachment 810262 [details]
temp.tar.bz2
Comment 9 Marek Szuba archtester gentoo-dev 2022-10-04 15:06:45 UTC
*** Bug 871069 has been marked as a duplicate of this bug. ***
Comment 10 Marek Szuba archtester gentoo-dev 2022-11-20 21:21:27 UTC
*** Bug 882093 has been marked as a duplicate of this bug. ***