reassign 553264 lintian 2.2.17 retitle 553264 lintian: diff-contains-cmake-cache-file false positive severity 553264 normal thanks
Thanks for the (presumably automated) report, Manoj. Although you have indeed found a bug, it is in lintian rather than fltk1.1, as the error is a false positive which I hadn't yet gotten around to reporting. At any rate, to make a long story short, fltk1.1's Debian packaging makes use of its autoconf-based build system but arranges for libfltk1.1-dev to ship a /usr/lib/fltk containing files for use by packages that build with cmake, including in particular the (artificial) CMakeCache.txt whose source set Lintian off. (See #333245 and #437967 for details.) In principle, the copy in debian/ could have a different name, but I'd rather still call it CMakeCache.txt because that's the most natural choice. There are various clues that this particular CMakeCache.txt is artificial: - Its location (in debian/ rather than directly alongside any upstream files). - The fact that a binary package proceeds to ship a copy. - Its contents. A real CMakeCache.txt would contain a header of the general form # This is the CMakeCache file. # For build in directory: ... # It was generated by CMake: /usr/bin/cmake # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. possibly with some variations depending on the precise CMake version that produced it, and also contain some CMAKE_* settings such as CMAKE_CACHEFILE_DIR:INTERNAL=... whereas fltk1.1's debian/CMakeCache.txt does neither. Lintian maintainers, please exempt it on at least one of those grounds. Thanks! -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?...@monk.mit.edu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org