[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
Sun Oct 24 22:39:35 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):

 The statenebt on lines #28 and #29 uses the values 5120 for TARGET_LEN,
 154 for initial_cwd_len and 15 for (sizeof dir_name). The resulting
 desired_depth is 331. `configure` is able to create the "confdir-14B---"
 subdirectory and a depth of 57 "confdir-14B---" levels. If I make
 `desired_depth` to equal 57 then the directory hierarchy can be
 successfully removed and it is still found:

 {{{
 checking whether getcwd succeeds when 4k < cwd_length < 16k... yes
 }}}

 The resulting `lib/config.h` is still the same as before.

 I determined `desired_depth` by outputting its value into a file from the
 `conftest` programme and also by couting the directories in "confdir-
 14B---". The patch file will be added.

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


More information about the macports-tickets mailing list