Skip to content

Instantly share code, notes, and snippets.

View derekparker's full-sized avatar

Derek Parker derekparker

View GitHub Profile
2023-02-22T13:53:52.6329446Z Requested labels: ubuntu-latest
2023-02-22T13:53:52.6329494Z Job defined at: golang-fips/release/.github/workflows/test-ubi-centos.yml@refs/heads/main
2023-02-22T13:53:52.6329606Z Reusable workflow chain:
2023-02-22T13:53:52.6329636Z golang-fips/go/.github/workflows/gating.yml@refs/pull/79/merge (663a788e53b3bd20cd110beb0baaf0637652539a)
2023-02-22T13:53:52.6329694Z -> golang-fips/release/.github/workflows/test-ubi-centos.yml@refs/heads/main (3932650c15cc12d5f0b283291be21dbb2004c2b8)
2023-02-22T13:53:52.6329716Z Waiting for a runner to pick up this job...
2023-02-22T13:53:52.8803299Z Job is waiting for a hosted runner to come online.
2023-02-22T13:53:56.7571007Z Job is about to start running on the hosted runner: GitHub Actions 3 (hosted)
2023-02-22T13:53:59.3048081Z Current runner version: '2.301.1'
2023-02-22T13:53:59.3071203Z ##[group]Operating System
@derekparker
derekparker / err.txt
Created December 15, 2022 18:16
Go1.20rc1 stdlib shared build failure
WORK=/tmp/go-build3103895841
mkdir -p $WORK/b262/
cat >/tmp/go-build3103895841/b262/importcfg.link << 'EOF' # internal
packagefile runtime=/home/deparker/Code/go/pkg/linux_amd64_dynlink/runtime.a
packagefile archive/tar=/home/deparker/Code/go/pkg/linux_amd64_dynlink/archive/tar.a
packagefile archive/zip=/home/deparker/Code/go/pkg/linux_amd64_dynlink/archive/zip.a
packagefile bufio=/home/deparker/Code/go/pkg/linux_amd64_dynlink/bufio.a
packagefile bytes=/home/deparker/Code/go/pkg/linux_amd64_dynlink/bytes.a
packagefile compress/bzip2=/home/deparker/Code/go/pkg/linux_amd64_dynlink/compress/bzip2.a
packagefile compress/flate=/home/deparker/Code/go/pkg/linux_amd64_dynlink/compress/flate.a
" 'apprentice.vim' -- Vim color scheme.
" Maintainer: Romain Lafourcade (romainlafourcade@gmail.com)
" Essentially a streamlining and conversion to X11 colors of
" 'sorcerer' by Jeet Sukumaran (jeetsukumaran@gmailcom)
" MADE-UP NAME HEX XTERM ANSI
" ==================================================
" almost black #1c1c1c 234 0
" darker grey #262626 235 background color
" dark grey #303030 236
```diff
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index d9eb9c3862..506f9799aa 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -1180,18 +1180,20 @@ func (t *tester) cgoTest(dt *distTest) error {
fmt.Println("No support for static linking found (lacks libc.a?), skip cgo static linking test.")
} else {
if goos != "android" {
- t.addCmd(dt, "misc/cgo/testtls", t.goTest(), "-ldflags", `-linkmode=external -extldflags "-static -pthread"`)
➜ example-debug rr replay /home/deparker/.local/share/rr/example-debug-0
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-100.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
// default FIPSCipherSuites is the FIPS-allowed cipher suites,
// in preference order (most preferable first).
var defaultFIPSCipherSuites = []uint16{
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
TLS_RSA_WITH_AES_128_GCM_SHA256,
TLS_RSA_WITH_AES_256_GCM_SHA384,
sudo dnf install mock
Failed loading plugin: product-id
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1:27:25 ago on Thu 20 Sep 2018 05:56:33 PM EDT.
Error:
%{?scl:%scl_package golang}
%{!?scl:%global pkg_name %{name}}
# build ids are not currently generated:
# https://code.google.com/p/go/issues/detail?id=5238
#
# also, debuginfo extraction currently fails with
# "Failed to write file: invalid section alignment"
%global debug_package %{nil}
---
document: modulemd
version: 1
data:
summary: Go
description: Go Tools and libraries
license:
module: [MIT]
dependencies:
- buildrequires:
document: modulemd
version: 1
data:
summary: Go
description: Go Tools and libraries
license:
module: [MIT]
dependencies:
- buildrequires:
platform: [el8]