[haiku-commits] Re: HDS build breakage - hrev54680
- From: "Alexander von Gluck IV" <kallisti5@xxxxxxxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Thu, 29 Oct 2020 12:54:46 +0000
October 28, 2020 8:35 PM, "Andrew Lindesay" <apl@xxxxxxxxxxxxxx> wrote:
AddDirectoryToContainerCopyFilesScript
<hpkg_-haiku.hpkg>data/mime_db/-/<mimedb-app->GLInfo_mimedb
C++
objects/haiku/x86_64/release/apps/haikudepot/ServerPkgDataUpdateProcess.o
../src/apps/haikudepot/server/ServerPkgDataUpdateProcess.cpp:39:64:
error: expected class-name before '{' token
Hi Alex;
I just tried locally and it seems to build for me.
When HaikuDepot (HD) builds it will use a python script to parse the DTOs
(wire-level model
objects) as JSON schema that are communicated between HDS and HD. After
parsing, it will write out
generated C++ side model objects and parsers. These typically go into the
generated sources in a
number of sub-directories at...
```
objects/haiku/x86_64/common/apps/haikudepot/...
```
For example, can you please see if the file...
```
objects/haiku/x86_64/common/apps/haikudepot/dumpexportpkgbulklistener/DumpExportPkgJsonListener.h
```
...is present and not blank / rubbish?
The Jam rules/actions etc... for this are called `HdsSchema...` -- can you
see if there are any
warnings or errors linked those names in your build log that are not halting
the build process.
Ah.. interesting. It's blank:
-rw-r--r-- 1 kallisti5 users 0 Oct 28 08:41
objects/haiku/x86_64/common/apps/haikudepot/dumpexportpkgbulklistener/DumpExportPkgJsonListener.h
I've rebuilt fresh a few times now and still see this issue.
What python script is generating it? Not seeing anything in the sources:
[kallisti5@eris haiku]$ grep -R "DumpExportPkgJsonListener" build/
[kallisti5@eris haiku]$ grep -R "DumpExportPkgJsonListener" data/
[kallisti5@eris haiku]$ grep -R "DumpExportPkgJsonListener" src/
src/apps/haikudepot/server/ServerPkgDataUpdateProcess.cpp:#include
"DumpExportPkgJsonListener.h"
src/apps/haikudepot/server/ServerPkgDataUpdateProcess.cpp:
BulkContainerDumpExportPkgJsonListener* listener =
src/apps/haikudepot/server/ServerPkgDataUpdateProcess.cpp: new
BulkContainerDumpExportPkgJsonListener(itemListener);
src/apps/haikudepot/server/ServerPkgDataUpdateProcess.cpp:
ObjectDeleter<BulkContainerDumpExportPkgJsonListener>
src/apps/haikudepot/Jamfile: DumpExportPkgJsonListener.cpp
-- Alex
Other related posts: