This file is indexed.

/usr/share/doc/ubuntu-packaging-guide-html-pt-br/fixing-ftbfs.html is in ubuntu-packaging-guide-html-pt-br 0.3.6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>9. Fixing FTBFS packages &mdash; Ubuntu Packaging Guide</title>
    <link rel="shortcut icon" href="./_static/images/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./_static/reset.css" type="text/css" />
    <link rel="stylesheet" href="./_static/960.css" type="text/css" />
    <link rel="stylesheet" href="./_static/base.css" type="text/css" />
    <link rel="stylesheet" href="./_static/home.css" type="text/css" />
    <link rel="stylesheet" href="./_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="./_static/guide.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '0.3.6',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="./_static/jquery.js"></script>
    <script type="text/javascript" src="./_static/underscore.js"></script>
    <script type="text/javascript" src="./_static/doctools.js"></script>
    <script type="text/javascript" src="./_static/translations.js"></script>
    
    <script type="text/javascript" src="./_static/main.js"></script>
    <link rel="top" title="Ubuntu Packaging Guide" href="./index.html" />
    <link rel="next" title="10. Bibliotecas compartilhadas" href="libraries.html" />
    <link rel="prev" title="8. Patches para pacotes" href="patches-to-packages.html" /> 
  </head>
  <body class="home">
  <a name="top"></a>

<div class="header-navigation">
    <div>
      <nav role="navigation">
        <ul>
          <li class="page_item current_page_item"><a title="Conteúdo" href="index.html">Conteúdo</a>
          <li>
            <form id="form-search" method="get" action="search.html">
              <fieldset>
                <input id="input-search" type="text" name="q" value="Search" />
              </fieldset>
            </form>
          </li>
        </ul>
      </nav>
      <a class="logo-ubuntu" href="http://packaging.ubuntu.com/">
        <img src="./_static/images/logo-ubuntu.png" width="119" height="27" alt="Ubuntu logo" />
      </a>
      <a href="http://packaging.ubuntu.com/"><h2>Packaging Guide</h2></a>
    </div>
  </div>
<div class="header-content">
    <div class="clearfix">
  <div class="header-navigation-secondary">
    <div>
          <nav role="navigation">
            <ul class="clearfix">
	        <li class="page_item"><a style="margin-right: 10px" 
	        href="libraries.html" title="10. Bibliotecas compartilhadas"
	        accesskey="N">próximo</a></li>
	        <li class="page_item"><a  
	        href="patches-to-packages.html" title="8. Patches para pacotes"
	        accesskey="P">anterior</a></li>
        <li class="page_item"><a class="sub-nav-item" href="index.html">Ubuntu Packaging Guide  &raquo;</a></li> 
      </ul>
    </nav>
  </div>
</div>
</div>
</div>
  
<div id="content" class="body container_12">
  <div class="grid_12">  

     <!--<section id="main-section">-->

    <div class="grid_9 alpha">
		
    
  <div class="section" id="fixing-ftbfs-packages">
<h1>9. Fixing FTBFS packages<a class="headerlink" href="#fixing-ftbfs-packages" title="Link permanente para este título"></a></h1>
<p>Before a package can be used in Ubuntu, it has to build from source. If it
fails this, it will probably wait in -proposed and will not be available in
the Ubuntu archives. You can find a complete list of packages that are
failing to build from source at <a class="reference external" href="http://qa.ubuntuwire.org/ftbfs/">http://qa.ubuntuwire.org/ftbfs/</a>. There are 5
main categories shown on the page:</p>
<blockquote>
<div><ul class="simple">
<li>Package failed to build (F): Something actually went wrong with the build
process.</li>
<li>Cancelled build (X): The build has been cancelled for some reason. These
should probably be avoided to start with.</li>
<li>Package is waiting on another package (M): This package is waiting on
another package to either build, get updated, or (if the package is in
main) one of it&#8217;s dependancies is in the wrong part of the archive.</li>
<li>Failure in the chroot (C): Part of the chroot failed, this is most likely
fixed by a rebuild. Ask a developer to rebuild the package and that should
fix it.</li>
<li>Failed to upload (U): The package could not upload. This is usually just a
case of asking for a rebuild, but check the build log first.</li>
</ul>
</div></blockquote>
<div class="section" id="first-steps">
<h2>9.1. First steps<a class="headerlink" href="#first-steps" title="Link permanente para este título"></a></h2>
<p>The first thing you&#8217;ll want to do is see if you can reproduce the FTBFS
yourself. Get the code either by running <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span> <span class="pre">lp:ubuntu/PACKAGE</span></tt> and
then getting the tarball or running <tt class="docutils literal"><span class="pre">dget</span> <span class="pre">PACKAGE_DSC</span></tt> on the .dsc file from
the launchpad page. Once you have that, build it in a schroot.</p>
<p>You should be able to reproduce the FTBFS. If not, check if the build is
downloading a missing dependency, which means you just need to make that a
build-dependency in debian/control. Building the package locally can also
help find if the issue is caused by a missing, unlisted, dependency (builds
locally but fails on a schroot).</p>
</div>
<div class="section" id="checking-debian">
<h2>9.2. Checking Debian<a class="headerlink" href="#checking-debian" title="Link permanente para este título"></a></h2>
<p>Once you have reproduced the issue, it&#8217;s time to try and find a solution. If
the package is in Debian as well, you can check if the package builds there
by going to <a class="reference external" href="http://packages.qa.debian.org/PACKAGE">http://packages.qa.debian.org/PACKAGE</a>. If Debian has a newer
version, you should merge it. If not, check the buildlogs and bugs linked on
that page for any extra information on the ftbfs or patches. Debian also
maintains a list of command FTBFSs and how to fix them which can be found at
<a class="reference external" href="https://wiki.debian.org/qa.debian.org/FTBFS">https://wiki.debian.org/qa.debian.org/FTBFS</a>, you will want to check it for
solutions too.</p>
</div>
<div class="section" id="arm64">
<h2>9.3. ARM64<a class="headerlink" href="#arm64" title="Link permanente para este título"></a></h2>
<p>Ubuntu has added arm64 as a architecture recently, but many packages fail to
build on it. A full list of the packages not building are at
qa.ubuntuwire.org/ftbfs/arm64.html. Many of these are caused by packages
using outdated autotools helper files. Any package with the lintian warning
ancient-autotools-helper-file or outdated-autotools-helper-file will have
this issue. Adding autotools-dev or dh-autoreconf to the build proccess will
usually fix this.</p>
</div>
<div class="section" id="other-causes-of-a-package-to-ftbfs">
<h2>9.4. Other causes of a package to FTBFS<a class="headerlink" href="#other-causes-of-a-package-to-ftbfs" title="Link permanente para este título"></a></h2>
<p>If a package is in main and missing a dependency that is not in main, you
will have to file a MIR bug. <a class="reference external" href="https://wiki.ubuntu.com/MainInclusionProcess">https://wiki.ubuntu.com/MainInclusionProcess</a>
explains the procedure.</p>
</div>
<div class="section" id="fixing-the-issue">
<h2>9.5. Corrigindo o problema<a class="headerlink" href="#fixing-the-issue" title="Link permanente para este título"></a></h2>
<p>Once you have found a fix to the problem, follow the same process as any
other bug. Make a patch, add it to a bzr branch or bug, subscribe
ubuntu-sponsors, then try to get it included upstream and/or in Debian.</p>
</div>
</div>


	<div class="divide"></div>

          </div>

  <div id="sidebar" class="grid_3 omega">
    <div class="container-tweet">
        <h3>Tabela de Conteúdo</h3>
        <div class="toc">
          <ul>
<li><a class="reference internal" href="#">9. Fixing FTBFS packages</a><ul>
<li><a class="reference internal" href="#first-steps">9.1. First steps</a></li>
<li><a class="reference internal" href="#checking-debian">9.2. Checking Debian</a></li>
<li><a class="reference internal" href="#arm64">9.3. ARM64</a></li>
<li><a class="reference internal" href="#other-causes-of-a-package-to-ftbfs">9.4. Other causes of a package to FTBFS</a></li>
<li><a class="reference internal" href="#fixing-the-issue">9.5. Corrigindo o problema</a></li>
</ul>
</li>
</ul>

        </div>

      <div class="browse-guide">
        <h3>Browse The Guide:</h3>
        <ul>
          <li class="prev">
            <a href="patches-to-packages.html"
                      title="Tópico anterior: 8. Patches para pacotes">Go Previous</a>
          </li>
          
          <li class="center">
            <a title="Back to Index" href="index.html">Index Guide</a>
          </li>
        
          <li class="next">
            <a href="libraries.html"
                      title="Próximo tópico: 10. Bibliotecas compartilhadas">Go Next</a>
          </li>
        </ul>
        <span>Esta Página:</span> <a href="./_sources/fixing-ftbfs.txt"
               rel="nofollow">Exibir Fonte</a>
      </div>
     </div>
     <div id="back_top"><a href="#top">Back to Top</a></div>
    </div>
    <!--</section>-->
  </div>
</div>
<div class="shadow"></div>
<footer>
  <div>
      Version: 0.3.6.
    <a href="https://bugs.launchpad.net/ubuntu-packaging-guide">Report bugs</a> or 
    <a href="https://code.launchpad.net/~ubuntu-packaging-guide-team/ubuntu-packaging-guide/trunk">grab the source code</a> from Launchpad.
      Criado usando <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
      <br />
        &copy; Copyright 2010-2014 , Ubuntu Developers, Creative Commons Attribution-ShareAlike 3.0.
        <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
        Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.
        <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
        <img alt="Creative Commons License" style="border-width:0" 
        src="./_static/images/cc-by-sa.png" /></a>
    <br />
    <a href="http://people.ubuntu.com/~mitya57/ubuntu-packaging-guide-readme.html#translating">Help translate</a> or
    <a href="./_static/translators.html">view the list of translators</a>.

  </div>
</footer>
  </body>
</html>