Public bug reported:

I fetched the latest sortmail source from oneiric:
https://launchpad.net/ubuntu/+source/sortmail/1:2.4-1ubuntu1
1eceebf76c5f9a2f237b809649380fc534c2a32f  sortmail_2.4.orig.tar.gz
950478be4125eae7f914adc670528d4428bc5a1c  sortmail_2.4-1ubuntu1.diff.gz

and tried to build it.
(I applied the patch)

It won't build, complaining that it needs gdbm-ndbm.h
make gives:
cc -O -DLINUX -I/usr/include/gdbm   -c -o sortmail.o sortmail.c
sortmail.c:76:23: fatal error: gdbm-ndbm.h: No such file or directory
 #include <gdbm-ndbm.h>

The patch replaced an include of gdbm/ndbm.h like so:
 -#include <gdbm/ndbm.h>
+#include <gdbm-ndbm.h>

apt-file wrongly reports that libgdm-dev has it:
$ apt-file search gdbm-ndbm.h
libgdbm-dev: /usr/include/gdbm-ndbm.h

It doesn't.

There exists a build of sortmail 2.4-1 for ubuntu trusty, as I can
install it and run it (albeit with an old bug), so where is the source
for the ubuntu build.

When I looked here, I couldn't find one for the x86 for trusty, though the 
binary package exists:
https://launchpad.net/ubuntu/+source/sortmail/1:2.4-1ubuntu1

I'm trying to re-fix a problem that I reported (with a fix) here:
http://sourceforge.net/p/sortmail/bugs/3/

1) $ lsb_release -rd
Description:    Ubuntu 14.04 LTS
Release:        14.04
2) The problem is building the latest version of the source.
$ apt-cache policy sortmail
sortmail:
  Installed: 1:2.4-1ubuntu1
  Candidate: 1:2.4-1ubuntu1
  Version table:
 *** 1:2.4-1ubuntu1 0
        500 http://au.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status
3) I expected to be able to find the corresponding source code and build it.
4) The build failed.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: sortmail 1:2.4-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
Uname: Linux 3.13.0-5-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jul 27 22:25:32 2014
InstallationDate: Installed on 2014-01-24 (184 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140123)
SourcePackage: sortmail
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: sortmail (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1349095

Title:
  sortmail won't build: libgdm-dev does not contain gdbm-ndbm.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sortmail/+bug/1349095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to