Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18242 closed defect (duplicate)

texlive_base build fails with "Multiple definitions of symbol" errors

Reported by: ozak@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: alakazam@…
Port: texlive

Description (last modified by blb@…)

I'm trying to use macports to install octave and I have the following two problems.

  1. The program downloads and installs a whole bunch of stuff, some of which I already have, e.g. texlive, X11. I'm not sure why.
  2. Once it downloads texlive-base, the installation fails giving the following message:
    --->  Building texlive_base
    Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007" && make all " returned error 2
    Command output: 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/lib   -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -lXpm -lX11 -liconv  ../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  -L/opt/local/lib ./gui/libgui.a ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -lXpm -lintl -lc -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/libkpathsea.a -lm
    /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _XtRemoveTimeOut
    events.o definition of _XtRemoveTimeOut in section (__TEXT,__text)
    /opt/local/lib/libXt.dylib(NextEvent.o) definition of _XtRemoveTimeOut
    /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _XtAddTimeOut
    events.o definition of _XtAddTimeOut in section (__TEXT,__text)
    /opt/local/lib/libXt.dylib(NextEvent.o) definition of _XtAddTimeOut
    /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _XtAppAddTimeOut
    events.o definition of _XtAppAddTimeOut in section (__TEXT,__text)
    /opt/local/lib/libXt.dylib(NextEvent.o) definition of _XtAppAddTimeOut
    /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: multiple definitions of symbol _hash_create
    /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libc.dylib(strhash.So) definition of _hash_create
    ../kpathsea/.libs/libkpathsea.a(hash.o) definition of _hash_create in section (__TEXT,__text)
    /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _vendorShellWidgetClass
    /opt/local/lib/libXaw.dylib(single module) definition of _vendorShellWidgetClass
    /opt/local/lib/libXt.dylib(Vendor.o) definition of _vendorShellWidgetClass
    /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _vendorShellClassRec
    /opt/local/lib/libXaw.dylib(single module) definition of _vendorShellClassRec
    /opt/local/lib/libXt.dylib(Vendor.o) definition of _vendorShellClassRec
    collect2: ld returned 1 exit status
    make[2]: *** [xdvi-xaw.bin] Error 1
    make[1]: *** [all] Error 1
    make: *** [all] Error 1
    
    Error: The following dependencies failed to build: texlive texlive_base
    Error: Status 1 encountered during processing.
    

I appreciate any help.

Change History (4)

comment:1 in reply to:  description Changed 16 years ago by blb@…

Description: modified (diff)

Replying to ozak@…:

  1. The program downloads and installs a whole bunch of stuff, some of which I already have, e.g. texlive, X11. I'm not sure why.

If you mean you have these items installed outside of MacPorts, that is by design; see the FAQ entry.

  1. Once it downloads texlive-base, the installation fails giving the following message:

That error would appear to be the same as in ticket #18166.

comment:2 Changed 16 years ago by alakazam@…

Cc: alakazam@… added

Cc Me!

comment:3 Changed 16 years ago by alakazam@…

Keywords: octave texlive removed
Port: texlive added; octave removed
Resolution: duplicate
Status: newclosed
Summary: octave install failstexlive_base build fails with "Multiple definitions of symbol" errors

As indicated by blb, this is a duplicate of #18166.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.