Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61180 closed defect (fixed)

duplicity @0.8.15 fails to build

Reported by: khinsen (Konrad Hinsen) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: duplicity

Description

System info:

:debug:sysinfo macOS 10.14 (darwin/18.7.0) arch i386
:debug:sysinfo MacPorts 2.6.3
:debug:sysinfo Xcode 11.3.1
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14

Error message from port install duplicity:

--->  Building duplicity
Error: Failed to build duplicity: command execution failed

See attached log for the details. The error message in the log file is:

:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/installer.py", line 83, in fetch_build_egg
:info:build     raise DistutilsError('the `allow-hosts` option is not supported '
:info:build distutils.errors.DistutilsError: the `allow-hosts` option is not supported when using pip to install requirements.

Attachments (1)

main.log (116.7 KB) - added by khinsen (Konrad Hinsen) 4 years ago.
Build log

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by khinsen (Konrad Hinsen)

Attachment: main.log added

Build log

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Port: duplicity added
Summary: duplicity 0.8.15 fails to buildduplicity @0.8.15 fails to build

This means duplicity depends on some python module that has not been declared as a dependency in the duplicity port. We need to identify what module that is and add the dependency.

comment:2 Changed 4 years ago by iefdev (Eric F)

This built fine for me when I updated it a few weeks back, but I got the same err now.

Can you try edit the portfile and change:

-depends_build-append    port:py${python.version}-setuptools \
+depends_build-append    port:py${python.version}-setuptools_scm \

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 03efd456d9e3a076c95485a476eba587086dd4cc/macports-ports (master):

duplicity: Add py-setuptools_scm build dependency

Closes: #61180

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

From setup.py, it requires both setuptools and setuptools_scm:

    setup_requires=[
        u"setuptools",
        u"setuptools_scm",
        ],

comment:5 in reply to:  3 Changed 4 years ago by iefdev (Eric F)

Replying to ryandesign:

In 03efd456d9e3a076c95485a476eba587086dd4cc/macports-ports

You're too fast. :–) Had a PR I had to close again.

comment:6 Changed 4 years ago by khinsen (Konrad Hinsen)

Works fine - thanks a lot!

Note: See TracTickets for help on using tickets.