[Bug 265343] x11-toolkits/gtk20 build failure "section header table goes past the end of the file"

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Jul 2022 14:21:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265343

            Bug ID: 265343
           Summary: x11-toolkits/gtk20 build failure "section header table
                    goes past the end of the file"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: f451@imap.cc
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

This fails in todays (Wednesday 20th July) portstree on 13 stable in poudriere
testport 


[00:00:32] mv -f .deps/gdkmarshalers.Tpo .deps/gdkmarshalers.Plo
[00:00:32] /bin/sh ../libtool  --tag=CC   --mode=link cc  -O2 -pipe
-march=haswell  -fstack-protector-strong -isys
tem /usr/local/include -fno-strict-aliasing  -Wall  -version-info 2400:33:2400
-export-dynamic -rpath /usr/local/l
ib  -export-symbols-regex "^[^_].*" -fstack-protector-strong -L/usr/local/lib 
-o libgdk-x11-2.0.la    gdk.lo gdka
pplaunchcontext.lo gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo
gdkdisplaymanager.lo gdkdnd.lo gdkdraw.lo gd
kevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkimage.lo gdkkeys.lo
gdkkeyuni.lo gdkoffscreenwindow.lo gdkpango.lo
 gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo
gdkrectangle.lo gdkregion-generic.lo
 gdkrgb.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo
gdkwindowimpl.lo gdkenumtypes.lo gdkmarshalers.l
o x11/libgdk-x11.la -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lharfbuzz
-lgio-2.0 -lfontconfig -lfreetype -lX
render -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes
-lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.
0 -lintl -lcairo -lX11 -lXext -lm 
[00:00:32] libtool: link: /usr/bin/nm  .libs/gdk.o .libs/gdkapplaunchcontext.o
.libs/gdkcairo.o .libs/gdkcolor.o .
libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdisplaymanager.o .libs/gdkdnd.o
.libs/gdkdraw.o .libs/gdkevents.o .li
bs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkimage.o .libs/gdkkeys.o
.libs/gdkkeyuni.o .libs/gdkoffscree
nwindow.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o
.libs/gdkpixmap.o .libs/gdkpolyreg-
generic.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkrgb.o
.libs/gdkscreen.o .libs/gdkselection.o .li
bs/gdkvisual.o .libs/gdkwindow.o .libs/gdkwindowimpl.o .libs/gdkenumtypes.o
.libs/gdkmarshalers.o   x11/.libs/libg
dk-x11.a | sed -n -e 's/^.*[     ]\([BCDEGRST][BCDEGRST]*\)[     ][     
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'
 | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq >
.libs/libgdk-x11-2.0.exp
[00:00:32] nm: .libs/gdkwindow.o: Missing or malformed ELF header
[00:00:32] libtool: link: /usr/bin/egrep -e "^[^_].*"
".libs/libgdk-x11-2.0.exp" > ".libs/libgdk-x11-2.0.expT"
[00:00:32] libtool: link: mv -f ".libs/libgdk-x11-2.0.expT"
".libs/libgdk-x11-2.0.exp"
[00:00:32] libtool: link: echo "{ global:" >
.libs/libgdk-x11-2.0.so.0.2400.33-ver
[00:00:32] libtool: link:                sed -e "s|$|;|" <
.libs/libgdk-x11-2.0.exp >> .libs/libgdk-x11-2.0.so.0.2
400.33-ver
[00:00:32] libtool: link:        echo "local: *; };" >>
.libs/libgdk-x11-2.0.so.0.2400.33-ver
[00:00:32] libtool: link: cc -shared  -fPIC -DPIC  .libs/gdk.o
.libs/gdkapplaunchcontext.o .libs/gdkcairo.o .libs/
gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdisplaymanager.o
.libs/gdkdnd.o .libs/gdkdraw.o .libs/gdk
events.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkimage.o
.libs/gdkkeys.o .libs/gdkkeyuni.o .libs
/gdkoffscreenwindow.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o
.libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs
/gdkpolyreg-generic.o .libs/gdkrectangle.o .libs/gdkregion-generic.o
.libs/gdkrgb.o .libs/gdkscreen.o .libs/gdksel
ection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkwindowimpl.o
.libs/gdkenumtypes.o .libs/gdkmarshalers.o  -Wl
,--whole-archive x11/.libs/libgdk-x11.a -Wl,--no-whole-archive 
-L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lha
rfbuzz -lgio-2.0 -lfontconfig -lfreetype -lXrender -lXinerama -lXi -lXrandr
-lXcursor -lXcomposite -lXdamage -lXfi
xes -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lX11 -lXext -lm 
-O2 -march=haswell -fstack-protecto
r-strong -fstack-protector-strong   -Wl,-soname -Wl,libgdk-x11-2.0.so.0
-Wl,-version-script -Wl,.libs/libgdk-x11-2
.0.so.0.2400.33-ver -o .libs/libgdk-x11-2.0.so.0.2400.33
[00:00:32] ld: error: .libs/gdkwindow.o: section header table goes past the end
of the file: e_shoff = 0x2d0c0
[00:00:32] cc: error: linker command failed with exit code 1 (use -v to see
invocation)
[00:00:32] gmake[5]: *** [Makefile:1255: libgdk-x11-2.0.la] Error 1
[00:00:32] gmake[5]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.33/gdk'
[00:00:32] gmake[4]: *** [Makefile:1401: all-recursive] Error 1
[00:00:32] gmake[4]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.33/gdk'
[00:00:32] gmake[3]: *** [Makefile:1175: all] Error 2
[00:00:32] gmake[3]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.33/gdk'
[00:00:32] gmake[2]: *** [Makefile:730: all-recursive] Error 1
[00:00:32] gmake[2]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.33'
[00:00:32] gmake[1]: *** [Makefile:622: all] Error 2
[00:00:32] gmake[1]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.33'
[00:00:32] *** Error code 1
[00:00:32] 
[00:00:32] Stop.
[00:00:32] make: stopped in /usr/ports/x11-toolkits/gtk20

-- 
You are receiving this mail because:
You are the assignee for the bug.