Bug 2269661 - texlive-base-20230311-82.fc41 FTBFS: texk/xdvik/gui/pagesel.c:541:31: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type
Summary: texlive-base-20230311-82.fc41 FTBFS: texk/xdvik/gui/pagesel.c:541:31: error: ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive-base
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F41FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-03-15 07:04 UTC by Petr Pisar
Modified: 2024-03-15 09:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-15 09:25:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2024-03-15 07:04:26 UTC
texlive-base-20230311-82.fc41 fails to build in Fedora 41:

make[5]: Entering directory '/builddir/build/BUILD/texlive-base-20230311/source/work/texk/xdvik'
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/builddir/build/BUIL
D/texlive-base-20230311/source/work/texk -I/builddir/build/BUILD/texlive-base-20230311/source/texk -I/u
sr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/gli
b-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread    -Wall -Wunused -Wimplicit -Wre
turn-type -Wmissing-prototypes -Wmissing-declarations -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arit
h  -Wcast-align  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wn
o-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_
ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/
redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-
protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -W
error=format-security -c -o gui/pagesel.o ../../../texk/xdvik/gui/pagesel.c
../../../texk/xdvik/gui/pagesel.c: In function ‘xaw_update_list’:
../../../texk/xdvik/gui/pagesel.c:541:31: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types]
  541 |     XawListChange(LIST_WIDGET,(const char **) page_info.page_labels, 0,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                               |
      |                               const char **
In file included from ../../../texk/xdvik/gui/pagesel.c:93:
/usr/include/X11/Xaw/List.h:170:26: note: expected ‘char **’ but argument is of type ‘const char **’
  170 |  String                 *list,
      |  ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
make[5]: *** [Makefile:926: gui/pagesel.o] Error 1

This is probably triggered by upgrading libXaw-devel from 1.0.15-3.fc40 to 1.0.16-1.fc41.

Comment 1 Than Ngo 2024-03-15 09:25:06 UTC
it is fixed in texlive-base-20230311-83.fc41, https://koji.fedoraproject.org/koji/taskinfo?taskID=114982245


Note You need to log in before you can comment on or make changes to this bug.