Teleport packages web assets for the proxy component directly into the binary during the build process, currently done in the src_compile phase: src_compile() { BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} pushd src/${EGO_PN%/*}/web/dist >/dev/null || die zip -qr "${S}/src/${EGO_PN%/*}/build/webassets.zip" . || die popd >/dev/null || die cat "${S}/src/${EGO_PN%/*}/build/webassets.zip" >> "src/${EGO_PN%/*}/build/${PN}" || die zip -q -A "${S}/src/${EGO_PN%/*}/build/${PN}" || die } By default the teleport build process pre-strips binaries by setting BUILDFLAGS="-ldflags '-w -s'" in the Makefile, the ebuild overrides this so the binaries pass QA checks. It appears the 'strip' call at the end of the build process is removing the appended web assets, preventing the proxy component from functioning. strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/bin/tsh usr/bin/teleport usr/bin/tctl Is there a way to disable this behavior, or change it to not strip the appended data?
I see no obvious solution here, except for pointing out to upstream that they're doing a really horrible thing and relying on the data not being accidentally removed is just plain stupid.