Opened 5 years ago
Closed 3 years ago
#59001 closed defect (worksforme)
py27-cryptography fails to upgrade
Reported by: | schnide (Joe Schnide) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | reneeotten (Renee Otten) | |
Port: | py-cryptography |
Description (last modified by mf2k (Frank Schima))
I had 1.4.2_3 installed and just tried to upgrade, fails at building:
schnide3:~ root# port clean py27-cryptography ---> Cleaning py27-cryptography schnide3:~ root# port -u upgrade py27-cryptography ---> Computing dependencies for py27-cryptography ---> Fetching archive for py27-cryptography ---> Attempting to fetch py27-cryptography-2.7_1.darwin_17.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/py27-cryptography ---> Attempting to fetch py27-cryptography-2.7_1.darwin_17.x86_64.tbz2 from https://packages.macports.org/py27-cryptography ---> Attempting to fetch py27-cryptography-2.7_1.darwin_17.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/py27-cryptography ---> Fetching distfiles for py27-cryptography ---> Verifying checksums for py27-cryptography ---> Extracting py27-cryptography ---> Configuring py27-cryptography ---> Building py27-cryptography Error: Failed to build py27-cryptography: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-cryptography/py27-cryptography/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug.
main.log attached
Attachments (2)
Change History (11)
Changed 5 years ago by schnide (Joe Schnide)
comment:1 Changed 5 years ago by mf2k (Frank Schima)
In the future, please use WikiFormatting and add the port maintainer(s) to Cc (port info --maintainers py27-cryptography
), if any.
comment:2 Changed 5 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | set to stromnov |
Port: | py-cryptography added; py27-cryptography removed |
Status: | new → assigned |
comment:3 Changed 5 years ago by mf2k (Frank Schima)
Error is:
:info:build distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pycparser')
comment:4 Changed 5 years ago by schnide (Joe Schnide)
Apologies for not being a wiki formatting guru, will attempt to do better next time.
I was able to upgrade the package so this can be close. Many thanks!
comment:5 follow-up: 8 Changed 5 years ago by michael-j-oconnor
I'm having the same issue -- same failure, similar-looking main.log (see attached). How did you get the package upgraded?
comment:6 Changed 5 years ago by reneeotten (Renee Otten)
michael-j-oconnor: your problem is different as the log file shows:
:info:build sysroot = compiler_so[idx+1] :info:build IndexError: list index out of range
that problem should ideally be resolved with a recent commit that changes the Python PortGroup. Can you please do:
sudo port selfupdate sudo port clean --all py*-cryptography sudo port install py27-cryptography
to see if the issue is resolved?
If that doesn't resolve the problem, it might be that there is a missing a missing dependency on py-pycparser
. It seems to me though that py-crpytography
does not declare such a dependency; of course it might be missing in the dependency list of one of its dependencies. If needed, we can take a look at that after you've tried the first step.
comment:7 Changed 5 years ago by reneeotten (Renee Otten)
Cc: | reneeotten added |
---|
comment:8 Changed 3 years ago by reneeotten (Renee Otten)
Replying to michael-j-oconnor:
I'm having the same issue -- same failure, similar-looking main.log (see attached). How did you get the package upgraded?
@michael-j-oconnor: is it fair to assume that since there was no comment on this ticket for the last 20 months that this can be considered resolved?
comment:9 Changed 3 years ago by reneeotten (Renee Otten)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
closing due to inactivity and the port builds fine on all systems (link)
main.log