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

Bug#502305: Temporary packages for ulogd2 : Build dependency wrong



Hi.

I just tried to build your packages on a Debian unstable (sid) server for the i386 architecture.

I used the following technique...

- Downloaded the following files from:
  https://www.wzdftpd.net/downloads/ulogd2-deb/

        ulogd_2.0.0~beta4-1.debian.tar.gz
        ulogd_2.0.0~beta4-1.dsc
        ulogd_2.0.0~beta4.orig.tar.bz2

- Unpacked the sources and moved into the unpacked directory:

        dpkg-source -x ulogd_2.0.0~beta4-1.dsc
        cd ulogd-2.0.0~beta4

- Made sure I had the build dependencies installed:

        dpkg-checkbuilddeps

  It revealed I had to install the following packages:

        autotools-dev
        libdbi0-dev
        libmysqlclient15-dev | libmysqlclient-dev
        libnetfilter-conntrack-dev
        libnetfilter-log-dev
        libpcap-dev
        libpq-dev
        libsqlite-dev

  I satisfied the libsqlite-dev dependency by installing libsqlite0-dev.

  The libmysqlclient15-dev package does not exist in sid.
  But libmysqlclient16-dev does instead.
  I installed the libmysqlclient-dev package which pulls it in anyway.

- Built it using the following:

        dpkg-buildpackage -b -tc -uc -us

The build failed because it needed the libsqlite3-dev package installed.
Note that the libsqlite3-dev package does not supply the libsqlite-dev dependency as mentioned in the Build-Depends.
Further I noticed the package doesn't need libsqlite0-dev at all.

So I redid the steps above, but in the debian/control control file I changed the libsqlite-dev build dependency to libsqlite3-dev.
I then uninstalled libsqlite0-dev from my system to prove it wasn't needed.

Now the build worked successfully.

So in summary, the changes to the Build-Depends line in the debian/control file to correct the build are:

- Change sqlite-dev to sqlite3-dev

- Remove libmysqlclient15-dev OR change it to libmysqlclient16-dev

Regards,

--
----------
Jim Barber
DDI Health



Reply to: