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

Bug#952306: freelan: FTBFS: AttributeError: 'str' object has no attribute 'decode':



Source: freelan
Version: 2.2-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> FREELAN_NO_GIT=1 FREELAN_NO_GIT_VERSION=2.2 scons -c --mode=release apps prefix=/ bin_prefix=/usr/ --upnp=yes --mongoose=no
> scons: Reading SConscript files ...
> AttributeError: 'str' object has no attribute 'decode':
>   File "/<<PKGBUILDDIR>>/SConstruct", line 219:
>     libraries, includes, apps, samples, configurations, help = SConscript('SConscript', exports='env', variant_dir=os.path.join('build', env.mode))
>   File "/usr/lib/scons/SCons/Script/SConscript.py", line 660:
>     return method(*args, **kw)
>   File "/usr/lib/scons/SCons/Script/SConscript.py", line 597:
>     return _SConscript(self.fs, *files, **subst_kw)
>   File "/usr/lib/scons/SCons/Script/SConscript.py", line 286:
>     exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
>   File "/<<PKGBUILDDIR>>/build/release/SConscript", line 28:
>     env.GenerateDefines(target=os.path.join('include', env.defines.defines_file_name), source=env.defines.template_file_path)
>   File "/<<PKGBUILDDIR>>/defines.py", line 94:
>     return os.path.splitext(os.path.basename(self.template_file_path))[0]
>   File "/<<PKGBUILDDIR>>/defines.py", line 90:
>     return os.path.join(self.repository_root, 'defines.hpp.template')
>   File "/<<PKGBUILDDIR>>/defines.py", line 46:
>     return self._repository_root.decode('utf-8')
> make[1]: *** [Makefile:24: clean] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/freelan_2.2-2_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: