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

Bug 875122

Summary: www-apache/mod_jk-1.2.48 - jk_types.h: error: #error Can not determine the proper size for pid_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: RESOLVED FIXED    
Severity: normal CC: java, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
www-apache:mod_jk-1.2.48:20221004-093249.log

Description Toralf Förster gentoo-dev 2022-10-04 16:44:35 UTC
In file included from jk_global.h:340,
                 from jk_logger.h:26,
                 from jk_ajp12_worker.h:26,
                 from jk_ajp12_worker.c:25:
jk_types.h:56:2: error: #error Can not determine the proper size for pid_t
   56 | #error Can not determine the proper size for pid_t
      |  ^~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 92c31ff98e022fce3c1646acc591d62fab57394c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 08:32:55 2022 +0000

    2022-10-04 08:32:55 UTC

emerge -qpvO www-apache/mod_jk
[ebuild  N    ] www-apache/mod_jk-1.2.48
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:44:36 UTC
Created attachment 820045 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:44:38 UTC
Created attachment 820048 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:44:39 UTC
Created attachment 820051 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:44:40 UTC
Created attachment 820054 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:44:42 UTC
Created attachment 820057 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:44:43 UTC
Created attachment 820060 [details]
www-apache:mod_jk-1.2.48:20221004-093249.log
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-17 03:18:06 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56840607b2d8d7aa1b9d620b7bca1618a8394551

commit 56840607b2d8d7aa1b9d620b7bca1618a8394551
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-17 02:49:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-17 03:15:33 +0000

    www-apache/mod_jk: fix build w/ Clang 16
    
    Closes: https://bugs.gentoo.org/875701
    Signed-off-by: Sam James <sam@gentoo.org>

 .../mod_jk/files/mod_jk-1.2.48-clang16.patch       | 87 ++++++++++++++++++++++
 ...od_jk-1.2.48.ebuild => mod_jk-1.2.48-r1.ebuild} |  6 +-
 2 files changed, 92 insertions(+), 1 deletion(-)