Wargus / stargus

Importer and scripts for Starcraft
GNU General Public License v2.0
126 stars 24 forks source link

'Error 2' building debian package from source on Debian GNU/Linux 10 (buster) #46

Closed sv0 closed 3 years ago

sv0 commented 3 years ago

OS: Debian GNU/Linux 10 (buster) cmake version: 3.16.3 gcc version: 8.3.0

$ dpkg-buildpackage -uc -us -b                                                                                            
dpkg-buildpackage: info: source package stratagus                                                                                                                            
dpkg-buildpackage: info: source version 3.1.0                                                                                                                                
dpkg-buildpackage: info: source distribution focal                                                                                                                           
dpkg-buildpackage: info: source changed by Tim Felgentreff <timfelgentreff@gmail.com>                                                                                        
dpkg-buildpackage: info: host architecture amd64                                                                                                                             
 dpkg-source --before-build .                                                                                                                                                
 fakeroot debian/rules clean                                                                                                                                                 
dh clean --parallel                                                                                                                                                          
   debian/rules override_dh_auto_clean                                                                                                                                       
make[1]: Entering directory '/home/slavik/war/stratagus'                                                                                                                     
dh_auto_clean                                                                                                                                                                
dh_auto_clean --builddirectory=obj-x86_64-linux-gnu-dbg                                                                                                                      
make[1]: Leaving directory '/home/slavik/war/stratagus'                                                                                                                      
   dh_clean -O--parallel                                                                                                                                                     
 debian/rules build                                                                                                                                                          
dh build --parallel                                                                                                                                                          
   dh_update_autotools_config -O--parallel                                                                                                                                   
   debian/rules override_dh_auto_configure                                                                                                                                   
make[1]: Entering directory '/home/slavik/war/stratagus'                                                                                                                     
dh_auto_configure -- -DENABLE_DOC=ON -DENABLE_DEV=ON                                                                                                                         
        cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPOR
T_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DENABLE_DOC=
ON -DENABLE_DEV=ON ..                                                                                                                                                        
-- The C compiler identification is GNU 8.3.0                                                                                                                                
-- The CXX compiler identification is GNU 8.3.0                                                                                                                              
-- Check for working C compiler: /bin/cc                                                                                                                                     
-- Check for working C compiler: /bin/cc -- works                                                                                                                            
-- Detecting C compiler ABI info                                                                                                                                             
-- Detecting C compiler ABI info - done                                                                                                                                      
-- Detecting C compile features                                                                                                                                              
-- Detecting C compile features - done                                                                                                                                       
-- Check for working CXX compiler: /bin/c++                                                                                                                                  
-- Check for working CXX compiler: /bin/c++ -- works                                                                                                                         
-- Detecting CXX compiler ABI info                                                                                                                                           
-- Detecting CXX compiler ABI info - done                                                                                                                                    
-- Detecting CXX compile features                                                                                                                                            
-- Detecting CXX compile features - done                                                                                                                                     
-- Found Lua51: /usr/lib/x86_64-linux-gnu/liblua5.1.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "5.1.5")                                                             
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")                                                                                                    
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.36")                                                                                                   
-- Looking for pthread.h                                                                                                                                                     
-- Looking for pthread.h - found                                                                                                                                             
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD                                                                                                                                   
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed                                                                                                                          
-- Looking for pthread_create in pthreads                                                                                                                                    
-- Looking for pthread_create in pthreads - not found                                                                                                                        
-- Looking for pthread_create in pthread                                                                                                                                     
-- Looking for pthread_create in pthread - found                                                                                                                             
-- Found Threads: TRUE                                                                                                                                                       
-- sdl2 found: includes in /usr/include/SDL2, library in /usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread                                                                      
-- Found SDL2_mixer: /usr/lib/x86_64-linux-gnu/libSDL2_mixer.so (found version "2.0.4")                                                                                      
-- Found SDL2_image: /usr/lib/x86_64-linux-gnu/libSDL2_image.so (found version "2.0.4")                                                                                      
-- Found program tolua++: /bin/tolua++5.1                                                                                                                                    
-- Found library tolua++: /usr/lib/libtolua++5.1.a                                                                                                                           
-- Found OpenMP_C: -fopenmp (found version "4.5")                                                                                                                            
-- Found OpenMP_CXX: -fopenmp (found version "4.5")                                                                                                                          
-- Found OpenMP: TRUE (found version "4.5")                                                                                                                                  
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):                                                                              
  Could NOT find Doxygen (missing: dot) (found version "1.8.13")                                                                                                             
Call Stack (most recent call first):                                                                                                                                         
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)                                                                             
  /usr/share/cmake-3.16/Modules/FindDoxygen.cmake:633 (find_package_handle_standard_args)                                                                                    
  CMakeLists.txt:659 (find_package)                                                                                                                                          

CMake Warning (dev) in /usr/share/cmake-3.16/Modules/FindDoxygen.cmake:                                                                                                      
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH                                                                                                 
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the                                                                                                   
  cmake_policy command to set the policy and suppress this warning.                                                                                                          

  The included script                                                                                                                                                        

    /usr/share/cmake-3.16/Modules/FindDoxygen.cmake                                                                                                                          

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for                                                                                                 
  compatibility, so the effects are applied to the including context.                                                                                                        
Call Stack (most recent call first):                                                                                                                                         
  CMakeLists.txt:659 (find_package)                                                                                                                                          
This warning is for project developers.  Use -Wno-dev to suppress it.                                                                                                        

-- Configuring incomplete, errors occurred!                                                                                                                                  
See also "/home/slavik/war/stratagus/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log".                                                                                       
See also "/home/slavik/war/stratagus/obj-x86_64-linux-gnu/CMakeFiles/CMakeError.log".                                                                                        
        cd obj-x86_64-linux-gnu && tail -v -n \+0 CMakeCache.txt   

CMakeOutput.log

CMakeError.log

CMakeCache.txt

sv0 commented 3 years ago

Sorry, my fault. I've posted the issue on wrong project. The error happens in stratagus but not stargus.

timfel commented 3 years ago

@sv0 yes, I forgot the graphviz build dependency. Fixed on master