Comments (7)
I've pushed 70f4179 that appends CFLAGS instead of rewriting. Could you please verify that it compiles on your system? You can do it by running rake test
, it does compilation before testing
from debase.
Hi @denofevil ,
Thanks for very quick response. Your patch looks good on my machine:
/home/rzeznik/git/debase
rzeznik $: rake test
cd ext
cd -
creating Makefile
compiling breakpoint.c
compiling context.c
compiling debase_internals.c
compiling locker.c
linking shared-object debase_internals.so
/usr/bin/ruby -I"lib:./ext:./lib" -I"/usr/lib/ruby/2.0.0" "/usr/lib/ruby/2.0.0/rake/rake_test_loader.rb" "test/test_base.rb" "test/test_breakpoints.rb" "test/test_catchpoint.rb" "test/test_load.rb" "test/test_reload_bug.rb"
Thanks
from debase.
@denofevil : Should I close this issue? From my POV it is completely solved.
from debase.
I want to push updated version to rubygems, I'll better leave this one open until that as a reminder
from debase.
Good idea :-) Thanks.
from debase.
Unfortunately, debase fails to build for me (also on Arch). Compilation succeeds, but the tests fail.
tom@foo:~/debase$ git log -1
commit 9fb1f9361f2421dd617e2810f622b62566941396
Merge: 70f4179 ea316ed
Author: Dennis Ushakov <[email protected]>
Date: Mon Jun 10 11:26:46 2013 +0400
Merge branch 'master' of https://github.com/denofevil/debase
tom@foo:~/debase$ rake test
cd ext
cd -
creating Makefile
compiling breakpoint.c
compiling locker.c
compiling context.c
compiling debase_internals.c
linking shared-object debase_internals.so
/usr/bin/ruby -I"lib:./ext:./lib" -I"/home/tom/.gem/ruby/2.0.0/gems/rake-10.1.0/lib" "/home/tom/.gem/ruby/2.0.0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/test_catchpoint.rb" "test/test_reload_bug.rb" "test/test_breakpoints.rb" "test/test_load.rb" "test/test_base.rb"
Loaded suite /home/tom/.gem/ruby/2.0.0/gems/rake-10.1.0/lib/rake/rake_test_loader
Started
....F
===============================================================================
Failure:
test_current_context(TestRubyDebug)
/home/tom/debase/test/test_base.rb:26:in `test_current_context'
23: File.basename(Debugger.current_context.frame_file))
24: assert_raises(ArgumentError) {Debugger.current_context.frame_file(1, 2)}
25: assert_raises(ArgumentError) {Debugger.current_context.frame_file(15)}
=> 26: assert_equal(1, Debugger.current_context.stack_size)
27: assert_equal(TestRubyDebug, Debugger.current_context.frame_class)
28: assert_equal(false, Debugger.current_context.dead?, 'Not dead yet!')
29: ensure
<1> expected but was
<2>
diff:
? 1
? 2
===============================================================================
...
Finished in 0.0160199 seconds.
8 tests, 38 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
87.5% passed
499.38 tests/s, 2372.05 assertions/s
rake aborted!
Command failed with status (1): [ruby -I"lib:./ext:./lib" -I"/home/tom/.gem/ruby/2.0.0/gems/rake-10.1.0/lib" "/home/tom/.gem/ruby/2.0.0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/test_catchpoint.rb" "test/test_reload_bug.rb" "test/test_breakpoints.rb" "test/test_load.rb" "test/test_base.rb" ]
Tasks: TOP => test
(See full trace by running task with --trace)
I tried installing v0.0.4 via rubygems, but it has the same issue after fixing the CFLAGS problem. Any suggestions?
from debase.
Tests are broken for quite a while, but compilation is ok now
from debase.
Related Issues (20)
- migrate tests to GHA HOT 1
- Debase gem not installing on MacOS Ventura and M1 HOT 2
- Debase failing to install on vscode Jekyll container HOT 1
- Failed to install in ruby docker image (vm_insnhelper.h missing) HOT 2
- Symbol not found: _rb_cObject on M1 Mac HOT 1
- Failed to install debase on Windows 10: is the new version for ruby-3.2.2 not releasing yet? HOT 3
- Can't install on mac os arm Mac OS Sonoma 14.4 HOT 9
- INTERNAL ERROR!!! ArgumentError: wrong number of arguments (given 2, expected 1)
- Error while installing debase-0.2.5.beta2 HOT 1
- Won't install with ruby 2.6.6 on macOS Big Sur HOT 12
- ERROR: Failed to build gem native extension - Mac(Catalina)+RVM(ruby 2.5.8) HOT 5
- 0.2.4.1 and 0.2.5.beta Fail to build on macOS Catalina 10.15.7 HOT 15
- Ruby 3.0.0 compatibilty HOT 10
- Missing tags for 0.2.4 and 0.2.4.1 release HOT 1
- Ruby 3.0.2 compatibilty HOT 11
- Ruby 3.1 compatibility issue HOT 5
- Debugger stops only on 1st breakpoint inside a Fiber block and ignores all subsequent ones
- debase failing to install on Mac HOT 1
- Failed to install Debase HOT 7
- Debbuger steps into internal kernel in ruby 3.x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debase.