Opened 11 years ago

Closed 9 years ago

#21671 closed defect (fixed)

advi build failure

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc: MartinBuchmann (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 (1)

advi.log (167.2 KB) - added by nerdling (Jeremy Lavergne) 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by nerdling (Jeremy Lavergne)

Attachment: advi.log added

comment:1 Changed 11 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 11 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:3 Changed 10 years ago by MartinBuchmann (Martin Buchmann)

Cc: Martin.Buchmann@… added

Cc Me!

comment:4 Changed 10 years ago by jmroot (Joshua Root)

Cc: snc@… removed

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

comment:5 Changed 9 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

1.10.2 seems to build fine.

Note: See TracTickets for help on using tickets.