These are chat archives for rails-sqlserver/activerecord-sqlserver-adapter

3rd
Mar 2017
Ken Collins
@metaskills
Mar 03 2017 14:25
Whoa... got no email on all the activity.
@coderjoe Here today on and off.
Joe Bauser
@coderjoe
Mar 03 2017 14:41
@metaskills as am I. :)
Ken Collins
@metaskills
Mar 03 2017 14:41
WHOA!
Took the day off to play around on XBOX COD Zombies and SQL Server
Got some SQL Server time now man?
Few to chat?
Joe Bauser
@coderjoe
Mar 03 2017 14:42
I can but my responses will be slow.
I'll be free-er in a few hours
Ken Collins
@metaskills
Mar 03 2017 14:43
I'll be on/off today.
Joe Bauser
@coderjoe
Mar 03 2017 14:43
I'm reading through your comment on the PR now.
Ken Collins
@metaskills
Mar 03 2017 14:43
Summary: Can we have that PR install explicit deps on thoes Ubuntu boxes?
Joe Bauser
@coderjoe
Mar 03 2017 14:43
It already does.
Ken Collins
@metaskills
Mar 03 2017 14:44
:eyes: ...
Joe Bauser
@coderjoe
Mar 03 2017 14:44
I think I wasn't being entirely clear... probably due to too many words.
also I typed bundle ports a ton which was wrong...
so rake ports is a rake task which just calls MiniPortile to make sure that the appropriate 3rd party libraries are downloaded, installed, and used.
Ken Collins
@metaskills
Mar 03 2017 14:44
Screen Shot 2017-03-03 at 9.44.28 AM.png
Joe Bauser
@coderjoe
Mar 03 2017 14:45
so the line 22 bundle exec rake ports will download, install, and use the versions of libiconv, openssl, and freetds that tiny_tds is configured to use.
Ken Collins
@metaskills
Mar 03 2017 14:46
But build and test task does not call ports?
Oh... missed that...
OK... question...
Joe Bauser
@coderjoe
Mar 03 2017 14:46
build "just works" because it looks to see if the ports directory exists and if it does adds it to the search path
Ken Collins
@metaskills
Mar 03 2017 14:46
Isnt rake ports what we wanted to stop doing?
Joe Bauser
@coderjoe
Mar 03 2017 14:46
but you are correct that test is not "using them" that's the bug I was referring to
line 24 should be bundle exec rake ports build test so that the ports "activation" happens before tests run
Not really no.
MiniPortile is fine.
The problem we were having was that MiniPortile was built into the extension build
Ken Collins
@metaskills
Mar 03 2017 14:47
Who is the primary user of rake ports?
Joe Bauser
@coderjoe
Mar 03 2017 14:47
aka directly in extconf.rb
developers who want to contribute to the gem or anything that needs to do local builds/tests against the source of the gem
Ken Collins
@metaskills
Mar 03 2017 14:47
I was hoping rake ports was only for windows.
Joe Bauser
@coderjoe
Mar 03 2017 14:48
it has nothing to do with the released gem build. It's only for development or testing.
MiniPortile is like a helper that helps you install development dependencies for ruby extension builds in a way that is project dependent and platform agnostic.
Ken Collins
@metaskills
Mar 03 2017 14:49
But does not work for me or CI
Joe Bauser
@coderjoe
Mar 03 2017 14:49
rake ports build test doesn't work locally for you?
rather bundle exec rake ports build test
Ken Collins
@metaskills
Mar 03 2017 14:50
Running now...
Fails
Joe Bauser
@coderjoe
Mar 03 2017 14:50
can you provide me the console output?
Ken Collins
@metaskills
Mar 03 2017 14:51
šŸ™  be rake ports build test
tasks/ports.rake:9: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
Compiling ports for x86_64-apple-darwin15.5.0...
Downloading openssl-1.0.2j.tar.gz (100%)
Extracting openssl-1.0.2j.tar.gz into tmp/x86_64-apple-darwin15.5.0/ports/openssl/1.0.2j... OK
Running 'configure' for openssl 1.0.2j... OK
Running 'compile' for openssl 1.0.2j... ERROR, review '/Users/kencollins/Repositories/tiny_tds/tmp/x86_64-apple-darwin15.5.0/ports/openssl/1.0.2j/compile.log' to see what happened. Last lines are:
========================================================================
x86_64cpuid.s:201:1: error: unknown directive
.type OPENSSL_wipe_cpu,@function
^
x86_64cpuid.s:230:1: error: unknown directive
.size OPENSSL_wipe_cpu,.-OPENSSL_wipe_cpu
^
x86_64cpuid.s:232:1: error: unknown directive
.type OPENSSL_ia32_rdrand,@function
^
x86_64cpuid.s:244:1: error: unknown directive
.size OPENSSL_ia32_rdrand,.-OPENSSL_ia32_rdrand
^
x86_64cpuid.s:247:1: error: unknown directive
.type OPENSSL_ia32_rdseed,@function
^
x86_64cpuid.s:259:1: error: unknown directive
.size OPENSSL_ia32_rdseed,.-OPENSSL_ia32_rdseed
^
make[1]: *** [x86_64cpuid.o] Error 1
make: *** [build_crypto] Error 1
========================================================================
rake aborted!
Failed to complete compile task
/Users/kencollins/Repositories/tiny_tds/tasks/ports/recipe.rb:12:in `cook'
tasks/ports.rake:23:in `block (2 levels) in <top (required)>'
tasks/ports.rake:56:in `block (3 levels) in <top (required)>'
tasks/ports.rake:55:in `each'
tasks/ports.rake:55:in `block (2 levels) in <top (required)>'
/Users/kencollins/.rbenv/versions/2.3.1/bin/bundle:22:in `load'
/Users/kencollins/.rbenv/versions/2.3.1/bin/bundle:22:in `<main>'
And finding system install does not work for me either.
Joe Bauser
@coderjoe
Mar 03 2017 14:52
ick
Ken Collins
@metaskills
Mar 03 2017 14:52
Even tho my rubies are compiled to extend
$ export LDFLAGS="-L/opt/local/lib"
$ export CPPFLAGS="-I/opt/local/include"
And ever gem install with an ext finds those without me having to use -- args
I dont want Darwin specific stuff...
Just felt like soemthing small was missing.
Whcih I thought... also kep Ubuntu from using the simple test/install script into /opt
My gut says using MiniPortile for anything other than building very strict considtions Windows static gems is something we want to get out of.
Joe Bauser
@coderjoe
Mar 03 2017 14:55
Why? MiniPortile was designed to assist in exactly the situation we're trying to use it in now. There are bugs yes, but I'd blame that more on me than miniportile. :p
Ken Collins
@metaskills
Mar 03 2017 14:55
I've never seen MiniPortile work for me or non-Windows CI without much if/else and specific platform work.
Joe Bauser
@coderjoe
Mar 03 2017 14:56
with the exception of bundle exec ports test bug listed above it is working...
Ken Collins
@metaskills
Mar 03 2017 14:56
I never liked that it was used during gem install and I thought that ws the problem we were solving.
On Ubuntu?
Joe Bauser
@coderjoe
Mar 03 2017 14:56
can you view this?
Ken Collins
@metaskills
Mar 03 2017 14:56
:eyes:
Joe Bauser
@coderjoe
Mar 03 2017 14:57
This is a test build running on travis where I added ldd output to check, explicitly, which versions of the libraries were being loaded at test time
linux-vdso.so.1 =>  (0x00007ffda03e4000)
    libruby.so.2.1 => /home/travis/.rvm/rubies/ruby-2.1.9/lib/libruby.so.2.1 (0x00007f42b7912000)
    libsybdb.so.5 => /home/travis/build/coderjoe/tiny_tds/ports/x86_64-pc-linux-gnu/freetds/1.00.21/lib/libsybdb.so.5 (0x00007f42b76a5000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f42b72cf000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f42b70b1000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f42b6eac000)
    libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f42b6c73000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f42b696d000)
    /lib64/ld-linux-x86-64.so.2 (0x0000555e83b35000)
    libssl.so.1.0.0 => /home/travis/build/coderjoe/tiny_tds/ports/x86_64-pc-linux-gnu/openssl/1.0.2j/lib/libssl.so.1.0.0 (0x00007f42b66fa000)
    libcrypto.so.1.0.0 => /home/travis/build/coderjoe/tiny_tds/ports/x86_64-pc-linux-gnu/openssl/1.0.2j/lib/libcrypto.so.1.0.0 (0x00007f42b62aa000)
    libiconv.so.2 => /home/travis/build/coderjoe/tiny_tds/ports/x86_64-pc-linux-gnu/libiconv/1.14/lib/libiconv.so.2 (0x00007f42b5fc5000)
this is what it reports
you'll note that the versions of libssl/libcrypto and libiconv that are being used are the versions generated by the CI build via bundle exec rake ports
What worries me more is that it isn't working for you on Darwin...
Ken Collins
@metaskills
Mar 03 2017 14:59
OK... question...
Hmmm...
So this is building a static version of the gem for Ubuntu in CI?
Joe Bauser
@coderjoe
Mar 03 2017 15:01
no there are no static libs
Ken Collins
@metaskills
Mar 03 2017 15:01
Just links to local ports?
Joe Bauser
@coderjoe
Mar 03 2017 15:01
correct
in the project directory tiny_tds/ports/<architecture>
Ken Collins
@metaskills
Mar 03 2017 15:02
And this setup is shared between windows and posix CI builds?
Joe Bauser
@coderjoe
Mar 03 2017 15:02
only for development and testing. Not for published gems.
Ken Collins
@metaskills
Mar 03 2017 15:02
As well as building static gems for Windows?
But testing for Appveyor (windows) and Travis (posix)
Right?
Joe Bauser
@coderjoe
Mar 03 2017 15:03
correct.
Ken Collins
@metaskills
Mar 03 2017 15:04
So I think that is my point.
Joe Bauser
@coderjoe
Mar 03 2017 15:04
I guess I don't understand why that concerns you.
Ken Collins
@metaskills
Mar 03 2017 15:04
Right now it does not work locally for me.... and to make it work, we have to add more to a system that is cutting accross those concerns
SO rake ports is not used to build static windows gems?
Joe Bauser
@coderjoe
Mar 03 2017 15:06
it is.
via MiniPortile's built in integration with rake-compiler-dock
well sorry
let me rephrase
it's used to generate fat windows gems with binary libraries. It is not generating static gems.
Ken Collins
@metaskills
Mar 03 2017 15:08
When I say "static windows gem" I mean a gem that has binaries which link to static builds of shared libraries inside.
Joe Bauser
@coderjoe
Mar 03 2017 15:08
ok cool.
Ken Collins
@metaskills
Mar 03 2017 15:08
Is that wrong verbage?
Joe Bauser
@coderjoe
Mar 03 2017 15:08
close enough now that I know what we mean. :)
I think I'm starting to understand our different perspective now
You seem to list a few concerns: local gem testing, CI testing, and fat windows gems and you believe that the MiniPortile rake tasks are cutting across them all.
Ken Collins
@metaskills
Mar 03 2017 15:09
Correct.
Joe Bauser
@coderjoe
Mar 03 2017 15:09
I think of it slightly different: local gem testing, CI testing, fat windows gems, and preparing my development environment for developing in tiny_tds
rake ports serves the last concern via MiniPortile . It prepares the development environment for testing and supports cross-compilation
Ken Collins
@metaskills
Mar 03 2017 15:10
Right now CI for POSIX is running tests based on a system that is partly used for building Windows gems.
Joe Bauser
@coderjoe
Mar 03 2017 15:11
I think of it more as a system designed to build 3rd party dependencies. Not a system used for building windows gems.
Ken Collins
@metaskills
Mar 03 2017 15:11
I'd like to cut that cord.
We can still have rake ports... but if we tell everyone that develpment is good usign that... then it is already failing for me.
Joe Bauser
@coderjoe
Mar 03 2017 15:12
Yes, the failure for you is concerning.
Ken Collins
@metaskills
Mar 03 2017 15:12
And to fix it... we have to make a change to a component that is critically used to build windows gems.
Joe Bauser
@coderjoe
Mar 03 2017 15:12
it's not just used for that now though
Ken Collins
@metaskills
Mar 03 2017 15:12
And CI is not testing how well we can build on top of system deps.
See what I'm saying...
CI == TraivsCI
Joe Bauser
@coderjoe
Mar 03 2017 15:13
oh oh oh oh
I think I just caught something I never did before
Ken Collins
@metaskills
Mar 03 2017 15:13
I felt ther was value in not exercisign a port system for primary Windows.
Joe Bauser
@coderjoe
Mar 03 2017 15:13
That's where we differ. The port system is not primarily for windows for me.
Ken Collins
@metaskills
Mar 03 2017 15:13
Hence... installing OpenSSL on travis may be different than for CircleCI... and those would be handled by ssimple shell scripts in test/bin
You on Windows?
Joe Bauser
@coderjoe
Mar 03 2017 15:14
nope, i run ubuntu
Ken Collins
@metaskills
Mar 03 2017 15:14
Bitchin
Joe Bauser
@coderjoe
Mar 03 2017 15:14
100% of my dev is on Ubuntu.
Ken Collins
@metaskills
Mar 03 2017 15:14
Hmmm... let me bake that in...
OK...
So...
I feel rake ports for Ubuntu dev setup is OK. But optional. It should primarily be for Windows. IMO.
I added docs for Ubuntu dev to the README that gave exmapls of the CI test/bin scripts.
But utiimatly wanted that to be example only.
IE... I feel there is value getting completly out of dev setup adn ci setup that cuts accross windows static builds.
Installing OpenSSL and FreeTDS is something I dont think the project should support for anything other than getting Windows gems published.
Joe Bauser
@coderjoe
Mar 03 2017 15:17
At all?
Even at development time?
That adds a lot of development overhead for people wanting to contribute...
Ken Collins
@metaskills
Mar 03 2017 15:17
A lot of people use Macs
And it already has pain.
Giving them that comes at a cost.
Joe Bauser
@coderjoe
Mar 03 2017 15:18
I think you may be overestimating the cost.
Ken Collins
@metaskills
Mar 03 2017 15:18
I'm not saying that rake ports should not work for Ubuntu or can be used.
And that it be deleted.
Joe Bauser
@coderjoe
Mar 03 2017 15:18
Oh I know
Ken Collins
@metaskills
Mar 03 2017 15:19
But by making CI use it... it does set down that it is cross cutting.
Joe Bauser
@coderjoe
Mar 03 2017 15:19
So the alternative is to duplicate 3rd party library setup code across multiple files for multiple architectures.
in the form of shell scripts.
Ken Collins
@metaskills
Mar 03 2017 15:19
For POSIX CI
Joe Bauser
@coderjoe
Mar 03 2017 15:20
So that brings me back to what I think I saw above.
You said that CI (meaning travis) is not testing system installed libraries.
Ken Collins
@metaskills
Mar 03 2017 15:20
Local development should be system IMO.
:eyes:
Right. Is that ture?
Joe Bauser
@coderjoe
Mar 03 2017 15:21
was that what was intended? Travis = system libraries, Circle = gem/project specific 3rd party dependencies?
Ken Collins
@metaskills
Mar 03 2017 15:21
I see Travis & Circle as the same. Non Windows.
Joe Bauser
@coderjoe
Mar 03 2017 15:21
Their architecture is irrelevant
what is important to me is what version of the libraries do you expect the tests to run against.
Ken Collins
@metaskills
Mar 03 2017 15:22
extconst.rb
Same one as we build static Windows gems.
Joe Bauser
@coderjoe
Mar 03 2017 15:22
ok then if we use system libraries we will not get that
Ken Collins
@metaskills
Mar 03 2017 15:22
I'm listening...
Joe Bauser
@coderjoe
Mar 03 2017 15:22
the system libraries installed on travis and circle by default are at different versions than the versions in extconst.rb
Ken Collins
@metaskills
Mar 03 2017 15:23
Right... that is why the test/bin script used extconst.rb
Joe Bauser
@coderjoe
Mar 03 2017 15:23
so we must install our own project specific libraries (which your shell scripts did)
Ken Collins
@metaskills
Mar 03 2017 15:23
Right.
Joe Bauser
@coderjoe
Mar 03 2017 15:23
your shell scripts download, build, configure, and compile libiconv, openssl, and freetds at specific versions
Ken Collins
@metaskills
Mar 03 2017 15:23
And rake ports is another way of doing that.
Right.
Joe Bauser
@coderjoe
Mar 03 2017 15:23
Yes
Ken Collins
@metaskills
Mar 03 2017 15:24
But it comes at a cost. It couples posix and windows builds to a shared port system.
Which we know does not work on Darwin. Maybe other platforms for dev.
Joe Bauser
@coderjoe
Mar 03 2017 15:24
Hold on the darwin issue
Ken Collins
@metaskills
Mar 03 2017 15:24
K
Joe Bauser
@coderjoe
Mar 03 2017 15:25
the darwin issue likely has nothing to do with MiniPortile and everything to do with openssl's non-standard configure system (the perl scripts)
Ken Collins
@metaskills
Mar 03 2017 15:25
BTW, I appreciate you taking this time. I'm no wizard at Ubuntu, and this stuff you are obviously way better at it.
OK
Joe Bauser
@coderjoe
Mar 03 2017 15:25
Oh it's a pleasure. I'm having a lot of fun. :)
Ken Collins
@metaskills
Mar 03 2017 15:26
I just want to make sure we have a system that is stronger and less coupled to the way windows gems are built.
GO on.
Joe Bauser
@coderjoe
Mar 03 2017 15:26
Ok so would you feel more comfortable using rake ports in CI builds if it did not install its libraries to the same file structure as the windows fat binaries?
Is the cross cutting concern that concerns you the most the fact that extconf.rb looks for the ports directory and uses it if it is there?
Ken Collins
@metaskills
Mar 03 2017 15:28
I think my concern is more about doing what a gem install would do on non-Windows.
So I view the fact that I now have to use -- with args for the first time on any c-extension gem and the fact that Travis/Circle is now building local as not exercising that flow.
Joe Bauser
@coderjoe
Mar 03 2017 15:30
Ok so there are a few things to tease apart in there
Ken Collins
@metaskills
Mar 03 2017 15:30
FWIW, the first point may be false. I just now I cant do bundle exec rake anymore and it find my local deps so assumed a gem isntall would be the same.
OK
Joe Bauser
@coderjoe
Mar 03 2017 15:31
Well if the first point is false then there's only one thing.
let me take a second and re-read the shell scripts
Ok so the shell scripts also build locally. They just install to a different directory but they are line for line identical to what rake ports is doing (with the exception of the configured install directory).
However
Your concern seems to be that given that you are on Darwin, you want Travis and Circle to simulate a 3rd party ubuntu person manually installing stuff and then building the gem.
Would that be a correct statement?
Ken Collins
@metaskills
Mar 03 2017 15:34
It would... but it is not because I am on Darwin pe se.
Joe Bauser
@coderjoe
Mar 03 2017 15:35
ok yeah that's probably a red herring. Just because that's what we expect people to do.
Ken Collins
@metaskills
Mar 03 2017 15:35
Just a philosophy of getting out the game of installling deps on POSIX system.s
So a thought...
Joe Bauser
@coderjoe
Mar 03 2017 15:35
Ah here's where we differ.
Ken Collins
@metaskills
Mar 03 2017 15:35
When I talk about things like...
Joe Bauser
@coderjoe
Mar 03 2017 15:35
I'm listening. :)
Ken Collins
@metaskills
Mar 03 2017 15:35
FREETDS_HEADER_DIRS, FREETDS_LIB_DIRS
And those simple HEADER_DIRS and LIB_DIRS
What I am really saying is this... is ext.rb in the best condition?
That question comes with a lot of ignornace on my part.
Here is what I know...
When I build my rubies with rbenv... I have found that when I do it with these two exports...
export LDFLAGS="-L/opt/local/lib" \
export CPPFLAGS="-I/opt/local/include"
That I never ever have to tell a ruby gem when installing where to find my deps.
So the question is, is there something missing from ours that does that?
I went hunting on nokogir last night.
And saw how they have moved to an optional pkg-config gem, but saw no search of /opt specifically.
My understanding is that require 'mkmf' and having those flags setup made certain methods find things for us.
So it all comes down to a) is this true and did we loose it in extconf.rb
And the topic of Ubuntu installs into /opt was one way to ensure our extconf.rb is good
For non-windows platforms.
Joe Bauser
@coderjoe
Mar 03 2017 15:41

a) it is true

require 'mkmf' will use your system settings when building, so if you have set LDFLAGS and CPPFLAGS it should work

b) we didn't lose anything I don't think... IF you've set those environment variables.
Ken Collins
@metaskills
Mar 03 2017 15:41
It did not. At least in my local bundle exec rake so I assumed the gem install would be the same.
Well, I dont set them all the time, just ruby install time.
Joe Bauser
@coderjoe
Mar 03 2017 15:42
oh hmm... I wouldn't expect that to work... unless ruby is doing something special with them. :eyes:
Ken Collins
@metaskills
Mar 03 2017 15:42
It does remember them.
And I thought... no expert... that mkmf helped with that.
If I export them now... bundle exec rake still fails.
Failed! Do you have FreeTDS 0.95.80 or higher installed?
../../../../ext/tiny_tds/extconf.rb failed
Joe Bauser
@coderjoe
Mar 03 2017 15:43
can you give me the output of the mkmf log?
Ken Collins
@metaskills
Mar 03 2017 15:43
To be clear... I am not saying the world should change for Darwin or me.
Joe Bauser
@coderjoe
Mar 03 2017 15:44
oh I know, but darwin or not, I would expect this would work
if it does not then there's a piece of knowledge I'm missing
Ken Collins
@metaskills
Mar 03 2017 15:44
I just felt this was a signal... and that signal would be stronger if Travis/Circle did not use Miniportile
Joe Bauser
@coderjoe
Mar 03 2017 15:44
fair
ok so you've sold me on travis/circle that's for sure.
Ken Collins
@metaskills
Mar 03 2017 15:44
can you give me the output of the mkmf log?
...
Where do I find that?
Looking...
šŸ™ find . -name mkmf.log
./tmp/x86_64-darwin15/tiny_tds/2.3.1/mkmf.log
Gonna gist that...
Joe Bauser
@coderjoe
Mar 03 2017 15:46
kk
Joe Bauser
@coderjoe
Mar 03 2017 15:49
ok can you do me one more favor?
Ken Collins
@metaskills
Mar 03 2017 15:50
Oh yea!
Joe Bauser
@coderjoe
Mar 03 2017 15:51
I don't have ruby on this PC so this is top-of-the head
Ken Collins
@metaskills
Mar 03 2017 15:51
Noted.
Joe Bauser
@coderjoe
Mar 03 2017 15:51
so it may not work but... can you get me the output of something like this: require 'rbconfig'; RbConfig::CONFIG.each { |k,v| puts "#{k} => #{v}\n" } so I can see the environment ruby is working within?
you may want to put that in a secret gist and private message it to me
I don't know what sorts of things you store in your environment
so if you store app keys or AWS keys you'll want to trim those
Ken Collins
@metaskills
Mar 03 2017 15:52
Hillary's emails.
:trollface:
Looking over it now...
This does notlook like my ENV stuff so 100% shar'able
Joe Bauser
@coderjoe
Mar 03 2017 15:54
Yeah I thought it might be, but I wasn't sure what it pulled it. Better safe than sorry. :)
What do you see?
Joe Bauser
@coderjoe
Mar 03 2017 15:56
a lot of text. :P
I'll have to look over this when I have more time to be very careful
Ken Collins
@metaskills
Mar 03 2017 15:56
OK... I'm gonna work on this... rails-sqlserver/activerecord-sqlserver-adapter#572
Joe Bauser
@coderjoe
Mar 03 2017 15:57
I was hoping to find somewhere where it was storing your previous LDCONFIG settings
Ken Collins
@metaskills
Mar 03 2017 15:57
yea... I dont see it.
Joe Bauser
@coderjoe
Mar 03 2017 15:57
oh actually...
hmm it has detected pkg-config. I wonder if that is how it is finding the installed libraries. Unfortunately I know very little to nothing about pkg-config
Ken Collins
@metaskills
Mar 03 2017 15:59
Same... I saw they had to remove it as a run time dep.
Due to licensing too.
But here is something.
From my 2.4.0...
Joe Bauser
@coderjoe
Mar 03 2017 16:00
look at that!
they're there
does tiny_tds build in your 2.4.0?
Ken Collins
@metaskills
Mar 03 2017 16:00
Still fails for be rake
nope
Joe Bauser
@coderjoe
Mar 03 2017 16:01
well crap...
same error?
Ken Collins
@metaskills
Mar 03 2017 16:01
Yup
Joe Bauser
@coderjoe
Mar 03 2017 16:01
can you do a rake clobber and another rake?
Ken Collins
@metaskills
Mar 03 2017 16:01
Oh... I do this all the time inbetween builds...
git clean -x -d -f
Joe Bauser
@coderjoe
Mar 03 2017 16:02
Ok well here's what we'll do.
Ken Collins
@metaskills
Mar 03 2017 16:02
Removes all un-tracked files.
Joe Bauser
@coderjoe
Mar 03 2017 16:02
  1. You've completely sold me on Travis/Circle going back to shell scripts
  1. I've learned enough that I can duplicate your environment locally and can hopefully duplicate your error
oh... that's right... markup...
so I'll switch back to shell scripts
Ken Collins
@metaskills
Mar 03 2017 16:02
OK
Joe Bauser
@coderjoe
Mar 03 2017 16:02
and take a look at the failure you're getting by building a ruby with /opt/local in the default path
but given what you've showed me the extension build shouldn't have to change. I bet I broke something somewhere.
This was great. Thank you very much!
Ken Collins
@metaskills
Mar 03 2017 16:03
FYI, at one time I had the test/bin script installing in /usr prefix.
No, thank you!
But switched to /opt because I found other articles.
So... I assume, if yu change back to install scripts.
The build will likely fail.
That's my hunch.
And if so, the fix for that would fix for me.
/shrug
Joe Bauser
@coderjoe
Mar 03 2017 16:04
well actually they'll be different
Ken Collins
@metaskills
Mar 03 2017 16:04
OK
Joe Bauser
@coderjoe
Mar 03 2017 16:04
the rubies installed by default on Travis/Circle are not built with custom LDFLAGS
so I'll need to make sure the appropriate LDFLAGS are set on Tavis/Circle in the setup for the builds
Ken Collins
@metaskills
Mar 03 2017 16:04
Right.
Joe Bauser
@coderjoe
Mar 03 2017 16:04
which you shouldn't have to do
Ken Collins
@metaskills
Mar 03 2017 16:04
Question...
Do Ubuntu people install into /opt?
Joe Bauser
@coderjoe
Mar 03 2017 16:05
not by default
but there are non-free software packages that do
/opt/[bin,lib,include] etc
Ken Collins
@metaskills
Mar 03 2017 16:05
Right... my assumtion was /opt was a soft convention for on top of.
Hence why I never used Hombrew... did not want to mix what platform does and layered enhancements.
Joe Bauser
@coderjoe
Mar 03 2017 16:06
/opt is actually a FHS standard directory but to be honest I never knew what the words stood for. I figured "optional"
Ken Collins
@metaskills
Mar 03 2017 16:06
Was wondering if /opt was used as a convention on other platofrms when your default package manger did nto support a version.
Same.. no clue
Breakfast time for me... then adapter and fun work day off :)
Thanks a ton!
This would have been hard in comments.
Joe Bauser
@coderjoe
Mar 03 2017 16:07
Oh heck yeah. Gitter was a good idea.
Ken Collins
@metaskills
Mar 03 2017 16:07
As a Staff Enginer that is remote.
I know when communciation breaks down :)
Joe Bauser
@coderjoe
Mar 03 2017 16:07
:clap: your communication skills.
I'm going to sum up the results of this discussion in the PR comments so i don't forget anything in 4 days
and for history purposes
Ken Collins
@metaskills
Mar 03 2017 16:08
Brilliant!
Joe Bauser
@coderjoe
Mar 03 2017 16:16
Done. If I forgot anything please just tack it on. Have a great day. :smile: