Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928096 - app-text/texlive-core-2023-r5 fails to compile: pdftexini.c:4015:25: error: assignment to boolean {aka int } from incompatible pointer type internalfontnumber {aka long int } [-Wincompatible-pointer-types]
Summary: app-text/texlive-core-2023-r5 fails to compile: pdftexini.c:4015:25: error: a...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
Depends on:
Blocks: c99-porting
  Show dependency tree
Reported: 2024-03-29 07:53 UTC by Agostino Sarubbo
Modified: 2024-04-04 12:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log.xz (build.log.xz,53.61 KB, application/x-xz)
2024-03-29 07:53 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-29 07:53:42 UTC

Issue: app-text/texlive-core-2023-r5 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-14-SYSTEM (

Info about the issue:
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-29 07:53:43 UTC
Created attachment 888969 [details]

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Florian Schmaus gentoo-dev 2024-04-04 07:22:44 UTC
pdftexini.c: In function 'loadfmtfile':
pdftexini.c:4015:25: error: assignment to 'boolean *' {aka 'int *'} from incompatible pointer type 'internalfontnumber *' {aka 'long int *'} [-Wincompatible-pointer-types[]]
 4015 |     pdffonthasspacechar = xmallocarray ( internalfontnumber , fontmax ) ;
      |                         ^
pdftexini.c: In function 'mainbody':
pdftexini.c:5568:27: error: assignment to 'boolean *' {aka 'int *'} from incompatible pointer type 'internalfontnumber *' {aka 'long int *'} [-Wincompatible-pointer-types[]]
 5568 |       pdffonthasspacechar = xmallocarray ( internalfontnumber , fontmax ) ;
      |                           ^
make[5]: *** [Makefile:17857: pdftex-pdftexini.o] Error 1
Comment 3 Florian Schmaus gentoo-dev 2024-04-04 12:41:10 UTC
It seems that pdftexini.c is not part of the source code of texlive, but rather somehow generated? Then again, I am not yet able to locate the part where it is generated.