[MacPorts] #63603: bison @3.8.2 does not build on PPC Leopard with GCC 4.2 because confdir-14B---: file name too long

MacPorts noreply at macports.org
Mon Nov 1 20:56:02 UTC 2021


#63603: bison @3.8.2  does not build on PPC Leopard with GCC 4.2 because confdir-
14B---: file name too long
------------------------+----------------------
  Reporter:  ballapete  |      Owner:  mascguy
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.1
Resolution:             |   Keywords:  leopard
      Port:  bison      |
------------------------+----------------------

Comment (by ballapete):

 My "splendid" patch for the conftest programme fails on Tiger. First I had
 to change in the fprintf() statement on line #401 the %lu for TARGET_LEN
 to %d, but still no writing to my file. Then I found when I run the
 conftest programme as a mortal user it creates a directory hierarchy of
 almost 300 levels, which is close to the `desired depth` when TARGET_LEN
 is 5120. To remove this tree it's necessary to move the directory at
 around the 50. level to some other name in the current working directory,
 say "a". And then work on the a tree the same to create b. And so on.
 Interestingly `mv` does not seem to be limited to a path name length of
 1024 characters. This extremely deep tree can be removed by an `rm -rf
 confdir-14B---/ [a-g]`…

-- 
Ticket URL: <https://trac.macports.org/ticket/63603#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list