New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21671 (closed defect: fixed)

Opened 4 years ago

Last modified 14 months ago

advi build failure

Reported by: snc@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc: Martin.Buchmann@…
Port: advi

Description

Error: Files /opt/local/lib/ocaml/graphics.cmxa
       and /opt/local/lib/ocaml/graphics.cmxa
       both define a module named Graphics
make: *** [advi.bin] Error 2

Attachments

advi.log (167.2 KB) - added by snc@… 4 years ago.

Change History

Changed 4 years ago by snc@…

comment:1 Changed 4 years ago by david.ojeda@…

Just a workaround that might help. I just erased one "graphics.cmxa" from the command line that fails. Go to the compilation directory

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_advi/work/advi-1.6.0

And run the compilation line that failed before, without the extra "graphics.cmxa" (I did this as root)

ocamlopt.opt -warn-error A -inline 10000 -I /opt/local/lib/ocaml/camlimages events.o grwm.o grY11.o graphics.cmxa unix.cmxa str.cmxa ci_core.cmxa graphics.cmxa ci_graphics.cmxa ci_freetype.cmxa ci_gif.cmxa ci_jpeg.cmxa ci_tiff.cmxa ci_bmp.cmxa ci_ppm.cmxa ci_png.cmxa ci_xvthumb.cmxa ci_xpm.cmxa ci_ps.cmxa config.cmx misc.cmx timeout.cmx ageometry.cmx options.cmx rc.cmx userfile.cmx graphicsY11.cmx global_options.cmx busy.cmx gradient.cmx gterm.cmx launch.cmx dvicolor.cmx shot.cmx laser_pointer.cmx symbol.cmx input.cmx table.cmx pkfont.cmx ttfont.cmx jfm.cmx search.cmx font.cmx glyph.cmx devfont.cmx units.cmx dimension.cmx dvi.cmx drawimage.cmx gs.cmx transimpl.cmx embed.cmx grdev.cmx addons.cmx scratch.cmx cdvi.cmx driver.cmx thumbnails.cmx dviview.cmx main.cmx \
                 -cclib -lgraphics -cclib -lunix -cclib -lstr -cclib -L/opt/local/lib -cclib -lSM -cclib -lICE -cclib -lXinerama -cclib -lXext -cclib -lX11 -o advi.bin

Afterwards, try again the port command

sudo port install advi

comment:2 Changed 4 years ago by snc@…

  • Cc snc@… added

Cc Me!

comment:3 Changed 3 years ago by Martin.Buchmann@…

  • Cc Martin.Buchmann@… added

Cc Me!

comment:4 Changed 2 years ago by jmr@…

  • Cc snc@… removed

Can't test this currently because camlimages fails to build (#27712).

comment:5 Changed 14 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

1.10.2 seems to build fine.

Note: See TracTickets for help on using tickets.