Opened 8 years ago

Closed 8 years ago

#50982 closed defect (invalid)

openjpeg @2.1.0: error: unsupported platform

Reported by: andrzejsemeniuk@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: openjpeg

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I get "unsupported platform" error when installing openjpeg in log while trying to install ImageMagick:

:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_openjpeg/openjpeg/work/build/src/lib/openjp2 && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -Dopenjp2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_openjpeg/openjpeg/work/build/src/lib/openjp2  -pipe -Os  -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -fPIC   -o CMakeFiles/openjp2.dir/bio.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_openjpeg/openjpeg/work/openjpeg-2.1.0/src/lib/openjp2/bio.c
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_openjpeg/openjpeg/work/openjpeg-2.1.0/src/lib/openjp2/t1_generate_luts.c:39:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_openjpeg/openjpeg/work/openjpeg-2.1.0/src/lib/openjp2/opj_includes.h:139:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_openjpeg/openjpeg/work/openjpeg-2.1.0/src/lib/openjp2/opj_inttypes.h:44:2: error: unsupported platform
:info:build #error unsupported platform
:info:build  ^

Attachments (1)

main.log (18.3 KB) - added by andrzejsemeniuk@… 8 years ago.
log file of command: sudo port install imagemagick

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by andrzejsemeniuk@…

Attachment: main.log added

log file of command: sudo port install imagemagick

comment:1 Changed 8 years ago by andrzejsemeniuk@…

open_jpeg ... not open_jpen

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

Description: modified (diff)
Keywords: openjpeg platform removed
Owner: changed from macports-tickets@… to mcalhoun@…
Port: openjpeg added; imagemagick removed
Summary: openjpen won't install on Mac OS 10.11.4 El Capitanopenjpeg @2.1.0: error: unsupported platform

Please clean and try again and attach a complete main.log file.

comment:3 Changed 8 years ago by andrzejsemeniuk@…

I do

%sudo port clean
%sudo port clean --archive --dist --logs

and get the following. Perhaps you could instruct me how to execute the clean command correctly. I already did %sudo port uninstall inactive

Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/xxxxxxxx").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.

comment:4 Changed 8 years ago by andrzejsemeniuk@…

Still unresolved as of today.

comment:5 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Status: newassigned

When the instructions say to clean the port that failed, you must include the port name:

sudo port clean openjpeg
sudo port selfupdate
sudo port install openjpeg

If the port still fails, then please attach the main.log file.

comment:6 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Is there any news on providing a clean main.log?
Without it, it is difficult to track down the problem.

comment:7 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: assignedclosed

Closing ticket since there is no addition information.
For the record, this error is triggered when cmake can not find the file inttypes.h, which should be located in /usr/include/inttypes.h.

Note: See TracTickets for help on using tickets.