From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 48339@debbugs.gnu.org
Subject: [bug#48339] Attempt to fix missing dependencies for python-oslo.i18n failed with "too many heap sections"
Date: Mon, 10 May 2021 21:34:05 +0000 [thread overview]
Message-ID: <CAO+9K5pOhtMNyTUkADa6F5_mW1wZyzCbWTKocWTn8PJqR1jkAw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2511 bytes --]
Hi Guix team!
Package python-oslo.i18n is broken to build in upstream
--8<---------------cut here---------------start------------->8---
starting phase `check'
running "python setup.py" with command "test" and parameters ()
running test
Searching for bandit>=1.1.0
Reading https://pypi.org/simple/bandit/
/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/dist.py:45:
DistDeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DistDeprecationWarning)
Download error on https://pypi.org/simple/bandit/: [Errno -2] Name or
service not known -- Some packages may not be found!
Couldn't find index page for 'bandit' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Download error on https://pypi.org/simple/: [Errno -2] Name or service
not known -- Some packages may not be found!
No local packages or working download links found for bandit>=1.1.0
error: Could not find suitable distribution for
Requirement.parse('bandit>=1.1.0')
command "python" "-c" "import setuptools,
tokenize;__file__='setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\\r\\n',
'\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed
with status 1
builder for `/gnu/store/ld9s5i13f8ja235nmr05fh7z837f51kw-python-oslo.i18n-3.20.0.drv'
failed with exit code 1
build of /gnu/store/ld9s5i13f8ja235nmr05fh7z837f51kw-python-oslo.i18n-3.20.0.drv
failed
View build log at
'/var/log/guix/drvs/ld/9s5i13f8ja235nmr05fh7z837f51kw-python-oslo.i18n-3.20.0.drv.bz2'.
guix build: error: build of
`/gnu/store/ld9s5i13f8ja235nmr05fh7z837f51kw-python-oslo.i18n-3.20.0.drv'
failed
--8<---------------cut here---------------end--------------->8---
My attempt to updte the package and add missing test dependencies was
failed with other issue:
--8<---------------cut here---------------start------------->8---
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS Aborted
--8<---------------cut here---------------end--------------->8---
I tried to apply this changes
--
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
[-- Attachment #2: 0001-oslo.i18n.patch --]
[-- Type: text/x-patch, Size: 1503 bytes --]
From 0cf4299c07138b0c5d6003a2d4dd459d6361aac1 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Mon, 10 May 2021 22:32:20 +0100
Subject: [PATCH] oslo.i18n
---
gnu/packages/openstack.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 54df08863e..a0193c2787 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -457,14 +457,14 @@ pipeline and used by various modules such as logging.")
(define-public python-oslo.i18n
(package
(name "python-oslo.i18n")
- (version "3.20.0")
+ (version "5.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "oslo.i18n" version))
(sha256
(base32
- "0kjcdw4bk3mi4vqmqwhhq053kxbbbj05si6nwxd1pzx33z067ky3"))))
+ "0nq3dr2kbrawqvp9q9i8i44z9jliq98i2b9h4dsl6p7p60gbg11l"))))
(build-system python-build-system)
(propagated-inputs
`(("python-babel" ,python-babel)
@@ -474,7 +474,9 @@ pipeline and used by various modules such as logging.")
;; Tests
("python-mock" ,python-mock)
("python-mox3" ,python-mox3)
+ ("python-bandit" ,python-bandit)
("python-oslotest" ,python-oslotest)
+ ("python-oslo.config" ,python-oslo.config)
("python-testscenarios" ,python-testscenarios)))
(home-page "https://launchpad.net/oslo")
(synopsis "Oslo internationalization (i18n) library")
--
2.31.1
next reply other threads:[~2021-05-10 21:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-10 21:34 Sharlatan Hellseher [this message]
2024-02-08 18:32 ` bug#48339: Attempt to fix missing dependencies for python-oslo.i18n failed with "too many heap sections" Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAO+9K5pOhtMNyTUkADa6F5_mW1wZyzCbWTKocWTn8PJqR1jkAw@mail.gmail.com \
--to=sharlatanus@gmail.com \
--cc=48339@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).