-
Notifications
You must be signed in to change notification settings - Fork 131
Building omnibus-td-agent #192
Comments
Could you show which point causes this error? I have never hit this problm on my build. So I assume this is environment issue. |
Please find the attachment. I have exported http and https proxies and I think, it is because of the https proxy this error is coming up(reference : http://railspro.blogspot.com/2011/05/non-http-proxy-uri-in-open-uri_6702.html). So I unset the https proxy as Ruby's open-uri library only support http protocol, but then again it is failing because it is trying to download jemalloc and other tars from an https url. I am completely stuck here, please let me know how I can proceed. |
Adding up to previous comment... I am using RHEL 7.5 image, and my ruby version is ruby 2.4.3p205( I have tried with ruby 2.2 and 2.3.1 as well). I have installed bundler as well. As you told, you have not faced this issue during your build and this might be an environment issue, could you please tell me which environment are you building it in ? or if any specific environment is required for building omnibus-td-agent? Please let me know about the environment and the proxy settings, if required. Thanks |
This is too old information. Recent open-uri supports http, https and ftp.
No need from my experience.
I build td-agent RPM with Vagrant and VirtualBox. https://github.com/treasure-data/omnibus-td-agent#vagrant-based-virtualized-build-lab After setup vagrant, run command like |
Okay, Thanks a lot! |
@repeatedly But when I tried building it by changing the "install_dir", say, I change from /opt/td-agent to /home/td-agent, I does not work. My query here is, How can I change the install_dir in the source? I am trying to build relocatable td-agent rpm by changing the source code. For now, I am just hard-coding the source, if it works, we can put some variable and try making it relocatable. Any suggestions or input in this regards will be highly appreciated. Thank you. |
Adding up to previous comment: I did a grep and changed all the /opt to /home/akshat inside "omnibus-td-agent" folder. But now when I run the command "bin/omnibus build td-agent3", it still searches for /opt/td-agent. grep command: find the error logs below: [NetFetcher: postgresql] I | 2018-12-21T00:36:01+05:30 | Verifying checksum I am trying to build the rpm which builds in a custom path. Please let me know how I can proceed. |
Hi @repeatedly , Could you please look into above comments and guide me how to proceed? Thanks, |
@akshatsharma4 - You don't have access to /opt/td-agent and/or it doesn't exist yet from the looks of it. |
Hi,
I am trying to build omnibus-td-agent. I have done the installation stage and have ruby and bundler installed on my machine. but when I run "bin/omnibus build td-agent3" command, i am getting the following error:
"open_http: Non-HTTP proxy URI:[my-proxy] (RuntimeError)"
Please tell me how to proceed.
Thanks
The text was updated successfully, but these errors were encountered: