[GNC-dev] Sourceforge gnucash-docs-3.7.tar.gz incomplete

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC-dev] Sourceforge gnucash-docs-3.7.tar.gz incomplete

Phil Diacono
It seems the tarball for gnucash-docs-3.7 at
https://sourceforge.net/projects/gnucash/files/gnucash%20%28stable%29/3.7/gnucash-docs-3.7.tar.gz/download
is incomplete (missing files from cmake subdirectory) and will not build. I
found a complete tarball at
https://github.com/Gnucash/gnucash-docs/archive/3.7.tar.gz.  See below for
comparisons of downloads and contents of cmake directory.

Build error encountered:
$ sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local ../gnucash-docs-3.7
CMake Error at CMakeLists.txt:25 (include):
  include could not find load file:

    AddGHelpTarget

...


$ ls -lt /tmp/mozilla_phild0/ | head
total 142924
-r-------- 1 phild phild 70634602 Oct 19 12:46 gnucash-docs-3.7.tar-1.gz
-r-------- 1 phild phild 61234559 Oct 19 11:15 gnucash-docs-3.7.tar.gz
-r-------- 1 phild phild 13896595 Oct 19 10:52 gnucash-3.7.tar.bz2

$ tar -tzvf /tmp/mozilla_phild0/gnucash-docs-3.7.tar-1.gz | grep cmake
drwxrwxr-x root/root         0 2019-09-08 10:35 gnucash-docs-3.7/cmake/
-rw-rw-r-- root/root      1375 2019-09-08 10:35
gnucash-docs-3.7/cmake/AddChmTarget.cmake
-rw-rw-r-- root/root      1968 2019-09-08 10:35
gnucash-docs-3.7/cmake/AddEpubTarget.cmake
-rw-rw-r-- root/root      2129 2019-09-08 10:35
gnucash-docs-3.7/cmake/AddGHelpTarget.cmake
-rw-rw-r-- root/root      1943 2019-09-08 10:35
gnucash-docs-3.7/cmake/AddGncDocTargets.cmake
-rw-rw-r-- root/root      2551 2019-09-08 10:35
gnucash-docs-3.7/cmake/AddHtmlTarget.cmake
-rw-rw-r-- root/root      2096 2019-09-08 10:35
gnucash-docs-3.7/cmake/AddPdfTarget.cmake
-rw-rw-r-- root/root       776 2019-09-08 10:35
gnucash-docs-3.7/cmake/DistCommon.cmake
-rw-rw-r-- root/root      2626 2019-09-08 10:35
gnucash-docs-3.7/cmake/MakeChm.cmake
-rw-rw-r-- root/root      2249 2019-09-08 10:35
gnucash-docs-3.7/cmake/MakeDist.cmake
-rw-rw-r-- root/root      2599 2019-09-08 10:35
gnucash-docs-3.7/cmake/MakeDistCheck.cmake
-rw-rw-r-- root/root      1134 2019-09-08 10:35
gnucash-docs-3.7/cmake/cmake_uninstall.cmake.in
-rw-rw-r-- root/root      5998 2019-09-08 10:35
gnucash-docs-3.7/xsl/1.79.2/highlighting/cmake-hl.xml

$ tar -tzvf /tmp/mozilla_phild0/gnucash-docs-3.7.tar.gz | grep cmake
drwxr-xr-x 1000/1000         0 2019-09-09 05:26 gnucash-docs-3.7/cmake/
-rw-r--r-- 1000/1000      1375 2019-09-08 03:48
gnucash-docs-3.7/cmake/AddChmTarget.cmake
-rw-r--r-- 1000/1000      1968 2019-09-08 03:48
gnucash-docs-3.7/cmake/AddEpubTarget.cmake
-rw-r--r-- 1000/1000      5998 2019-01-01 17:54
gnucash-docs-3.7/xsl/1.79.2/highlighting/cmake-hl.xml

~                                                                                                            



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] Sourceforge gnucash-docs-3.7.tar.gz incomplete

Frank H. Ellenberger-3
Hi Phil,

Am Sa., 19. Okt. 2019 um 04:01 Uhr schrieb Phil Diacono <[hidden email]>:
>
> It seems the tarball for gnucash-docs-3.7 at
> https://sourceforge.net/projects/gnucash/files/gnucash%20%28stable%29/3.7/gnucash-docs-3.7.tar.gz/download
> is incomplete (missing files from cmake subdirectory) and will not build. I
> found a complete tarball at
> https://github.com/Gnucash/gnucash-docs/archive/3.7.tar.gz.  See below for
> comparisons of downloads and contents of cmake directory.
:

Cmake was enabled one week before the release - probably a bad timing
- and got in between several fixes..

You can either
* use autotools for the 3.7 release or
* try to build from current git with cmake and the report the result.

Regards
Frank
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] Sourceforge gnucash-docs-3.7.tar.gz incomplete

Phil Diacono
I can confirm that the build from current git with cmake succeeds as does the
subsequent "make" and "make install".

I hope the following is seen as constructive and in the big picture a very
minor criticism as I have huge admiration for the gnucash development team's
dedication, productivity and talent. But (you knew there was a "but" coming,
didn't you) this raises a couple of points:

-1- what is a release? If sourceforge and github both claim to have the
gnucash-docs 3.7 source tarball but they are of different sizes and one
works and one doesn't, then it seems to my naïve user perspective there have
been two releases but both given the same name.

-2- in both locations (sourceforge and github) from where I downloaded the
tarballs, there was no obvious checksum (md5sum or sha256sum) to confirm the
integrity of the tarball, in case one had been corrupted (however unlikely
given both gzip and tar were happy with it). Apologies if I didn't spot it.

Keep up the great work, users like me love your product. Thanks very much.



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] Sourceforge gnucash-docs-3.7.tar.gz incomplete

John Ralls-2


> On Oct 19, 2019, at 2:14 PM, Phil Diacono <[hidden email]> wrote:
>
> I can confirm that the build from current git with cmake succeeds as does the
> subsequent "make" and "make install".
>
> I hope the following is seen as constructive and in the big picture a very
> minor criticism as I have huge admiration for the gnucash development team's
> dedication, productivity and talent. But (you knew there was a "but" coming,
> didn't you) this raises a couple of points:
>
> -1- what is a release? If sourceforge and github both claim to have the
> gnucash-docs 3.7 source tarball but they are of different sizes and one
> works and one doesn't, then it seems to my naïve user perspective there have
> been two releases but both given the same name.
>
> -2- in both locations (sourceforge and github) from where I downloaded the
> tarballs, there was no obvious checksum (md5sum or sha256sum) to confirm the
> integrity of the tarball, in case one had been corrupted (however unlikely
> given both gzip and tar were happy with it). Apologies if I didn't spot it.
>
> Keep up the great work, users like me love your product. Thanks very much.

1. A release is a commit tagged with a version number and has an associated release page on https://github.com/gnucash/Gnucash. Documentation releases are done simultaneously with GnuCash releases and the release tarball is included as a download with the rest of the release downloads on the GitHub GnuCash release page and on SourceForge. For a little more than a year I've been putting the documentation tarball in the same SourceForge directory as the other downloads instead of in a separate gnucash-docs directory. Github also automatically generates tarballs from tags and those are different from the release ones: The release tarballs have been partially processed to combine the various pieces into a single XML file for each translation of each of Help and The Tutorial and Concepts Guide; the Github tarballs aren't preprocessed, they're the same files you'd get if you did a git clone.

2. Sha-256 sums for all of the release downloads are in the Readme in the SourceForge release directory (e.g. https://sourceforge.net/projects/gnucash/files/gnucash%20%28stable%29/3.7/) and in the release announcement posted to GitHub (https://github.com/Gnucash/gnucash/releases), in the release news on the website (https://www.gnucash.org/news.phtml) and in the release announcements sent to gnucash-announce, gnucash-devel, and gnucash-user. AFAICT Github doesn't provide hashes of its automatically-generated tarballs.

Regards,
John Ralls

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] Sourceforge gnucash-docs-3.7.tar.gz incomplete

Geert Janssens-4
In reply to this post by Phil Diacono
Frank already pointed you in the right direction.

I'll just add the cmake configuration should be considered "tech preview" in
the 3.x series. It was certainly not meant to be the canonical build system
yet. That currently still it autotools.

We plan to eventually switch this after all we have established the cmake
configuration is as stable as the autotools one. I hope this to be the case
for 4.0.

Regards,

Geert

Op zaterdag 19 oktober 2019 04:00:49 CEST schreef Phil Diacono:

> It seems the tarball for gnucash-docs-3.7 at
> https://sourceforge.net/projects/gnucash/files/gnucash%20%28stable%29/3.7/gn
> ucash-docs-3.7.tar.gz/download is incomplete (missing files from cmake
> subdirectory) and will not build. I found a complete tarball at
> https://github.com/Gnucash/gnucash-docs/archive/3.7.tar.gz.  See below for
> comparisons of downloads and contents of cmake directory.
>
> Build error encountered:
> $ sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local ../gnucash-docs-3.7
> CMake Error at CMakeLists.txt:25 (include):
>   include could not find load file:
>
>     AddGHelpTarget
>
> ...
>
>
> $ ls -lt /tmp/mozilla_phild0/ | head
> total 142924
> -r-------- 1 phild phild 70634602 Oct 19 12:46 gnucash-docs-3.7.tar-1.gz
> -r-------- 1 phild phild 61234559 Oct 19 11:15 gnucash-docs-3.7.tar.gz
> -r-------- 1 phild phild 13896595 Oct 19 10:52 gnucash-3.7.tar.bz2
>
> $ tar -tzvf /tmp/mozilla_phild0/gnucash-docs-3.7.tar-1.gz | grep cmake
> drwxrwxr-x root/root         0 2019-09-08 10:35 gnucash-docs-3.7/cmake/
> -rw-rw-r-- root/root      1375 2019-09-08 10:35
> gnucash-docs-3.7/cmake/AddChmTarget.cmake
> -rw-rw-r-- root/root      1968 2019-09-08 10:35
> gnucash-docs-3.7/cmake/AddEpubTarget.cmake
> -rw-rw-r-- root/root      2129 2019-09-08 10:35
> gnucash-docs-3.7/cmake/AddGHelpTarget.cmake
> -rw-rw-r-- root/root      1943 2019-09-08 10:35
> gnucash-docs-3.7/cmake/AddGncDocTargets.cmake
> -rw-rw-r-- root/root      2551 2019-09-08 10:35
> gnucash-docs-3.7/cmake/AddHtmlTarget.cmake
> -rw-rw-r-- root/root      2096 2019-09-08 10:35
> gnucash-docs-3.7/cmake/AddPdfTarget.cmake
> -rw-rw-r-- root/root       776 2019-09-08 10:35
> gnucash-docs-3.7/cmake/DistCommon.cmake
> -rw-rw-r-- root/root      2626 2019-09-08 10:35
> gnucash-docs-3.7/cmake/MakeChm.cmake
> -rw-rw-r-- root/root      2249 2019-09-08 10:35
> gnucash-docs-3.7/cmake/MakeDist.cmake
> -rw-rw-r-- root/root      2599 2019-09-08 10:35
> gnucash-docs-3.7/cmake/MakeDistCheck.cmake
> -rw-rw-r-- root/root      1134 2019-09-08 10:35
> gnucash-docs-3.7/cmake/cmake_uninstall.cmake.in
> -rw-rw-r-- root/root      5998 2019-09-08 10:35
> gnucash-docs-3.7/xsl/1.79.2/highlighting/cmake-hl.xml
>
> $ tar -tzvf /tmp/mozilla_phild0/gnucash-docs-3.7.tar.gz | grep cmake
> drwxr-xr-x 1000/1000         0 2019-09-09 05:26 gnucash-docs-3.7/cmake/
> -rw-r--r-- 1000/1000      1375 2019-09-08 03:48
> gnucash-docs-3.7/cmake/AddChmTarget.cmake
> -rw-r--r-- 1000/1000      1968 2019-09-08 03:48
> gnucash-docs-3.7/cmake/AddEpubTarget.cmake
> -rw-r--r-- 1000/1000      5998 2019-01-01 17:54
> gnucash-docs-3.7/xsl/1.79.2/highlighting/cmake-hl.xml
>
> ~
>
>
>
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
> _______________________________________________
> gnucash-devel mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel




_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel