Re: [GNC-dev] recent CMake warnings and Ubuntu LTS support

2023-08-22 Thread Derek Atkins
That would certainly solve the build issue on code (for now).

-derek

On Tue, August 22, 2023 1:08 pm, Geert Janssens wrote:
> Heh, we usually look at Ubuntu LTS to find the oldest software versions to
> support. Didn't
> realize our own code server is even older.
>
> We could also set the baseline to 3.14.5. It solves the issue for which I
> chose to upgrade to
> 3.16 equally well.
>
> Regards,
>
> Geert
>
> Op dinsdag 22 augustus 2023 18:01:20 CEST schreef john:
>> The docs are also built nightly as a GitHub action and published to
>> http://gnucash.github.io/gnucash-docs/ so a possible workaround would be
>> to
>> copy or link that. There are at present no intermediate index.html so
>> you
>> have to get each one independently, e.g.
>> http://gnucash.github.io/gnucash-docs/C/gnucash-guide/.
>>
>> Regards,
>> John Ralls
>>
>> > On Aug 22, 2023, at 05:13, Derek Atkins  wrote:
>> >
>> > Hi,
>> >
>> > Only seeing this thread now.
>> > This change broke the gnucash-docs build on code.
>> > Code is (still) running Fedora-29, which only has cmake 3.14.5
>> > Upgrading code is something that cannot happen quickly (for many
>> reasons),
>> > so if we still want docs builds we need to do downgrade the minimal
>> > version.
>> >
>> > Thanks,
>> >
>> > -derek
>> >
>> > On Fri, August 18, 2023 12:57 pm, Geert Janssens wrote:
>> >> Op vrijdag 18 augustus 2023 18:24:34 CEST schreef john:
>> >>> I have no problem with bumping up the minimum
>> >>
>> >> CMake version as long as it's
>> >>
>> >>> the same in gnucash and gnucash-docs. IIRC there are
>> >>
>> >> already other issues
>> >>
>> >>> blocking building 5.x on Ubuntu 18.04 so the support
>> >>
>> >> isn't really there.
>> >>
>> >> Done.
>> >> ___
>> >> gnucash-devel mailing list
>> >> gnucash-devel@gnucash.org
>> >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>
>


-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] recent CMake warnings and Ubuntu LTS support

2023-08-22 Thread Geert Janssens
Heh, we usually look at Ubuntu LTS to find the oldest software versions to 
support. Didn't 
realize our own code server is even older.

We could also set the baseline to 3.14.5. It solves the issue for which I chose 
to upgrade to 
3.16 equally well.

Regards,

Geert

Op dinsdag 22 augustus 2023 18:01:20 CEST schreef john:
> The docs are also built nightly as a GitHub action and published to
> http://gnucash.github.io/gnucash-docs/ so a possible workaround would be to
> copy or link that. There are at present no intermediate index.html so you
> have to get each one independently, e.g.
> http://gnucash.github.io/gnucash-docs/C/gnucash-guide/.
> 
> Regards,
> John Ralls
> 
> > On Aug 22, 2023, at 05:13, Derek Atkins  wrote:
> > 
> > Hi,
> > 
> > Only seeing this thread now.
> > This change broke the gnucash-docs build on code.
> > Code is (still) running Fedora-29, which only has cmake 3.14.5
> > Upgrading code is something that cannot happen quickly (for many reasons),
> > so if we still want docs builds we need to do downgrade the minimal
> > version.
> > 
> > Thanks,
> > 
> > -derek
> > 
> > On Fri, August 18, 2023 12:57 pm, Geert Janssens wrote:
> >> Op vrijdag 18 augustus 2023 18:24:34 CEST schreef john:
> >>> I have no problem with bumping up the minimum
> >> 
> >> CMake version as long as it's
> >> 
> >>> the same in gnucash and gnucash-docs. IIRC there are
> >> 
> >> already other issues
> >> 
> >>> blocking building 5.x on Ubuntu 18.04 so the support
> >> 
> >> isn't really there.
> >> 
> >> Done.
> >> ___
> >> gnucash-devel mailing list
> >> gnucash-devel@gnucash.org
> >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Missing recent builds at https://code.gnucash.org/docs/

2023-08-22 Thread john
http://gnucash.github.io/gnucash-docs/zh/gnucash-guide/exists so perhaps the 
failure on code is because it depends on the CMake upgrade.

Regards,
John Ralls


> On Aug 22, 2023, at 04:43, Derek Atkins  wrote:
> 
> HI,
> 
> Looks like zh is not building.  The code in question:
> 
> cd $srcdir || my_die "chdir to $srcdir failed."
> git checkout $branch -q >/dev/null 2>&1 || my_die "git checkout failed."
> git fetch -q >/dev/null 2>&1 || my_die "git fetch failed."
> git reset --hard origin/$branch -q >/dev/null 2>&1 || my_die "git reset
> failed."
> # Run cmake
> mkdir -p $builddir || my_die "creation of $builddir failed."
> cd $builddir || my_die "chdir to $builddir failed."
> cmake -DCMAKE_INSTALL_PREFIX=$prefix -DWITH_MOBI=ON $srcdir >/dev/null
> 2>&1 || my_die "cmake failed"
> 
> ( and then it runs the "make" )
> 
> I received no email of failures, so we never hit the "my_die" conditions.
> I do see the 'zh' directory in the source dir, but I do not see a 'zh'
> directory in the build dir, nor in build/share/doc.
> The Makefile in the build dir was last touched on Aug 18.
> 
> Shouldn't the cmake and then make "do the right thing"?
> 
> -derek
> 
> On Tue, August 22, 2023 7:26 am, Frank H. Ellenberger wrote:
>> Hi Derek,
>> 
>> there should now also be a zh directory like
>> http://gnucash.github.io/gnucash-docs/zh/gnucash-guide/
>> 
>> Regards
>> Frank
>> ___
>> gnucash-devel mailing list
>> gnucash-devel@gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> 
> 
> 
> -- 
>   Derek Atkins 617-623-3745
>   de...@ihtfp.com www.ihtfp.com
>   Computer and Internet Security Consultant
> 
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] recent CMake warnings and Ubuntu LTS support

2023-08-22 Thread john
The docs are also built nightly as a GitHub action and published to 
http://gnucash.github.io/gnucash-docs/ so a possible workaround would be to 
copy or link that. There are at present no intermediate index.html so you have 
to get each one independently, e.g. 
http://gnucash.github.io/gnucash-docs/C/gnucash-guide/.

Regards,
John Ralls

> On Aug 22, 2023, at 05:13, Derek Atkins  wrote:
> 
> Hi,
> 
> Only seeing this thread now.
> This change broke the gnucash-docs build on code.
> Code is (still) running Fedora-29, which only has cmake 3.14.5
> Upgrading code is something that cannot happen quickly (for many reasons),
> so if we still want docs builds we need to do downgrade the minimal
> version.
> 
> Thanks,
> 
> -derek
> 
> On Fri, August 18, 2023 12:57 pm, Geert Janssens wrote:
>> Op vrijdag 18 augustus 2023 18:24:34 CEST schreef john:
>>> I have no problem with bumping up the minimum
>> CMake version as long as it's
>>> the same in gnucash and gnucash-docs. IIRC there are
>> already other issues
>>> blocking building 5.x on Ubuntu 18.04 so the support
>> isn't really there.
>>> 
>> Done.
>> ___
>> gnucash-devel mailing list
>> gnucash-devel@gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> 
> 
> 
> -- 
>   Derek Atkins 617-623-3745
>   de...@ihtfp.com www.ihtfp.com
>   Computer and Internet Security Consultant
> 
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] recent CMake warnings and Ubuntu LTS support

2023-08-22 Thread Derek Atkins
Hi,

Only seeing this thread now.
This change broke the gnucash-docs build on code.
Code is (still) running Fedora-29, which only has cmake 3.14.5
Upgrading code is something that cannot happen quickly (for many reasons),
so if we still want docs builds we need to do downgrade the minimal
version.

Thanks,

-derek

On Fri, August 18, 2023 12:57 pm, Geert Janssens wrote:
> Op vrijdag 18 augustus 2023 18:24:34 CEST schreef john:
>> I have no problem with bumping up the minimum
> CMake version as long as it's
>> the same in gnucash and gnucash-docs. IIRC there are
> already other issues
>> blocking building 5.x on Ubuntu 18.04 so the support
> isn't really there.
>>
> Done.
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>


-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Missing recent builds at https://code.gnucash.org/docs/

2023-08-22 Thread Derek Atkins
HI,

Looks like zh is not building.  The code in question:

cd $srcdir || my_die "chdir to $srcdir failed."
git checkout $branch -q >/dev/null 2>&1 || my_die "git checkout failed."
git fetch -q >/dev/null 2>&1 || my_die "git fetch failed."
git reset --hard origin/$branch -q >/dev/null 2>&1 || my_die "git reset
failed."
# Run cmake
mkdir -p $builddir || my_die "creation of $builddir failed."
cd $builddir || my_die "chdir to $builddir failed."
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DWITH_MOBI=ON $srcdir >/dev/null
2>&1 || my_die "cmake failed"

( and then it runs the "make" )

I received no email of failures, so we never hit the "my_die" conditions.
I do see the 'zh' directory in the source dir, but I do not see a 'zh'
directory in the build dir, nor in build/share/doc.
The Makefile in the build dir was last touched on Aug 18.

Shouldn't the cmake and then make "do the right thing"?

-derek

On Tue, August 22, 2023 7:26 am, Frank H. Ellenberger wrote:
> Hi Derek,
>
> there should now also be a zh directory like
> http://gnucash.github.io/gnucash-docs/zh/gnucash-guide/
>
> Regards
> Frank
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>


-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


[GNC-dev] Missing recent builds at https://code.gnucash.org/docs/

2023-08-22 Thread Frank H. Ellenberger

Hi Derek,

there should now also be a zh directory like
http://gnucash.github.io/gnucash-docs/zh/gnucash-guide/

Regards
Frank
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel