On Tue, 2010-04-06 at 09:44 +0000, sergio.callegari wrote: > Sorry for asking for clarifications here, but I am having the same > issue, and I am puzzled... > > Trying to build a package in my PPA, I have the build succeed for i386 > and fail for amd64 and lpia. > > However, the only difference I can see from the build log is that the > build-depends-indep are installed for i386 and not installed for amd64 > and lpia. However, if I build privately on my server with pbuilder, the > build always succeeds as the build-depends-indep are always installed. > > I guess that the problem is certainly in my rules, where most likely an > attempt to build the pdfs necessary for the documentation is made even > when it should not. I also guess that the easiest fix would be to push > all the dependencies into the build-depends. > > However, I wonder if someone might help me with these questions: > > 1) Why the behavior is different from the i386 and the other architectures?
Architecture independent (Architecture: all) packages must be built only on a single architecture, or you would end up with multiple conflicting debs with the same filename -- one from each architecture's build. Launchpad tells i386 builds to build architecture independent packages, but not the others. > 2) Was this changed recently? The package used to build just fine on ppa, and the latest changes have not touched the debian/rules significantly. This behaviour has not changed for many years. > 3) Why am I not experiencing the issue with pbuilder? pbuilder assumes that you are building only on one architecture, so it builds architecture-independent packages by default. > 4) Is there a way to have pbuilder better replicate the soyuz build systems, so that these mistakes can be catched earlier? You would have to look at the pbuilder manual and work out how to tell it to not build architecture independent packages. > 5) Is pushing all that is in build-depends-indep also in build-depends an acceptable solution? It depends on whether they need to be B-D-I or B-D. -- build-depends-indep do not get installed, when these are mandatory. https://bugs.launchpad.net/bugs/238141 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
