| Summary: | When doing lldpd 1.0.4 Configuring, error encountered: "checking if system libevent works as expected... configure: error: *** unusable system libevent" | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | eric.hu |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | major | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2020.02.6 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
build error log of libevent and lldpd
configure log defconfig lldpd directory configure and make log |
||
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%. Created attachment 8611 [details]
configure log
Created attachment 8616 [details]
defconfig
Created attachment 8621 [details]
lldpd directory configure and make log
(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) Problem is caused by internal changes in our tree (only the 'core' component of libevent being build, thus no libevent.so). Closing as invalid. |
Created attachment 8606 [details] 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@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@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