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

Bug 702196

Summary: app-crypt/certbot-1.0.0 - python3.5: can't open file 'setup.py': [Errno 2] No such file or directory
Product: Gentoo Linux Reporter: Nico Baggus <mlspamcb>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nico Baggus 2019-12-06 21:19:03 UTC
The Missing S= line means the wrong directory is sources for certbot. 
(The certbot moved down in the tree).


if [[ ${PV} == 9999* ]]; then
    EGIT_REPO_URI="https://github.com/certbot/certbot.git"
    inherit git-r3
else
    SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
    KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
    S=${WORKDIR}/certbot-${PV}/certbot
fi


Reproducible: Always

Steps to Reproduce:
1.emerge -1 =app-crypt/certbot-1.0.0
2.
3.
Actual Results:  
Relevant Output is:

 * Package:    app-crypt/certbot-1.0.0
 * Repository: gentoo
 * Maintainer: prometheanfire@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_5 python_targets_python3_6 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * python3_5: running distutils-r1_run_phase distutils-r1_python_compile
python3.5 setup.py build -j 5
python3.5: can't open file 'setup.py': [Errno 2] No such file or directory
 * ERROR: app-crypt/certbot-1.0.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 2862:  Called distutils-r1_src_compile
 *   environment, line  964:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  469:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2410:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1789:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1787:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  671:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  955:  Called distutils-r1_python_compile
 *   environment, line  823:  Called esetup.py 'build' '-j' '5'
 *   environment, line 1333:  Called die


Expected Results:  
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-crypt/certbot-1.0.0::gentoo
>>> Installing (1 of 1) app-crypt/certbot-1.0.0::gentoo
Comment 1 Nico Baggus 2019-12-06 21:23:10 UTC
Also other dns-related packages are available:
certbot-dns-rfc2136-1.0.0   
certbot-dns-standalone-9999

See also: https://bugs.gentoo.org/646298
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2019-12-07 17:54:36 UTC
f104e8f23c8a7f4503b998333d38207fcbd7bc29 and c590d3756fce5715dffc6de05c2ab22f1c1dad57 fixed it yesterday, should have made the tarball time but it's fixed in master at least