Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701610 - [gitlab overlay] dev-vcs/gitlab-gitaly-1.72.1 : x86_64-pc-linux-gnu-gcc: error: pthread: No such file or directory
Summary: [gitlab overlay] dev-vcs/gitlab-gitaly-1.72.1 : x86_64-pc-linux-gnu-gcc: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Morlock
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-30 20:05 UTC by Samuel Bernardo
Modified: 2019-12-15 12:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log, mkmf.log, gem_make.out (gitaly.zip,13.80 KB, application/zip)
2019-11-30 20:05 UTC, Samuel Bernardo
Details
emerge info (gitaly_emergeinfo.log.gz,4.36 KB, application/gzip)
2019-12-01 12:07 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2019-11-30 20:05:32 UTC
Created attachment 598018 [details]
build.log, mkmf.log, gem_make.out

gitaly fails during compile phase.

Details in zip attached files.

x86_64-pc-linux-gnu-gcc: error: pthread: No such file or directory                                                                                                  
checked program was:                                                                                                                                                
/* begin */                                                                                                                                                         
1: #include "ruby.h"                                                                                                                                                
2:                                                                                                                                                                  
3: int main(int argc, char **argv)                                                                                                                                  
4: {                                                                                                                                                                
5:   return 0;                                                                                                                                                      
6: }                                                                                                                                                                
/* end */
Comment 1 Jonas Stein gentoo-dev 2019-11-30 20:38:11 UTC
Which overlay?

Thank you for the report. Please recompile and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 Samuel Bernardo 2019-12-01 12:06:38 UTC
(In reply to Jonas Stein from comment #1)
> Which overlay?
> 

"gitlab" overlay:

[U] dev-vcs/gitlab-gitaly [1]
     Available versions:  (~)1.65.0*l{tbz2} (~)1.67.0*l{tbz2} (~)1.72.1*l
     Installed versions:  1.67.0*l{tbz2}(11:46:57 PM 11/02/2019)
     Homepage:            https://gitlab.com/gitlab-org/gitaly
     Description:         Gitaly is a Git RPC service for handling all the git calls made by GitLab.

[1] "gitlab" /var/lib/layman/gitlab
Comment 3 Samuel Bernardo 2019-12-01 12:07:16 UTC
Created attachment 598108 [details]
emerge info
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-01 13:09:15 UTC
Comment on attachment 598018 [details]
build.log, mkmf.log, gem_make.out

Why a ZIP archive?
Comment 5 Samuel Bernardo 2019-12-01 15:34:08 UTC
(In reply to Jeroen Roovers from comment #4)
> Comment on attachment 598018 [details]
> build.log, mkmf.log, gem_make.out
> 
> Why a ZIP archive?

To put all files in same compressed file.
With gzip all files would be concatenated, that's why I chose zip. Jeroen what would you advise me to do?
Comment 6 J.Peter 2019-12-03 11:51:57 UTC
Its a problem with the gem rugged.

https://github.com/libgit2/rugged/issues/824
Comment 7 Abulhair Saparov 2019-12-13 22:28:35 UTC
cmake-3.16.1 fixes the issue for me.
Comment 8 Samuel Bernardo 2019-12-15 12:19:08 UTC
Compiled and intalled with success after upgrade to version 1.75.0.