[opensuse-buildservice] Internet access during local build
Dear All, in the %build section of an .spec file I'm writing I need to run a thirds part script that use wget to download some file directly from internet. If I try to build the .rpm locally to check any error before to commit the changes, I'll get the following error: Resolving www.netlib.org (www.netlib.org)... failed: Connection refused. wget: unable to resolve host address `www.netlib.org' It seems that during the build of an rpm there is no internet access. How can I configure osc in order to have internet access during the local building of packages ?? Thanks, Gianluca Massera. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dear All,
I've just notice that I get the same error trying to build on the
opensuse build service.
Can I resolve this issue ??
Thanks,
Gianluca Massera.
2013/3/6 Gianluca
Dear All, in the %build section of an .spec file I'm writing I need to run a thirds part script that use wget to download some file directly from internet. If I try to build the .rpm locally to check any error before to commit the changes, I'll get the following error:
Resolving www.netlib.org (www.netlib.org)... failed: Connection refused. wget: unable to resolve host address `www.netlib.org'
It seems that during the build of an rpm there is no internet access. How can I configure osc in order to have internet access during the local building of packages ??
Thanks, Gianluca Massera. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 03/06/2013 04:43 PM, Gianluca wrote:
Dear All, in the %build section of an .spec file I'm writing I need to run a thirds part script that use wget to download some file directly from internet. If I try to build the .rpm locally to check any error before to commit the changes, I'll get the following error:
Resolving www.netlib.org (www.netlib.org)... failed: Connection refused. wget: unable to resolve host address `www.netlib.org'
It seems that during the build of an rpm there is no internet access. How can I configure osc in order to have internet access during the local building of packages ??
This is not possible at all. Why do you need to do this at all? Can't you download them before? Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dear Andreas,
It is not my script that try to download files from internet, but a
mandatory script for configuring the building of a IPOPT source
package.
IPOPT does not follow the standard configure method, and it has some
bash script that download extra files for builds optional features
that I have to activate.
Anyway, If it is not possible, I'll try to add a patch in order to
build IPOPT without getting nothing from internet.
Thank you,
Gianluca Massera.
2013/3/6 Andreas Jaeger
On 03/06/2013 04:43 PM, Gianluca wrote:
Dear All, in the %build section of an .spec file I'm writing I need to run a thirds part script that use wget to download some file directly from internet. If I try to build the .rpm locally to check any error before to commit the changes, I'll get the following error:
Resolving www.netlib.org (www.netlib.org)... failed: Connection refused. wget: unable to resolve host address `www.netlib.org'
It seems that during the build of an rpm there is no internet access. How can I configure osc in order to have internet access during the local building of packages ??
This is not possible at all.
Why do you need to do this at all? Can't you download them before?
Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 03/06/2013 05:35 PM, Gianluca Emme wrote:
Dear Andreas, It is not my script that try to download files from internet, but a mandatory script for configuring the building of a IPOPT source package. IPOPT does not follow the standard configure method, and it has some bash script that download extra files for builds optional features that I have to activate.
Anyway, If it is not possible, I'll try to add a patch in order to build IPOPT without getting nothing from internet.
Or configure it in such a way that you download the files first locally. Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 6. März 2013, 17:35:56 wrote Gianluca Emme:
Dear Andreas, It is not my script that try to download files from internet, but a mandatory script for configuring the building of a IPOPT source package. IPOPT does not follow the standard configure method, and it has some bash script that download extra files for builds optional features that I have to activate.
Anyway, If it is not possible, I'll try to add a patch in order to build IPOPT without getting nothing from internet.
Please do so. It would not be a reproducable build and actually a privacy/security problem otherwise. thanks adrian
Thank you, Gianluca Massera.
2013/3/6 Andreas Jaeger
: On 03/06/2013 04:43 PM, Gianluca wrote:
Dear All, in the %build section of an .spec file I'm writing I need to run a thirds part script that use wget to download some file directly from internet. If I try to build the .rpm locally to check any error before to commit the changes, I'll get the following error:
Resolving www.netlib.org (www.netlib.org)... failed: Connection refused. wget: unable to resolve host address `www.netlib.org'
It seems that during the build of an rpm there is no internet access. How can I configure osc in order to have internet access during the local building of packages ??
This is not possible at all.
Why do you need to do this at all? Can't you download them before?
Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
On 03/06/2013 10:43 AM, Gianluca wrote:
Dear All, in the %build section of an .spec file I'm writing I need to run a thirds part script that use wget to download some file directly from internet. If I try to build the .rpm locally to check any error before to commit the changes, I'll get the following error:
Resolving www.netlib.org (www.netlib.org)... failed: Connection refused. wget: unable to resolve host address `www.netlib.org'
It seems that during the build of an rpm there is no internet access. How can I configure osc in order to have internet access during the local building of packages ??
There is no internet access during build in OBS either. Your local build mirrors the OBS build environment. Thus if you would have network access during your local build the package build would succeed locally but would be failing in OBS. What you need to do is build the code that gets downloaded as a package and then BuildRequire the package. Also you will need to figure out the download part of the build. HTH, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (5)
-
Adrian Schröter
-
Andreas Jaeger
-
Gianluca
-
Gianluca Emme
-
Robert Schweikert