[MacPorts] #61375: ispell failing to build: implicit declaration of function 'ioctl' is invalid in C99

MacPorts noreply at macports.org
Mon Oct 26 04:08:02 UTC 2020


#61375: ispell failing to build: implicit declaration of function 'ioctl' is
invalid in C99
------------------------------+--------------------
 Reporter:  bernardkelly      |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.6.3
 Keywords:  ispell C99 ioctl  |       Port:  ispell
------------------------------+--------------------
 Hi. Doing a port upgrade outdated on my Catalina (MacOS 10.15.7) machine,
 and the ispell upgrade failed. I uninstalled & cleaned the port, and tried
 to install it again, with the same result.
 Here's where I see the error (I'm attaching the full log to this ticket):

 {{{
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_textproc_ispell/ispell/work/ispell-3.4.00'
 :info:build chmod +x tryaffix
 :info:build /usr/bin/clang -O -c term.c
 :info:build term.c:225:9: error: implicit declaration of function 'ioctl'
 is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build     if (ioctl (0, TIOCGWINSZ, (char *) &wsize) >= 0)
 :info:build         ^
 :info:build 1 error generated.
 :info:build term.c wouldn't compile.  Try inverting USG in local.h
 :info:build make: *** [term.o] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_textproc_ispell/ispell/work/ispell-3.4.00'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_textproc_ispell/ispell/work/ispell-3.4.00" &&
 /usr/bin/make -w all
 :info:build Exit code: 2
 :error:build Failed to build ispell: command execution failed
 :debug:build Error code: CHILDSTATUS 77505 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 }}}

 I don't see any maintainer for this port, so I can't CC them.

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


More information about the macports-tickets mailing list