[MacPorts] #71206: python313 fails to build: error: static assertion failed: "assuming large file"

MacPorts noreply at macports.org
Wed Oct 30 21:12:10 UTC 2024


#71206: python313 fails to build: error: static assertion failed: "assuming large
file"
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  (none)
  barracuda156           |
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.2
Resolution:              |   Keywords:  tiger, leopard, snowleopard,
      Port:  python313   |  powerpc
-------------------------+-------------------------------------------------
Changes (by barracuda156):

 * keywords:  tiger, leopard, powerpc => tiger, leopard, snowleopard,
               powerpc


Comment:

 Ok, just for the record, redefining as such does not yet work, since:
 {{{
 ./Modules/posixmodule.c: In function 'os_fstatvfs_impl':
 ./Modules/posixmodule.c:13350:30: error: passing argument 2 of 'fstatfs'
 from incompatible pointer type [-Wincompatible-pointer-types]
 13350 |         result = fstatfs(fd, &st);
       |                              ^~~
       |                              |
       |                              struct statfs64 *
 In file included from ./Modules/posixmodule.c:61:
 /usr/include/sys/mount.h:360:22: note: expected 'struct statfs *' but
 argument is of type 'struct statfs64 *'
   360 | int     fstatfs(int, struct statfs *) __DARWIN_INODE64(fstatfs);
       |                      ^~~~~~~~~~~~~~~
 ./Modules/posixmodule.c: In function 'os_statvfs_impl':
 ./Modules/posixmodule.c:13404:36: error: passing argument 2 of 'fstatfs'
 from incompatible pointer type [-Wincompatible-pointer-types]
 13404 |         result = fstatfs(path->fd, &st);
       |                                    ^~~
       |                                    |
       |                                    struct statfs64 *
 /usr/include/sys/mount.h:360:22: note: expected 'struct statfs *' but
 argument is of type 'struct statfs64 *'
   360 | int     fstatfs(int, struct statfs *) __DARWIN_INODE64(fstatfs);
       |                      ^~~~~~~~~~~~~~~
 }}}

 Thanks for testing i386, I cannot check that now.

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


More information about the macports-tickets mailing list