Opened 9 years ago

Closed 9 years ago

#50346 closed defect (wontfix)

webkit2-gtk @2.11.3_2: asserting +debug variant causes build to fail (again)

Reported by: dbevans (David B. Evans) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: webkitgtk2

Description

This is a known issue but opening this ticket to track progress.

After dealing with #50340, building with +debug fails with a new error

:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar q  ../../lib/libWebCoreGTK.a  CMakeFiles/WebCore.dir/rendering/RenderGeometryMap.cpp.o CMakeFiles/WebCore.dir/rendering/RenderGrid.cpp.o CMakeFiles/WebCore.dir/rendering/RenderHTMLCanvas.cpp.o CMakeFiles/WebCore.dir/rendering/RenderIFrame.cpp.o CMakeFiles/WebCore.dir/rendering/RenderImage.cpp.o CMakeFiles/WebCore.dir/rendering/RenderImageResource.cpp.o CMakeFiles/WebCore.dir/rendering/RenderImageResourceStyleImage.cpp.o CMakeFiles/WebCore.dir/rendering/RenderInline.cpp.o CMakeFiles/WebCore.dir/rendering/RenderLayer.cpp.o CMakeFiles/WebCore.dir/rendering/RenderLayerBacking.cpp.o CMakeFiles/WebCore.dir/rendering/RenderLayerCompositor.cpp.o CMakeFiles/WebCore.dir/rendering/RenderLayerFilterInfo.cpp.o CMakeFiles/WebCore.dir/rendering/RenderLayerModelObject.cpp.o CMakeFiles/WebCore.dir/rendering/RenderLineBoxList.cpp.o CMakeFiles/WebCore.dir/rendering/RenderLineBreak.cpp.o CMakeFiles/WebCore.dir/rendering/RenderListBox.cpp.o CMakeFiles/WebCore.dir/rendering/RenderListItem.cpp.o CMakeFiles/WebCore.dir/rendering/RenderListMarker.cpp.o CMakeFiles/WebCore.dir/rendering/RenderMarquee.cpp.o CMakeFiles/WebCore.dir/rendering/RenderMedia.cpp.o CMakeFiles/WebCore.dir/rendering/RenderMediaControlElements.cpp.o CMakeFiles/WebCore.dir/rendering/RenderMediaControls.cpp.o CMakeFiles/WebCore.dir/rendering/RenderMenuList.cpp.o CMakeFiles/WebCore.dir/rendering/RenderMeter.cpp.o CMakeFiles/WebCore.dir/rendering/RenderMultiColumnFlowThread.cpp.o CMakeFiles/WebCore.dir/rendering/RenderMultiColumnSet.cpp.o CMakeFiles/WebCore.dir/rendering/RenderMultiColumnSpannerPlaceholder.cpp.o CMakeFiles/WebCore.dir/rendering/RenderNamedFlowFragment.cpp.o CMakeFiles/WebCore.dir/rendering/RenderNamedFlowThread.cpp.o CMakeFiles/WebCore.dir/rendering/RenderObject.cpp.o CMakeFiles/WebCore.dir/rendering/RenderProgress.cpp.o CMakeFiles/WebCore.dir/rendering/RenderQuote.cpp.o CMakeFiles/WebCore.dir/rendering/RenderRegion.cpp.o CMakeFiles/WebCore.dir/rendering/RenderRegionSet.cpp.o CMakeFiles/WebCore.dir/rendering/RenderReplaced.cpp.o CMakeFiles/WebCore.dir/rendering/RenderReplica.cpp.o CMakeFiles/WebCore.dir/rendering/RenderRuby.cpp.o CMakeFiles/WebCore.dir/rendering/RenderRubyBase.cpp.o CMakeFiles/WebCore.dir/rendering/RenderRubyRun.cpp.o CMakeFiles/WebCore.dir/rendering/RenderRubyText.cpp.o CMakeFiles/WebCore.dir/rendering/RenderScrollbar.cpp.o CMakeFiles/WebCore.dir/rendering/RenderScrollbarPart.cpp.o CMakeFiles/WebCore.dir/rendering/RenderScrollbarTheme.cpp.o CMakeFiles/WebCore.dir/rendering/RenderSearchField.cpp.o CMakeFiles/WebCore.dir/rendering/RenderSelectionInfo.cpp.o CMakeFiles/WebCore.dir/rendering/RenderSlider.cpp.o CMakeFiles/WebCore.dir/rendering/RenderSnapshottedPlugIn.cpp.o CMakeFiles/WebCore.dir/rendering/RenderTable.cpp.o CMakeFiles/WebCore.dir/rendering/RenderTableCaption.cpp.o CMakeFiles/WebCore.dir/rendering/RenderTableCell.cpp.o CMakeFiles/WebCore.dir/rendering/RenderTableCol.c
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive: ../../lib/libWebCoreGTK.a truncated or malformed (archive header of next member extends past the end of the file)
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed
:info:build make[2]: *** [lib/libWebCoreGTK.a] Error 1
:info:build make[2]: *** Deleting file `lib/libWebCoreGTK.a'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_Volumes_MiniHD_opt_macports_users_devans_GNOME-3_stable_dports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.3'

Apparently, the addition of debug symbols causes the resulting static archive to be too large, crashing ar.

Attachments (1)

main.log (95.2 MB) - added by dbevans (David B. Evans) 9 years ago.
Build log showing build failure

Change History (2)

Changed 9 years ago by dbevans (David B. Evans)

Attachment: main.log added

Build log showing build failure

comment:1 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: wontfix
Status: newclosed

Yeah. That's because the archive is too big. There's not much I can do about that, unfortunately.

Note: See TracTickets for help on using tickets.