[PROJ] Trouble building packages for distribution

Javier Jimenez Shaw j1 at jimenezshaw.com
Mon Feb 23 08:01:50 PST 2026


I got this, but it was extremely fast compiling. I think it was using some
kind of cache

ls -lh proj-9.8.0*
-rw-rw-r-- 1 jshaw jshaw 5.8M Feb 23 16:59 proj-9.8.0.tar.gz
-rw-rw-r-- 1 jshaw jshaw 6.1M Feb 23 16:59 proj-9.8.0.zip


On Mon, 23 Feb 2026 at 16:51, Kristian Evers via PROJ <proj at lists.osgeo.org>
wrote:

> I’m in the process of preparing 9.8.0RC1 but seem to have hit a bit of an
> issue with CMake that I can’t make sense of.
> In short, empty archives are produced when running "cmake --build .
> --target dist”.
>
> As usual I follow the recipe in HOWTO-RELEASE:
>
> $ BRANCH_NAME=9.8
> $ git clone --depth 1 --branch $BRANCH_NAME
> https://github.com/OSGeo/PROJ.git PROJ-$BRANCH_NAME
> $ cd PROJ-$BRANCH_NAME
> $ mkdir _build && cd _build
> $ cmake -D BUILD_TESTING=OFF ..
> $ cmake --build . --target dist
>
> Looking at the produced files shows they are empty:
>
> $ ls -lh proj-9.8.0*
> -rw-r--r--  1 kevers  staff    29B Feb 23 16:31 proj-9.8.0.tar.gz
> -rw-r--r--  1 kevers  staff    22B Feb 23 16:31 proj-9.8.0.zip
>
> Oddly enough, if I do a similar thing within my git repo I succeed:
>
> $ mkdir build && cd build
> $ cmake -D BUILD_TESTING=OFF ..
> $ cmake --build . --target dist
> $ ls -lh proj-*
> -rw-r--r--  1 kevers  staff   6.4M Feb 23 16:38 proj-9.8.0.tar.gz
> -rw-r--r--  1 kevers  staff   6.9M Feb 23 16:38 proj-9.8.0.zip
>
> I see that a few things have changed in CMakeLists.txt but nothing that
> seems related. Could someone try to reproduce this?
>
> /Kristian
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20260223/95c1cbf4/attachment.htm>


More information about the PROJ mailing list