Re: [fossil-users] Help with Fossil and Tcl integration

2017-03-17 Thread Joe Mistachkin

Perhaps they are "customizing" the Tcl library in some way that is 
fundamentally incompatible, e.g. changing some fundamental data type, like int 
to size_t?  Jan Nijtmans might know more about what the various Linux 
distributions are doing.

Sent from my iPhone
https://urn.to/r/mistachkin
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Crash with this AMEND command

2017-03-17 Thread Warren Young
On Mar 17, 2017, at 5:59 PM, Tony Papadimitriou  wrote:
> 
> The following command crashes fossil (older and up to current version).

Null pointer dereference on line 841 of src/file.c.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Crash with this AMEND command

2017-03-17 Thread Tony Papadimitriou
The following command crashes fossil (older and up to current version).

fossil am trunk -R your_repo_here.fossil –e

(I thought the –R option was supported for this command, but regardless it 
shouldn’t crash.)
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Help with Fossil and Tcl integration

2017-03-17 Thread Ryan Dingman
As it turns out, Fossil didn’t really have Tcl enabled when I was running my 
TH1 test script.

Running “fossil version -v” forces the Tcl interpreter to load and thus reports 
that the Tcl interpreter is loaded along with its version.

However, when I run a test script with "fossil test-th-source --th-trace 
~/test.th1” that isn’t the case. The test-th-source command apparently requires 
you to use the option --open-config so it can read the “tcl” setting from the 
configuration database and load the interpreter if needed. Running my TH1 test 
script with the following command works great.

fossil test-th-source --th-trace --open-config ~/test.th1

Then, as far as testing a script through the UI via Admin -> TH1, I was getting 
my wires crossed. I didn’t actually have the “tcl” setting turned on in the 
repository I cared about — it was turned on elsewhere.

I can now successfully run TH1 scripts with Tcl integration in all contexts 
that I care about.

The last thing that is currently unsolved is that when I build Fossil as a 
statically linked binary with Tcl integration, Fossil crashes when loading 
libtcl8.6.so.

Any thoughts?

> On Mar 16, 2017, at 7:03 PM, Joe Mistachkin  wrote:
> 
> 
> How was the Tcl library built?  Are you able to step through Fossil in gdb to 
> see why tclInvoke is not getting added to the TH1 interpreter?
> 
> Sent from my iPhone
> https://urn.to/r/mistachkin
> 
> 
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Building Fossil - which commit to use?

2017-03-17 Thread Philip Bennefall

Thanks Richard and Jan. I'll roll with trunk, then.


Cheers,


Philip


On 3/17/2017 4:30 PM, Jan Nijtmans wrote:

2017-03-17 16:08 GMT+01:00 Philip Bennefall:

I am about to build Fossil with Openssl support, and I am wondering what
check-in to use? Should I use the latest commit that is tagged "release" on
trunk, or should I use the tip of "branch-2.1" which seems to have some
later bugfixes? I don't rebuild Fossil often so am looking for as stable a
version as possible.

If you want to build with OpenSSL-1.1.0, then I definitely would build
with either "trunk" or the tip of "branch-2.1", because of the
following bug-fix from Debian:
 

If you are using Openssl-1.0.2, then this doesn't matter, whatever
version is fine.

My recommendation would be, just take the top of the "trunk"
(as Richard recommended too), it's as stable as it can be ;-)

Regards,
   Jan Nijtmans
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Building Fossil - which commit to use?

2017-03-17 Thread Jan Nijtmans
2017-03-17 16:08 GMT+01:00 Philip Bennefall:
> I am about to build Fossil with Openssl support, and I am wondering what
> check-in to use? Should I use the latest commit that is tagged "release" on
> trunk, or should I use the tip of "branch-2.1" which seems to have some
> later bugfixes? I don't rebuild Fossil often so am looking for as stable a
> version as possible.

If you want to build with OpenSSL-1.1.0, then I definitely would build
with either "trunk" or the tip of "branch-2.1", because of the
following bug-fix from Debian:


If you are using Openssl-1.0.2, then this doesn't matter, whatever
version is fine.

My recommendation would be, just take the top of the "trunk"
(as Richard recommended too), it's as stable as it can be ;-)

Regards,
  Jan Nijtmans
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Building Fossil - which commit to use?

2017-03-17 Thread Richard Hipp
On 3/17/17, Philip Bennefall  wrote:
> Hi all,
>
> I am about to build Fossil with Openssl support, and I am wondering what
> check-in to use?

If you go to the Fossil homepage (https://www.fossil-scm.org/) and
look at the very bottom of the page you will see a line that looks
like this:

"This page was generated in about 0.044s by Fossil 2.2 [b477fe5799]
2017-03-16 17:55:07"

That's the version of Fossil that is self-hosting Fossil itself and is
usually a safe and up-to-date choice.

Or you could got to the download page
(https://www.fossil-scm.org/fossil/uv/download.html) and get the
latest official release tarball, if you want to be more conservative.

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Building Fossil - which commit to use?

2017-03-17 Thread Philip Bennefall

Hi all,

I am about to build Fossil with Openssl support, and I am wondering what 
check-in to use? Should I use the latest commit that is tagged "release" 
on trunk, or should I use the tip of "branch-2.1" which seems to have 
some later bugfixes? I don't rebuild Fossil often so am looking for as 
stable a version as possible.


Thanks!

Kind regards,

Philip Bennefall
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users