New: When doing lldpd 1.0.4 Configuring, error encountered: "checking if system libevent works as expected... configure: error: *** unusable system libevent"
https://bugs.busybox.net/show_bug.cgi?id=13261
Bug ID: 13261
Summary: When doing lldpd 1.0.4 Configuring, error encountered:
"checking if system libevent works as expected...
configure: error: *** unusable system libevent"
Product: buildroot
Version: 2020.02.6
Hardware: Other
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: eric.hu at nokia-sbell.com
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 8606
--> https://bugs.busybox.net/attachment.cgi?id=8606&action=edit
build error log of libevent and lldpd
When doing lldpd 1.0.4 Configuring, error encountered: "checking if system libevent works as expected... configure: error: *** unusable system libevent"
1. libevent was compiled successfully
11952 libevent-2.1.11-stable.tar.gz: OK (md5: 7f35cfe69b82d879111ec0d7b7b1c531) 11953 libevent-2.1.11-stable.tar.gz: OK (sha1:a76bba0a281da9384d4be5b40f3907c07e21428c)
2. libevent installed to staging and target
erhu at 03:/repo/erhu/buildroot/output/staging>f|grep libevent ./usr/lib/pkgconfig/libevent_extra.pc ./usr/lib/pkgconfig/libevent_core.pc ./usr/lib/pkgconfig/libevent_openssl.pc ./usr/lib/pkgconfig/libevent.pc ./usr/lib/pkgconfig/libevent_pthreads.pc ./usr/lib/libevent_pthreads.la ./usr/lib/libevent_pthreads-2.1.so.7.0.0 ./usr/lib/libevent_openssl.la ./usr/lib/libevent_openssl-2.1.so.7.0.0 ./usr/lib/libevent_core.la ./usr/lib/libevent_core-2.1.so.7.0.0
erhu at 03:/repo/erhu/buildroot/output/target>f|grep libevent ./usr/lib/pkgconfig/libevent_extra.pc ./usr/lib/pkgconfig/libevent_core.pc ./usr/lib/pkgconfig/libevent_openssl.pc ./usr/lib/pkgconfig/libevent.pc ./usr/lib/pkgconfig/libevent_pthreads.pc ./usr/lib/libevent_pthreads.la ./usr/lib/libevent_pthreads-2.1.so.7.0.0 ./usr/lib/libevent_openssl.la ./usr/lib/libevent_openssl-2.1.so.7.0.0 ./usr/lib/libevent_core.la ./usr/lib/libevent_core-2.1.so.7.0.0
3. When doing configure to lldpd before compiling, following configure error encountered.
checking for libevent... yes
checking if system libevent works as expected... configure: error: *** unusable system libevent
make: *** [/repo/erhu/buildroot/output/build/lldpd-1.0.4/.stamp_configured] Error 1
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13261] When doing lldpd 1.0.4 Configuring, error encountered: "checking if system libevent works as expected... configure: error: *** unusable system libevent"
https://bugs.busybox.net/show_bug.cgi?id=13261
--- Comment #1 from Fabrice Fontaine <[email protected]> --- Could you provide more information about the build failure:
- at least the config.log that is generated by configure
- the defconfig that fails to build
- the version of buildroot that you're using (lldpd has been bumped to 1.0.5
since April so I assume that you're using the 2020.02.x branch?)
It should be noted that there isn't any build failure with lldpd 1.0.4 and above in our autobuilders: http://autobuild.buildroot.org/?reason=lldpd%.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13261] When doing lldpd 1.0.4 Configuring, error encountered: "checking if system libevent works as expected... configure: error: *** unusable system libevent"
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=13261
--- Comment #2 from eric.hu at nokia-sbell.com --- Created attachment 8611
--> https://bugs.busybox.net/attachment.cgi?id=8611&action=edit
configure log
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13261] When doing lldpd 1.0.4 Configuring, error encountered: "checking if system libevent works as expected... configure: error: *** unusable system libevent"
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=13261
--- Comment #3 from eric.hu at nokia-sbell.com --- Created attachment 8616
--> https://bugs.busybox.net/attachment.cgi?id=8616&action=edit
defconfig
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13261] When doing lldpd 1.0.4 Configuring, error encountered: "checking if system libevent works as expected... configure: error: *** unusable system libevent"
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=13261
--- Comment #4 from eric.hu at nokia-sbell.com --- Created attachment 8621
--> https://bugs.busybox.net/attachment.cgi?id=8621&action=edit
lldpd directory configure and make log
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13261] When doing lldpd 1.0.4 Configuring, error encountered: "checking if system libevent works as expected... configure: error: *** unusable system libevent"
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=13261
--- Comment #5 from eric.hu at nokia-sbell.com --- (In reply to Fabrice Fontaine from comment #1)
1. Please refer to attachment config.log
2. Please refer to attachment defconfig
3. buildroot version 2020.02.6
When I do configure and make in lldp directory, it can pass, but seems libevent is shipped which is difference with doing build from root directory, please refer to attachment (lldp directory configure and make log)
checking for libevent... no
configure: using shipped libevent
=== configuring in libevent (/repo/erhu/buildroot/output/build/lldpd-1.0.4/libevent)
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13261] When doing lldpd 1.0.4 Configuring, error encountered: "checking if system libevent works as expected... configure: error: *** unusable system libevent"
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=13261
Thomas De Schampheleire <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED--- Comment #6 from Thomas De Schampheleire <[email protected]> --- Problem is caused by internal changes in our tree (only the 'core' component of libevent being build, thus no libevent.so).
Closing as invalid.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.