Summary: | media-libs/libsndfile-1.0.25: fails tests with python-3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Palimaka (kensington) <kensington> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | emeric.maschino, gentoo, quantheory, ziebell_marco |
Priority: | Normal | Keywords: | InVCS, PATCH, PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/erikd/libsndfile/commit/6cc206055e770f3bc68f35e0feaec7ba4a07846e | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
libsndfile-1.0.25-python3.patch libsndfile-1.0.25-python3.patch |
Description
Michael Palimaka (kensington)
2011-12-23 17:29:27 UTC
Created attachment 296765 [details, diff]
libsndfile-1.0.25-python3.patch
Looks like that patch will make tests fail when python2 is the system default... Alternatively: --- src/binheader_writef_check.py.org 2011-01-19 11:24:46.000000000 +0100 +++ src/binheader_writef_check.py 2011-12-23 18:40:16.974947986 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # Copyright (C) 2006-2011 Erik de Castro Lopo <erikd@mega-nerd.com> # (In reply to comment #2) > Looks like that patch will make tests fail when python2 is the system > default... Should all be backwards-compatible, still passes with patch & python-2 here. Comment on attachment 296765 [details, diff]
libsndfile-1.0.25-python3.patch
...except it breaks gold.
Created attachment 296769 [details, diff]
libsndfile-1.0.25-python3.patch
Revised patch in order to play nice with python-2, python-3, ld-bfd & ld-gold.
If it's fixed upstream, I'd just make the ebuild use python-any-r1 and request proper Python version instead. *** Bug 443600 has been marked as a duplicate of this bug. *** This one's fixed in 1.0.25-r1, pmasked currently. 1.0.25-r1 is stable and 1.0.26 is in tree which contains the fix upstream. |