Source: synaptic
Version: 0.90.2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include/apt-pkg  
> -DSYNAPTICLOCALEDIR=\""/usr/share/locale"\" 
> -DSYNAPTICSTATEDIR=\""/var/lib/synaptic"\" -Wdate-time -D_FORTIFY_SOURCE=2  
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o rpackageview.o rpackageview.cc
> rconfiguration.cc: In function ‘bool RWriteConfigFile(Configuration&)’:
> rconfiguration.cc:89:8: error: ‘getuid’ was not declared in this scope; did 
> you mean ‘getpwuid’?
>    89 |    if (getuid() == 0) {
>       |        ^~~~~~
>       |        getpwuid
> rconfiguration.cc: In function ‘bool checkConfigDir(std::string&)’:
> rconfiguration.cc:138:19: error: ‘getuid’ was not declared in this scope; did 
> you mean ‘getpwuid’?
>   138 |    pwd = getpwuid(getuid());
>       |                   ^~~~~~
>       |                   getpwuid
> rconfiguration.cc: In function ‘bool RInitConfiguration(std::string)’:
> rconfiguration.cc:244:7: error: ‘getuid’ was not declared in this scope; did 
> you mean ‘getpwuid’?
>   244 |    if(getuid() == 0) {
>       |       ^~~~~~
>       |       getpwuid
> make[4]: *** [Makefile:478: rconfiguration.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/synaptic_0.90.2_unstable.log

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