Subject: my package issues with apache
To: None <pkgsrc-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 09/07/2007 12:24:52
A few issues I had today:
1) I upgraded expat yesterday on production system -- nothing depended on
it.
This was on NetBSD 3.1:
$ pkg_delete -V
20051122
Today I restarted apache and it failed -- wrong libexpat.
$ pkg_info -n apache
Information for apache-1.3.34nb1:
Requires:
expat>=1.95.7
libmm>=1.2.1
So I built new apache on my build system. I can't use apache from FTP
because I have custom settings (using suexec).
2) So I installed it with "pkg_add -u" and it failed to start:
$ /etc/rc.d/apache start
Shared object "libmm.so.14" not found
/usr/pkg/sbin/apachectl start: httpd could not be started
I had libmm-1.3.1 (from Jun 28 2006) with:
/usr/pkg/lib/libmm.so.13
/usr/pkg/lib/libmm.so.13.0.21
So I installed the dependency from FTP
(/pub/pkgsrc/packages/NetBSD-3.1/i386/All/)
$ pkg_add -u /home/reed/.pkg_get/libmm-1.4.2.tgz
And I was able to upgrade run apache.
pkgsrc/devel/libmm/buildlink3.mk has:
BUILDLINK_API_DEPENDS.libmm+= libmm>=1.2.1
BUILDLINK_ABI_DEPENDS.libmm+= libmm>=1.2.2nb1
I looked at the pkgsrc libmm cvs log and I just updated this buildlink
dependency.
Jeremy C. Reed