Opened 4 years ago
Closed 3 years ago
#66028 closed defect (fixed)
coreutils fails to build due to apparent path recursion
| Reported by: | rmottola (Riccardo) | Owned by: | mascguy (Christopher Nielsen) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | khepler, cwoffenden (Carl Woffenden) | |
| Port: | coreutils |
Description
I get something like this:
Error: Failed to configure coreutils: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.1/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3/confdir3: file name too long
I remember seeing that, but it went away years ago... changing compiler has no effect, it must be the make files somehow.
Attachments (1)
Change History (8)
Changed 4 years ago by rmottola (Riccardo)
| Attachment: | coreutils.log added |
|---|
comment:1 Changed 4 years ago by rmottola (Riccardo)
comment:2 Changed 4 years ago by jmroot (Joshua Root)
| Owner: | set to mascguy |
|---|---|
| Status: | new → assigned |
comment:3 Changed 4 years ago by khepler
| Cc: | khepler added |
|---|
comment:4 Changed 4 years ago by cwoffenden (Carl Woffenden)
| Cc: | cwoffenden added |
|---|
comment:5 Changed 4 years ago by barracuda156
I get this error on 10.6 PPC. But coreutils-devel install fine.
comment:6 Changed 3 years ago by rmottola (Riccardo)
I hacked a little and found that applying https://trac.macports.org/ticket/62994 does not work.
However, I was able to fix by still patching configure this way:
/* Leaving behind such a deep directory is not polite.
So clean up here, right away, even though the driving
shell script would also clean up. */
{
size_t i;
/* Try rmdir first, in case the chdir failed. */
rmdir -rf (DIR_NAME);
for (i = 0; i <= n_chdirs; i++)
{
if (chdir ("..") < 0)
break;
if (rmdir (DIR_NAME) != 0)
break;
}
}
Please note the "-rf" i added in the first rmdir.
it helps the cleanup.
comment:7 Changed 3 years ago by kencu (Ken)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

I wonder if this is related to:
https://trac.macports.org/ticket/62994
the path is not the same, but it still spits out "no space left on the device" as kind of recursion