From: Romain Naour Date: Sat, 18 Feb 2017 17:03:47 +0100 Subject: [Buildroot] [PATCH] package/sngrep: add missing ncurses dependencies In-Reply-To: <20170218164928.59e0f1c5@free-electrons.com> References: <20170218154333.24496-1-romain.naour@gmail.com> <20170218164928.59e0f1c5@free-electrons.com> Message-ID: <17795fb2-39c2-fe6d-5573-58fc0b4f6c94@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Thomas, All, Le 18/02/2017 ? 16:49, Thomas Petazzoni a ?crit : > Hello, > > On Sat, 18 Feb 2017 16:43:33 +0100, Romain Naour wrote: >> ncurses panel and forms libraries are needed to build sngrep, otherwise >> the configure script report the following errors: >> >> Without panel library: >> checking ncurses.h usability... yes >> checking ncurses.h presence... yes >> checking for ncurses.h... yes >> checking for initscr in -lncurses... yes >> checking for new_panel in -lpanel... no >> configure: error: You need to have ncurses panel library installed to compile sngrep. >> >> Without form library: >> checking ncurses.h usability... yes >> checking ncurses.h presence... yes >> checking for ncurses.h... yes >> checking for initscr in -lncurses... yes >> checking for new_panel in -lpanel... yes >> checking for new_form in -lform... no >> configure: error: You need to have ncurses forms library installed to compile sngrep. >> >> Fixes: >> http://autobuild.buildroot.net/results/ee5/ee58cd4252e4da95e9bd025ced9ad3ba0fb7cb08 >> >> Signed-off-by: Romain Naour >> Cc: Adam Duskett > > I still believe there is a bigger issue. I can build sngrep here > without those additional ncurses options and it builds fine. > > In fact, our ncurses package is completely broken. It always installs > *all* the libraries to staging, and all what > BR2_PACKAGE_NCURSES_TARGET_PANEL or BR2_PACKAGE_NCURSES_TARGET_FORM is > doing is installing the libraries to the target. So you end up in a > situation where some libraries are available in staging, and therefore > detected by the build process of other packages, but will in fact not > be present on the target. > > However, I still don't understand how it can fail on the autobuilders. > Have you been able to reproduce the issues locally? Yes, I'm able to reproduce the issues locally and I had to add these two variables to fix these two issues... > > Even though yes this patch probably fixes the issue, there's an > underlying issue which I would like to also understand and fix. Agree, something is weird here. Best regards, Romain > > Thanks, > > Thomas >