[MacPorts] #41434: magicpoint @1.13a - fatal error: ' X11 .rules' file not found
MacPorts
noreply at macports.org
Fri Jan 14 16:01:44 UTC 2022
#41434: magicpoint @1.13a - fatal error: ' X11 .rules' file not found
-------------------------+--------------------------------
Reporter: d0wntime | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: fixed | Keywords: mavericks
Port: magicpoint |
-------------------------+--------------------------------
Comment (by cooljeanius):
Replying to [comment:17 ryandesign]:
> Replying to [comment:13 cooljeanius]:
> > Replying to [comment:1 ryandesign@…]:
> > > Ok, this is the issue where clang does not work as a C preprocessor
for imake...
> > ...which apparently has a fix in #42547, so that might fix this, as
well...
>
> Yes!
Now I get a different error when trying to build magicpoint, though:
{{{
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_magicpoint/magicpoint/work/magicpoint-1.13a"
&& /usr/bin/make -j1 -w all EXTRA_LIBRARIES=-L/opt/local/lib
DEBUG: system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_magicpoint/magicpoint/work/magicpoint-1.13a"
&& /usr/bin/make -j1 -w all EXTRA_LIBRARIES=-L/opt/local/lib
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_magicpoint/magicpoint/work/magicpoint-1.13a'
/usr/bin/cc -o ./ctlwords ./ctlwords.c
./ctlwords.c:28:1: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
main(int argc, char *argv[])
^
./ctlwords.c:40:24: error: implicitly declaring library function 'isalnum'
with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
for (q = p; *q && (isalnum(*q) ||
*q=='_'); q++)
^
./ctlwords.c:40:24: note: include the header <ctype.h> or explicitly
provide a declaration for 'isalnum'
./ctlwords.c:47:2: error: implicitly declaring library function 'exit'
with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-
function-declaration]
exit(0);
^
./ctlwords.c:47:2: note: include the header <stdlib.h> or explicitly
provide a declaration for 'exit'
1 warning and 2 errors generated.
make: *** [ctlwords.h] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_magicpoint/magicpoint/work/magicpoint-1.13a'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_magicpoint/magicpoint/work/magicpoint-1.13a"
&& /usr/bin/make -j1 -w all EXTRA_LIBRARIES=-L/opt/local/lib
Exit code: 2
Error: Failed to build magicpoint: command execution failed
DEBUG: Error code: CHILDSTATUS 30155 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41434#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list