Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#42455 closed defect (duplicate)

py-backports wont install

Reported by: erik@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: py-backports

Description

See attached log file.

Attachments (1)

py-backports-main.log (3.9 KB) - added by erik@… 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by erik@…

Attachment: py-backports-main.log added

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

Owner: changed from macports-tickets@… to stromnov@…
Port: py-backports added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers py-backports).

comment:2 Changed 10 years ago by stromnov (Andrey Stromnov)

It's very strange. Looks like problem with python distutils or macports itself. Do you have something customised in your system (additional hdd partitions, fusion drive, non-system Tcl 8.5, low free space on HDD or something else)?

comment:3 Changed 10 years ago by erik@…

Sorry for that macsforever2000.

Nothing custom that I can find or think of. No Time Machine, no fusion drive, no extra partitions, got 40GB free, tclsh 8.4 och 8.5 installed.

comment:4 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: duplicate
Status: newclosed
:info:build creating build
:info:build error: could not create 'build': Operation not permitted
:info:build Command failed:  cd "/opt/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-backports/py27-backports/work/backports" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
:info:build Exit code: 1

Duplicate of #39850; your /opt/local is a symlink to /usr/local. (Note the build path.)

Edit your macports.conf and set “prefix” and “portdbpath” to the canonical paths.

comment:5 Changed 10 years ago by larryv (Lawrence Velázquez)

Also note that it’s an extremely bad idea to have MacPorts installed or symlinked to /usr/local, as third-party software often places files there. We will not support this configuration.

comment:6 Changed 10 years ago by erik@…

Right. Thanks, I had a problem before with another program/sourcecode (not from macports), so I had to move local/ and symlink it. All good, I symlinked it the other way around now, hehehe, hopefully I don't encounter any problems that way.

Works now! Thanks larryv!

Note: See TracTickets for help on using tickets.