[MacPorts] #71805: mysql57 @5.7.44 does not build on PPC Leopard, Mac OS X 10.5.8, because of error: 'EVFILT_USER' undeclared

MacPorts noreply at macports.org
Fri Jan 10 11:48:01 UTC 2025


#71805: mysql57 @5.7.44 does not build on PPC Leopard, Mac OS X 10.5.8, because of
error: 'EVFILT_USER' undeclared
-------------------------+---------------------
 Reporter:  ballapete    |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.10.5
 Keywords:  leopard ppc  |       Port:  mysql57
-------------------------+---------------------
 {{{
 [  7%] Building C object mysys/CMakeFiles/mysys.dir/kqueue_timers.c.o
 cd
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build/mysys
 && /opt/local/bin/gcc-mp-14 -DBOOST_GEOMETRY_SQRT_CHECK_FINITENESS
 -DHAVE_CONFIG_H -DHAVE_TLSv13
 -I/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build/include
 -I/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/extra/rapidjson/include
 -I/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build/libbinlogevents/include
 -I/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/libbinlogevents/export
 -I/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/include
 -I/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/mysys
 -isystem /opt/local/include -fPIC -fabi-version=2 -fno-omit-frame-pointer
 -fno-strict-aliasing -ffp-contract=off -pipe
 -I/opt/local/libexec/openssl3/include -Os -Wall -Wextra -Wformat-security
 -Wvla -Wimplicit-fallthrough=2 -Wwrite-strings -Wdeclaration-after-
 statement -ffunction-sections -fdata-sections -DNDEBUG -arch ppc -mmacosx-
 version-min=10.5   -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include/LegacySupport -MD -MT
 mysys/CMakeFiles/mysys.dir/kqueue_timers.c.o -MF
 CMakeFiles/mysys.dir/kqueue_timers.c.o.d -o
 CMakeFiles/mysys.dir/kqueue_timers.c.o -c
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/mysys/kqueue_timers.c
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/mysys/kqueue_timers.c:
 In function 'timer_notify_thread_func':
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/mysys/kqueue_timers.c:77:28:
 error: 'EVFILT_USER' undeclared (first use in this function); did you mean
 'EVFILT_FS'?
    77 |     else if (kev.filter == EVFILT_USER)
       |                            ^~~~~~~~~~~
       |                            EVFILT_FS
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/mysys/kqueue_timers.c:77:28:
 note: each undeclared identifier is reported only once for each function
 it appears in
 In file included from
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/mysys/kqueue_timers.c:30:
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/mysys/kqueue_timers.c:
 In function 'start_helper_thread':
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.44/mysys/kqueue_timers.c:99:19:
 error: 'EVFILT_USER' undeclared (first use in this function); did you mean
 'EVFILT_FS'?
    99 |   EV_SET(&kev, 0, EVFILT_USER, EV_ADD, 0, 0, 0);
       |                   ^~~~~~~~~~~
 make[2]: *** [mysys/CMakeFiles/mysys.dir/kqueue_timers.c.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build'
 make[1]: *** [mysys/CMakeFiles/mysys.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build'
 }}}

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


More information about the macports-tickets mailing list