Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836608 - dev-python/pysnmp-4.4.12-r1 - ValueError: invalid literal for int() with base 10: post20220401
Summary: dev-python/pysnmp-4.4.12-r1 - ValueError: invalid literal for int() with base...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 836676
  Show dependency tree
 
Reported: 2022-04-01 18:00 UTC by Toralf Förster
Modified: 2022-05-04 04:30 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.34 KB, text/plain)
2022-04-01 18:00 UTC, Toralf Förster
Details
dev-python:pysnmp-4.4.12-r1:20220401-173706.log (dev-python:pysnmp-4.4.12-r1:20220401-173706.log,3.14 KB, text/plain)
2022-04-01 18:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,154.60 KB, text/plain)
2022-04-01 18:00 UTC, Toralf Förster
Details
environment (environment,125.83 KB, text/plain)
2022-04-01 18:00 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.53 KB, application/x-bzip)
2022-04-01 18:00 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.70 KB, application/x-bzip)
2022-04-01 18:00 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 2022-04-01 18:00:18 UTC
  File "/var/tmp/portage/dev-python/pysnmp-4.4.12-r1/work/pysnmp-4.4.12/setup.py", line 66, in <module>
    observed_version = [int(x) for x in setuptools.__version__.split('.')]
  File "/var/tmp/portage/dev-python/pysnmp-4.4.12-r1/work/pysnmp-4.4.12/setup.py", line 66, in <listcomp>
    observed_version = [int(x) for x in setuptools.__version__.split('.')]
ValueError: invalid literal for int() with base 10: 'post20220401'
 * ERROR: dev-python/pysnmp-4.4.12-r1::gentoo failed (compile phase):
 *   (no error message)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20220331-020015

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 14.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.0
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 11105c617e80819802f52f6c49ad1cd8d04d24fb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 1 16:34:39 2022 +0000

    2022-04-01 16:34:37 UTC

emerge -qpvO dev-python/pysnmp
[ebuild  N    ] dev-python/pysnmp-4.4.12-r1  USE="-doc -examples" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-04-01 18:00:19 UTC
Created attachment 768433 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-01 18:00:20 UTC
Created attachment 768434 [details]
dev-python:pysnmp-4.4.12-r1:20220401-173706.log
Comment 3 Toralf Förster gentoo-dev 2022-04-01 18:00:22 UTC
Created attachment 768435 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-01 18:00:23 UTC
Created attachment 768436 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-01 18:00:24 UTC
Created attachment 768437 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-01 18:00:25 UTC
Created attachment 768438 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-05-02 03:46:33 UTC
The bug has been closed via the following commit(s):

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

commit d42498a6ef8cd0776f8d6c164eed724319c3da10
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-02 03:45:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-02 03:46:27 +0000

    dev-python/pysnmp: fix build with newer setuptools; fix runtime w/ Python 3.10+
    
    Closes: https://bugs.gentoo.org/836608
    Signed-off-by: Sam James <sam@gentoo.org>

 .../pysnmp/files/pysnmp-4.4.12-python310.patch     | 36 ++++++++++++++++
 .../files/pysnmp-4.4.12-setuptools-version.patch   | 20 +++++++++
 dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild          | 49 ++++++++++++++++++++++
 3 files changed, 105 insertions(+)