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

nomos hangs when scanning GPLv2 on OSX #14

Closed
xizhao opened this issue Nov 14, 2014 · 9 comments
Closed

nomos hangs when scanning GPLv2 on OSX #14

xizhao opened this issue Nov 14, 2014 · 9 comments
Milestone

Comments

@xizhao
Copy link
Contributor

xizhao commented Nov 14, 2014

I built nomos on OSX. Scanning most files works fine, but scanning a GPL2 license hangs & takes 10+ minutes. Is this normal?

@yaobinshi
Copy link
Contributor

I have no experience on OSX. actually we do not support OSX.
couple questions:

  1. how did you scan those files? upload from GUI or just run nomos on those files from the command line?
  2. any error log message on /var/log/fossology/fossology.log or postgres log, etc?
  3. can I get which GPL2 license files are you using to do the testing?

thanks

@xizhao
Copy link
Contributor Author

xizhao commented Nov 14, 2014

Hey @yaobinshi, thanks for the fast response.

  1. I am scanning using the nomos standalone (nomossa); I build nomos directly using make inside of src/nomos/agent using the process I outlined in Migrate wiki to github #15 . I heard @bobgob works off of a mac? Is there a precompiled binary available for the nomos standalone?
  2. No logs available.
  3. The GPL license file is actually the one included in the top-level fossology repo under COPYING.

@xizhao
Copy link
Contributor Author

xizhao commented Nov 14, 2014

Another way to reproduce:

  1. create an empty text file with the string "parser license" as the only contents
  2. run nomossa on this file

It will hang

@yaobinshi
Copy link
Contributor

can not reproduce on non-mac system, I have no mac os system to do the troubleshooting, will get help from others asap.

@xizhao
Copy link
Contributor Author

xizhao commented Nov 14, 2014

Confirming this is a platform issue -- I have built nomos on an ubuntu box and it works properly!

@bobgob
Copy link
Member

bobgob commented Nov 14, 2014

Did you make any changes to get this to compile on OSX? I’m on Yosemite (10.10).

Bob Gobeille

On Nov 13, 2014, at 9:54 PM, xizhao notifications@github.com wrote:

Another way to reproduce:

create an empty text file with the string "parser license" as the only contents
run nomossa on this file
It will hang


Reply to this email directly or view it on GitHub #14 (comment).

@xizhao xizhao changed the title nomos hangs when scanning GPLv2 nomos hangs when scanning GPLv2 on OSX Nov 15, 2014
@xizhao
Copy link
Contributor Author

xizhao commented Nov 15, 2014

@bobgob All I did was add a CFLAG -I include to my brew installation of glib. I am on glib-2.42

Also to be clear, I am building the standalone in the nomos agent folder, not FOSSology as a whole. Literally make in src/nomos/agent with -DSTANDALONE and -I/usr/local/Cellar/glib/2.42.0/include/glib-2.0/

@mcjaeger mcjaeger added this to the backlog milestone Dec 23, 2015
@mcjaeger
Copy link
Member

First suggestion is to keep this and if someone has the abilities to work on this (using macosx). But, I am not sure about a high priority for this. Also it would be possible to ...

  1. use the vagrant on macosx (that is what I do)
  2. try to get Docker running on macosx

@bufferoverflow
Copy link
Member

As mentioned here https://github.com/fossology/fossology#installation

FOSSology is available for multiple versions of Linux.

There is also a Docker version available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants