Build-depends-indep requirement fails amd64, passes i386

Asked by Elliot Saba

I have a package which built on i386, but failed on amd64, because of a Build-Depends-Indep requirement that was installed on i386, but not on amd64. Here is the failure log:

If you search for doxygen, you can see that it is required in the Build-depends-Indep, but then you get a "command not found" at the bottom when it is actually tried to be used. Can anyone explain to me why this happens? This package is also a backport from raring, so I'm pretty sure it should work just fine. (the fact that it worked on i386 is encouraging, at least)

Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Solved by:
William Grant
Last query:
Last reply:
Revision history for this message
Best William Grant (wgrant) said :

Build-Depends-Indep is only installed on i386, because architecture-independent packages are only built on that architecture. But dpkg before 0.16.2 always calls the 'build' debian/rules target, not 'build-arch' or 'build-indep', so some backports to precise won't work. The easiest workaround is to just merge Build-Depends-Indep into Build-Depends.

Revision history for this message
Elliot Saba (staticfloat) said :

Thanks William Grant, that solved my question.