Skip to content

rpmbuild stage should not inherit the proxy environment if rpmbuild_networking is False #1723

Description

@yaneti

(http,https,ftp)_proxy can be useful and save unnecessary trafic when building the buildroot, but can actively harm the rpmbuild build phase itself when networking is disabled (the default) and certain build targets execute steps/tests that are trying some networking even if its only to localhost .

Was burned by this when certain python tests in the %check phase are using standard python libs and are actively trying to connect to the proxy even if trying to talk to localhost http.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions