Opened 9 years ago

Closed 8 years ago

#29583 closed defect (fixed)

koffice @1.6.3 not compatible with libpng 1.4.x

Reported by: here.is.the.real.jan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: png Cc: 4eppelin@…, carlo@…
Port: koffice

Description (last modified by ryandesign (Ryan Schmidt))

OK, i checked the problem hotlist, categorized reports, custom search, not having any duplicate. Here is my problem.

  1. successfully completed port selfupdate
  2. initiated port install koffice koffice-i18n-uk-english koffice-i18n-german

It takes long time to get the error messages. After a bunch of warnings, following errors are stopping the further build process. (snippet):

<!--cut-->

:info:build creating ./krita/plugins/tools/tool_polyline/kritatoolpolyline.la
:info:build (cd ./krita/plugins/tools/tool_polyline/.libs && rm -f kritatoolpolyline.la && ln -s ../kritatoolpolyline.la kritatoolpolyline.la)
:info:build 96% linking ./krita/plugins/tools/tool_selectsimilar/kritatoolselectsimilar.la
:info:build g++ -DHAVE_CONFIG_H -I./filters/krita/png -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kofficeui -I./lib/kofficeui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kofficecore -I./lib/kofficecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/store -I./lib/store -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kwmf -I./lib/kwmf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kopalette -I./lib/kopalette -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/core -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/sdk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/core/tiles -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/kritacolor -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/ui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kofficeui -I./lib/kofficeui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kofficecore -I./lib/kofficecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/store -I./lib/store -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kwmf -I./lib/kwmf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kopalette -I./lib/kopalette -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/interfaces -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kopainter -I./lib/kopainter -I/opt/local/lib/qt3/include -I/opt/local/include -I/opt/local/include -DQT_THREAD_SUPPORT -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -I/usr/X11R6/include -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Os -Os -fPIC -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_KNEWSTUFF -fexceptions -fPIC -DPIC -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc -o ./filters/krita/png/.libs/kis_png_converter.o -Wp,-MD,./filters/krita/png/.deps/kis_png_converter.TUlo
:info:build In file included from /opt/local/include/zlib.h:34,
:info:build                  from /opt/local/include/png.h:410,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.h:23,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc:21:
:info:build /opt/local/include/zconf.h:373:6: warning: "_LARGEFILE64_SOURCE" is not defined
:info:build In file included from /opt/local/include/png.h:410,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.h:23,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc:21:
:info:build /opt/local/include/zlib.h:1574:32: warning: "_FILE_OFFSET_BITS" is not defined
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/sdk/kis_global.h:23,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.h:32,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc:21:
:info:build /opt/local/include/lcms.h:146:5: warning: "TARGET_CPU_PPC" is not defined
:info:build /opt/local/include/lcms.h:150:5: warning: "macintosh" is not defined
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/sdk/kis_global.h:23,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.h:32,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc:21:
:info:build /opt/local/include/lcms.h: In function 'void* _cmsMalloc(size_t)':
:info:build /opt/local/include/lcms.h:1418: warning: comparison of unsigned expression < 0 is always false
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc: In member function 'KisImageBuilder_Result KisPNGConverter::buildFile(const KURL&, KisPaintLayerSP, KSharedPtr<KisAnnotation>*, KSharedPtr<KisAnnotation>*, int, bool, bool)':
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc:643: warning: deprecated conversion from string constant to 'char*'
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc:649: warning: deprecated conversion from string constant to 'char*'
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc:656: warning: deprecated conversion from string constant to 'char*'
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc: In member function 'void KisPNGConverter::progress(png_struct*, png_uint_32, int)':
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.cc:788: error: 'PNG_MAX_UINT' was not declared in this scope
:info:build Error creating ./filters/krita/png/kis_png_converter.lo. Exit status 1.
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/sdk/kis_global.h:23,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/core/kis_image.h:35,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_import.cc:27:
:info:build /opt/local/include/lcms.h:146:5: warning: "TARGET_CPU_PPC" is not defined
:info:build /opt/local/include/lcms.h:150:5: warning: "macintosh" is not defined
:info:build In file included from /opt/local/include/zlib.h:34,
:info:build                  from /opt/local/include/png.h:410,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.h:23,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_import.cc:31:
:info:build /opt/local/include/zconf.h:373:6: warning: "_LARGEFILE64_SOURCE" is not defined
:info:build In file included from /opt/local/include/png.h:410,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_converter.h:23,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_import.cc:31:
:info:build /opt/local/include/zlib.h:1574:32: warning: "_FILE_OFFSET_BITS" is not defined
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/sdk/kis_global.h:23,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/core/kis_image.h:35,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/krita/png/kis_png_import.cc:27:
:info:build /opt/local/include/lcms.h: In function 'void* _cmsMalloc(size_t)':
:info:build /opt/local/include/lcms.h:1418: warning: comparison of unsigned expression < 0 is always false
:info:build libtool: link: warning: `/opt/local/lib/libqt-mt.la' seems to be moved
:info:build rm -fr  ./krita/plugins/tools/tool_selectsimilar/.libs/kritatoolselectsimilar.la ./krita/plugins/tools/tool_selectsimilar/.libs/kritatoolselectsimilar.lai ./krita/plugins/tools/tool_selectsimilar/.libs/kritatoolselectsimilar.so
:info:build g++  -o ./krita/plugins/tools/tool_selectsimilar/.libs/kritatoolselectsimilar.so -bundle  ./krita/plugins/tools/tool_selectsimilar/.libs/selectsimilar.o ./krita/plugins/tools/tool_selectsimilar/.libs/kis_tool_selectsimilar.o  -L/opt/local/lib -L/opt/local/lib/qt3/lib ./krita/.libs/libkritacommon.dylib -L/usr/X11R6/lib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/ui/.libs/libkritaui.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/core/.libs/libkritaimage.dylib /opt/local/lib/libGLU.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/krita/kritacolor/.libs/libkritacolor.dylib /opt/local/lib/libqt-mt.dylib /opt/local/lib/libIlmImf.dylib /opt/local/lib/libImath.dylib /opt/local/lib/libHalf.dylib /opt/local/lib/libIlmThread.dylib /opt/local/lib/libIex.dylib /opt/local/lib/liblcms.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kopainter/.libs/libkopainter.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kofficeui/.libs/libkofficeui.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kopalette/.libs/libkopalette.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kofficecore/.libs/libkofficecore.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/store/.libs/libkstore.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kwmf/.libs/libkowmf.dylib /opt/local/lib/libkdeprint.dylib /opt/local/lib/libkparts.dylib /opt/local/lib/libkabc.dylib /opt/local/lib/libvcard.dylib /opt/local/lib/libkresources.dylib /opt/local/lib/libkio.dylib /opt/local/lib/libkdeui.dylib /opt/local/lib/libkdesu.dylib /opt/local/lib/libkwalletclient.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/lib/kwmf/.libs/libkwmf.dylib /opt/local/lib/libkdecore.dylib /opt/local/lib/libDCOP.dylib /opt/local/lib/libart_lgpl_2.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libkdefx.dylib /opt/local/lib/qt3/lib/libqt-mt.dylib /opt/local/lib/libGL.dylib /opt/local/lib/libXmu.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXcursor.dylib /opt/local/lib/libXinerama.dylib /opt/local/lib/libXft.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib /opt/local/lib/libpng14.dylib /opt/local/lib/libz.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib
:info:build creating ./krita/plugins/tools/tool_selectsimilar/kritatoolselectsimilar.la
:info:build (cd ./krita/plugins/tools/tool_selectsimilar/.libs && rm -f kritatoolselectsimilar.la && ln -s ../kritatoolselectsimilar.la kritatoolselectsimilar.la)
:info:build koffice-1.6.3-4 make failed!
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3" && ./CompileScript.sh all " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for koffice): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for koffice is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/main.log

<!--eof-->

Attachments (1)

main.log (2.4 MB) - added by here.is.the.real.jan@… 9 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/main.log

Change History (6)

Changed 9 years ago by here.is.the.real.jan@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/main.log

comment:1 in reply to:  description Changed 9 years ago by here.is.the.real.jan@…

Replying to here.is.the.real.jan@…: Just to complete the information here: Used OSX: 10.6.7 on MacBookPro7,1 (MBP71.0039.B0B)

uname -u : "Darwin Jans-MacBook-Pro.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386"

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

Description: modified (diff)
Keywords: png added; koffice koffice-i18n removed
Port: koffice added
Summary: koffice @1.6.3+kis_png_converter.cc error brakes build @ 56%koffice @1.6.3 not compatible with libpng 1.4.x

error: 'PNG_MAX_UINT' was not declared in this scope

PNG_MAX_UINT was deprecated, and was removed in libpng 1.4. koffice is out of date and should be updated; see #26587.

comment:3 Changed 9 years ago by 4eppelin@…

Cc: 4eppelin@… added

Cc Me!

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

Cc: carlo@… added

Has duplicate #32786.

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.