Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676608 - dev-python/setuptools-40.7.0: TypeError: output_dir must be a string or None
Summary: dev-python/setuptools-40.7.0: TypeError: output_dir must be a string or None
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virgil Dupras (RETIRED)
URL:
Whiteboard:
Keywords:
: 676606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-27 22:14 UTC by Toralf Förster
Modified: 2019-01-29 01:05 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.16 KB, text/plain)
2019-01-27 22:14 UTC, Toralf Förster
Details
dev-python:pillow-5.4.1:20190127-220359.log (dev-python:pillow-5.4.1:20190127-220359.log,4.40 KB, text/plain)
2019-01-27 22:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,25.06 KB, text/plain)
2019-01-27 22:15 UTC, Toralf Förster
Details
environment (environment,116.10 KB, text/plain)
2019-01-27 22:15 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.84 KB, application/x-bzip)
2019-01-27 22:15 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.13 KB, application/x-bzip)
2019-01-27 22:15 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 2019-01-27 22:14:54 UTC
  File "/usr/lib64/python2.7/distutils/ccompiler.py", line 329, in _setup_compile
    raise TypeError, "'output_dir' must be a string or None"
TypeError: 'output_dir' must be a string or None
 * ERROR: dev-python/pillow-5.4.1::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl_20190127-101048

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





emerge -qpvO dev-python/pillow
[ebuild  N    ] dev-python/pillow-5.4.1  USE="jpeg lcms tiff truetype zlib -doc -examples -imagequant -jpeg2k -test -tk -webp" PYTHON_TARGETS="python2_7 python3_6 -pypy -python3_4 -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2019-01-27 22:14:57 UTC
Created attachment 563032 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-27 22:15:00 UTC
Created attachment 563034 [details]
dev-python:pillow-5.4.1:20190127-220359.log
Comment 3 Toralf Förster gentoo-dev 2019-01-27 22:15:03 UTC
Created attachment 563036 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-01-27 22:15:06 UTC
Created attachment 563038 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-01-27 22:15:09 UTC
Created attachment 563040 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-27 22:15:11 UTC
Created attachment 563042 [details]
temp.tbz2
Comment 7 Virgil Dupras (RETIRED) gentoo-dev 2019-01-27 22:21:06 UTC
This is very probably related to setuptools which I've just bumped today to 40.7.0. Will look into it soon.
Comment 8 Virgil Dupras (RETIRED) gentoo-dev 2019-01-27 22:22:12 UTC
*** Bug 676606 has been marked as a duplicate of this bug. ***
Comment 9 Virgil Dupras (RETIRED) gentoo-dev 2019-01-27 22:30:52 UTC
Oh well, trial by fire. The first time I attempt bumping setuptools, it breaks everything. It seems that any package that compiles anything is broken. I've tried with numpy and it's the same thing. I'm reverting the bump.
Comment 10 Larry the Git Cow gentoo-dev 2019-01-27 22:34:10 UTC
The bug has been referenced in the following commit(s):

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

commit 5524ddb7021e80934133b87551e593ac377014b2
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-01-27 22:32:11 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-01-27 22:33:12 +0000

    Revert "dev-python/setuptools: bump to 40.7.0"
    
    This reverts commit aa1d23476375ca12f3afc702c2aaa20e2fe73952.
    
    Bug: https://bugs.gentoo.org/676608
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>

 dev-python/setuptools/Manifest                 |  1 -
 dev-python/setuptools/setuptools-40.7.0.ebuild | 71 --------------------------
 2 files changed, 72 deletions(-)
Comment 11 Virgil Dupras (RETIRED) gentoo-dev 2019-01-28 01:13:49 UTC
It appears that the problem is upstream (whew, it wasn't due to a gross error on my part...). Opened a ticket upstream. Meanwhile, I think we should avoid 40.7.0.
Comment 12 Larry the Git Cow gentoo-dev 2019-01-29 01:05:45 UTC
The bug has been closed via the following commit(s):

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

commit c9615b2f95d367ab3819e421f92d755cb83d9d9f
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-01-29 01:05:31 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-01-29 01:05:31 +0000

    dev-python/setuptools: bump to 40.7.1
    
    Closes: https://bugs.gentoo.org/676608
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/setuptools/Manifest                 |  1 +
 dev-python/setuptools/setuptools-40.7.1.ebuild | 71 ++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)