New: libevent does not build
https://bugs.busybox.net/show_bug.cgi?id=8366
Summary: libevent does not build
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: florian.koch1981 at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Using the latest stable release buildroot-2015.08.1, or the latest snapshot from today , libevent does not build
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected. HTTP request sent, awaiting response... 302 Found
Location:
http://skylink.dl.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz
[following]
--2015-09-23 14:49:04--
http://skylink.dl.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz
Resolving skylink.dl.sourceforge.net (skylink.dl.sourceforge.net)... 109.230.212.53
Connecting to skylink.dl.sourceforge.net (skylink.dl.sourceforge.net)|109.230.212.53|:80... connected. HTTP request sent, awaiting response... 200 OK
Length: 854987 (835K) [application/x-gzip]
Saving to:
?/root/buildroot/output/build/.libevent-2.0.22-stable.tar.gz.fCWLgF/output?
100%[=====================================================================================================================================>]
854,987 705KB/s in 1.2s
2015-09-23 14:49:05 (705 KB/s) -
?/root/buildroot/output/build/.libevent-2.0.22-stable.tar.gz.fCWLgF/output? saved [854987/854987]
libevent-2.0.22-stable.tar.gz: OK (md5: c4c56f986aa985677ca1db89630a2e11) libevent-2.0.22-stable.tar.gz: OK (sha1:a586882bc93a208318c70fc7077ed8fca9862864)
Quoted 1 line
Quoted 1 line
Quoted 1 line
libevent 2.0.22-stable Extracting
gzip -d -c /root/buildroot/dl/libevent-2.0.22-stable.tar.gz | tar --strip-components=1 -C /root/buildroot/output/build/libevent-2.0.22-stable -xf -
Quoted 1 line
Quoted 1 line
Quoted 1 line
libevent 2.0.22-stable Patching
Applying 0001-Disable-building-test-programs.patch using patch:
patching file Makefile.am
Hunk #1 succeeded at 127 (offset 1 line).
Quoted 1 line
Quoted 1 line
Quoted 1 line
libevent 2.0.22-stable Updating config.sub and config.guess
for file in config.guess config.sub; do for i in $(find /root/buildroot/output/build/libevent-2.0.22-stable -name $file); do cp support/gnuconfig/$file $i; done; done
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
libevent 2.0.22-stable Configuring
libevent 2.0.22-stable Autoreconfiguring
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
Can't locate Thread/Queue.pm in @INC (@INC contains:/root/buildroot/output/host/usr/share/automake-1.15 /root/buildroot/output/host/usr/lib/perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /root/buildroot/output/host/usr/bin/automake line 55.
BEGIN failed--compilation aborted at /root/buildroot/output/host/usr/bin/automake line 58.
autoreconf: /root/buildroot/output/host/usr/bin/automake failed with exit
status: 2
make: *** [/root/buildroot/output/build/libevent-2.0.22-stable/.stamp_configured] Error 2 [root at buildroot buildroot]#
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 8366] libevent does not build
https://bugs.busybox.net/show_bug.cgi?id=8366
--- Comment #1 from Thomas Petazzoni <[email protected]> 2015-09-23 13:07:36 UTC --- Thanks for your report!
It is not really libevent that fails to build, it's automake that uses some Perl modules that are not available on your system. On Debian/Ubuntu, the Thread/Queue.pm module is part of the perl-modules package which I believe is virtually installed on all Debian/Ubuntu systems.
Which distribution are you using? Does it have a package providing Thread/Queue.pm?
We should probably add a check in our dependencies for this perl module to be available (I don't think we want to make host-perl a dependency of host-automake).
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 8366] libevent does not build
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8366
Florian Koch <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #2 from Florian Koch <[email protected]> 2015-09-23 13:14:08 UTC --- Hi,
thx, using centos7, installed perl-Thread-Queue, and now it works
regards Florian
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 8366] libevent does not build
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8366
--- Comment #3 from Thomas Petazzoni <[email protected]> 2015-09-23 21:03:38 UTC --- Thanks! We are anyway working on an improvement to Buildroot that will verify
that this Perl module is installed, and if not, Buildroot will error out
earlier and with a clearer error message.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.