Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build时出现Not a git repository: ../.git/modules/rdsn 错误 #8

Closed
qinhongsheng opened this issue Nov 13, 2017 · 5 comments
Closed

Comments

@qinhongsheng
Copy link

环境
CentOS 7.3.1611
kernel 3.10.0-514.el7.x86_64
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
cmake 2.8.12.2
boost 1.53.0 Release 27.el7

参考:
https://github.com/XiaoMi/pegasus/blob/master/docs/installation.md

1、安装开发包
yum -y install cmake boost-devel libaio-devel snappy-devel bzip2-devel
readline-devel
2、clone
3、build

日志如下:
ln: failed to create symbolic link ‘/root/pegasus/DSN_ROOT’: File exists
INFO: start build rdsn...
CLEAR=NO
BUILD_TYPE=debug
SERIALIZE_TYPE=
GIT_SOURCE=github
ONLY_BUILD=YES
RUN_VERBOSE=NO
WARNING_ALL=NO
ENABLE_GCOV=NO
Use system boost
CMAKE_OPTIONS= -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
-DCMAKE_BUILD_TYPE=Debug -DDSN_GIT_SOURCE=github
MAKE_OPTIONS= -j8
#############################################################################
fatal: Not a git repository: ../.git/modules/rdsn

@shengofsun
Copy link
Contributor

稍等,我看一下,可能是最近提交的时候子项目的索引没注意

@shengofsun
Copy link
Contributor

@qinhongsheng clone的时候是不是没有指定--recursive参数?

@shengofsun
Copy link
Contributor

@qinhongsheng 我建了一个slack讨论群,欢迎进行进一步交流

@quanzl
Copy link

quanzl commented Nov 14, 2017

已确认是 git clone 后的文件夹不完整导致,可能是网络原因引起。

删除整个 pegasus,重新尝试,目前已经正常。

@qinzuoyan
Copy link
Contributor

OK, Thanks.

cauchy1988 pushed a commit to cauchy1988/incubator-pegasus that referenced this issue May 7, 2022
cauchy1988 added a commit to cauchy1988/incubator-pegasus that referenced this issue May 9, 2022
acelyc111 pushed a commit that referenced this issue May 26, 2022
update dependencies version to aviod potential security vulnerabilities
acelyc111 pushed a commit that referenced this issue Jun 23, 2022
replica_server: reimplement uniq_timestamp generator
GehaFearless pushed a commit that referenced this issue Mar 11, 2024
#1940

The problem is that docker image for compilation environment failed to be built due to "cannot verify archive.apache.org's certificate":

#8 [4/6] RUN wget --progress=dot:giga https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz -P /opt/maven     && cd /opt/maven     && tar -zxf apache-maven-3.8.3-bin.tar.gz     && rm apache-maven-3.8.3-bin.tar.gz
#8 0.086 --2024-03-08 08:48:50--  https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz
#8 0.092 Resolving archive.apache.org (archive.apache.org)... 65.108.204.189, 2a01:4f9:1a:a084::2
#8 0.124 Connecting to archive.apache.org (archive.apache.org)|65.108.204.189|:443... connected.
#8 0.479 ERROR: cannot verify archive.apache.org's certificate, issued by '/C=US/O=Let\'s Encrypt/CN=R3':
#8 0.479   Issued certificate has expired.
#8 0.479 To connect to archive.apache.org insecurely, use `--no-check-certificate'.
#8 ERROR: process "/bin/sh -c wget --progress=dot:giga https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz -P /opt/maven     && cd /opt/maven     && tar -zxf apache-maven-3.8.3-bin.tar.gz     && rm apache-maven-3.8.3-bin.tar.gz" did not complete successfully: exit code: 5
------
 > [4/6] RUN wget --progress=dot:giga https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz -P /opt/maven     && cd /opt/maven     && tar -zxf apache-maven-3.8.3-bin.tar.gz     && rm apache-maven-3.8.3-bin.tar.gz:
connected.
0.479 ERROR: cannot verify archive.apache.org's certificate, issued by '/C=US/O=Let\'s Encrypt/CN=R3':
0.479   Issued certificate has expired.
0.479 To connect to archive.apache.org insecurely, use `--no-check-certificate'.
To solve this problem, ca-certificates was installed. After fixed, apache-maven-3.8.3-bin.tar.gz was downloaded successfully as below:

#8 [4/6] RUN wget --progress=dot:giga https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz -P /opt/maven     && cd /opt/maven     && tar -zxf apache-maven-3.8.3-bin.tar.gz     && rm apache-maven-3.8.3-bin.tar.gz
#8 0.086 --2024-03-08 09:32:09--  https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz
#8 0.092 Resolving archive.apache.org (archive.apache.org)... 65.108.204.189, 2a01:4f9:1a:a084::2
#8 0.098 Connecting to archive.apache.org (archive.apache.org)|65.108.204.189|:443... connected.
#8 0.451 HTTP request sent, awaiting response... 200 OK
#8 0.569 Length: 9042049 (8.6M) [application/x-gzip]
#8 0.569 Saving to: '/opt/maven/apache-maven-3.8.3-bin.tar.gz'
#8 1.287 
#8 1.287      0K ........                           100%  838K=11s
#8 11.10 
#8 11.10 2024-03-08 09:32:20 (838 KB/s) - '/opt/maven/apache-maven-3.8.3-bin.tar.gz' saved [9042049/9042049]
#8 11.10 
#8 DONE 11.2s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants