[GH-ISSUE #413] unable to build goproxy #322

Closed
opened 2026-02-27 23:16:29 +03:00 by kerem · 3 comments
Owner

Originally created by @spykermj on GitHub (Dec 30, 2020).
Original GitHub issue: https://github.com/snail007/goproxy/issues/413

Expected Behavior

I would expect an open source project to provide a documented build process

Current Behavior

The only files in the repository that mention building (in Enlish anyway) pull a pre-built image from a web site instead of using golang to build the project

Possible Solution

Steps to Reproduce

  1. place the goproxy code into your go root/src directory as "proxy"
  2. run go get -d proxy from the go root src directory
  3. cd proxy
  4. go build main.go

Context (Environment)

  1. proxy version is : v? trying to build from the current master branch
  2. full command is :? Details are given in the "steps to reproduce"
  3. system is : CentOS
  4. full log is: ?

command-line-arguments

go build main.go
./main.go:15:9: undefined: initConfig
./main.go:19:9: undefined: service

Detailed Description

I propose that a repeatable build process should be provided

Originally created by @spykermj on GitHub (Dec 30, 2020). Original GitHub issue: https://github.com/snail007/goproxy/issues/413 <!--- Provide a general summary of the issue in the Title above --> ## Expected Behavior <!--- Tell us what should happen --> I would expect an open source project to provide a documented build process ## Current Behavior <!--- Tell us what happens instead of the expected behavior --> The only files in the repository that mention building (in Enlish anyway) pull a pre-built image from a web site instead of using golang to build the project ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. place the goproxy code into your go root/src directory as "proxy" 1. run `go get -d proxy` from the go root src directory 1. cd proxy 1. go build main.go ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> 1. proxy version is : v? trying to build from the current master branch 1. full command is :? Details are given in the "steps to reproduce" 1. system is : CentOS 1. full log is: ? # command-line-arguments go build main.go ./main.go:15:9: undefined: initConfig ./main.go:19:9: undefined: service <!--- Provide a general summary of the issue in the Title above --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> I propose that a repeatable build process should be provided
kerem closed this issue 2026-02-27 23:16:29 +03:00
Author
Owner

@shinvdu commented on GitHub (Jan 14, 2021):

I have the same issue too.

···
silas@myhost goproxy-10.2 % go build main.go
main.go:8:2: cannot find package "proxy/services" in any of:
/usr/local/go/src/proxy/services (from $GOROOT)
/home/silas/go/src/proxy/services (from $GOPATH)
silas@silas-ThinkPad-L460 goproxy-10.2 %

···

我想说是, 即然, 都开源了, 为什么不能让他好好build成功呢,让大家可以在上面修改, 加更多的功能, 才是开源的本质。

最后, 很感谢作者的开源软件。

<!-- gh-comment-id:759887720 --> @shinvdu commented on GitHub (Jan 14, 2021): I have the same issue too. ··· silas@myhost goproxy-10.2 % go build main.go main.go:8:2: cannot find package "proxy/services" in any of: /usr/local/go/src/proxy/services (from $GOROOT) /home/silas/go/src/proxy/services (from $GOPATH) silas@silas-ThinkPad-L460 goproxy-10.2 % ··· 我想说是, 即然, 都开源了, 为什么不能让他好好build成功呢,让大家可以在上面修改, 加更多的功能, 才是开源的本质。 最后, 很感谢作者的开源软件。
Author
Owner

@TonyRL commented on GitHub (Jan 14, 2021):

@spykermj There's one critical part missing if you compare the README with README_ZH.

https://github.com/snail007/goproxy/blob/master/README_ZH.md#源代码申明

A simple Google Translate

Source code declaration
The author of this project found that a large number of developers based on this project for secondary development or use a large amount of the core code of this project without following the GPLv3 agreement, which seriously violates the original intention of this project to use the GPLv3 open source agreement. In view of this situation, this project adopts the source The code delayed release strategy, to a certain extent, curbs these disrespect for open source and disrespect for the work of others.
This project will continue to update and iterate, continue to release full-platform binary programs, and provide powerful and convenient agent tools for everyone.

TL;DR version
This repo contains outdated source but updated binary, docs, etc.

<!-- gh-comment-id:760296946 --> @TonyRL commented on GitHub (Jan 14, 2021): @spykermj There's one critical part missing if you compare the README with README_ZH. https://github.com/snail007/goproxy/blob/master/README_ZH.md#源代码申明 A simple Google Translate > Source code declaration The author of this project found that a large number of developers based on this project for secondary development or use a large amount of the core code of this project without following the GPLv3 agreement, which seriously violates the original intention of this project to use the GPLv3 open source agreement. In view of this situation, this project adopts the source The code delayed release strategy, to a certain extent, curbs these disrespect for open source and disrespect for the work of others. This project will continue to update and iterate, continue to release full-platform binary programs, and provide powerful and convenient agent tools for everyone. TL;DR version This repo contains outdated source but updated binary, docs, etc.
Author
Owner

@spykermj commented on GitHub (Jan 14, 2021):

OK, my Chinese language skills aren't so good. It sounds like this is no longer an open source project.

<!-- gh-comment-id:760303494 --> @spykermj commented on GitHub (Jan 14, 2021): OK, my Chinese language skills aren't so good. It sounds like this is no longer an open source project.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#322
No description provided.