Hi,

I presume you are referring to the warning messages regarding the -py3 switch :
Deprecated command line option: -py3. Ignored, this option is no longer 
supported.

They are not specific to Ubuntu 23.10. I see the same warnings when building 
gnucash on 
Fedora 39.

It's a change in the swig tool as of v4.1. This option is no longer needed 
starting with that 
version (but is on older versions). I have committed a fix to our source code.

Thanks for bringing this up and kind regards,

Geert

Op woensdag 21 februari 2024 22:35:13 CET schreef Stephen M. Butler:
>    Don't know whether or not the following needs a developer's attention.
>    I attempted to include as much context as needed.  Just did a git pull
>    to update to 5.5-87 then did a successful build.  So it must not be too
>    disastrous.  Perhaps just an anomaly with make on Ubuntu 23.10.
>    -- The C compiler identification is GNU 13.2.0
>    -- The CXX compiler identification is GNU 13.2.0
>    [ 19%] Generating swig-unittest-support-python.c, unittest_support.py
>    Deprecated command line option: -py3. Ignored, this option is no longer
>    supported.
>    [ 19%] Built target swig-unittest-support-python
>    [ 30%] Linking CXX shared library
>    ../../../lib/libgnc-backend-xml-utils.so
>    /usr/bin/ld:
>    CMakeFiles/gnc-backend-xml-utils.dir/gnc-xml-backend.cpp.o: in function
>    `GncXmlBackend::write_to_file(bool)':
>    /home/steve/Projects/GnuCash/gnucash/libgnucash/backend/xml/gnc-xml-bac
>    kend.cpp:390:(.text+0x1447):
>    warning: the use of `mktemp' is dangerous, better use `mkstemp' or
>    `mkdtemp'
>    [ 30%] Built target gnc-backend-xml-utils
>    [ 32%] Generating
>    ../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/app-utils/date
>    -utilities.go
>    <unknown-location>: warning: non-literal format string
>    wrote
>    `/home/steve/Projects/GnuCash/Build-gnucash_5.5-87/lib/x86_64-linux-gnu
>    /guile/3.0/site-ccache/gnucash/app-utils/date-utilities.go'
>    [ 32%] Built target scm-app-utils-1
>    [ 77%] Generating
>    ../../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/reports/sta
>    ndard/advanced-portfolio.go
>    <unknown-location>: warning: non-literal format string
>    wrote
>    `/home/steve/Projects/GnuCash/Build-gnucash_5.5-87/lib/x86_64-linux-gnu
>    /guile/3.0/site-ccache/gnucash/reports/standard/advanced-portfolio.go'
>    [ 78%] Generating
>    ../../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/reports/sta
>    ndard/category-barchart.go
>    <unknown-location>: warning: non-literal format string
>    wrote
>    `/home/steve/Projects/GnuCash/Build-gnucash_5.5-87/lib/x86_64-linux-gnu
>    /guile/3.0/site-ccache/gnucash/reports/standard/category-barchart.go'
>    [100%] Generating gnucash_core.c, gnucash_core_c.py
>    Deprecated command line option: -py3. Ignored, this option is no longer
>    supported.
>    [100%] Built target swig-gnucash-core
>    [100%] Generating swig-core-utils-python.c, sw_core_utils.py
>    Deprecated command line option: -py3. Ignored, this option is no longer
>    supported.
>    [100%] Built target swig-core-utils-python
>    [100%] Generating swig-app-utils-python.c, sw_app_utils.py
>    Deprecated command line option: -py3. Ignored, this option is no longer
>    supported.
>    [100%] Built target swig-app-utils-python
> _______________________________________________
> 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

Reply via email to