#58786 closed defect (fixed)
libgpod 0.8.3_1+python27: failed to build: "error renaming "/opt/local/.../libgpod/work/destroot/opt/local/lib/python2.7": no such file or directory"
Reported by: | juliangilbey (Julian Gilbey) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ||
Port: | libgpod |
Description
I tried building this port, but I'm getting the error message:
error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libgpod/libgpod/work/destroot/opt/local/lib/python2.7": no such file or directory
This has appeared in previous bug reports, but I do have swig-python installed, so that's not the cause. Hmmm.
The named directory has the following contents:
libgpod.4.dylib libgpod.a libgpod.dylib libgpod.la pkgconfig
There is a python2.7 in destroot, but it's in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libgpod/libgpod/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib
Note that /opt/local/bin/python2.7 symlinks to /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7, so this seems eminently reasonable.
I'm not sure how to solve this strange problem.
Attachments (1)
Change History (4)
Changed 5 years ago by juliangilbey (Julian Gilbey)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
The post-destroot block in the Portfile is trying to move the files from ${prefix}/lib/python2.7 to the proper framework location. But it looks like they're already there.
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Build log