https://bugs.kde.org/show_bug.cgi?id=369433

            Bug ID: 369433
           Summary: FTBFS invalid prepsocessing directive on comments in
                    header.
           Product: Skanlite
           Version: unspecified
          Platform: Other
               URL: http://aci.pangea.pub/job/appimage-skanlite/8/console
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kare.s...@iki.fi
          Reporter: sgcl...@kubuntu.org

[ 90%] Built target doc-index-cache-bz2
In file included from /app/src/skanlite/src/main.cpp:33:0:
/app/src/skanlite/src/version.h:1:3: error: invalid preprocessing directive
#This
 # This is a basic version file for the Config-mode of find_package().
   ^
/app/src/skanlite/src/version.h:2:3: error: invalid preprocessing directive #It
 # It is used by write_basic_package_version_file() as input file for
configure_file()
   ^
/app/src/skanlite/src/version.h:3:3: error: invalid preprocessing directive #to
 # to create a version-file which can be installed along a config.cmake file.
   ^
/app/src/skanlite/src/version.h:5:3: error: invalid preprocessing directive
#The
 # The created file sets PACKAGE_VERSION_EXACT if the current version string
and
   ^
/app/src/skanlite/src/version.h:6:3: error: invalid preprocessing directive
#the
 # the requested version string are exactly the same and it sets
   ^
/app/src/skanlite/src/version.h:7:3: error: invalid preprocessing directive
#PACKAGE_VERSION_COMPATIBLE
 # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
   ^
/app/src/skanlite/src/version.h:8:3: error: invalid preprocessing directive
#The
 # The variable CVF_VERSION must be set before calling configure_file().
   ^
/app/src/skanlite/src/version.h:21:6: warning: "the" is not defined [-Wundef]
 # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set,
ignore it:
      ^
/app/src/skanlite/src/version.h:21:10: error: missing binary operator before
token "installed"
 # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set,
ignore it:
          ^
/app/src/skanlite/src/version.h:21:44: warning: missing terminating ' character
[enabled by default]
 # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set,
ignore it:
                                            ^
/app/src/skanlite/src/version.h:21:0: error: unterminated #if
 # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set,
ignore it:
 ^

/app/src/skanlite/src/version.h:10:4: error: expected constructor, destructor,
or type conversion before '(' token
 set(PACKAGE_VERSION "5.1.0")
    ^
make[2]: 
*** [src/CMakeFiles/skanlite.dir/main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

make[1]: *** [src/CMakeFiles/skanlite.dir/all] Error 2
make: *** [all] Error 2

Reproducible: Always

Steps to Reproduce:
1. Compile entire dependency tree and skanlite from source.
2.
3.

Actual Results:  
FTBFS

Expected Results:  
Successful compile

Please see above build log for entire build. The OS is Ubuntu trusty 14.04.3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to