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...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
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: ---


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

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/texlive-core-2023-r5 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-29 07:53:43 UTC
Created attachment 888969 [details]
build.log.xz

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[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-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[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-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.