#17146 closed defect (wontfix)
teTeX 3.0_5 build error on fresh MacPorts 1.6.0 install
Reported by: | graablaa@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: |
Description
'port install tetex' on fresh MacPorts install on Mac OS X Version 10.5.5 fails.
It appears that at some point the command line options for libtool contains a path containing a space, like this: "-L/usr/X11R6 1/lib", to which libtool complains about the "1/lib" part.
Grepping the unpacked source code I found the problem at line 212 of:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/tetex-src-3.0/texk/xdvik/Makefile
I couldn't figure out how to escape the space (backslash+space and quoting not working), so I worked around it by symlinking /usr/X11R6\ 1 to /usr/X11R6.1 and editing the line in the Makefile accordingly.
After that tetex installed fine and works perfectly.
Anyway, here's the log from retrying to install tetex after the error first occurred.
Macintosh-2:~ johnqmacuser$ sudo port install tetex ---> Building teTeX with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/tetex-src-3.0" && make all " returned error 2 Command output: cd man && make DESTDIR="" all make[2]: Nothing to be done for `all'. cd include && make DESTDIR="" all cd ncurses && make DESTDIR="" all make[2]: Nothing to be done for `all'. making all in utils/dialog make[1]: Nothing to be done for `all'. making all in texk cd ./kpathsea && make CC='/usr/bin/gcc-4.0' CFLAGS='-O2 ' LDFLAGS='-L/opt/local/lib ' prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local exec_prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local bindir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/bin scriptdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/bin libdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/lib datadir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share infodir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/info includedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/include mandir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/man manext=1 man1dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/man/man1 texmf=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf web2cdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c vartexfonts=/var/tmp/texfonts texinputdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/tex mfinputdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/metafont mpinputdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/metapost fontdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/fonts fmtdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c/tex basedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c/metafont memdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c/metapost texpooldir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c mfpooldir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c mppooldir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c dvips_plain_macrodir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/tex/plain/dvips dvilj_latex2e_macrodir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/tex/latex/dvilj dvipsdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/dvips psheaderdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/dvips default_texsizes='300:600' make[2]: Nothing to be done for `default'. for d in web2c afm2pl bibtex8 cjkutils detex devnag dtl dvi2tty dvidvi dviljk dvipdfm dvipng dvipsk gsftopk lacheck makeindexk musixflx odvipsk ps2pkm seetexk tetex tex4htk texlive ttf2pk tth xdvik; do if test -f $d/Makefile; then \ (cd $d && make CC='/usr/bin/gcc-4.0' CFLAGS='-O2 ' LDFLAGS='-L/opt/local/lib ' prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local exec_prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local bindir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/bin scriptdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/bin libdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/lib datadir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share infodir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/info includedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/include mandir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/man manext=1 man1dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/man/man1 texmf=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf web2cdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c vartexfonts=/var/tmp/texfonts texinputdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/tex mfinputdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/metafont mpinputdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/metapost fontdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/fonts fmtdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c/tex basedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c/metafont memdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c/metapost texpooldir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c mfpooldir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c mppooldir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/web2c dvips_plain_macrodir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/tex/plain/dvips dvilj_latex2e_macrodir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/tex/latex/dvilj dvipsdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/dvips psheaderdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_teTeX/work/destroot/opt/local/share/texmf/dvips default_texsizes='300:600' all) || exit 1; else true; fi; done cd man && make all make[3]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. cd gui; make CC='/usr/bin/gcc-4.0' CFLAGS='-O2 ' libgui.a make[3]: `libgui.a' is up to date. /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -o xdvi-xaw.bin -L/opt/local/lib browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o ./gui/libgui.a ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a -L/usr/X11R6 1/lib -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -lX11 -liconv -lXpm ../kpathsea/libkpathsea.la -lm /usr/bin/gcc-4.0 -o xdvi-xaw.bin browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o 1/lib -L/opt/local/lib ./gui/libgui.a ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a -L/usr/X11R6 -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -liconv -lXpm -lX11 -lXau -lXdmcp ../kpathsea/.libs/libkpathsea.a -lm i686-apple-darwin9-gcc-4.0.1: 1/lib: No such file or directory make[2]: *** [xdvi-xaw.bin] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 Error: Status 1 encountered during processing.
Change History (3)
comment:1 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This is a problem that has cropped up every now and again.
It is documented in the ProblemHotlist.