Build on Debian

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow


Build on Debian

Unread post by pavroo » 2016-12-03, 19:41

Hi everyone
I tried to build Palemoon on Debian testing, then on stable.
After resolving some issues with deps, I occurred the following one:

Code: Select all

make[1]: Entering directory '/media/pavroo1/dysk2-2/palemoon/64/palemoon-27.0.2'
make -f build
make[2]: Entering directory '/media/pavroo1/dysk2-2/palemoon/64/palemoon-27.0.2' *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
make[2]: Leaving directory '/media/pavroo1/dysk2-2/palemoon/64/palemoon-27.0.2'
debian/rules:17: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/media/pavroo1/dysk2-2/palemoon/64/palemoon-27.0.2'
debian/rules:7: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
Any clue?

User avatar
Posts: 485
Joined: 2015-08-01, 18:33
Location: California

Re: Build on Debian

Unread post by stevepusser » 2016-12-03, 22:45

More information is necessary. How exactly are you trying to build it? The same source builds for me on both Debian Jessie and Ubuntu 16.10 in the openSUSE build service, and 16.10 is reasonably close to Stretch.

Anyway, whenever I've seen that type of error, it's usually due to an indent in the debian/rules file using spaces instead of a tab. If you copied code text from a browser display, it can replace tabs with spaces sometimes.

Edit: Stretch is also using gcc-6 as the default version of gcc, so you'll either have to specify that the build use the gcc-5 tools or add some magic to the build environment (usually done in the debian/rules file) like the gcc-6 fix here: ... ld/prepare