[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1066540: dapl: FTBFS: dapl/openib_scm/cm.c:576:23: error: implicit declaration of function ‘writev’; did you mean ‘write’? [-Werror=implicit-function-declaration]



Source: dapl
Version: 2.1.10.1.f1e05b7a-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

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

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF="\"/etc/dat.conf\"" -DMPXYD_CONF="\"/etc/mpxyd.conf\"" -DPACKAGE_DATE=$(date -u -d@${SOURCE_DATE_EPOCH:-$(date ++%s)} +'%Y%m%d') -D_GNU_SOURCE -DOS_RELEASE=393217  -DDAT_EXTENSIONS   -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_scm -I./dapl/openib_scm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o dapl_udapl_libdaploscm_la-ib_extensions.lo `test -f 'dapl/openib_common/ib_extensions.c' || echo './'`dapl/openib_common/ib_extensions.c
> dapl/openib_scm/cm.c: In function ‘dapli_socket_connected’:
> dapl/openib_scm/cm.c:576:23: error: implicit declaration of function ‘writev’; did you mean ‘write’? [-Werror=implicit-function-declaration]
>   576 |                 len = writev(cm_ptr->socket, iov, 2);
>       |                       ^~~~~~
>       |                       write
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_scm -I./dapl/openib_scm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/openib_common/ib_extensions.c  -fPIC -DPIC -o .libs/dapl_udapl_libdaploscm_la-ib_extensions.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_scm -I./dapl/openib_scm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/openib_common/mem.c -o dapl_udapl_libdaploscm_la-mem.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_scm -I./dapl/openib_scm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/openib_common/srq.c -o dapl_udapl_libdaploscm_la-srq.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_scm -I./dapl/openib_scm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/openib_common/cq.c -o dapl_udapl_libdaploscm_la-cq.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_scm -I./dapl/openib_scm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/openib_common/qp.c -o dapl_udapl_libdaploscm_la-qp.o >/dev/null 2>&1
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF="\"/etc/dat.conf\"" -DMPXYD_CONF="\"/etc/mpxyd.conf\"" -DPACKAGE_DATE=$(date -u -d@${SOURCE_DATE_EPOCH:-$(date ++%s)} +'%Y%m%d') -D_GNU_SOURCE -DOS_RELEASE=393217  -DDAT_EXTENSIONS   -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_ucm -I./dapl/openib_ucm/linux				 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o dapl_udapl_libdaploucm_la-dapl_init.lo `test -f 'dapl/udapl/dapl_init.c' || echo './'`dapl/udapl/dapl_init.c
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF="\"/etc/dat.conf\"" -DMPXYD_CONF="\"/etc/mpxyd.conf\"" -DPACKAGE_DATE=$(date -u -d@${SOURCE_DATE_EPOCH:-$(date ++%s)} +'%Y%m%d') -D_GNU_SOURCE -DOS_RELEASE=393217  -DDAT_EXTENSIONS   -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_ucm -I./dapl/openib_ucm/linux				 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o dapl_udapl_libdaploucm_la-dapl_evd_create.lo `test -f 'dapl/udapl/dapl_evd_create.c' || echo './'`dapl/udapl/dapl_evd_create.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_scm -I./dapl/openib_scm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/openib_common/util.c -o dapl_udapl_libdaploscm_la-util.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_scm -I./dapl/openib_scm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/openib_scm/device.c -o dapl_udapl_libdaploscm_la-device.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_ucm -I./dapl/openib_ucm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/udapl/dapl_evd_create.c  -fPIC -DPIC -o .libs/dapl_udapl_libdaploucm_la-dapl_evd_create.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_scm -I./dapl/openib_scm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/openib_common/ib_extensions.c -o dapl_udapl_libdaploscm_la-ib_extensions.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_ucm -I./dapl/openib_ucm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/udapl/dapl_init.c  -fPIC -DPIC -o .libs/dapl_udapl_libdaploucm_la-dapl_init.o
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF="\"/etc/dat.conf\"" -DMPXYD_CONF="\"/etc/mpxyd.conf\"" -DPACKAGE_DATE=$(date -u -d@${SOURCE_DATE_EPOCH:-$(date ++%s)} +'%Y%m%d') -D_GNU_SOURCE -DOS_RELEASE=393217  -DDAT_EXTENSIONS   -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_ucm -I./dapl/openib_ucm/linux				 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o dapl_udapl_libdaploucm_la-dapl_evd_query.lo `test -f 'dapl/udapl/dapl_evd_query.c' || echo './'`dapl/udapl/dapl_evd_query.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_ucm -I./dapl/openib_ucm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/udapl/dapl_evd_create.c -o dapl_udapl_libdaploucm_la-dapl_evd_create.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_ucm -I./dapl/openib_ucm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/udapl/dapl_evd_query.c  -fPIC -DPIC -o .libs/dapl_udapl_libdaploucm_la-dapl_evd_query.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/dat.conf\" -DMPXYD_CONF=\"/etc/mpxyd.conf\" -DPACKAGE_DATE=20180104 -D_GNU_SOURCE -DOS_RELEASE=393217 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_ucm -I./dapl/openib_ucm/linux -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c dapl/udapl/dapl_init.c -o dapl_udapl_libdaploucm_la-dapl_init.o >/dev/null 2>&1
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:5452: dapl_udapl_libdaploscm_la-cm.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/dapl_2.1.10.1.f1e05b7a-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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.


Reply to: