Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18316 closed defect (invalid)

texlive fails to build while trying to install dirac

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

Description

sudo port -v install dirac

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

Warning: the following items did not execute (for texlive_base): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: texlive texlive_base

As a result FFMpeg-devel does not build. In the first time, I would prefer to disable FFmpeg-devel dirac dependency. Here is patch disactivating dirac in FFmpeg-devel.

Attachments (2)

patch-ffmpegdevel.diff (698 bytes) - added by jm@… 16 years ago.
patch-ffmpegdevel-1.diff (668 bytes) - added by jm@… 16 years ago.
Better patch, tested. Works.

Download all attachments as: .zip

Change History (14)

Changed 16 years ago by jm@…

Attachment: patch-ffmpegdevel.diff added

comment:1 Changed 16 years ago by jm@…

I really don't understand what is going on and why FFMpeg-devel breaks during texlive and texlive_base compilation.

Changed 16 years ago by jm@…

Attachment: patch-ffmpegdevel-1.diff added

Better patch, tested. Works.

comment:2 Changed 16 years ago by jm@…

Ffmpeg-devel requires dirac which requires texlive_base. The most urgent issue is to preserve FFmpeg-devel compilation and to apply my patch. Then we can wait and fix dirac. But please apply my patch on ffmpeg-devel.

comment:3 Changed 16 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: newclosed

Dirac works for me. The problem that you are having is with the building of texlive (which requires texlive_base). This is a know problem that has been recently fixed (this weekend). Please make sure you have updated (sync/svn) your ports to the latest revision. Then try installing texlive_base directly. If you succeed there then you can proceed with the rest. See #18166.

comment:4 Changed 16 years ago by dbevans (David B. Evans)

Port: texlive added
Summary: Dirac does not compiletexlive fails to build while trying to install dirac

comment:5 Changed 16 years ago by jm@…

Dear Devans,

The problem was not fixed. After sync, still does not compile. So please deactivate libdirac until it is fixed. See my message in the other thread.

comment:6 Changed 16 years ago by dbevans (David B. Evans)

I'd suggest trying

sudo port clean texlive-base

and trying again.

However, this problem does not appear to be a problem with dirac itself and therefore there is not need to disable it in ffmpeg. You can always do this in your own personal copy if you want to work around the problem while you figure out what is wrong with texlive_base. If you are absolutely sure that the problem you are having is not fixed by the recent changes to texlive_base you should take it up on ticket #18166 if you think it is the same problem but not yet fixed or a new ticket if you think it is a different problem..

comment:7 Changed 16 years ago by jm@…

This is not ffmpeg but ffmpeg-devel. It is completely different.

dirac library was added hours ago, it is brand new. Because of dirac, ffmpeg-devel is broken and a bunch of people are stuck at kdenlive.org

I tried to upgrade, of course.

For proof, here is a list of commands: sudo port selfupdate

MacPorts base version 1.700 installed Downloaded MacPorts base version 1.700

The MacPorts installation is not outdated so it was not updated

sudo port clean texlive-base Error: Port texlive-base not found

sudo port -v install texlive-base results in ...

comment:8 Changed 16 years ago by jm@…

Sorry:

sudo port clean texlive_base ---> Cleaning texlive_base

sudo port -v install texlive_base ---> Fetching texlive_base ---> Verifying checksum(s) for texlive_base ---> Checksumming texlive_base-2007-src.tar.bz2 ---> Extracting texlive_base ---> Extracting texlive_base-2007-src.tar.bz2

....

Seems to work. Sorry for the confusion.

comment:9 Changed 16 years ago by dbevans (David B. Evans)

My error -- I typed the name wrong. Glad it's working for you.

comment:10 Changed 16 years ago by jm@…

After a huge compilation it failed: /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 mkdir .libs /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

Warning: the following items did not execute (for texlive_base): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.

Please reopen. Please remove dependencies to DIRAC, as it will break ffmpeg-devel.

I am going to bed. It is 23:52 in Paris and I am tired of all this.

comment:11 Changed 16 years ago by jm@…

This morning, same commands. texlive_base builds again. This is quite frustrating, but this is a happy ending. Kind regards, Jean-Michel

comment:12 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.