You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Jun He (Jira)" <ji...@apache.org> on 2019/12/06 07:09:00 UTC

[jira] [Resolved] (BIGTOP-3274) Protobuf build failed due to git.savannah.gnu.org not accessible

     [ https://issues.apache.org/jira/browse/BIGTOP-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jun He resolved BIGTOP-3274.
----------------------------
    Resolution: Won't Fix

* git.savannah.gnu.org is back to work now.
* store config.guess is not the best approach.
Close this till better solution is identified.


> Protobuf build failed due to git.savannah.gnu.org not accessible
> ----------------------------------------------------------------
>
>                 Key: BIGTOP-3274
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3274
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Jun He
>            Priority: Major
>
> In BIGTOP-2698, protobuf is set to build from source with patche and new config.guess from git.savannah.gnu.org.
> Recently when I was trying to build toolchain, I noticed that confgi.guess was failed to download due to git.savannah.gnu.org was not accessible.
> {noformat}
> Notice: /Stage[main]/Bigtop_toolchain::Protobuf/Exec[download protobuf]/returns:                                  Dload  Upload   Total   Spent    Left  Speed
>   0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0curl: (7) Failed to connect to git.savannah.gnu.org port 80: No route to host
> Error: /usr/bin/wget https://github.com/google/protobuf/releases/download/v2.5.0//protobuf-2.5.0.tar.gz && mkdir -p protobuf-2.5.0 && /bin/tar -xvzf protobuf-2.5.0.tar.gz -C protobuf-2.5.0 --strip-components=1 && cd protobuf-2.5.0 && /usr/bin/patch -p1 </usr/src/0001-Add-generic-GCC-support-for-atomic-operations.patch && curl -o config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' && cp config.guess gtest/build-aux/ returned 7 instead of one of [0]
> Error: /Stage[main]/Bigtop_toolchain::Protobuf/Exec[download protobuf]/returns: change from notrun to 0 failed: /usr/bin/wget https://github.com/google/protobuf/releases/download/v2.5.0//protobuf-2.5.0.tar.gz && mkdir -p protobuf-2.5.0 && /bin/tar -xvzf protobuf-2.5.0.tar.gz -C protobuf-2.5.0 --strip-components=1 && cd protobuf-2.5.0 && /usr/bin/patch -p1 </usr/src/0001-Add-generic-GCC-support-for-atomic-operations.patch && curl -o config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' && cp config.guess gtest/build-aux/ returned 7 instead of one of [0]
> Notice: /Stage[main]/Bigtop_toolchain::Protobuf/Exec[install protobuf]: Dependency Exec[download protobuf] has failures: true
> Warning: /Stage[main]/Bigtop_toolchain::Protobuf/Exec[install protobuf]: Skipping because of failed dependencies
> {noformat}
> To fix this I think we can use a included config.guess, just like the patch (_0001-Add-generic-GCC-support-for-atomic-operations.patch_), instead of downloading it every time. This will minimize failure due to network issue and keep a consistent file for the given v2.5 protocbuf



--
This message was sent by Atlassian Jira
(v8.3.4#803005)