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

gem install atomic -v '1.1.14' fires anti-virus warning #34

Closed
arjunmenon opened this issue Nov 18, 2013 · 3 comments
Closed

gem install atomic -v '1.1.14' fires anti-virus warning #34

arjunmenon opened this issue Nov 18, 2013 · 3 comments

Comments

@arjunmenon
Copy link

@headius @zimbatm @mental
i am getting this error with an anti-virus warning Win32:Evo-gen [susp]

>gem install atomic -v '1.1.14'
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing atomic:
        ERROR: Failed to build gem native extension.

    C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
creating Makefile

make
generating atomic_reference-i386-mingw32.def
compiling atomic_reference.c
atomic_reference.c: In function 'ir_compare_and_set':
atomic_reference.c:75:2: error: #error No CAS operation available for this platf
orm
make: *** [atomic_reference.o] Error 1


Gem files will remain installed in C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9
.1/gems/atomic-1.1.14 for inspection.
Results logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/atomic-1.
1.14/ext/gem_make.out

this was in the anti-virus log file

C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\atomic-1.1.14\ext\conftest.exe [L] Win32:Evo-gen [Susp] (0)
@zimbatm
Copy link

zimbatm commented Nov 18, 2013

Most likely your anti-virus is wrong and you would have to file a complaint with them for a false positive.

Just to be sure, check the content of atomic_reference.c against https://github.com/headius/ruby-atomic/blob/1.1.14/ext/atomic_reference.c and see if there is any difference.

@arjunmenon
Copy link
Author

yup no change in content. i did what u said and to make it work excluded the conftest.exe from scan.
i m not sure of precise functioning of anti virus, but i hope it does not stop checking any thing vaguely similar coz reporting of false positive.

thanks a lot. 👍

@headius
Copy link
Owner

headius commented Feb 26, 2014

I'm going to mark this invalid, since there's nothing shipped in the gem that should trigger a virus warning. It's likely (as @zimbatm stated) that the built binaries just happen to match a virus marker in your detector.

@headius headius closed this as completed Feb 26, 2014
@headius headius added this to the Invalid or Duplicate milestone Feb 26, 2014
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

3 participants