dotnet broken ?

I can not install dotnet as package. & the port does not compile. The maintainer does not see a problem ...
The build fails with
Code:
[00:29:31] ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
[00:29:32] ===>  Building for dotnet-8.0.0
[00:29:32] cd /wrkdirs/usr/ports/lang/dotnet/work/dotnet-8.0.0 && /usr/bin/env OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/lang/dotnet/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/dotnet/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/dotnet/work/.cache  HOME=/wrkdirs/usr/ports/lang/dotnet/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/dotnet/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/dotnet/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DEFAULT_AUTOCONF=2.72 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe -march=alderlake  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath,/usr/local/lib:/usr/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -march=alderlake -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" PYTHON=/usr/local/bin/python3.9 ./build.sh  --release-manifest release.json  --clean-while-building  --with-sdk /wrkdirs/usr/ports/lang/dotnet/work/bootstrap_sdk  --with-packages /wrkdirs/usr/ports/lang/dotnet/work/packages  --  -maxcpucount:12
[00:29:34] Detected '--': passing remaining parameters '-maxcpucount:12' as build.sh arguments.
[00:29:36] GC heap initialization failed with error 0x8007000E
[00:29:36] Failed to create CoreCLR, HRESULT: 0x8007000E
[00:29:36] Using custom bootstrap SDK from '/wrkdirs/usr/ports/lang/dotnet/work/bootstrap_sdk', version ''
[00:29:36] Found bootstrap SDK , bootstrap Arcade 8.0.0-beta.23516.4, bootstrap SourceLink 8.0.0-beta.23510.2
[00:29:37] GC heap initialization failed with error 0x8007000E
[00:29:37] Failed to create CoreCLR, HRESULT: 0x8007000E
[00:29:38] *** Error code 137
[00:29:38]
 
Looking at the logs you have, a noticeable difference is from your environment variable:
For instance
Code:
CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "
There is no march defined here, same with the cluster.
Additionally, the openssl environment variable are for /usr/local which implies some custom settings.
Here the entire env that I have:
Code:
cd /wrkdirs/usr/ports/lang/dotnet/work/dotnet-8.0.0 && /usr/bin/env OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/lang/dotnet/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/dotnet/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/dotnet/work/.cache  HOME=/wrkdirs/usr/ports/lang/dotnet/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/dotnet/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/dotnet/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DEFAULT_AUTOCONF=2.72 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath,/usr/local/lib:/usr/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" PYTHON=/usr/local/bin/python3.9 ./build.sh  --release-manifest release.json  --clean-while-building  --with-sdk /wrkdirs/usr/ports/lang/dotnet/work/bootstrap_sdk  --with-packages /wrkdirs/usr/ports/lang/dotnet/work/packages  --  -maxcpucount:12
 
Looking at the logs you have, a noticeable difference is from your environment variable:
For instance
Code:
CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "
There is no march defined here, same with the cluster.
Additionally, the openssl environment variable are for /usr/local which implies some custom settings.
Here the entire env that I have:
Code:
cd /wrkdirs/usr/ports/lang/dotnet/work/dotnet-8.0.0 && /usr/bin/env OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/lang/dotnet/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/dotnet/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/dotnet/work/.cache  HOME=/wrkdirs/usr/ports/lang/dotnet/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/dotnet/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/dotnet/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DEFAULT_AUTOCONF=2.72 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath,/usr/local/lib:/usr/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" PYTHON=/usr/local/bin/python3.9 ./build.sh  --release-manifest release.json  --clean-while-building  --with-sdk /wrkdirs/usr/ports/lang/dotnet/work/bootstrap_sdk  --with-packages /wrkdirs/usr/ports/lang/dotnet/work/packages  --  -maxcpucount:12
How do i do the same using poudriere ?
 
How do i do the same using poudriere ?

Code:
.if ${.CURDIR:M*/lang/dotnet}
DEFAULT_VERSIONS+=ssl=base
.endif

this should do the trick.

My last built attempt 2 days ago worked for dotnet and I have DEFAULT_VERSIONS+=ssl=openssl set in the make.conf used for that build. However, I have *lots* of failed ports because of invalid filedescriptors since upgrading to 13.3-RELEASE, so I'm not sure how representative my builds currently are. Those fd errors mostly go away when re-attempting the build and appear in completely random ports - i.e. there's no overlap in ports that fail in my different bulk jobs (for servers, desktop, laptop) and I'm currently restarting bulk jobs 5-10x until all packages are finally built. I really miss the 12.x days when poudriere jobs 'just worked'™...
 
Back
Top