Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#59425 closed defect (fixed)

py37-pyobjc: ValueError: invalid literal for int() with base 10: ''

Reported by: pietvo (Pieter van Oostrum) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: macdeport
Port: py-pyobjc

Description

Upgrading or installing py37-pyobjc version 5.3 fails.

In setup.py the following line fails.

CFLAGS.append("-DPyObjC_BUILD_RELEASE=%02d%02d"%( tuple(map(int, get_sdk_level(self.sdk_root).split('.')))))
:info:destroot ValueError: invalid literal for int() with base 10: ''

Attachments (3)

main.log (504.0 KB) - added by pietvo (Pieter van Oostrum) 5 years ago.
log file
main.2.log (35.6 KB) - added by macdeport 5 years ago.
log
main.3.log (36.7 KB) - added by macdeport 5 years ago.
main.log <= py37-pyobjc-quartz-6.1_0.darwin_14.x86_64.tbz2

Download all attachments as: .zip

Change History (11)

Changed 5 years ago by pietvo (Pieter van Oostrum)

Attachment: main.log added

log file

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Port: py-pyobjc added; py37-pyobjc removed

comment:2 Changed 5 years ago by macdeport

Cc: macdeport added

comment:3 Changed 5 years ago by macdeport

Cc: macdeport removed

comment:4 Changed 5 years ago by macdeport

Cc: macdeport added

py37-pyobjc: build ---> OK
py37-pyobjc-cocoa: build ---> OK
py37-pyobjc-quartz: build ---> fails

:msg:archivefetch --->  Attempting to fetch py37-pyobjc-quartz-5.3_0.darwin_14.x86_64.tbz2 from https://packages.macports.org/py37-pyobjc-quartz
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py37-pyobjc-quartz-5.3_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/py37-pyobjc-quartz
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py37-pyobjc-quartz-5.3_0.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py37-pyobjc-quartz
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 5 years ago by macdeport

Attachment: main.2.log added

log

comment:5 Changed 5 years ago by pietvo (Pieter van Oostrum)

For me, changeset:a8e89f36dd6/macports-ports solved this issue for py37-pyobc. However, py37-pyobjc-cocoa has the same issue, and it is not solved with the corresponding commit (b6d4b3fe8aa). I'll create a new ticket for that.

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Failed to destroot py37-pyobjc: command execution failedpy37-pyobjc: ValueError: invalid literal for int() with base 10: ''

comment:7 Changed 5 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Changed 5 years ago by macdeport

Attachment: main.3.log added

main.log <= py37-pyobjc-quartz-6.1_0.darwin_14.x86_64.tbz2

comment:8 in reply to:  7 Changed 5 years ago by macdeport

Replying to jmroot: Still error with 6.1_0 version

:info:archivefetch --->  py37-pyobjc-quartz-6.1_0.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch py37-pyobjc-quartz-6.1_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/py37-pyobjc-quartz
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py37-pyobjc-quartz-6.1_0.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py37-pyobjc-quartz
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py37-pyobjc-quartz-6.1_0.darwin_14.x86_64.tbz2 from https://packages.macports.org/py37-pyobjc-quartz
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri Nov 22 23:34:48 CET 2019
:notice:fetch --->  Fetching distfiles for py37-pyobjc-quartz

But perfectly OK with py37-pyobjc-quartz 5.3_0 < 6.1_1 update...

Last edited 5 years ago by macdeport (previous) (diff)
Note: See TracTickets for help on using tickets.