Public bug reported: In a fresh Noble VM (I haven't tested elsewhere), installing `cppman` produces a number of non-fatal errors:
ubuntu@attractive-gelding:~$ sudo apt install cppman Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: python3-bs4 python3-cssselect python3-html5lib python3-lxml python3-soupsieve python3-webencodings Suggested packages: python3-genshi python-lxml-doc The following NEW packages will be installed: cppman python3-bs4 python3-cssselect python3-html5lib python3-lxml python3-soupsieve python3-webencodings 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 2121 kB of archives. After this operation, 9532 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-soupsieve all 2.5-1 [33.0 kB] Get:2 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-bs4 all 4.12.3-1 [109 kB] Get:3 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-webencodings all 0.5.1-5 [11.5 kB] Get:4 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-html5lib all 1.1-6 [88.8 kB] Get:5 http://archive.ubuntu.com/ubuntu noble/universe amd64 cppman all 0.5.6+dfsg-1 [616 kB] Get:6 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-lxml amd64 5.2.1-1 [1243 kB] Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-cssselect all 1.2.0-2 [18.5 kB] Fetched 2121 kB in 1s (2331 kB/s) Selecting previously unselected package python3-soupsieve. (Reading database ... 106646 files and directories currently installed.) Preparing to unpack .../0-python3-soupsieve_2.5-1_all.deb ... Unpacking python3-soupsieve (2.5-1) ... Selecting previously unselected package python3-bs4. Preparing to unpack .../1-python3-bs4_4.12.3-1_all.deb ... Unpacking python3-bs4 (4.12.3-1) ... Selecting previously unselected package python3-webencodings. Preparing to unpack .../2-python3-webencodings_0.5.1-5_all.deb ... Unpacking python3-webencodings (0.5.1-5) ... Selecting previously unselected package python3-html5lib. Preparing to unpack .../3-python3-html5lib_1.1-6_all.deb ... Unpacking python3-html5lib (1.1-6) ... Selecting previously unselected package cppman. Preparing to unpack .../4-cppman_0.5.6+dfsg-1_all.deb ... Unpacking cppman (0.5.6+dfsg-1) ... Selecting previously unselected package python3-lxml:amd64. Preparing to unpack .../5-python3-lxml_5.2.1-1_amd64.deb ... Unpacking python3-lxml:amd64 (5.2.1-1) ... Selecting previously unselected package python3-cssselect. Preparing to unpack .../6-python3-cssselect_1.2.0-2_all.deb ... Unpacking python3-cssselect (1.2.0-2) ... Setting up python3-webencodings (0.5.1-5) ... Setting up python3-html5lib (1.1-6) ... Setting up python3-lxml:amd64 (5.2.1-1) ... Setting up python3-cssselect (1.2.0-2) ... Setting up python3-soupsieve (2.5-1) ... Setting up python3-bs4 (4.12.3-1) ... Setting up cppman (0.5.6+dfsg-1) ... /usr/lib/python3/dist-packages/cppman/formatter/cppreference.py:47: SyntaxWarning: invalid escape sequence '\[' '^(.*?)(\[(?:(?:since|until) )?C\+\+\d+\]\s*(,\s*)?)+$', head) /usr/lib/python3/dist-packages/cppman/formatter/cppreference.py:115: SyntaxWarning: invalid escape sequence '\s' lambda x: re.sub('\s*</span><span>\s*', r', ', x.group(0)), re.S), /usr/lib/python3/dist-packages/cppman/formatter/tableparser.py:147: SyntaxWarning: invalid escape sequence '\^' fd.write('\^%s' % ('|' if i < total - 1 else '')) /usr/lib/python3/dist-packages/cppman/main.py:126: SyntaxWarning: invalid escape sequence '\.' self.add_url_filter('\.(jpg|jpeg|gif|png|js|css|swf|svg)$') /usr/lib/python3/dist-packages/cppman/main.py:396: SyntaxWarning: invalid escape sequence '\s' if re.match("\s*Type\s*", tds[0].get_text()): /usr/lib/python3/dist-packages/cppman/main.py:399: SyntaxWarning: invalid escape sequence '\s' res = re.search('^\s*(\S*)\s+.*$', tds[0].get_text()) /usr/lib/python3/dist-packages/cppman/main.py:417: SyntaxWarning: invalid escape sequence '\S' res = re.search('^.* (\S+)\s*=.*$', text) /usr/lib/python3/dist-packages/cppman/main.py:430: SyntaxWarning: invalid escape sequence '\S' res = re.search('^.* (\S+)\s*=.*$', text) /usr/lib/python3/dist-packages/cppman/main.py:580: SyntaxWarning: invalid escape sequence '\(' pat = re.compile('(.*?)(%s)(.*?)( \(.*\))?$' % Processing triggers for man-db (2.12.0-4build2) ... Scanning processes... Scanning linux images... Running kernel seems to be up-to-date. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. ** Affects: cppman (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2152111 Title: cppman produces errors during installation on noble To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cppman/+bug/2152111/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
