[MacPorts] #62994: various ports fail to install on Leopard due to gnulib issue: /confdir-14B---: No space left on device
MacPorts
noreply at macports.org
Sat Mar 16 11:58:02 UTC 2024
#62994: various ports fail to install on Leopard due to gnulib issue: /confdir-
14B---: No space left on device
-------------------------------------------+----------------------
Reporter: kencu | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard
Port: m4 bison findutils coreutils |
-------------------------------------------+----------------------
Comment (by ballapete):
In `m4` the `configure` script removes all scrap from the test on lines
#36417 and #36418. Just before line #36417 one can insert a line like
{{{
cp -v conftest.c /var/tmp/TestDirDepth.c
}}}
to safe the test programme for further use in order to examine some
aspects of Mac OS X. I did that on `Mac OS X 10.4.11, PPC Tiger`. It was
compiled this way (recorded in `config.log`; search for the text string
"4k"):
{{{
/opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc
-I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names
-arch ppc conftest.c
}}}
Now C programmers could extend the code, make the programme output which
is its current working directory in the for loop and how long the pathname
has grown, make it output what it tries to remove from where before it
enters the while loop. And reporting the return value of this first
`rmdir()` call. By running it from a directory whose name is made longer
by one character (or digit) every time before launching it, we can make it
fail at some instance, i.e. leave that `confdir-14B---` directory tree
because it has become too long for `rm` (or `rmdir()`?) to remove the
whole tree. It might work better by adding a routine that reads that
subdirectory name from command line, or that creates in another loop
automatically new temporary names with growing length to accelerate the
tests, to fail without human interference.
The `PPC Leopard, Mac OS X 10.5.8` version will be delivered some time in
the near future, when upgrading MacPorts on Tiger will have finished (and
also reporting new bugs, `npth 1.7`).
--
Ticket URL: <https://trac.macports.org/ticket/62994#comment:84>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list