Opened 2 years ago

Last modified 2 years ago

#50737 new defect

Can't install camlimages (libcxx)

Reported by: Gravarty@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: snowleopard Cc: ryandesign (Ryan Schmidt), mojca (Mojca Miklavec)
Port: camlimages, tiff

Description

Everytime i try to install (libcxx variant:universal) the installation stops at:

Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_camlimages/camlimages/work/camlspotter-camlimages-c803efa9d5d3" && omake all --verbose INCLUDES="/opt/local/include" LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -m64' CFLAGS='-Os -arch x86_64' CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 SUPPORT_LABLGTK2=false 
Exit code: 1
Error: org.macports.build for port camlimages returned: command execution failed
Warning: targets not executed for camlimages: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Failed to install camlimages
Please see the log file for port camlimages for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_camlimages/camlimages/main.log
Error: The following dependencies were not installed: camlimages texlive-basic texlive-bin harfbuzz-icu libzzip mpfr poppler openjpeg15 poppler-data potrace texlive-common xorg-libXaw groff netpbm libnetpbm texinfo xorg-libXmu xorg-libXi xorg-libXfixes xorg-fixesproto xorg-libXp xorg-printproto xorg-libXinerama xorg-xineramaproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port advi failed

OS: OS X Snow Leopard 10.6.8

Attachments (1)

main.log (76.7 KB) - added by Gravarty@… 2 years ago.

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by Gravarty@…

Attachment: main.log added

comment:1 Changed 2 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:2 Changed 2 years ago by mf2k (Frank Schima)

Keywords: snowleopard added
Owner: changed from macports-tickets@… to reilles@…
Port: camlimages added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers camlimages), if any.

comment:3 Changed 2 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Port: tiff added

The error in the log is:

:info:build /opt/local/include/tiff.h:77: error: redefinition of typedef ‘int64’
:info:build /opt/local/lib/ocaml/caml/config.h:119: error: previous declaration of ‘int64’ was here
:info:build /opt/local/include/tiff.h:78: error: redefinition of typedef ‘uint64’
:info:build /opt/local/lib/ocaml/caml/config.h:120: error: previous declaration of ‘uint64’ was here

It seems wrong that either tiff or caml should be allowed to claim the int64 and uint64 types. Same problem observed with tiff and opencv in #38168.

It may just be that tiff is declaring the type wrong. The upstream bug has a patch by someone, which I haven't evaluated yet.

comment:4 Changed 2 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:5 Changed 2 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from reilles@… to macports-tickets@…
Note: See TracTickets for help on using tickets.