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

Bug#1066492: tinydyndns: FTBFS: seek_set.c:7:7: error: implicit declaration of function ‘lseek’ [-Werror=implicit-function-declaration]



Source: tinydyndns
Version: 0.4.2.debian1-2
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):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> ( cat warn-auto.sh; \
> echo 'main="$1"; shift'; \
> echo exec "`head -1 conf-ld`" \
> '-o "$main" "$main".o ${1+"$@"}' \
> ) > load
> ( cat warn-auto.sh; \
> echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \
> ) > compile
> chmod 755 load
> chmod 755 compile
> cat warn-auto.sh choose.sh \
> | sed s}HOME}"`head -1 conf-home`"}g \
> > choose
> ( cat warn-auto.sh; \
> echo CC=\'`head -1 conf-cc`\'; \
> echo LD=\'`head -1 conf-ld`\'; \
> cat find-systype.sh; \
> ) | sh > systype
> ./compile env.c
> ./compile alloc.c
> ./compile alloc_re.c
> ./compile getln.c
> chmod 755 choose
> ./compile getln2.c
> ./compile stralloc_cat.c
> ./compile stralloc_catb.c
> ./compile stralloc_cats.c
> ./compile stralloc_copy.c
> ./compile stralloc_eady.c
> ./compile stralloc_num.c
> ./compile stralloc_opyb.c
> ./compile stralloc_opys.c
> ./compile stralloc_pend.c
> ./compile buffer.c
> ./compile buffer_1.c
> ./compile buffer_2.c
> ./compile buffer_copy.c
> ./compile buffer_get.c
> ./compile buffer_put.c
> ./compile strerr_die.c
> ./compile strerr_sys.c
> ./compile buffer_read.c
> ./compile buffer_write.c
> ./compile error.c
> ./compile error_str.c
> ./compile ndelay_off.c
> ./compile ndelay_on.c
> ./compile open_read.c
> ./compile open_trunc.c
> ./compile openreadclose.c
> ./compile readclose.c
> ./compile seek_set.c
> ./compile socket_accept.c
> ./compile socket_bind.c
> seek_set.c: In function ‘seek_set’:
> seek_set.c:7:7: error: implicit declaration of function ‘lseek’ [-Werror=implicit-function-declaration]
>     7 | { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; }
>       |       ^~~~~
> ./compile socket_conn.c
> ./compile socket_listen.c
> ./compile socket_recv.c
> ./compile socket_send.c
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile.djbdns:767: seek_set.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/tinydyndns_0.4.2.debian1-2_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: