Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #9196 (assigned defect)

Opened 2 years ago

Last modified 10 months ago

BUG: Can't build teTeX - teTeX or openmotif problem?

Reported by: ghenshaw@… Owned by: gwright@…
Priority: Normal Milestone: Port Bugs
Component: ports Version:
Keywords: Cc: mww@…, yves@…, mdugdale@…, gwright@…
Port:

Description

I can't get teTeX to build; it chokes when including /opt/local/include/Xm/Xm.h, which is an openmotif file.

$ sudo port clean --all teTeX ---> Cleaning teTeX $ sudo port upgrade teTeX ---> Fetching teTeX ---> Attempting to fetch tetex-src-3.0.tar.gz from ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/ ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/ ---> Verifying checksum(s) for teTeX ---> Extracting teTeX ---> Configuring teTeX ---> Building teTeX with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_print_teTeX/work/tetex-src-3.0" && make all" returned error 2 Command output: t1funcs.c: In function 'Type1OpenScalable': t1funcs.c:242: warning: pointer targets in passing argument 2 of 'fontfcnB' differ in signedness gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c t1info.c -o t1info.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c t1io.c -o t1io.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c t1snap.c -o t1snap.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c t1stub.c -o t1stub.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c token.c -o token.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c type1.c -o type1.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c util.c -o util.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c bstring.c -o bstring.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c ps2pk.c -o ps2pk.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c encoding.c -o encoding.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c pkout.c -o pkout.o /bin/sh ../libtool --mode=link gcc -o ps2pk arith.o curves.o fontfcn.o hints.o lines.o objects.o paths.o regions.o scanfont.o spaces.o t1funcs.o t1info.o t1io.o t1snap.o t1stub.o token.o type1.o util.o bstring.o basics.o ps2pk.o encoding.o pkout.o filenames.o ../kpathsea/libkpathsea.la -lm gcc -o ps2pk arith.o curves.o fontfcn.o hints.o lines.o objects.o paths.o regions.o scanfont.o spaces.o t1funcs.o t1info.o t1io.o t1snap.o t1stub.o token.o type1.o util.o bstring.o basics.o ps2pk.o encoding.o pkout.o filenames.o ../kpathsea/.libs/libkpathsea.a -lm make[2]: Nothing to be done for `all'. cd gui; make CC='gcc' CFLAGS='-g -O2 ' libgui.a gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -W -Wall -Wunused -I.. -I./.. -I/opt/local/include -I/usr/X11R6/include -DPS_GS -DXSERVER_INFO -g -O2 -c help-window.c -o help-window.o In file included from /opt/local/include/Xm/Xm.h:2094,

from ../xdvi.h:772, from help-window.c:29:

/opt/local/include/Xm/XmIm.h:104: error: parse error before 'XmImGetXICResetState' /opt/local/include/Xm/XmIm.h:105: warning: type defaults to 'int' in declaration of 'XmImGetXICResetState' /opt/local/include/Xm/XmIm.h:105: warning: data definition has no type or storage class help-window.c: In function 'show_help': help-window.c:1081: warning: implicit declaration of function 'XBell' make[3]: *** [help-window.o] Error 1 make[2]: *** [libguibuild] Error 2 make[1]: *** [all] Error 1 make: *** [all] Error 1

Error: Unable to upgrade port: 1

Change History

Changed 2 years ago by gwright@…

  • owner changed from darwinports-bugs@… to gwright@…

I'll take a look. teTeX depends on X11 (if you don't want it use the +no_x11 variant), but I didn't think it should use openmotif.

-Greg

Changed 2 years ago by ghenshaw@…

With openmotif deactivated, teTeX builds fine for me.

Changed 2 years ago by gwright@…

  • cc mdugdale@… added

*** Bug 9147 has been marked as a duplicate of this bug. ***

Changed 2 years ago by gwright@…

  • status changed from new to assigned

Changed 2 years ago by mww@…

  • cc mww@…, yves@… added

perhaps we should use $prefix/include/openmotif as base-include-dir for openmotif instead of just $prefix/include? Unfortunately ~20 ports currently depend on the current directory, which means a bit of an effort...

Changed 13 months ago by nox@…

  • cc mww@…, yves@… added; mww@…, yves@… removed
  • priority changed from Expected to Normal
  • summary changed from Can't build teTeX - teTeX or openmotif problem? to BUG: Can't build teTeX - teTeX or openmotif problem?
  • version 1.2 deleted
  • milestone set to Port Bugs

Changed 10 months ago by ryandesign@…

  • cc gwright@… added
Note: See TracTickets for help on using tickets.