Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789528 - net-analyzer/suricata-6.0.2 - AttributeError: Sphinx object has no attribute add_stylesheet
Summary: net-analyzer/suricata-6.0.2 - AttributeError: Sphinx object has no attribute ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-11 20:13 UTC by Toralf Förster
Modified: 2021-05-11 22:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.31 KB, text/plain)
2021-05-11 20:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.14 KB, text/plain)
2021-05-11 20:13 UTC, Toralf Förster
Details
environment (environment,148.48 KB, text/plain)
2021-05-11 20:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.27 KB, application/x-bzip)
2021-05-11 20:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,20.55 KB, application/x-bzip)
2021-05-11 20:13 UTC, Toralf Förster
Details
net-analyzer:suricata-6.0.2:20210511-200815.log (net-analyzer:suricata-6.0.2:20210511-200815.log,355.86 KB, text/plain)
2021-05-11 20:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,47.41 KB, application/x-bzip)
2021-05-11 20:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-11 20:13:52 UTC
  File "/var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/doc/userguide/conf.py", line 138, in setup
    app.add_stylesheet('css/suricata.css')
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
The full traceback has been saved in /var/tmp/portage/net-analyzer/suricata-6.0.2/temp/sphinx-err-k5zws1l3.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make[2]: *** [Makefile:649: _build/man] Error 2

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j2-20210510-164102

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1
  [2]   rust-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon May 10 19:50:37 UTC 2021

emerge -qpvO net-analyzer/suricata
[ebuild  N    ] net-analyzer/suricata-6.0.2  USE="af-packet detection nfqueue systemd -bpf -control-socket -cuda -debug -geoip -hardened -logrotate -lua -lz4 -nflog -redis -test" LUA_SINGLE_TARGET="lua5-1 -luajit" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-05-11 20:13:53 UTC
Created attachment 707175 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-11 20:13:55 UTC
Created attachment 707178 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-11 20:13:56 UTC
Created attachment 707181 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-11 20:13:58 UTC
Created attachment 707184 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-11 20:13:59 UTC
Created attachment 707187 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-11 20:14:01 UTC
Created attachment 707190 [details]
net-analyzer:suricata-6.0.2:20210511-200815.log
Comment 7 Toralf Förster gentoo-dev 2021-05-11 20:14:02 UTC
Created attachment 707193 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-11 22:07:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4dd6303339ca68635747819b7fb67fb34390c61

commit b4dd6303339ca68635747819b7fb67fb34390c61
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-05-11 22:00:57 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-05-11 22:07:18 +0000

    net-analyzer/suricata: leave sphinx-build and pdflatex alone
    
    Upstream build scripts look for the two and if they are present, attempt
    to generate documentation. Automagic aside, this presently only works
    with Sphinx versions older than 4.0.0 - and in any case release tarballs
    include both PDF guides and man pages.
    
    Closes: https://bugs.gentoo.org/789528
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 ....6_configure-no-sphinx-pdflatex-automagic.patch | 26 ++++++++++++++++++++++
 net-analyzer/suricata/suricata-5.0.6.ebuild        |  1 +
 net-analyzer/suricata/suricata-6.0.2.ebuild        |  1 +
 3 files changed, 28 insertions(+)