Uploaded image for project: 'Persistence Admin Service'
  1. Persistence Admin Service
  2. PAS-3

Build failure due to missing PasModuleTestGen.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None

    Description

      Doing a GDP for Genivi 10 build I got the fatal PAS build error:
      src/test_PAS_dbus.c:25:30: fatal error: PasModuleTestGen.h: No such file or directory
      #include "PasModuleTestGen.h"

      I believe this might be a dependency issue in the recipe or makefiles. Writing this issue up some days later my memory is a little sketchy but I recall looking at the makefile and thinking it wasn't clear that the code generation for the header was a dependency for the module that consumed it. So it was possible the latter might be built before it was generated. Cleaning the Yocto sstate for PAS and rebuilding the build succeeded, which suggested that might be true.

      Unfortunately I had insufficient time to completely investigate and fix the cause.

      I attach the Yocto run and build logs for the failing case. For some reason I can't upload an archive of the build area at the time of the failure. Perhaps there is a upload size limit as its 4MB. Contact me direct and I can send it. Hopefully that will be sufficient to find the cause.

      Attachments

        Activity

          People

            guy.sagnes Guy Sagnes (Inactive)
            stephen.lawrence Stephen Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: