Paul Elliott <pelli...@blackpatchpanel.com> writes:

> I will begin looking at the problem immediately.

Thanks!

> But as I am a beginning packager it may take me a while to completely 
> understand the situation.

No problem.

> For instance, libswe just appeared in debian unstable, that means someone 
> must 
> have built it. How does the build environment of the autobuilder's differ 
> from 
> the one that built libswe on its path to unstable? Why is the autobuilder's 
> environment correct? In other words, why is this not a bug against the 
> autobuilder's software?

That's a fair question.  As I recall, the setting historically came
about because autobuilders would reuse build environments from one
package to the next, and wanted to avoid having extra things to clean
up.

> How can I duplicate the autobuilder's builds on my local machine to test this 
> problem?

Please try installing the sbuild package.

> What is a "full" build and can I be sure that a full build will never occur 
> in 
> the autobuilder?

By a "full" build, I mean one that covers all binary packages (as
dpkg-buildpackage and wrappers such as debuild do by default) rather
than just the architecture-dependent ones.  Autobuilders cover only the
latter, as rebuilding architecture-independent packages would be
redundant, and likewise disregard Build-Depends-Indep (making them
unlikely to have unoconv installed if you move it there from
Build-Depends).

That said, their environments are not technically guaranteed to be
minimal, so I'd still recommend building documentation only when
actually necessary.  Also, there has been talk of discarding uploaded
binary packages, so you should still probably allow for that possibility
by adjusting debian/rules to establish and use a fake home directory.
Please try the following version, which incorporates both suggestions:

#!/usr/bin/make -f
# ... boilerplate comments snipped

FAKE_HOME=$(CURDIR)/debian/fake-home
export HOME=$(FAKE_HOME)

%:
        dh $@

override_dh_auto_clean:
        rm -rf $(FAKE_HOME)

override_dh_auto_configure:
        mkdir $(FAKE_HOME)
        if dh_listpackages | fgrep -qe -doc; then \
            dh_auto_configure -- --docdir=\$${prefix}/share/doc/libswe-doc; \
        else \
            dh_auto_configure -- --disable-docs; \
        fi

> Thank You for considering this message.

Thanks for your contribution to Debian!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to