Opened 4 years ago

Last modified 3 years ago

#41434 new defect

magicpoint @1.13a - fatal error: ' X11 .rules' file not found

Reported by: peter@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: diekhans (Mark Diekhans), cooljeanius (Eric Gallager), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: magicpoint

Description (last modified by mf2k (Frank Schima))

Magicpoint fails to compile. The build stops during imake with. Strangely, this appears to be the same as #34972 and #34503 (submitted by me 5/18/12), only now with OS X 10.9 and Xcode 5.0.2.

configure: creating ./config.status
config.status: creating Imakefile
config.status: creating image/Imakefile
config.status: creating sample/Imakefile
config.status: creating contrib/mgp2html.pl
config.status: creating contrib/mgp2latex.pl
config.status: creating contrib/mgpnet
config.status: creating mgpembed.pl
be sure to generate Makefile from Imakefile, by xmkmf and make Makefiles
imake -DUseInstalled -I/opt/local/lib/X11/config
In file included from Imakefile.c:15:
/opt/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .rules' file not found
#include ProjectRulesFile
         ^
/opt/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from macro 'ProjectRulesFile'
# define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
                                        ^
/opt/local/lib/X11/config/Imake.rules:256:23: note: expanded from macro 'Concat3'
#define Concat3(a,b,c)a/**/b/**/c
                      ^
1 error generated.
imake: Exit code 1.
  Stop.
Command failed: /opt/local/bin/xmkmf && make Makefiles
Exit code: 1
Error: org.macports.configure for port magicpoint returned: command execution failed
Warning: targets not executed for magicpoint: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port magicpoint for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_magicpoint/magicpoint/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port magic point failed

Attachments (1)

tightvnc.main.log (67.2 KB) - added by mf2k (Frank Schima) 4 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 follow-up: Changed 4 years ago by ryandesign (Ryan Schmidt)

Ok, this is the issue where clang does not work as a C preprocessor for imake; until magicpoint is fixed to not use imake, we need to use GCC's cpp instead.

comment:2 Changed 4 years ago by ryandesign (Ryan Schmidt)

We had encountered this problem before in #34503 but were unable to reproduce it. It's now re-appearing because in Xcode 5, clang is the only included compiler.

comment:3 follow-up: Changed 4 years ago by mf2k (Frank Schima)

  • Keywords mavericks added
  • Port tightvnc added

I see the exact same error in trying to build tightvnc on Mavericks.

comment:4 Changed 4 years ago by mf2k (Frank Schima)

  • Cc macsforever2000@… added

Cc Me!

Changed 4 years ago by mf2k (Frank Schima)

comment:5 Changed 4 years ago by mf2k (Frank Schima)

  • Description modified (diff)

comment:6 in reply to: ↑ 3 Changed 4 years ago by ryandesign (Ryan Schmidt)

  • Port tightvnc removed

Replying to macsforever2000@…:

I see the exact same error in trying to build tightvnc on Mavericks.

This ticket is for magicpoint. #40862 is for tightvnc.

comment:7 Changed 4 years ago by peter@…

I see that the port file changed, but the problem persists. Sorry if you already knew this, but thought I'd report.

comment:8 Changed 4 years ago by diekhans (Mark Diekhans)

  • Cc markd@… added

Cc Me!

comment:9 Changed 4 years ago by diekhans (Mark Diekhans)

  • Cc markd@… removed

Cc Me!

comment:10 Changed 4 years ago by diekhans (Mark Diekhans)

  • Cc markd@… added

Cc Me!

comment:11 Changed 4 years ago by diekhans (Mark Diekhans)

  • Cc markd@… removed

Cc Me!

comment:12 Changed 4 years ago by diekhans (Mark Diekhans)

  • Cc markd@… added

Cc Me!

comment:13 in reply to: ↑ 1 Changed 4 years ago by cooljeanius (Eric Gallager)

Replying to 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...

comment:14 Changed 4 years ago by cooljeanius (Eric Gallager)

  • Cc egall@… added

Cc Me!

comment:15 Changed 4 years ago by mf2k (Frank Schima)

  • Cc macsforever2000@… removed

comment:16 Changed 3 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

  • Cc mcalhoun@… added

Cc Me!

Note: See TracTickets for help on using tickets.