|Priority:||4 - Normal|
|Created by:||Former user|
|Reported by:||Former user|
|Assigned to:||Jonathan Perkin|
Pkgsrc 2019Q4 is now available, and is the current LTS release. We should update the SmartOS build zone to this image in order to stay current.
Of note, jperkin delivered a 'smartos-tools' package as part of 2019Q4, so we should start using that instead of the i386 hand-rolled dmake, astmsgtools, rpcgen, sgstools that we're installing by hand (since installing these can result in alarming pkgsrc errors since the architecture doesn't match the default x86_64)
The fix here involves
Since pkgsrc 2019Q4 involves a new min_platform ( 20161222T003256Z), it's probably easiest if we bump the min_platform for builds to the same version proposed for Triton via TRITON-2043 at the same time, which is 20181206T011455Z - see that ticket for more of the gory details. This would mean the closest SmartOS release is 20181206T012147Z,
For reference, the platform build last switched its build image to 2018Q4 x86_64 via OS-7785 and friends.
Additional fixes are needed as part of this change for a few illumos-extra components
The workarounds we're experimenting with for these issues are:
Branches containing the work so far are at:
Re PKG_CONFIG, illumos-extra already tries to avoid this:
# # pkg-config may be installed. This will actually only hurt us rather than help # us. pkg-config is based as a part of the pkgsrc packages and will pull in # versions of libraries that we have in /opt/local rather than using the ones in # /usr that we want. PKG_CONFIG_LIBDIR controls the actual path. This # environment variable nulls out the search path. Other vars just control what # gets appended. # $(DESTDIR)/usr/gnu/bin/gas: FRC (cd binutils && \ PKG_CONFIG_LIBDIR="" \ STRAP=$(STRAP) \ $(MAKE) DESTDIR=$(DESTDIR) install)
Presumably that's no longer sufficient