[Pkg-net-snmp-devel] Bug#530289: Bug#530289: net-snmp: FTBFS on hurd-i386

Pino Toscano pino at kde.org
Tue Dec 1 16:51:33 UTC 2009


Hi Jochen,

> > The following patch deactivate IPv6 support, which is not supported on
> > Hurd yet. It also deactivate a few modules, as collecting the
> > host/routing/... information on Hurd is not that simple, as the
> > information is not centralized, and there is no working solution yet.
> > We'll reactivate those features as soon as a proper solution is
> > available, but in the time being this package is blocking plenty of
> > other packages having SNMP as _optional_ feature, so we'd like to
> > unblock them. With the following patch the snmpd daemon is fully working
> > even if it has not much information to give.
> >
> > Please note that part of this patch is a fix of the upstream code, as
> > deactivating the mibII module should also deactivate all of its
> > functions, but the VACM config calls are not, thus creating a build
> > failure. So this part is absolutely not Hurd specific.
> 
> could you have a look at the current 5.4.2.1 package in unstable and rebase
> your patch? I'd like to upload this together with the patch from #557244.

On behalf on Marc, I have updated his work to current net-snmp 
(5.4.2.1~dfsg-3). The resulting patches are attached:
- 61_vacm_missing_dependency_check.{patch,README}: the original Marc's patch,
  refreshed, with readme renamed to match patch file (like other patches)
- hurd.diff: the needed changes to the debian/rules. They slightly differ from
  Marc's initial version:
  - the host check is done using DEB_HOST_ARCH_OS, like for the other archs
  - the "host" module is added for any non-hurd host
  - the link creation of config.{guess,sub} now forces the overwriting of the
    target destination (as they seem to exist already?)
  - ipv6 is enabled on Hurd, it seems it is compiling correctly now

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 61_vacm_missing_dependency_check.patch
Type: text/x-patch
Size: 1563 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20091201/57097bab/attachment.bin>
-------------- next part --------------
Do not call vacm_standard_views() if the corresponding module was not compiled.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd.diff
Type: text/x-patch
Size: 1178 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20091201/57097bab/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20091201/57097bab/attachment.pgp>


More information about the Pkg-net-snmp-devel mailing list