Bug#1077392: moarvm: FTBFS: src/6model/containers.c:117:5: error: initialization of ‘void (*)(MVMThreadContext *, MVMObject *, MVMuint64) ’ {aka ‘void (*)(MVMThreadContext *, MVMObject *, long unsigned int) ’} from incompatible pointer type ‘void (*)(MVMThreadContext *, MVMObject *, MVMint64) ’ {aka ‘void (*)(MVMThreadContext *, MVMObject *, long int) ’} [-Wincompatible-pointer-types]

Lucas Nussbaum lucas at debian.org
Mon Jul 29 06:43:49 BST 2024


Source: moarvm
Version: 2022.12+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240728 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> gcc -c -std=gnu99 -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -Werror=pointer-arith -Werror=vla -O3 -DNDEBUG -g3  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DHAVE_LIBFFI -fPIC -DDEBUG_HELPERS -DMVM_HEAPSNAPSHOT_FORMAT=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_BUILD_SHARED -fPIC -I3rdparty/sha1 -isystem3rdparty/tinymt -isystem3rdparty/ryu -isystem3rdparty/dynasm -isystem3rdparty/cmp -isystem3rdparty -I/usr/local/include -Isrc -o src/6model/containers.o src/6model/containers.c
> src/6model/containers.c:117:5: error: initialization of ‘void (*)(MVMThreadContext *, MVMObject *, MVMuint64)’ {aka ‘void (*)(MVMThreadContext *, MVMObject *, long unsigned int)’} from incompatible pointer type ‘void (*)(MVMThreadContext *, MVMObject *, MVMint64)’ {aka ‘void (*)(MVMThreadContext *, MVMObject *, long int)’} [-Wincompatible-pointer-types]
>   117 |     code_pair_store_i, /* FIXME need a code_pair_store_u but lacking tests showing this need */
>       |     ^~~~~~~~~~~~~~~~~
> src/6model/containers.c:117:5: note: (near initialization for ‘code_pair_spec.store_u’)
> src/6model/containers.c:374:5: error: initialization of ‘void (*)(MVMThreadContext *, MVMObject *, MVMuint64)’ {aka ‘void (*)(MVMThreadContext *, MVMObject *, long unsigned int)’} from incompatible pointer type ‘void (*)(MVMThreadContext *, MVMObject *, MVMint64)’ {aka ‘void (*)(MVMThreadContext *, MVMObject *, long int)’} [-Wincompatible-pointer-types]
>   374 |     value_desc_cont_store_i, /* FIXME need a value_desc_cont_store_u but lacking tests showing this need */
>       |     ^~~~~~~~~~~~~~~~~~~~~~~
> src/6model/containers.c:374:5: note: (near initialization for ‘value_desc_cont_spec.store_u’)
> make[3]: *** [Makefile:664: src/6model/containers.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/moarvm_2022.12+dfsg-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-rakudo-devel mailing list