Opened 14 years ago

Closed 13 years ago

#25507 closed defect (fixed)

kdelibs4 undefined symbols "_png_set_longjmp_fn"

Reported by: wanthalf (Pavel Vondřička) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: sharky@…, michaelld (Michael Dickens), mkae (Marko Käning)
Port: kdelibs4

Description (last modified by jmroot (Joshua Root))

:info:build Linking CXX shared library ../lib/libkhtml.dylib[[BR]]
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/khtml && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/khtml.dir/link.txt --verbose=1[[BR]]
:info:build /usr/bin/g++-4.2  -O2 -arch x86_64  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden  -fexceptions -UQT_NO_EXCEPTIONS -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -dynamiclib -headerpad_max_install_names -single_module -multiply_defined suppress -L/opt/local/lib -arch x86_64 -compatibility_version 5.0.0 -current_version 5.4.0 -o ../lib/libkhtml.5.4.0.dylib -install_name /opt/local/lib/libkhtml.5.dylib CMakeFiles/khtml.dir/khtml_automoc.o CMakeFiles/khtml.dir/khtmlview.o CMakeFiles/khtml.dir/khtmlviewbar.o CMakeFiles/khtml.dir/khtmlviewbarwidget.o CMakeFiles/khtml.dir/khtml_part.o CMakeFiles/khtml.dir/khtml_run.o CMakeFiles/khtml.dir/khtml_global.o CMakeFiles/khtml.dir/khtml_settings.o CMakeFiles/khtml.dir/khtml_filter.o CMakeFiles/khtml.dir/khtml_events.o CMakeFiles/khtml.dir/khtml_ext.o CMakeFiles/khtml.dir/khtml_pagecache.o CMakeFiles/khtml.dir/khtml_printsettings.o CMakeFiles/khtml.dir/khtml_iface.o CMakeFiles/khtml.dir/khtmlimage.o CMakeFiles/khtml.dir/kjserrordlg.o CMakeFiles/khtml.dir/ui/findbar/khtmlfind.o CMakeFiles/khtml.dir/ui/findbar/khtmlfindbar.o CMakeFiles/khtml.dir/ui/passwordbar/storepassbar.o CMakeFiles/khtml.dir/xml/dom_docimpl.o CMakeFiles/khtml.dir/xml/dom_nodeimpl.o CMakeFiles/khtml.dir/xml/dom_nodelistimpl.o CMakeFiles/khtml.dir/xml/dom_textimpl.o CMakeFiles/khtml.dir/xml/dom_elementimpl.o CMakeFiles/khtml.dir/xml/dom_stringimpl.o CMakeFiles/khtml.dir/xml/dom2_rangeimpl.o CMakeFiles/khtml.dir/xml/dom2_traversalimpl.o CMakeFiles/khtml.dir/xml/xml_tokenizer.o CMakeFiles/khtml.dir/xml/dom_xmlimpl.o CMakeFiles/khtml.dir/xml/dom2_eventsimpl.o CMakeFiles/khtml.dir/xml/dom2_viewsimpl.o CMakeFiles/khtml.dir/xml/dom_restyler.o CMakeFiles/khtml.dir/xml/ClassNames.o CMakeFiles/khtml.dir/xml/dom_position.o CMakeFiles/khtml.dir/xml/dom_positioniterator.o CMakeFiles/khtml.dir/xml/dom_selection.o CMakeFiles/khtml.dir/html/htmlparser.o CMakeFiles/khtml.dir/html/htmltokenizer.o CMakeFiles/khtml.dir/html/htmlprospectivetokenizer.o CMakeFiles/khtml.dir/html/dtd.o CMakeFiles/khtml.dir/html/html_headimpl.o CMakeFiles/khtml.dir/html/html_blockimpl.o CMakeFiles/khtml.dir/html/html_elementimpl.o CMakeFiles/khtml.dir/html/html_inlineimpl.o CMakeFiles/khtml.dir/html/html_documentimpl.o CMakeFiles/khtml.dir/html/html_baseimpl.o CMakeFiles/khtml.dir/html/html_imageimpl.o CMakeFiles/khtml.dir/html/html_listimpl.o CMakeFiles/khtml.dir/html/html_miscimpl.o CMakeFiles/khtml.dir/html/html_formimpl.o CMakeFiles/khtml.dir/html/html_objectimpl.o CMakeFiles/khtml.dir/html/html_tableimpl.o CMakeFiles/khtml.dir/html/html_canvasimpl.o CMakeFiles/khtml.dir/html/HTMLMediaElement.o CMakeFiles/khtml.dir/html/HTMLAudioElement.o CMakeFiles/khtml.dir/html/HTMLVideoElement.o CMakeFiles/khtml.dir/html/HTMLSourceElement.o CMakeFiles/khtml.dir/html/TimeRanges.o CMakeFiles/khtml.dir/rendering/bidi.o CMakeFiles/khtml.dir/rendering/break_lines.o CMakeFiles/khtml.dir/rendering/render_block.o CMakeFiles/khtml.dir/rendering/render_inline.o CMakeFiles/khtml.dir/rendering/render_style.o CMakeFiles/khtml.dir/rendering/render_object.o CMakeFiles/khtml.dir/rendering/render_container.o CMakeFiles/khtml.dir/rendering/render_box.o CMakeFiles/khtml.dir/rendering/render_flow.o CMakeFiles/khtml.dir/rendering/render_text.o CMakeFiles/khtml.dir/rendering/render_arena.o CMakeFiles/khtml.dir/rendering/render_layer.o CMakeFiles/khtml.dir/rendering/render_image.o CMakeFiles/khtml.dir/rendering/render_table.o CMakeFiles/khtml.dir/rendering/table_layout.o CMakeFiles/khtml.dir/rendering/render_replaced.o CMakeFiles/khtml.dir/rendering/render_form.o CMakeFiles/khtml.dir/rendering/render_list.o CMakeFiles/khtml.dir/rendering/render_canvas.o CMakeFiles/khtml.dir/rendering/render_frames.o CMakeFiles/khtml.dir/rendering/render_br.o CMakeFiles/khtml.dir/rendering/render_body.o CMakeFiles/khtml.dir/rendering/font.o CMakeFiles/khtml.dir/rendering/render_line.o CMakeFiles/khtml.dir/rendering/render_generated.o CMakeFiles/khtml.dir/rendering/enumerate.o CMakeFiles/khtml.dir/rendering/counter_tree.o CMakeFiles/khtml.dir/rendering/render_canvasimage.o CMakeFiles/khtml.dir/rendering/render_position.o CMakeFiles/khtml.dir/rendering/render_media.o CMakeFiles/khtml.dir/rendering/media_controls.o CMakeFiles/khtml.dir/css/css_stylesheetimpl.o CMakeFiles/khtml.dir/css/css_ruleimpl.o CMakeFiles/khtml.dir/css/css_valueimpl.o CMakeFiles/khtml.dir/css/css_svgvalueimpl.o CMakeFiles/khtml.dir/css/css_base.o CMakeFiles/khtml.dir/css/cssparser.o CMakeFiles/khtml.dir/css/cssstyleselector.o CMakeFiles/khtml.dir/css/csshelper.o CMakeFiles/khtml.dir/css/parser.o CMakeFiles/khtml.dir/css/css_renderstyledeclarationimpl.o CMakeFiles/khtml.dir/css/css_mediaquery.o CMakeFiles/khtml.dir/css/css_svgcssparser.o CMakeFiles/khtml.dir/css/SVGCSSStyleSelector.o CMakeFiles/khtml.dir/css/css_webfont.o CMakeFiles/khtml.dir/misc/loader.o CMakeFiles/khtml.dir/misc/helper.o CMakeFiles/khtml.dir/misc/arena.o CMakeFiles/khtml.dir/misc/stringit.o CMakeFiles/khtml.dir/misc/paintbuffer.o CMakeFiles/khtml.dir/misc/imagefilter.o CMakeFiles/khtml.dir/misc/borderarcstroker.o CMakeFiles/khtml.dir/misc/idstring.o CMakeFiles/khtml.dir/misc/htmlnames.o CMakeFiles/khtml.dir/misc/AtomicString.o CMakeFiles/khtml.dir/editing/jsediting.o CMakeFiles/khtml.dir/editing/editing.o CMakeFiles/khtml.dir/editing/editor.o CMakeFiles/khtml.dir/editing/htmlediting_impl.o CMakeFiles/khtml.dir/ecma/kjs_binding.o CMakeFiles/khtml.dir/ecma/kjs_dom.o CMakeFiles/khtml.dir/ecma/kjs_html.o CMakeFiles/khtml.dir/ecma/kjs_window.o CMakeFiles/khtml.dir/ecma/kjs_navigator.o CMakeFiles/khtml.dir/ecma/kjs_proxy.o CMakeFiles/khtml.dir/ecma/kjs_css.o CMakeFiles/khtml.dir/ecma/kjs_range.o CMakeFiles/khtml.dir/ecma/kjs_traversal.o CMakeFiles/khtml.dir/ecma/kjs_events.o CMakeFiles/khtml.dir/ecma/kjs_views.o CMakeFiles/khtml.dir/ecma/kjs_mozilla.o CMakeFiles/khtml.dir/JSTimeRanges.o CMakeFiles/khtml.dir/JSMediaError.o CMakeFiles/khtml.dir/ecma/JSHTMLElement.o CMakeFiles/khtml.dir/JSHTMLMediaElement.o CMakeFiles/khtml.dir/JSHTMLAudioElement.o CMakeFiles/khtml.dir/JSHTMLVideoElement.o CMakeFiles/khtml.dir/ecma/xmlhttprequest.o CMakeFiles/khtml.dir/ecma/xmlserializer.o CMakeFiles/khtml.dir/ecma/domparser.o CMakeFiles/khtml.dir/ecma/kjs_context2d.o CMakeFiles/khtml.dir/ecma/kjs_audio.o CMakeFiles/khtml.dir/ecma/debugger/debugwindow.o CMakeFiles/khtml.dir/ecma/debugger/debugdocument.o CMakeFiles/khtml.dir/ecma/debugger/consoledock.o CMakeFiles/khtml.dir/ecma/debugger/breakpointsdock.o CMakeFiles/khtml.dir/ecma/debugger/callstackdock.o CMakeFiles/khtml.dir/ecma/debugger/localvariabledock.o CMakeFiles/khtml.dir/ecma/debugger/scriptsdock.o CMakeFiles/khtml.dir/ecma/debugger/value2string.o CMakeFiles/khtml.dir/ecma/debugger/errordlg.o CMakeFiles/khtml.dir/ecma/debugger/interpreter_ctx.o CMakeFiles/khtml.dir/qrc_debugger.o CMakeFiles/khtml.dir/dom/dom_misc.o CMakeFiles/khtml.dir/dom/html_block.o CMakeFiles/khtml.dir/dom/html_inline.o CMakeFiles/khtml.dir/dom/css_rule.o CMakeFiles/khtml.dir/dom/dom_node.o CMakeFiles/khtml.dir/dom/html_document.o CMakeFiles/khtml.dir/dom/html_list.o CMakeFiles/khtml.dir/dom/css_stylesheet.o CMakeFiles/khtml.dir/dom/dom_string.o CMakeFiles/khtml.dir/dom/html_element.o CMakeFiles/khtml.dir/dom/html_misc.o CMakeFiles/khtml.dir/dom/css_value.o CMakeFiles/khtml.dir/dom/dom_text.o CMakeFiles/khtml.dir/dom/html_object.o CMakeFiles/khtml.dir/dom/dom_doc.o CMakeFiles/khtml.dir/dom/dom_xml.o CMakeFiles/khtml.dir/dom/html_head.o CMakeFiles/khtml.dir/dom/dom_element.o CMakeFiles/khtml.dir/dom/html_base.o CMakeFiles/khtml.dir/dom/html_image.o CMakeFiles/khtml.dir/dom/html_form.o CMakeFiles/khtml.dir/dom/dom2_range.o CMakeFiles/khtml.dir/dom/html_table.o CMakeFiles/khtml.dir/dom/dom2_traversal.o CMakeFiles/khtml.dir/dom/dom2_events.o CMakeFiles/khtml.dir/dom/dom2_views.o CMakeFiles/khtml.dir/dom/QualifiedName.o CMakeFiles/khtml.dir/imload/imageplane.o CMakeFiles/khtml.dir/imload/rawimageplane.o CMakeFiles/khtml.dir/imload/scaledimageplane.o CMakeFiles/khtml.dir/imload/pixmapplane.o CMakeFiles/khtml.dir/imload/animprovider.o CMakeFiles/khtml.dir/imload/imagepainter.o CMakeFiles/khtml.dir/imload/updater.o CMakeFiles/khtml.dir/imload/image.o CMakeFiles/khtml.dir/imload/imagemanager.o CMakeFiles/khtml.dir/imload/animtimer.o CMakeFiles/khtml.dir/imload/canvasimage.o CMakeFiles/khtml.dir/imload/decoders/jpegloader.o CMakeFiles/khtml.dir/imload/decoders/pngloader.o CMakeFiles/khtml.dir/imload/decoders/gifloader.o CMakeFiles/khtml.dir/imload/decoders/qimageioloader.o CMakeFiles/khtml.dir/platform/graphics/AffineTransform.o CMakeFiles/khtml.dir/platform/graphics/FloatPoint.o CMakeFiles/khtml.dir/platform/graphics/FloatRect.o CMakeFiles/khtml.dir/platform/graphics/FloatSize.o CMakeFiles/khtml.dir/platform/graphics/IntRect.o CMakeFiles/khtml.dir/platform/graphics/Path.o CMakeFiles/khtml.dir/platform/graphics/GraphicsTypes.o CMakeFiles/khtml.dir/platform/graphics/PathTraversalState.o CMakeFiles/khtml.dir/platform/graphics/qt/AffineTransformQt.o CMakeFiles/khtml.dir/platform/graphics/qt/FloatPointQt.o CMakeFiles/khtml.dir/platform/graphics/qt/FloatRectQt.o CMakeFiles/khtml.dir/platform/graphics/qt/IntPointQt.o CMakeFiles/khtml.dir/platform/graphics/qt/IntRectQt.o CMakeFiles/khtml.dir/platform/graphics/qt/IntSizeQt.o CMakeFiles/khtml.dir/platform/graphics/qt/PathQt.o CMakeFiles/khtml.dir/svg/SVGDocument.o CMakeFiles/khtml.dir/svg/SVGSVGElement.o CMakeFiles/khtml.dir/svg/SVGStyledLocatableElement.o CMakeFiles/khtml.dir/svg/SVGLocatable.o CMakeFiles/khtml.dir/svg/SVGStyledElement.o CMakeFiles/khtml.dir/svg/SVGStylable.o CMakeFiles/khtml.dir/svg/SVGElement.o CMakeFiles/khtml.dir/svg/SVGLength.o CMakeFiles/khtml.dir/svg/SVGTransformable.o CMakeFiles/khtml.dir/svg/SVGTransform.o CMakeFiles/khtml.dir/svg/SVGAngle.o CMakeFiles/khtml.dir/svg/SVGDocumentExtensions.o CMakeFiles/khtml.dir/svg/SVGParserUtilities.o CMakeFiles/khtml.dir/svg/SVGTransformDistance.o CMakeFiles/khtml.dir/svg/SVGTransformList.o CMakeFiles/khtml.dir/svg/SVGStringList.o CMakeFiles/khtml.dir/svg/SVGStyledTransformableElement.o CMakeFiles/khtml.dir/svg/SVGTests.o CMakeFiles/khtml.dir/svg/SVGLangSpace.o CMakeFiles/khtml.dir/svg/SVGExternalResourcesRequired.o CMakeFiles/khtml.dir/svg/SVGRectElement.o CMakeFiles/khtml.dir/svg/SVGPreserveAspectRatio.o CMakeFiles/khtml.dir/svg/SVGFitToViewBox.o CMakeFiles/khtml.dir/svg/SVGCircleElement.o CMakeFiles/khtml.dir/svg/SVGStyleElement.o CMakeFiles/khtml.dir/svg/SVGEllipseElement.o CMakeFiles/khtml.dir/svg/SVGPointList.o CMakeFiles/khtml.dir/svg/SVGAnimatedPoints.o CMakeFiles/khtml.dir/svg/SVGPolyElement.o CMakeFiles/khtml.dir/svg/SVGPolygonElement.o CMakeFiles/khtml.dir/svg/SVGPolylineElement.o CMakeFiles/khtml.dir/svg/SVGAnimatedPathData.o CMakeFiles/khtml.dir/svg/SVGPathSegArc.o CMakeFiles/khtml.dir/svg/SVGPathSegClosePath.o CMakeFiles/khtml.dir/svg/SVGPathSegCurvetoCubic.o CMakeFiles/khtml.dir/svg/SVGPathSegCurvetoCubicSmooth.o CMakeFiles/khtml.dir/svg/SVGPathSegCurvetoQuadratic.o CMakeFiles/khtml.dir/svg/SVGPathSegCurvetoQuadraticSmooth.o CMakeFiles/khtml.dir/svg/SVGPathSegLineto.o CMakeFiles/khtml.dir/svg/SVGPathSegLinetoHorizontal.o CMakeFiles/khtml.dir/svg/SVGPathSegLinetoVertical.o CMakeFiles/khtml.dir/svg/SVGPathSegList.o CMakeFiles/khtml.dir/svg/SVGPathSegMoveto.o CMakeFiles/khtml.dir/svg/SVGPathElement.o CMakeFiles/khtml.dir/svg/SVGURIReference.o CMakeFiles/khtml.dir/svg/SVGStopElement.o CMakeFiles/khtml.dir/svg/SVGGradientElement.o CMakeFiles/khtml.dir/svg/SVGLinearGradientElement.o CMakeFiles/khtml.dir/svg/SVGRadialGradientElement.o CMakeFiles/khtml.dir/svg/SVGDefsElement.o CMakeFiles/khtml.dir/svg/SVGClipPathElement.o CMakeFiles/khtml.dir/svg/SVGGElement.o CMakeFiles/khtml.dir/svg/SVGElementInstance.o CMakeFiles/khtml.dir/svg/SVGElementInstanceList.o CMakeFiles/khtml.dir/svg/SVGUseElement.o CMakeFiles/khtml.dir/svg/SVGLineElement.o CMakeFiles/khtml.dir/svg/SVGTextPathElement.o CMakeFiles/khtml.dir/svg/SVGTextContentElement.o CMakeFiles/khtml.dir/svg/SVGNumberList.o CMakeFiles/khtml.dir/svg/SVGTextPositioningElement.o CMakeFiles/khtml.dir/svg/SVGLengthList.o CMakeFiles/khtml.dir/svg/SVGTextElement.o CMakeFiles/khtml.dir/svg/SVGAElement.o CMakeFiles/khtml.dir/svg/SVGScriptElement.o CMakeFiles/khtml.dir/svg/SVGTitleElement.o CMakeFiles/khtml.dir/svg/SVGDescElement.o CMakeFiles/khtml.dir/svg/SVGNames.o CMakeFiles/khtml.dir/svg/SVGZoomAndPan.o CMakeFiles/khtml.dir/svg/SVGViewSpec.o CMakeFiles/khtml.dir/svg/SVGTSpanElement.o CMakeFiles/khtml.dir/svg/SVGGlyphElement.o CMakeFiles/khtml.dir/svg/SVGAltGlyphElement.o CMakeFiles/khtml.dir/svg/SVGHKernElement.o CMakeFiles/khtml.dir/svg/SVGMissingGlyphElement.o CMakeFiles/khtml.dir/svg/SVGFontElement.o CMakeFiles/khtml.dir/svg/SVGFontData.o CMakeFiles/khtml.dir/svg/graphics/SVGResource.o CMakeFiles/khtml.dir/svg/graphics/SVGPaintServer.o CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerQt.o CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerSolid.o CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerSolidQt.o CMakeFiles/khtml.dir/svg/graphics/SVGResourceClipper.o CMakeFiles/khtml.dir/svg/graphics/qt/SVGResourceClipperQt.o CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerGradient.o CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerLinearGradient.o CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerRadialGradient.o CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerGradientQt.o CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerLinearGradientQt.o CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerRadialGradientQt.o CMakeFiles/khtml.dir/rendering/RenderSVGRoot.o CMakeFiles/khtml.dir/rendering/RenderPath.o CMakeFiles/khtml.dir/rendering/SVGRenderStyleDefs.o CMakeFiles/khtml.dir/rendering/SVGRenderStyle.o CMakeFiles/khtml.dir/rendering/RenderSVGGradientStop.o CMakeFiles/khtml.dir/rendering/RenderSVGContainer.o CMakeFiles/khtml.dir/rendering/SVGRenderSupport.o CMakeFiles/khtml.dir/rendering/RenderSVGHiddenContainer.o CMakeFiles/khtml.dir/rendering/RenderSVGTransformableContainer.o CMakeFiles/khtml.dir/rendering/SVGInlineFlowBox.o CMakeFiles/khtml.dir/rendering/SVGRootInlineBox.o CMakeFiles/khtml.dir/rendering/RenderSVGTextPath.o CMakeFiles/khtml.dir/rendering/SVGInlineTextBox.o CMakeFiles/khtml.dir/rendering/SVGCharacterLayoutInfo.o CMakeFiles/khtml.dir/rendering/RenderSVGInline.o CMakeFiles/khtml.dir/rendering/RenderSVGText.o CMakeFiles/khtml.dir/rendering/RenderSVGBlock.o CMakeFiles/khtml.dir/rendering/RenderSVGInlineText.o CMakeFiles/khtml.dir/rendering/RenderSVGTSpan.o CMakeFiles/khtml.dir/kcookiejar_interface.o -F/opt/local/libexec/qt4-mac/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/lib -L/opt/local/libexec/qt4-mac/lib/phonon.framework -L/opt/local/lib ../lib/libkparts.4.4.0.dylib ../lib/libktexteditor.4.4.0.dylib ../lib/libkjs.4.4.0.dylib /opt/local/libexec/qt4-mac/lib/phonon.framework/phonon /opt/local/lib/libjpeg.dylib /opt/local/lib/libgif.dylib /opt/local/lib/libpng.dylib /opt/local/lib/libz.dylib ../lib/libkparts.4.4.0.dylib ../lib/libkio.5.4.0.dylib -framework QtNetwork -framework QtXml ../lib/libsolid.4.4.0.dylib ../lib/libkdeui.5.4.0.dylib -framework QtSvg -framework QtGui ../lib/libkdecore.5.4.0.dylib -framework QtDBus -framework QtCore -lpthread -framework Carbon [[BR]]
:info:build Undefined symbols:[[BR]]
:info:build   "_png_set_longjmp_fn", referenced from:[[BR]]
:info:build       khtmlImLoad::PNGLoader::processData(unsigned char*, int)in pngloader.o[[BR]]
:info:build ld: symbol(s) not found[[BR]]
:info:build collect2: ld returned 1 exit status[[BR]]
:info:build make[2]: *** [lib/libkhtml.5.4.0.dylib] Error 1[[BR]]
:info:build make[1]: *** [khtml/CMakeFiles/khtml.dir/all] Error 2[[BR]]
:info:build make: *** [all] Error 2[[BR]]
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build" && /usr/bin/make -j4 all " returned error 2

Attachments (3)

main.log.gz (274.0 KB) - added by wanthalf (Pavel Vondřička) 14 years ago.
Log from the last trial: port upgrade kdelibs4 build.jobs=1
CMakeCache.txt (110.5 KB) - added by wanthalf (Pavel Vondřička) 14 years ago.
CMakeCache.2.txt (105.4 KB) - added by wanthalf@… 13 years ago.
CMakeCache.txt from kdelibs4 4.5.2 build

Download all attachments as: .zip

Change History (30)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: sharky@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to snc@…
Port: kdelibs4 added

Please remember to preview and use WikiFormatting (or better, use an attachment for lengthy output), fill in the Port field, and cc the maintainers.

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

This might be from running it on a quadcore. Could you please try this again without so many make jobs? It might be all that's wrong.

sudo port clean kdelibs4
sudo port install kdelibs4 build.jobs=1

You can try with 2 make jobs if you'd like as well — I've seen on reports of it failing on 2 make jobs.

comment:3 Changed 14 years ago by wanthalf (Pavel Vondřička)

Same result. :-(

BTW, I have no quadcore, just dualcore.

Could the problem be, that I am doing an "upgrade" and not "install"? I have version 4.4.3 installed, but cannot upgrade since that time. I have surely installed lot of things inbetween (including iPhone SDK or other updates to Xcode) and there are different versions of libpng lying around in the system (nothing suspicios in /usr/lib though). However, it seems it is linking to the right one...?

comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)

Well the build command issued 4 make jobs. Do you have a dual CPU, dual core?

That portion of the log indicates it's not pulling in anything strange as far as png is concerned. I can make a tweak that will force the specific png library but I seriously doubt any changes.

Could you attach the full log and I'll start digging around in it?

Changed 14 years ago by wanthalf (Pavel Vondřička)

Attachment: main.log.gz added

Log from the last trial: port upgrade kdelibs4 build.jobs=1

comment:5 Changed 14 years ago by wanthalf (Pavel Vondřička)

No. I have single Intel Core i5 in the latest MacBook Pro. HyperThreading usually pretends a 4-core system, however.

comment:6 Changed 14 years ago by wanthalf (Pavel Vondřička)

BTW, I found libpng 1.4 in Qt4.7 beta (sources, at least), which I had installed (binary) in the system. (Another bug/ticket with the same unresolved symbol was apparently caused by the presence of libpng 1.4 in the system.) I noticed some more mess when compiling things with qmake (like meaningless linking paths to /tmp/qt-stuff/...). I uninstalled the whole Qt4.7beta (hopefully correctly?), rebuilt qt4-mac and all dependants, but still it doesn't work... :-( Any idea if the problem could be related to this?

(I also cannot compile the latest revision of qca-ossl, but that seems to be something more trivial... I'll create a new ticket, if the things really are not related/caused of some common mess in my system.)

comment:7 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

MacPorts' libpng is now explicitly set (since r70331), see #23427. Please do a selfupdate and try installing kdelibs4 again.

comment:8 Changed 14 years ago by wanthalf (Pavel Vondřička)

Same failure :-(

Or do I need to rebuild some dependencies as well? Libpng? Qt4-mac?

comment:9 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: closedreopened

Please run this and upload the file placed in your home directory?

cp `port work kdelibs4`/build/CMakeCache.txt ~/

comment:10 Changed 14 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

Changed 14 years ago by wanthalf (Pavel Vondřička)

Attachment: CMakeCache.txt added

comment:11 Changed 13 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:12 Changed 13 years ago by mkae (Marko Käning)

Is this actually still an issue or does it also work for you snc?

comment:13 Changed 13 years ago by nerdling (Jeremy Lavergne)

It works for me; I never release a KDE update unless I have it working :-)

I'll be able to look into the file this weekend: i had lost track of the ticket in my email history (been focusing on 4.5 more than fixing 4.4 bugs).

comment:14 Changed 13 years ago by mkae (Marko Käning)

I figured out how to use Trac Queries.

You should set that up for your relevant ports as well and you won't miss the tickets anymore.

See here: https://trac.macports.org/wiki/mk

:-)

If it works for you one could set this ticket to closed again.

comment:15 Changed 13 years ago by nerdling (Jeremy Lavergne)

Well my intention of having it open still is so that I can figure out why the wrong png is being linked in. People who use non-standard packages tend to get their stuff sucked into Qt/KDE without knowing it, which leads to the majority of these tickets. As they show up, I refine the configure.args to set the paths to where the MacPorts packages reside.

comment:16 Changed 13 years ago by mkae (Marko Käning)

I see.

I'm while I am writing this also in an install orgy. My dual core is heavily loaded with getting kdelibs4 build...

Now that I have attica fixed, thank to Michael I wonder what's going to come up next.

(At the moment gcc44 is being build.)

:-)

comment:17 Changed 13 years ago by nerdling (Jeremy Lavergne)

I've also got an instance of kdelibs4.4 building. I do single core builds though to make debugging easier.

comment:18 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: reopenedclosed

Let me know if this is still an issue in 4.5.

comment:19 Changed 13 years ago by wanthalf@…

Oh NO! Still the same failure while linking libkhtml.dylib:

:info:build Undefined symbols:
:info:build   "_png_set_longjmp_fn", referenced from:
:info:build       khtmlImLoad::PNGLoader::processData(unsigned char*, int)in pngloader.o

Could it be a problem in some wrongly built dependency? But I think I have rebuilt everything. Or something in XCode itself?

comment:20 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: closedreopened

Okay, this is actually good. Now we can see what's getting pulled in with the new packages.

Could you please post the new CMakeCache.txt file from your home directory:

cp `port work kdelibs4`/build/CMakeCache.txt ~/

Changed 13 years ago by wanthalf@…

Attachment: CMakeCache.2.txt added

CMakeCache.txt from kdelibs4 4.5.2 build

comment:21 Changed 13 years ago by nerdling (Jeremy Lavergne)

Summary: kdelibs4 4.4.x fails to compile/link: undefined symbols "_png_set_longjmp_fn"kdelibs4 undefined symbols "_png_set_longjmp_fn"

From earlier we determined that running with only one make job had no impact. Similarly, CMake is definitely pulling in the MacPorts libpng.

My only remaining guess is that libpng is incorrectly built. Care to rebuild it and then try again?

sudo port -f uninstall libpng
sudo port clean --all libpng
sudo port install libpng
sudo port install kdelibs4

comment:22 Changed 13 years ago by wanthalf@…

This was the first thing I tried. I tried again now, but the results are the same :-(

Is it not possible that it pulls in the right library but some wrong headers?

comment:23 Changed 13 years ago by thirdgeek@…

"Is it not possible that it pulls in the right library but some wrong headers?"

I had this problem too, and was able to fix it by renaming the libpng header files in /Library/Frameworks/UnixImageIO.framework/Versions/C/Headers/libpng14/, so I think it must have been using those files instead of the MacPorts version.

comment:24 Changed 13 years ago by wanthalf@…

Oh, great, it works! Thank you so much! I did not even need to clean the old failed compilation, now it just finished linking correctly and installed within a second.

comment:25 Changed 13 years ago by nerdling (Jeremy Lavergne)

So now the question is: how to programmatically avoid this, or should I just check for that file and warn the user if it's found?

comment:26 Changed 13 years ago by michaelld (Michael Dickens)

With recent checkins, I do not see this issue any longer & I do have UnixImageIO.framework installed. Can anyone else verify that it works?

comment:27 Changed 13 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: reopenedclosed

Closing as fixed; please reopen if the issue described in this ticket isn't fixed for you. Please do a "selfupdate" before anything else ;)

Note: See TracTickets for help on using tickets.