Package: icedove
Version: 1:45.6.0-1~deb8u1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

   * What led up to the situation?

I tried building the package to investigate some segfaults, but was unable to
build it with debuild.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I exported `SHELL=/bin/bash` in debian/rules.

   * What was the outcome of this action?

It fixed the problem.

More info:

Mozilla's build system requires the SHELL environment variable to be
set, but it is cleared in the debian build system. This sets the
variable again. See here for discussion:

   https://lists.debian.org/debian-devel/2017/01/msg00645.html

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages icedove depends on:
ii  debianutils               4.4+b1
ii  fontconfig                2.11.0-6.3+deb8u1
ii  libasound2                1.0.28-1
ii  libatk1.0-0               2.14.0-1
ii  libc6                     2.19-18+deb8u6
ii  libcairo2                 1.14.0-2.1+deb8u1
ii  libdbus-1-3               1.8.20-0+deb8u1
ii  libdbus-glib-1-2          0.102-1
ii  libevent-2.0-5            2.0.21-stable-2
ii  libffi6                   3.1-2+b2
ii  libfontconfig1            2.11.0-6.3+deb8u1
ii  libfreetype6              2.5.2-3+deb8u1
ii  libgcc1                   1:4.9.2-10
ii  libgdk-pixbuf2.0-0        2.31.1-2+deb8u5
ii  libglib2.0-0              2.42.1-1+b1
ii  libgtk2.0-0               2.24.25-3+deb8u1
ii  libhunspell-1.3-0         1.3.3-3
ii  libpango-1.0-0            1.36.8-3
ii  libpangocairo-1.0-0       1.36.8-3
ii  libpangoft2-1.0-0         1.36.8-3
ii  libpixman-1-0             0.32.6-3
ii  libstartup-notification0  0.12-4
ii  libstdc++6                4.9.2-10
ii  libx11-6                  2:1.6.2-3
ii  libxcomposite1            1:0.4.4-1
ii  libxdamage1               1:1.1.4-2+b1
ii  libxext6                  2:1.3.3-1
ii  libxfixes3                1:5.0.1-2+b2
ii  libxrender1               1:0.9.8-1+b1
ii  libxt6                    1:1.1.4-1+b1
ii  psmisc                    22.21-2
ii  zlib1g                    1:1.2.8.dfsg-2+b1

Versions of packages icedove recommends:
ii  hunspell-en-us [hunspell-dictionary]  20070829-6
pn  iceowl-extension                      <none>

Versions of packages icedove suggests:
ii  fonts-lyx         2.1.2-2
ii  libgssapi-krb5-2  1.12.1+dfsg-19+deb8u2

-- no debconf information
Export SHELL env var for Mozilla build system

Mozilla's build system requires the SHELL environment variable to be
set, but it is cleared in the debian build system. This sets the
variable again. See here for discussion:

   https://lists.debian.org/debian-devel/2017/01/msg00645.html
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,13 @@
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
 
+# Mozilla's build system requires the SHELL environment variable to be set, but
+# it is cleared in the debian build system. This sets the variable again.
+# See here for discussion:
+#
+#   https://lists.debian.org/debian-devel/2017/01/msg00645.html
+export SHELL=/bin/bash
+
 # checking the release type, if $(RELEASE)=UNRELEASED we won't build
 # the icedove-dbg package
 RELEASE := $(shell head -1 debian/changelog | cut -d" " -f3 | tr -d ';')

Reply via email to