[MacPorts] #70350: Provide fgetattrlist via legacysupport

MacPorts noreply at macports.org
Wed Jul 10 06:57:41 UTC 2024


#70350: Provide fgetattrlist via legacysupport
--------------------------+---------------------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.3
 Keywords:                |       Port:  legacysupport, ruby
--------------------------+---------------------------------
 Is there any reason why `legacysupport` provides `fsetattrlist` but not
 `fgetattrlist`? This seems to break ruby with gcc14, since configure check
 misdetects `fgetattrlist` as being available, while it is not present in
 `/usr/include/unistd.h`. I think this is because of `legacysupport`, and
 `autoconf` making a wrong assumption that one implies another
 automatically.

 Ruby introduced a check here:
 https://github.com/ruby/ruby/commit/ddf1f59df5fbff6c659177bc36e161b2ae285d5f

 If possible, it is desirable to provide `fgetattrlist` via
 `legacysupport`. If it is not possible, then we should find a way to not
 use `legacysupport` during configure stage of Ruby. (A temporary fix could
 be to set `ac_cv_func_fgetattrlist=no` manually, but it is clearly
 suboptimal.)

-- 
Ticket URL: <https://trac.macports.org/ticket/70350>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list