Skip to content

Instantly share code, notes, and snippets.

2021/01/06 06:32:30 httptest.Server blocked in Close after 5 seconds, waiting for connections:
*net.TCPConn 0xc0000100a0 127.0.0.1:64946 in state active
--- FAIL: TestTransportCloseResponseBody (79.55s)
transport_test.go:2669: too long waiting for write error
2021/01/06 06:33:39 httptest.Server blocked in Close after 5 seconds, waiting for connections:
*net.TCPConn 0xc000010098 127.0.0.1:59675 in state active
2021/01/06 06:33:40 httptest.Server blocked in Close after 5 seconds, waiting for connections:
*net.TCPConn 0xc000284120 127.0.0.1:59710 in state active
2021/01/06 06:34:59 httptest.Server blocked in Close after 5 seconds, waiting for connections:
*net.TCPConn 0xc000010128 127.0.0.1:21443 in state active
Index: devel/gocheese/Makefile
===================================================================
--- devel/gocheese/Makefile (revision 560776)
+++ devel/gocheese/Makefile (working copy)
@@ -19,7 +19,7 @@
bin/pyshop2packages.sh
do-build:
- @cd ${WRKSRC} ; ${ENV} GOPATH=${WRKSRC} go build -ldflags="-s -w" -o gocheese go.cypherpunks.ru/gocheese/v2
+ @cd ${WRKSRC} ; ${ENV} GOPATH=${WRKSRC} GO111MODULE=off go build -ldflags="-s -w" -o gocheese go.cypherpunks.ru/gocheese/v2
Index: devel/loccount/Makefile
===================================================================
--- devel/loccount/Makefile (revision 560780)
+++ devel/loccount/Makefile (working copy)
@@ -25,7 +25,7 @@
man/man1/${PORTNAME}.1.gz
do-build:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} loccount loccount.1
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GMAKE} loccount loccount.1
Index: net/ooni-probe-cli/Makefile
===================================================================
--- net/ooni-probe-cli/Makefile (revision 560781)
+++ net/ooni-probe-cli/Makefile (working copy)
@@ -113,7 +113,7 @@
${MV} ${WRKSRC}/go.mod ${WRKDIR}/go.mod-${PORTNAME} && \
cd ${WRKSRC}/vendor/github.com/shuLhan/go-bindata && \
${RLN} ${WRKSRC}/vendor vendor && ${RLN} ${WRKSRC}/vendor src && \
- ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor/github.com/shuLhan/go-bindata ${GO_CMD} \
+ ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor/github.com/shuLhan/go-bindata GO111MODULE=off ${GO_CMD} \
...
Compiler for C supports arguments -Wattributes: YES
Compiler for C supports arguments -Wlong-long: YES
Compiler for C supports arguments -Wmissing-field-initializers: YES
Run-time dependency pciaccess found: YES 0.16
Run-time dependency cunit found: NO (tried pkgconfig and cmake)
Run-time dependency valgrind found: NO (tried pkgconfig)
Program rst2man found: NO
meson.build:264:0: ERROR: Program 'rst2man' not found
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
===> Installing for libdrm-2.4.104,1
===> Checking if libdrm is already installed
===> Registering installation for libdrm-2.4.104,1
pkg-static: Unable to access file /usr/ports/graphics/libdrm/work/stage/usr/local/man/man7/drm-gem.7.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/libdrm/work/stage/usr/local/man/man7/drm-mm.7.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/libdrm/work/stage/usr/local/man/man7/drm-ttm.7.gz:No such file or directory
*** Error code 1
# $FreeBSD$
PORTNAME= objconv
DISTVERSION= 2.52
CATEGORIES= devel
MASTER_SITES= http://fuz.su/~fuz/objconv/
MAINTAINER= fuz@fuz.su
COMMENT= Agner Fog's object file converter
# $FreeBSD: head/devel/goswagger/Makefile 542598 2020-07-19 21:10:59Z dmgk $
PORTNAME= goswagger
DISTVERSIONPREFIX= v
DISTVERSION= 0.25.0
CATEGORIES= devel
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Swagger 2.0 implementation for Go
# $FreeBSD: head/devel/goswagger/Makefile 542598 2020-07-19 21:10:59Z dmgk $
PORTNAME= goswagger
DISTVERSIONPREFIX= v
DISTVERSION= 0.25.0
CATEGORIES= devel
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Swagger 2.0 implementation for Go
Index: Mk/Uses/go.mk
===================================================================
--- Mk/Uses/go.mk (revision 566192)
+++ Mk/Uses/go.mk (working copy)
@@ -161,7 +161,7 @@
post-fetch:
@${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies";
@(cd ${DISTDIR}/${DIST_SUBDIR}; \
- ${RLN} ${GO_MODFILE} go.mod; \
+ [ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \