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

Bug#1017314: handbrake: FTBFS: ../libhb/decsrtsub.c:223:39: error: ‘AV_NOPTS_VALUE’ undeclared (first use in this function)



Source: handbrake
Version: 1.5.1+ds1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> /usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g2 -O3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_STRERROR_R -DARCH_X86_64 -I./libhb/ -I./contrib/include -I/usr/include/libxml2 -c ../libhb/decsrtsub.c -o libhb/decsrtsub.o
> ../libhb/decsrtsub.c: In function ‘srt_read’:
> ../libhb/decsrtsub.c:223:39: error: ‘AV_NOPTS_VALUE’ undeclared (first use in this function)
>   223 |     if (pv->job->reader_pts_offset == AV_NOPTS_VALUE)
>       |                                       ^~~~~~~~~~~~~~
> ../libhb/decsrtsub.c:223:39: note: each undeclared identifier is reported only once for each function it appears in
> /usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g2 -O3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_STRERROR_R -DARCH_X86_64 -I./libhb/ -I./contrib/include -I/usr/include/libxml2 -c ../libhb/decssasub.c -o libhb/decssasub.o
> ../libhb/decsrtsub.c: In function ‘decsrtInit’:
> ../libhb/decsrtsub.c:544:26: error: ‘AV_NOPTS_VALUE’ undeclared (first use in this function)
>   544 |         pv->start_time = AV_NOPTS_VALUE;
>       |                          ^~~~~~~~~~~~~~
> make[1]: *** [../libhb/module.rules:12: libhb/decsrtsub.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/handbrake_1.5.1+ds1-2_unstable.log

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