Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up[SQLite] Travis is failing for... reasons... #167
Comments
sgrif
added this to the 0.5 milestone
Feb 1, 2016
This comment has been minimized.
|
Oh also, somehow nightly on PG passes even though the failure is at compile time not runtime. Because... yeah... reasons... |
This comment has been minimized.
|
Not sure if you came across this in your searching, but apparently Travis CI provided a workaround for upgrading sqlite3, but unfortunately it only seems to work on their legacy infrastructure. |
This comment has been minimized.
|
Actually, scratch that. I was able to get the build to pass by manually installing the workaround and setting the distro to precise instead of trusty. |
added a commit
to emptyflash/diesel
that referenced
this issue
Feb 1, 2016
This comment has been minimized.
|
I'd prefer to avoid using apt-get for this if we can. Trusty should ship On Mon, Feb 1, 2016 at 11:24 AM Cameron Alexander notifications@github.com
|
emptyflash
referenced this issue
Feb 1, 2016
Closed
Fix failing build due to old sqlite3 version #170
This comment has been minimized.
|
Agreed. Maybe Travis is manually changing the version they have installed? I can't see a reason why the build would pass from manually upgrading sqlite if the installed default version really is 3.8. Would you be willing to consider switching to a different CI system? I've had a pretty pleasant experience using CircleCI. |
This comment has been minimized.
|
Just did a sanity check, and the version really is 3.8, so maybe the codegen is compatible with 3.7.15, but not 3.7.9 nor 3.8? |
This comment has been minimized.
|
It's definitely compatible with 3.8. If you look at the failure message On Mon, Feb 1, 2016 at 12:37 PM Cameron Alexander notifications@github.com
|
This comment has been minimized.
|
...And I just realized what the problem is. On Mon, Feb 1, 2016 at 12:38 PM Sean Griffin sean@seantheprogrammer.com
|
This comment has been minimized.
|
Wait, never mind, I don't actually know what the problem is. I thought it On Mon, Feb 1, 2016 at 12:39 PM Sean Griffin sean@seantheprogrammer.com
|
This comment has been minimized.
|
Ah, I see that now. The error I was getting original had something to do with lifetimes, but I think that was unrelated. |
added a commit
that referenced
this issue
Feb 1, 2016
This comment has been minimized.
|
Fixed by a9117a3 |
sgrif commentedFeb 1, 2016
Note: PRs addressing this issue should target the
diesel-sqlite-supportbranch, notmaster.This has been absurdly painful to debug. We need to fix it before we can merge into master, but I really am at my wits end about this. We've had to change our build infrastructure, because travis doesn't have a "not fucking ancient" option for the SQLite version. By default they ship a version from 2011, and we rely on
sqlite3_errstr, which was added in 2012.The new infrastructure should be using a more recent version, but for some reason we fail to compile when we get to codgen. There is absolutely no reason I can think of that this would fail at codegen, but the main crate would continue to compile.
We need to figure out some way to get the build green, either by getting travis working with the code as is, or by removing our dependency on
sqlite3_errstrand switching back to the container infrastructure.