Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 22:03:41 +0000
From:      jonc@chen.org.nz
To:        freebsd-ports@freebsd.org
Subject:   x11-toolkits/libwnck3 fails to build on 14-STABLE/amd64
Message-ID:  <b89256396585af483e915d1ac254d891@chen.org.nz>

next in thread | raw e-mail | index | archive | help
Hi,

On a recent 14-STABLE/amd64 (updated on 11-Jan-2025), x11-toolkits/libwnc=
k3 fails with:

[ 20% 27/135] cc -Ilibwnck/wnckprop.p -Ilibwnck -I../libwnck -I. -I.. -I/=
usr/local/include/cairo -I/usr/local/include -I/usr/local/include/glib-2.=
0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/=
local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/includ=
e/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gdk-pixbuf-=
2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 =
-I/usr/local/include/atk-1.0 -I/usr/local/include/dbus-1.0 -I/usr/local/l=
ib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/local/inclu=
de/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/gio-unix-2.=
0 -I/usr/local/include/startup-notification-1.0 -fdiagnostics-color=3Dnev=
er -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -O2 -pipe -fstack-protect=
or-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/=
local/include -pthread -D_THREAD_SAFE '-DG_LOG_DOMAIN=3D"Wnck"' -DWNCK_I_=
KNOW_THIS_IS_UNSTABLE '-DWNCK_LOCALEDIR=3D"/usr/local/share/locale"' -DWN=
CK_COMPILATION -DSN_API_NOT_YET_FROZEN=3D1 -MD -MQ libwnck/wnckprop.p/wnc=
kprop.c.o -MF libwnck/wnckprop.p/wnckprop.c.o.d -o libwnck/wnckprop.p/wnc=
kprop.c.o -c ../libwnck/wnckprop.c
[ 20% 28/135] cc  -o libwnck/wnckprop libwnck/wnckprop.p/wnckprop.c.o -Wl=
,--as-needed -Wl,--no-undefined -fstack-protector-strong -O2 -pipe -fstac=
k-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isys=
tem /usr/local/include '-Wl,-rpath,$ORIGIN/:/usr/local/lib' -Wl,-rpath-li=
nk,/tmp/usr/ports/x11-toolkits/libwnck3/work/libwnck-3.36.0/_build/libwnc=
k -Wl,-rpath-link,/usr/local/lib -Wl,--start-group libwnck/libwnck-3.so.0=
.3.0 -Wl,--version-script,/tmp/usr/ports/x11-toolkits/libwnck3/work/libwn=
ck-3.36.0/libwnck/libwnck-3.map -lm /usr/local/lib/libcairo.so /usr/local=
/lib/libXext.so /usr/local/lib/libXrender.so /usr/local/lib/libX11.so /us=
r/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libgo=
bject-2.0.so /usr/local/lib/libgtk-3.so /usr/local/lib/libgdk-3.so /usr/l=
ib/libz.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpango-1.=
0.so /usr/local/lib/libharfbuzz.so /usr/local/lib/libatk-1.0.so /usr/loca=
l/lib/libcairo-gobject.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/=
lib/libgio-2.0.so /usr/local/lib/libstartup-notification-1.so /usr/local/=
lib/libXRes.so -Wl,--end-group
FAILED: libwnck/wnckprop=20
cc=20 -o libwnck/wnckprop libwnck/wnckprop.p/wnckprop.c.o -Wl,--as-needed=
 -Wl,--no-undefined -fstack-protector-strong -O2 -pipe -fstack-protector-=
strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/loc=
al/include '-Wl,-rpath,$ORIGIN/:/usr/local/lib' -Wl,-rpath-link,/tmp/usr/=
ports/x11-toolkits/libwnck3/work/libwnck-3.36.0/_build/libwnck -Wl,-rpath=
-link,/usr/local/lib -Wl,--start-group libwnck/libwnck-3.so.0.3.0 -Wl,--v=
ersion-script,/tmp/usr/ports/x11-toolkits/libwnck3/work/libwnck-3.36.0/li=
bwnck/libwnck-3.map -lm /usr/local/lib/libcairo.so /usr/local/lib/libXext=
.so /usr/local/lib/libXrender.so /usr/local/lib/libX11.so /usr/local/lib/=
libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libgobject-2.0.so=
 /usr/local/lib/libgtk-3.so /usr/local/lib/libgdk-3.so /usr/lib/libz.so /=
usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpango-1.0.so /usr/lo=
cal/lib/libharfbuzz.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libcai=
ro-gobject.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libgio-2=
.0.so /usr/local/lib/libstartup-notification-1.so /usr/local/lib/libXRes.=
so -Wl,--end-group
ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is referenc=
ed by DSO '/lib/libc.so.7'
ld: error: non-exported symbol '__progname' in '/usr/lib/crt1.o' is refer=
enced by DSO '/lib/libc.so.7'
cc: error: linker command failed with exit code 1 (use -v to see invocati=
on)
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-toolkits/libwnck3

The most notable difference from my last stable-update is that the system=
 now uses clang-19:

m# cc -v
FreeBSD clang version 19.1.5 (https://github.com/llvm/llvm-project.git ll=
vmorg-19.1.5-0-gab4b5a2db582)
Target: x86_64-unknown-freebsd14.2
Thread model: posix
InstalledDir: /usr/bin

--
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b89256396585af483e915d1ac254d891>