Forums before death by AOL, social media and spammers... "We can't have nice things"
|    linux.debian.bugs.dist    |    Ohh some weird Debian bug report thing    |    28,835 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 27,679 of 28,835    |
|    Santiago Vila to All    |
|    Bug#1046971: rocblas: Fails to build sou    |
|    15 Feb 26 00:20:01    |
   
   From: sanvila@debian.org   
      
   tags 1046971 patch   
   severity 1046971 normal   
   thanks   
      
   Hello. The current build log when trying to build source after binary   
   build is now like this:   
      
   dpkg-source: error: cannot represent change to build/html/[many-   
   ifferent-files]   
   dpkg-source: error: cannot represent change to build/html/[many-   
   ifferent-files]   
   [...]   
   dpkg-source: error: cannot represent change to rocblas_gtest.data: binary file   
   contents changed   
   dpkg-source: error: add rocblas_gtest.data in debian/source/include-binaries   
   if you want to store the modified binary in the debian tarball   
      
      
   I've tested the attached patch and it seems to fix the problem.   
   Comparing with the previous debian/clean file, the differences are:   
      
   html/ -> this is no longer needed   
   build/html/ -> now needed   
   rocblas_gtest.data -> now needed   
   clients/common/__pycache__/ -> removing the whole directory seems better   
   than only rocblas_gentest.py   
      
      
   The file docs/conf.py is a little bit special. It does not show in the   
   build log in my usual autobuilder setup, but it does when I test the   
   change interactively, and apparently the build process modifies the   
   file in this way:   
      
   --- rocblas-6.4.4.orig/docs/conf.py   
   +++ rocblas-6.4.4/docs/conf.py   
   @@ -37,3 +37,8 @@ external_projects_remote_branch = ""   
      
    for sphinx_var in ROCmDocs.SPHINX_VARS:   
    globals()[sphinx_var] = getattr(docs_core, sphinx_var)   
   +   
   +# Force version in header   
   +html_context = {   
   + 'docs_header_version': 'Debian Build 7.1.1'   
   +}   
      
   We can't just remove the file because it's required to build the   
   package, but in this case we can ignore the changes using an   
   additional extend-diff-ignore regexp in debian/source/options.   
      
   (Of course, it would be better if docs/conf.py was not modified during   
   the build, but I don't know how to do that. For now the attached patch   
   allows building the source after a binary build).   
      
   Thanks.   
   commit 83faffa36700196f060f8ede8f12734eb8141fef   
   Author: Santiago Vila
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca