Opened 4 years ago

Closed 4 years ago

#49106 closed defect (fixed)

kblackbox: iconutil: error: Unsuported image format

Reported by: rlhamil Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc:
Port: kblackbox

Description (last modified by ryandesign (Ryan Schmidt))

Apparently the 10.11 version of iconutil is more picky:

:info:build [  0%] Built target kblackbox_automoc
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/kblackbox.dir/build.make CMakeFiles/kblackbox.dir/depend
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build'
:info:build [  2%] Generating kblackbox_SRCS.icns
:info:build /usr/bin/iconutil --convert icns --output /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build/kblackbox_SRCS.icns /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build/kblackbox_SRCS.iconset
:info:build error: Unsuported image format
:info:build error: Unsuported image format
:info:build error: Unsuported image format
:info:build error: Unsuported image format
:info:build error: Unsuported image format
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build/kblackbox_SRCS.iconset:warning: Missing image for variant named 'icon' resource error: 'Failed to load image at 128@2x.'.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build/kblackbox_SRCS.iconset:warning: Missing image for variant named 'icon' resource error: 'Failed to load image at 256@1x.'.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build/kblackbox_SRCS.iconset:warning: Missing image for variant named 'icon' resource error: 'Failed to load image at 256@2x.'.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build/kblackbox_SRCS.iconset:warning: Missing image for variant named 'icon' resource error: 'Failed to load image at 512@1x.'.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build/kblackbox_SRCS.iconset:warning: Missing image for variant named 'icon' resource error: 'Failed to load image at 512@2x.'.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build/kblackbox_SRCS.iconset:error: Variant named 'icon' contains no image resources.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kblackbox/kblackbox/work/build/kblackbox_SRCS.iconset:error: Failed to generate ICNS.
:info:build make[2]: *** [kblackbox_SRCS.icns] Error 1

Change History (6)

comment:1 Changed 4 years ago by rlhamil

Cc: rlhamil@… added

Cc Me!

comment:2 Changed 4 years ago by rlhamil

The following seems to suggest that iconutil now expects input file names to be of a very specific form: http://stackoverflow.com/questions/31632304/iconseterror-failed-to-generate-icns/32490491#32490491

Last edited 4 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

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

Cc: rlhamil@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to nicos@…
Port: kblackbox added
Summary: kblackbox fails to build on El Capitankblackbox: iconutil: error: Unsuported image format

comment:4 in reply to:  2 Changed 4 years ago by ryandesign (Ryan Schmidt)

Replying to rlhamil@…:

The following seems to suggest that iconutil now expects input file names to be of a very specific form:

I've edited your comment to change the link to the original Stack Overflow site, instead of a copy of that site that shows overlay ads.

This sounds like a problem that is not MacPorts-specific, so you should report it to the developers of kblackbox so that they can fix it.

comment:5 Changed 4 years ago by rlhamil

While it's not MacPorts specific, it is Mac specific (iconutil command). Nevertheless, I filed a bug with bugs.kde.org: https://bugs.kde.org/show_bug.cgi?id=353580

comment:6 Changed 4 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

As a workaround, I patched the compilation script to rename the folder, so that it is acceptable to iconutil in r142104, so that the application compiles.

Note: See TracTickets for help on using tickets.