Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1027540: newsboat: FTBFS: src/poddlthread.cpp:63:29: error: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Werror=deprecated-declarations]

8 views
Skip to first unread message

Lucas Nussbaum

unread,
Jan 1, 2023, 9:50:07 AM1/1/23
to
Source: newsboat
Version: 2.21-1.4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230101 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> g++ -std=c++11 -O2 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -I/usr/include/json-c -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o src/poddlthread.o -c src/poddlthread.cpp
> Compiling memchr v2.5.0
> Running `rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/memchr-2.5.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=5269c8e0eb441a04 -C extra-filename=-5269c8e0eb441a04 --out-dir /<<PKGBUILDDIR>>/target/release/build/memchr-5269c8e0eb441a04 -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow`
> msgfmt --check --statistics -o po/ca.mo po/ca.po
> 289 translated messages, 54 fuzzy translations, 51 untranslated messages.
> msgfmt --check --statistics -o po/de.mo po/de.po
> 394 translated messages.
> msgfmt --check --statistics -o po/es.mo po/es.po
> 345 translated messages, 23 fuzzy translations, 26 untranslated messages.
> msgfmt --check --statistics -o po/fr.mo po/fr.po
> 317 translated messages, 36 fuzzy translations, 41 untranslated messages.
> msgfmt --check --statistics -o po/hu.mo po/hu.po
> 281 translated messages, 52 fuzzy translations, 61 untranslated messages.
> msgfmt --check --statistics -o po/it.mo po/it.po
> 339 translated messages, 25 fuzzy translations, 30 untranslated messages.
> msgfmt --check --statistics -o po/ja.mo po/ja.po
> msgfmt --check --statistics -o po/nb.mo po/nb.po
> 65 translated messages, 14 fuzzy translations, 315 untranslated messages.
> msgfmt --check --statistics -o po/nl.mo po/nl.po
> 289 translated messages, 50 fuzzy translations, 55 untranslated messages.
> msgfmt --check --statistics -o po/pl.mo po/pl.po
> 394 translated messages.
> msgfmt --check --statistics -o po/pt_BR.mo po/pt_BR.po
> 317 translated messages, 36 fuzzy translations, 41 untranslated messages.
> msgfmt --check --statistics -o po/ru.mo po/ru.po
> 394 translated messages.
> msgfmt --check --statistics -o po/sk.mo po/sk.po
> 394 translated messages.
> msgfmt --check --statistics -o po/sv.mo po/sv.po
> 316 translated messages, 34 fuzzy translations, 44 untranslated messages.
> msgfmt --check --statistics -o po/tr.mo po/tr.po
> 325 translated messages, 33 fuzzy translations, 36 untranslated messages.
> msgfmt --check --statistics -o po/uk.mo po/uk.po
> 394 translated messages.
> 394 translated messages.
> Compiling cfg-if v1.0.0
> Compiling cc v1.0.73
> Running `rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=843ddd9d32ebc04b -C extra-filename=-843ddd9d32ebc04b --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow`
> Running `rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.0.73/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=feed38afe533cdd8 -C extra-filename=-feed38afe533cdd8 --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow`
> Compiling autocfg v1.1.0
> Running `rustc --crate-name autocfg /usr/share/cargo/registry/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=83d26492fc916f26 -C extra-filename=-83d26492fc916f26 --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow`
> In file included from src/poddlthread.cpp:4:
> src/poddlthread.cpp: In member function ‘void podboat::PodDlThread::run()’:
> src/poddlthread.cpp:63:29: error: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Werror=deprecated-declarations]
> 63 | easyhandle, CURLOPT_PROGRESSFUNCTION, progress_callback);
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/curl/curl.h:1295:3: note: declared here
> 1295 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
> | ^~~~~~~~~~~~~~~~~
> Compiling version_check v0.9.4
> Running `rustc --crate-name version_check /usr/share/cargo/registry/version_check-0.9.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=29ad767f05f3184a -C extra-filename=-29ad767f05f3184a --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow`
> Compiling once_cell v1.16.0
> Running `rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.16.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=99a6e843f1ad6b2d -C extra-filename=-99a6e843f1ad6b2d --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow`
> Compiling pkg-config v0.3.25
> Running `rustc --crate-name pkg_config /usr/share/cargo/registry/pkg-config-0.3.25/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=66111d6739993472 -C extra-filename=-66111d6739993472 --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow`
> Compiling fastrand v1.8.0
> Running `rustc --crate-name fastrand --edition=2018 /usr/share/cargo/registry/fastrand-1.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=9d524b5fcb62bc2a -C extra-filename=-9d524b5fcb62bc2a --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow`
> Compiling regex-syntax v0.6.27
> Running `rustc --crate-name regex_syntax --edition=2018 /usr/share/cargo/registry/regex-syntax-0.6.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=3c6cd2f5634e0373 -C extra-filename=-3c6cd2f5634e0373 --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow`
> cc1plus: all warnings being treated as errors
> make[2]: *** [Makefile:136: src/poddlthread.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/01/01/newsboat_2.21-1.4_unstable.log

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

gregor herrmann

unread,
Feb 3, 2023, 6:20:05 PM2/3/23
to
Control: tags 1027540 + patch
Control: tags 1027540 + pending


Dear maintainer,

I've prepared an NMU for newsboat (versioned as 2.21-1.5) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.


--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
newsboat-2.21-1.5-nmu.diff
signature.asc
0 new messages