Latest guidelines on packaging go?
Hi everyone, as I lost track of this in the last half a year, what is the latest state of building golang packages? Especially calling "go build" and ensuring fPIE etc. get properly set for all OS releases? https://en.opensuse.org/openSUSE:Packaging_Go is still outdated, I guess. FYI, I just built this one and got two nice warnings. And I think the latter is packaging-related... https://build.opensuse.org/package/show/home:ojkastl_buildservice:Branch_dev...
[ 148s] ktop.x86_64: E: readelf-failed /usr/bin/ktop 'utf-8' codec can't decode byte 0xc2 in position 6583: invalid continuation byte [ 148s] Executing readelf on this file failed, all checks could not be run. [ 148s] [ 148s] ktop.x86_64: W: position-independent-executable-suggested /usr/bin/ktop [ 148s] This executable should be position independent (all binaries should). Check [ 148s] that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags.
Kind Regards, Johannes P.S.: Happy New Year everyone! -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
participants (1)
-
Johannes Kastl