Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#65461 closed defect (fixed)

py-ujson @5.4.0: build fails

Reported by: amake (Aaron Madlon-Kay) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-ujson

Description

Please see attached log

Attachments (1)

log (13.2 KB) - added by amake (Aaron Madlon-Kay) 2 years ago.

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by amake (Aaron Madlon-Kay)

Attachment: log added

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: reneeotten removed
Owner: set to reneeotten
Status: newassigned

Is this with the 7.0.4_1 revision of py310-setuptools_scm?

comment:2 Changed 2 years ago by amake (Aaron Madlon-Kay)

The log I posted was from one of the official builders, which all failed it seems with py310-setuptools_scm @7.0.4_0 based on the date.

On my machine I get a different error with @7.0.4_1:

:debug:build system:  cd "/opt/local/var/macports/build/_Users_amake_Code_MacPorts_python_py-ujson/py310-ujson/work/ujson-5.4.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_Users_amake_Code_MacPorts_python_py-ujson/py310-ujson/work -j8 
:info:build usage: python -m build [-h] [--version] [--sdist] [--wheel] [--outdir OUTDIR] [--skip-dependency-check] [--no-isolation]
:info:build                        [--config-setting CONFIG_SETTING]
:info:build                        [srcdir]
:info:build python -m build: error: unrecognized arguments: -j8

comment:3 Changed 2 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In 1ce839dba9ede62aa77a9db3e702e1d6a73cb754/macports-ports (master):

py-ujson: add missing build dependency

Closes: #65461

comment:4 Changed 2 years ago by amake (Aaron Madlon-Kay)

The fix above doesn't address my local build error (unrecognized arguments: -j8). Any ideas about that?

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

I don't think py-ujson actually needs to depend on py-toml. The initial problem in this ticket was the missing dependency in py-setuptools_scm, which was #65437. The "unrecognized arguments" error is something else.

comment:6 Changed 2 years ago by jmroot (Joshua Root)

Do you have any local modifications to the py-ujson Portfile, python portgroup, or base? I don't see anything that would add a -j option when using pep517.

Note: See TracTickets for help on using tickets.