Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#29965 closed defect (duplicate)

koffice build failed: 'PNG_MAX_UINT' was not declared in this scope

Reported by: lgxxl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: png Cc:
Port: koffice

Description (last modified by mf2k (Frank Schima))

While installing koffice the build process failed with following error (last lines from console). Any hint :

LAST LINES FROM CONSOLE:

> sudo port install koffice-i18n-german

--->  Computing dependencies for koffice-i18n-german
--->  Dependencies to be installed: koffice
--->  Building koffice
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install koffice
Log for koffice is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/main.log
Error: The following dependencies were not installed: koffice
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

HERE THE LAST LINES OF THE LOGFILE:

:info:build g++ -dynamiclib -single_module  -o ./kspread/.libs/libkspreadcommon.0.0.0.dylib  ./kspread/.libs/digest.o ./kspread/.libs/commands.o ./kspread/.libs/damages.o ./kspread/.libs/dependencies.o ./kspread/.libs/formula.o ./kspread/.libs/functions.o ./kspread/.libs/kspread_autofill.o ./kspread/.libs/kspread_canvas.o ./kspread/.libs/kspread_cell.o ./kspread/.libs/kspread_cluster.o ./kspread/.libs/kspread_condition.o ./kspread/.libs/kspread_doc.o ./kspread/.libs/kspread_editors.o ./kspread/.libs/kspread_events.o ./kspread/.libs/kspread_factory.o ./kspread/.libs/kspread_format.o ./kspread/.libs/kspread_functions_conversion.o ./kspread/.libs/kspread_functions_database.o ./kspread/.libs/kspread_functions_datetime.o ./kspread/.libs/kspread_functions_engineering.o ./kspread/.libs/kspread_functions_financial.o ./kspread/.libs/kspread_functions_helper.o ./kspread/.libs/kspread_functions_information.o ./kspread/.libs/kspread_functions_logic.o ./kspread/.libs/kspread_functions_math.o ./kspread/.libs/kspread_functions_reference.o ./kspread/.libs/kspread_functions_statistical.o ./kspread/.libs/kspread_functions_text.o ./kspread/.libs/kspread_functions_trig.o ./kspread/.libs/kspread_handler.o ./kspread/.libs/kspread_locale.o ./kspread/.libs/kspread_map.o ./kspread/.libs/kspread_numformat.o ./kspread/.libs/kspread_object.o ./kspread/.libs/kspread_style.o ./kspread/.libs/kspread_style_manager.o ./kspread/.libs/kspread_undo.o ./kspread/.libs/kspread_value.o ./kspread/.libs/kspread_view.o ./kspread/.libs/kspread_sheet.o ./kspread/.libs/kspread_sheetprint.o ./kspread/.libs/kspread_util.o ./kspread/.libs/kspread_toolbox.o ./kspread/.libs/valuecalc.o ./kspread/.libs/valueconverter.o ./kspread/.libs/valueformatter.o ./kspread/.libs/valueparser.o ./kspread/.libs/KSpreadAppIface.o ./kspread/.libs/KSpreadAppIface_skel.o ./kspread/.libs/KSpreadCellIface.o ./kspread/.libs/KSpreadCellIface_skel.o ./kspread/.libs/KSpreadColumnIface_skel.o ./kspread/.libs/KSpreadColumnIface.o ./kspread/.libs/KSpreadDocIface.o ./kspread/.libs/KSpreadDocIface_skel.o ./kspread/.libs/KSpreadLayoutIface_skel.o ./kspread/.libs/KSpreadLayoutIface.o ./kspread/.libs/KSpreadMapIface.o ./kspread/.libs/KSpreadMapIface_skel.o ./kspread/.libs/KSpreadRowIface_skel.o ./kspread/.libs/KSpreadRowIface.o ./kspread/.libs/KSpreadTableIface.o ./kspread/.libs/KSpreadTableIface_skel.o ./kspread/.libs/KSpreadViewIface_skel.o ./kspread/.libs/KSpreadViewIface.o ./kspread/.libs/kspread_genvalidationstyle.o ./kspread/.libs/region.o ./kspread/.libs/selection.o ./kspread/.libs/manipulator.o ./kspread/.libs/manipulator_data.o ./kspread/.libs/kspread_generalProperty.o ./kspread/.libs/kspread_propertyEditor.o  ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/font_cell_format.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_angle.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_area.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_comment.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_conditional.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_cons.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_csv.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_database.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_find.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_format.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_formula.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_goalseek.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_goto.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_insert.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_layout.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_list.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_paperlayout.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_pasteinsert.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_preference.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_reference.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_resize2.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_series.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_show.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_showColRow.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_sort.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_special.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_styles.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_subtotal.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspread_dlg_validity.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/kspreadsubtotal.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/link.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/position_cell_format.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/protection_cell_format.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/sheet_properties.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/sheet_properties_base.o ./kspread/.libs/libkspreadcommon.lax/libdialogs.a/SheetSelectWidget.o  ./kspread/.libs/libkspreadcommon.lax/libtests.a/formula_tester.o ./kspread/.libs/libkspreadcommon.lax/libtests.a/inspector.o ./kspread/.libs/libkspreadcommon.lax/libtests.a/tester.o ./kspread/.libs/libkspreadcommon.lax/libtests.a/testrunner.o ./kspread/.libs/libkspreadcommon.lax/libtests.a/value_tester.o   -L/opt/local/lib -L/opt/local/lib/qt3/lib ./interfaces/.libs/libkochart.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 -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/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 ./lib/kofficeui/.libs/libkofficeui.dylib ./lib/kotext/.libs/libkotext.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/lib/libkspell2.dylib /opt/local/lib/libXt.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libbz2.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libkutils.dylib /opt/local/lib/libkspell.dylib  -install_name  /opt/local/lib/libkspreadcommon.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
:info:build (cd ./kspread/.libs && rm -f libkspreadcommon.0.dylib && ln -s libkspreadcommon.0.0.0.dylib libkspreadcommon.0.dylib)
:info:build (cd ./kspread/.libs && rm -f libkspreadcommon.dylib && ln -s libkspreadcommon.0.0.0.dylib libkspreadcommon.dylib)
:info:build rm -fr ./kspread/.libs/libkspreadcommon.lax
:info:build creating ./kspread/libkspreadcommon.la
:info:build (cd ./kspread/.libs && rm -f libkspreadcommon.la && ln -s ../libkspreadcommon.la libkspreadcommon.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
:error:build Failed to install koffice
: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

Attachments (1)

koffice_install.log (2.0 MB) - added by lgxxl@… 13 years ago.
logfile of failed build

Download all attachments as: .zip

Change History (7)

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

Description: modified (diff)
Port: koffice added

In the future, please use WikiFormatting and the preview button, also fill in the Port: field.

You didn't post the actual error. You need to attach the log file mentioned.

Changed 13 years ago by lgxxl@…

Attachment: koffice_install.log added

logfile of failed build

comment:2 Changed 13 years ago by lgxxl@…

Just added the missing logfile. Hope that helps a bit. Sorry for not having used wiki-synthax. I previewed it though.

comment:3 Changed 13 years ago by lgxxl@…

Some more Systeminfo on the Machine this happend:

Hardware: Hardware-Übersicht:

Modellname: iMac
Modell-Identifizierung: iMac11,3
Prozessortyp: Intel Core i5
Prozessorgeschwindigkeit: 2,8 GHz
Anzahl der Prozessoren: 1
Gesamtzahl der Kerne: 4
L2-Cache (pro Kern): 256 KB
L3-Cache: 8 MB
Speicher: 4 GB
Geschwindigkeit für Prozessorverbindungstyp: 4.8 GT/s
Boot-ROM-Version: IM112.0057.B00
SMC-Version (System): 1.59f2

Software: Überblick über die Systemsoftware:

Systemversion: Mac OS X 10.6.8 (10K540)
Kernel-Version: Darwin 10.8.0
64-Bit-Kernel and -Erweiterungen: Nein
Zeit seit dem Start: 1 Tag6:52[[BR]]

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

Keywords: png added
Summary: koffice build failedkoffice build failed: 'PNG_MAX_UINT' was not declared in this scope

Relevant error:

koffice-1.6.3/filters/krita/png/kis_png_converter.cc:788: error: 'PNG_MAX_UINT' was not declared in this scope

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

Resolution: duplicate
Status: newclosed

comment:6 Changed 13 years ago by lgxxl@…

any estimate on when this thing will get fixed, or is it already fixed somehwere? thx in advance.

Note: See TracTickets for help on using tickets.