From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Jack Mitchell <ml@communistcode.co.uk>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCHv3 1/3] net-snmp: fix failure when starting on system without pci bus
Date: Wed, 17 Apr 2013 13:27:21 +0100 [thread overview]
Message-ID: <2879964.8ENR31Irek@helios> (raw)
In-Reply-To: <516E9198.1090607@communistcode.co.uk>
On Wednesday 17 April 2013 13:12:08 Jack Mitchell wrote:
> On 17/04/13 13:01, Jack Mitchell wrote:
> > From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
> >
> > The snmpd daemon cannot start on platforms without a pci bus:
> >
> > snmpd[15460]: pcilib: Cannot open /proc/bus/pci
> > snmpd[15460]: pcilib: Cannot find any working access method.
> >
> > snmpd should not depend on a PCI bus and should simply move on.
> >
> > Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
> > ---
> >
> > .../recipes-extended/net-snmp/files/ifmib.patch | 66
> > ++++++++++++++++++++++ .../recipes-extended/net-snmp/net-snmp_5.7.1.bb
> > | 1 +
> > 2 files changed, 67 insertions(+)
> > create mode 100644 meta-oe/recipes-extended/net-snmp/files/ifmib.patch
>
> I've pushed to my github here to try solve the patches failing.
>
> git://github.com/CommunistCode/meta-oe.git
FWIW, I get the same build failure I got with the old recipe:
| arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/home/paul/poky/poky/build/tmp/sysroots/qemuarm -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -Ulinux -Dlinux=linux -o .libs/snmpd .libs/snmpd.o -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed ./.libs/libnetsnmpagent.so ./.libs/libnetsnmpmibs.so /home/paul/poky/poky/build/tmp/work/armv5te-poky-linux-gnueabi/net-snmp/5.7.2-r0/net-snmp-5.7.2/agent/.libs/libnetsnmpagent.so /home/paul/poky/poky/build/tmp/work/armv5te-poky-linux-gnueabi/net-snmp/5.7.2-r0/net-snmp-5.7.2/snmplib/.libs/libnetsnmp.so -lpci -ldl ../snmplib/.libs/libnetsnmp.so -lcrypto -lm
| .libs/snmpd.o: In function `main':
| /home/paul/poky/poky/build/tmp/work/armv5te-poky-linux-gnueabi/net-snmp/5.7.2-r0/net-snmp-5.7.2/agent/snmpd.c:459: undefined reference to `netsnmp_sd_listen_fds'
| collect2: error: ld returned 1 exit status
| make[1]: *** [snmpd] Error 1
| make[1]: Leaving directory `/home/paul/poky/poky/build/tmp/work/armv5te-poky-linux-gnueabi/net-snmp/5.7.2-r0/net-snmp-5.7.2/agent'
| make: *** [subdirs] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/paul/poky/poky/build/tmp/work/armv5te-poky-linux-gnueabi/net-snmp/5.7.2-r0/temp/log.do_compile.4144 for further information)
Not that that should in any way block this patchset from going in since
this hasn't changed, but there does appear to be a problem somewhere :(
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-04-17 12:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-17 12:01 [meta-oe][PATCHv3 1/3] net-snmp: fix failure when starting on system without pci bus Jack Mitchell
2013-04-17 12:01 ` [meta-oe][PATCHv3 2/3] net-snmp: Update to 5.7.2 Jack Mitchell
2013-04-17 12:01 ` [meta-oe][PATCHv3 3/3] net-snmp: merge .inc into .bb and clean up obsolete parts of recipe Jack Mitchell
2013-04-17 12:12 ` [meta-oe][PATCHv3 1/3] net-snmp: fix failure when starting on system without pci bus Jack Mitchell
2013-04-17 12:27 ` Paul Eggleton [this message]
2013-04-17 12:48 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2879964.8ENR31Irek@helios \
--to=paul.eggleton@linux.intel.com \
--cc=ml@communistcode.co.uk \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.