#12356 closed defect (fixed)
BUG: coreutils-6.9 fails to stage into destroot
Reported by: | vdham@… | Owned by: | jmpalacios (Juan Manuel Palacios) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | pipping@… | |
Port: |
Description
Currently the build process fails with the rather cryptic message:
---> Staging coreutils into destroot Error: Target org.macports.destroot returned: no such file or directory Error: Status 1 encountered during processing.
Upon further investigation, using the -debug option, I found the following in ports/sysutils/coreutils/Portfile:
post-destroot { delete ${destroot}${prefix}/share/info/dir \ ${destroot}${prefix}/lib/charset.alias if {[variant_isset with_default_names]} { foreach d {bin share/man/man1} { cd ${destroot}${prefix}/$d foreach a [glob g*] { regexp g(.+) $a dummy b file link -hard $b g$b } } } }
The file ${destroot}${prefix}/share/info/dir does not seem to get created during the build process. I do not know why the delete statement is there, but the obvious fix seems to remove that.
A simple workaround for the time being is to start the build process, wait for it to fail, then issue:
touch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_coreutils/work/destroot/opt/local/share/info/dir
and try again.
Change History (3)
comment:1 Changed 17 years ago by nox@…
Cc: | pipping@… added |
---|---|
Milestone: | → Port Bugs |
Priority: | Expected → Normal |
Version: | 1.5.0 |
comment:2 Changed 17 years ago by afb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Added check in r28388