[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#676817: systemd and dovecot



Jaldhar assures me he is working on an upload so obviously I'm not.
However I got quite far double checking a few builds (attached diff) and
I found that there seems to be an issue with sqlite3. I had better
investigate that.


checking for sqlite3_open in -lsqlite3... yes
checking sqlite3.h usability... no
checking sqlite3.h presence... yes
configure: WARNING: sqlite3.h: present but cannot be compiled
configure: WARNING: sqlite3.h:     check for missing prerequisite headers?
configure: WARNING: sqlite3.h: see the Autoconf documentation
configure: WARNING: sqlite3.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sqlite3.h: proceeding with the compiler's result
configure: WARNING:     ## ---------------------------------- ##
configure: WARNING:     ## Report this to dovecot@dovecot.org ##
configure: WARNING:     ## ---------------------------------- ##
checking for sqlite3.h... no
configure: error: Can't build with SQLite support: sqlite3.h not found
make: *** [config-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//13737 and its
subdirectories


On 17/06/12 12:15, Nicholas Bamber wrote:
> Tollef,
> 	Thanks for your responses. Based upon them I wail upload an NMU with a
> 2 day delay doing nothing more than limiting the systemd changes to
> linux. I would not normally feel comfortable with such a short delay but
> in this case ny proposed changes should be self-evident and uncontroversial.
> 
> On 17/06/12 11:26, Tollef Fog Heen wrote:
>> ]] Nicholas Bamber 
>>
>> Hi,
>>
>> I would be most grateful if you quoted the way is usually done on email
>> lists.
>>
>>> 	I would be very grateful if you could have a look. Andreas Barth has
>>> basically repeated the point I made in the third paragraph of my
>>> original post.
>>
>> Yes, and you're both mistaken.  systemd is not a normal daemon package,
>> it does not start any daemons, nor replace init merely by being
>> installed.  Installing systemd onto a system is about as intrusive to
>> the system as a whole as installing nvi.
>>
>>> Nothing you have said is really reassuring me. You talk about how a
>>> package needs something to make socket activation to work and
>>> sd-daemon.h is a way to do that. Well that file is available in
>>> libsystemd-daemon-dev, and the current package as a dependency on
>>> systemd rather than libsystemd-daemon-dev. It might be right but it
>>> does not feel right.
>>
>> I would suggest you ask the dovecot maintainer why he build-depends on
>> systemd rather than libsystemd-daemon-dev if it is in fact for the
>> reasons I listed.  I gave a suggestion as to why he would do so, as well
>> as a reason for why systemd.pc is not in its own package, but as I am
>> not the maintainer of dovecot and there's no way for me to actually
>> know, short of asking, which you can just as easily do yourself.
>>
> 
> 
> 
> 

diff -Nru dovecot-2.1.7/debian/changelog dovecot-2.1.7/debian/changelog
--- dovecot-2.1.7/debian/changelog	2012-05-30 21:29:05.000000000 +0100
+++ dovecot-2.1.7/debian/changelog	2012-06-17 12:17:55.000000000 +0100
@@ -1,3 +1,10 @@
+dovecot (1:2.1.7-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Restrict systemd canges to linux (Closes: #676817)
+
+ -- Nicholas Bamber <nicholas@chilcott.periapt>  Sun, 17 Jun 2012 12:16:22 +0100
+
 dovecot (1:2.1.7-1) unstable; urgency=low
 
   * [7668742] Imported upstream 2.1.7 (Closes: #663243)
diff -Nru dovecot-2.1.7/debian/control dovecot-2.1.7/debian/control
--- dovecot-2.1.7/debian/control	2012-05-30 21:29:05.000000000 +0100
+++ dovecot-2.1.7/debian/control	2012-06-17 13:52:48.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Dovecot Maintainers <jaldhar-dovecot@debian.org>
 Uploaders: Jaldhar H. Vyas <jaldhar@debian.org>, Fabio Tranchitella <kobold@debian.org>, Joel Johnson <mrjoel@lixil.net>, Marco Nenciarini <mnencia@debian.org>
-Build-Depends: debhelper (>= 7.2.3~), dpkg-dev (>= 1.16.1), pkg-config, libssl-dev, libpam0g-dev, libldap2-dev, libpq-dev, libmysqlclient-dev, libsqlite3-dev, libsasl2-dev, zlib1g-dev, libkrb5-dev, drac-dev (>= 1.12-5), libbz2-dev, libdb-dev, libcurl4-gnutls-dev, libexpat-dev, systemd
+Build-Depends: debhelper (>= 7.2.3~), dpkg-dev (>= 1.16.1), pkg-config, libssl-dev, libpam0g-dev, libldap2-dev, libpq-dev, libmysqlclient-dev, libsqlite3-dev, libsasl2-dev, zlib1g-dev, libkrb5-dev, drac-dev (>= 1.12-5), libbz2-dev, libdb-dev, libcurl4-gnutls-dev, libexpat-dev, systemd[linux-any]
 Standards-Version: 3.9.3
 Homepage: http://dovecot.org/
 Vcs-Git: git://git.debian.org/git/collab-maint/dovecot.git
diff -Nru dovecot-2.1.7/debian/rules dovecot-2.1.7/debian/rules
--- dovecot-2.1.7/debian/rules	2012-05-30 21:29:05.000000000 +0100
+++ dovecot-2.1.7/debian/rules	2012-06-17 12:40:55.000000000 +0100
@@ -11,6 +11,11 @@
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+
+ifneq (,$(filter $(DEB_BUILD_ARCH_OS),linux))
+    USE_SYSTEMD:=--with-systemdsystemunitdir=auto
+endif
 
 dbgpkg = $(filter %-dbg, $(shell dh_listpackages -a))
 otherpkg = $(filter-out %-dbg, $(shell dh_listpackages -a))
@@ -43,7 +48,7 @@
 	            --infodir=\$${prefix}/share/info \
 	            --with-moduledir=\$${prefix}/lib/dovecot/modules \
 	            --disable-rpath \
-	            --with-systemdsystemunitdir=auto \
+	            $(USE_SYSTEMD) \
 	            --disable-static
 	$(MAKE) dovecot-config
 	# Pigeonhole

Reply to: