getsolus / getsolus/solbuild

solbuild can't use proxy

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Go
Stars
24
Forks
15
Avg merge
13h 27m
Merged PRs (30d)
3

Description

Hi,
i can't build package using solbuild with a proxy.

When i try to make the package, it try to download the tarball from the source but the proxy block the download.
I have the proxy in gnome-control-center.
i think solbuild use curl so i have made an alias, so when i run 'curl' it run' curl -x myproxy' but it still doesent work.
I have also try with the command 'export http_proxy='myproxy'' and 'export https_proxy='myproxy'' but it still doesent work.

the only solution i have found is to remove sudo from Makefile.common and connect to the root user and use the command 'export http_proxy='myproxy'' and 'export https_proxy='myproxy''.

I am using the last version of Solus 4.

Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting Makefile.common and the package-download path to understand how proxy settings are passed when commands run through sudo. Reproduce the build with http_proxy and https_proxy set, then verify that downloading the source tarball works without removing sudo or switching to root.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.