Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 658052

Summary: media-libs/libffado-2.4.0 : Checking for a working C-compiler TypeError : sequence item 0: expected str instance, bytes found
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Hector Martin <marcan>
Status: RESOLVED FIXED    
Severity: normal CC: proaudio, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/8975
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 659226    
Bug Blocks: 635934    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-libs:libffado-2.4.0:20180613-112823.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-06-13 16:26:54 UTC
 *   LDFLAGS = -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed

Checking for a working C-compiler TypeError : sequence item 0: expected str instance, bytes found
 * ERROR: media-libs/libffado-2.4.0::gentoo failed (compile phase):
 *   escons failed.
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_libressl_20180608-234334

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv media-libs/libffado
[ebuild  N    ] media-libs/libffado-2.4.0  USE="-debug -qt5 -test-programs" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 

!!! The following installed packages are masked:
- x11-proto/fixesproto-5.0-r2::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Turner <mattst88@gentoo.org> (10 Jun 2018)
# Packages combined into x11-base/xorg-proto. All reverse deps transitioned.
# Removal in 30 days. Bug #656250

- x11-proto/glproto-1.4.17-r2::gentoo (masked by: package.mask)
- x11-proto/xf86bigfontproto-1.2.0-r2::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-06-13 16:26:56 UTC
Created attachment 535784 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-06-13 16:26:59 UTC
Created attachment 535788 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-06-13 16:27:02 UTC
Created attachment 535790 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-06-13 16:27:05 UTC
Created attachment 535792 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-06-13 16:27:08 UTC
Created attachment 535794 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-06-13 16:27:11 UTC
Created attachment 535796 [details]
media-libs:libffado-2.4.0:20180613-112823.log
Comment 7 Toralf Förster gentoo-dev 2018-06-13 16:27:14 UTC
Created attachment 535798 [details]
temp.tbz2
Comment 8 Hector Martin 2018-06-13 18:18:23 UTC
I assume this is with dev-util/scons-3.0.1-r100 (python3). There are some fishy instances of b"" strings in the SConstruct file, will test further tomorrow.
Comment 9 Hector Martin 2018-06-26 09:58:17 UTC
Looking at this now.
Comment 10 Hector Martin 2018-06-26 10:35:20 UTC
This is definitely a SCons bug. Filing upstream. In the meantime, the workaround is to disable CacheDir. I'll bump to 2.4.1 and patch that in for now.
Comment 11 Larry the Git Cow gentoo-dev 2018-06-26 12:24:50 UTC
The bug has been closed via the following commit(s):

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

commit 5400bbb794231bb0b77f070229af2f3d95632323
Author:     Hector Martin <marcan@marcan.st>
AuthorDate: 2018-06-26 11:12:15 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-06-26 12:24:36 +0000

    media-libs/libffado: 2.4.1 version bump and work around SCons bug
    
    Closes: https://bugs.gentoo.org/658052
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/8975

 media-libs/libffado/Manifest                       |   1 +
 .../files/libffado-2.4.1-python3-scons-fix.patch   |  24 +++++
 media-libs/libffado/libffado-2.4.1.ebuild          | 113 +++++++++++++++++++++
 3 files changed, 138 insertions(+)