From: Peter Korsgaard Date: Thu, 02 Apr 2015 23:17:34 +0200 Subject: [Buildroot] [PATCH 1/1] package/mc: Fix xlib_libX11 dependency In-Reply-To: <1428002937-9916-1-git-send-email-bernd.kuhls@t-online.de> (Bernd Kuhls's message of "Thu, 2 Apr 2015 21:28:57 +0200") References: <1428002937-9916-1-git-send-email-bernd.kuhls@t-online.de> Message-ID: <87twwynsb5.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Bernd" == Bernd Kuhls writes: > On Peter?s autobuilder building mc fails: > http://autobuild.buildroot.net/?reason=mc-4.8.14 > The reason can be found in > http://autobuild.buildroot.net/results/e25/e25587c17c2e8ddae83f9ed02541931f510bfcd6//build-end.log > checking for X... libraries /usr/lib, headers /usr/include > where configure picks up xorg libraries although no x11 stuff is enabled in the > defconfig used for this build. > This leads to subsequent errors visible in > http://autobuild.buildroot.net/results/e25/e25587c17c2e8ddae83f9ed02541931f510bfcd6//mc-4.8.14/config.log > mips64el-ctng_n64-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '/usr/lib' > causing most configure checks to fail afterwards. To fix the problem the mc > package should honour an optional dependency to the xlib_libX11 package. > Fixes > http://autobuild.buildroot.net/results/e25/e25587c17c2e8ddae83f9ed02541931f510bfcd6/ > http://autobuild.buildroot.net/results/b7a/b7a2b69c53e91e0173b7f0c241d7e06b4382c52a/ > http://autobuild.buildroot.net/results/805/805675236190f7f5f42d498f4a9f9bf0e1bab648/ > and others > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard