| Summary: | mplayer uses host xorg development files | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | glscantlen <glscantlen> |
| Component: | Other | Assignee: | Bernd Kuhls <bernd> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2015.05 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | console log when executing the "bad" mplayer | ||
|
Description
glscantlen
2015-07-06 16:15:52 UTC
What exact errors is "mplayer" giving you? Can you attach the part of the build log related to mplayer (i.e all parts that are surrounded by ">>> mplayer ..." lines) ? Buildroot tries as much as possible to not be influenced by things available on the host machine. However, since the builds are not done inside a chroot, we cannot guarantee 100% that things installed on your host machine will not influence the build in a subtle way. Please try this patch: http://patchwork.ozlabs.org/patch/492595/ Should be fixed by http://git.buildroot.net/buildroot/commit/?id=df8bfa3f8c0c825655fac68a22b6b95039c5bd14. Thanks Bernd! Created attachment 6106 [details]
console log when executing the "bad" mplayer
Quoting http://thread.gmane.org/gmane.comp.lib.uclibc.buildroot/119274/focus=119720 console_log_bad_mplayer_rebuild.txt <http://buildroot-busybox.2317881.n4.nabble.com/file/n105280/console_log_bad_mplayer_rebuild.txt> > Checking for X11 headers presence ... no (check if the dev(el) packages are installed) > Checking for X11 ... no (check if the dev(el) packages are installed) console_log_good_mplayer_rebuild.txt <http://buildroot-busybox.2317881.n4.nabble.com/file/n105280/console_log_good_mplayer_rebuild.txt> > Checking for X11 headers presence ... yes > Checking for X11 ... yes It is clearly visible that mplayer, without my patch posted in this bug report, picked up xorg headers from the host. I could reproduce the behaviour from console_log_bad_mplayer_rebuild.txt, which is fixed with my patch. Developers were not aware of failures and further testing because gmail replies were being dropped without notification. Information provided by additional testing: date: Tue, Jul 7, 2015 at 9:30 PM subject: Re: [Bug 8206] mplayer uses host xorg development files mailed-by: gmail.com Thomas & Bernd, It is rather easy to reproduce the bad mplayer build. if I remove the xorg-dev packages then make mplayer-dirclean, make mplayer-reinstall I get a bad mplayer. see attached "console_log_bad_mplayer_execute.txt" if I then install xorg-dev packages and make mplayer-dirclean, make mplayer-reinstall I get a good mplayer. see attached "console_log_good_mplayer_rebuild.txt" It appears I am not generating the build log that Thomas was asking for, so I've made console logs of the good and bad builds of mplayer. These logs are also attached: "console_log_good_mplayer_rebuild.txt" "console_log_bad_mplayer_rebuild.txt" When I remove xorg-dev these packages are contained in xorg-dev apt-get remove --purge xorg-dev then apt-get autoremove the following packages are removed: Removing libdmx-dev:amd64 (1:1.1.3-1) ... Removing libdmx1:amd64 (1:1.1.3-1) ... Removing xserver-xorg-dev (2:1.17.1-0ubuntu3) ... Removing mesa-common-dev:amd64 (10.5.2-0ubuntu1) ... Removing libdrm-dev:amd64 (2.4.60-2) ... Removing libxft-dev (2.3.2-1) ... Removing libfontconfig1-dev:amd64 (2.11.1-0ubuntu6) ... Removing libexpat1-dev:amd64 (2.1.0-6ubuntu1) ... Removing libxfont-dev (1:1.4.99.901-1ubuntu1) ... Removing libfontenc-dev:amd64 (1:1.1.2-1) ... Removing libfreetype6-dev:amd64 (2.5.2-2ubuntu3) ... Removing libfs-dev:amd64 (2:1.0.6-1) ... Removing libfs6:amd64 (2:1.0.6-1) ... Removing libxaw7-dev:amd64 (2:1.0.12-2) ... Removing libxmu-dev:amd64 (2:1.1.2-1) ... Removing libxt-dev:amd64 (1:1.1.4-1) ... Removing libsm-dev:amd64 (2:1.2.2-1) ... Removing libice-dev:amd64 (2:1.0.9-1) ... Removing libmirclient-dev:amd64 (0.12.1+15.04.20150324-0ubuntu1) ... Removing libmircommon-dev:amd64 (0.12.1+15.04.20150324-0ubuntu1) ... Removing libpciaccess-dev:amd64 (0.13.2-3build1) ... Removing libpixman-1-dev (0.32.6-3) ... Removing libpng12-dev:amd64 (1.2.51-0ubuntu3) ... Removing libprotobuf-dev:amd64 (2.6.1-1) ... Removing libprotobuf-lite9:amd64 (2.6.1-1) ... Removing libxxf86vm-dev:amd64 (1:1.1.3-1) ... Removing libxxf86dga-dev:amd64 (2:1.1.4-1) ... Removing libx11-doc (2:1.6.2-2ubuntu2) ... Removing libxcomposite-dev (1:0.4.4-1) ... Removing libxcursor-dev:amd64 (1:1.1.14-1) ... Removing libxdamage-dev:amd64 (1:1.1.4-2) ... Removing libxvmc-dev:amd64 (2:1.0.8-2ubuntu1) ... Removing libxv-dev:amd64 (2:1.0.10-1) ... Removing libxtst-dev:amd64 (2:1.2.2-1) ... Removing libxi-dev (2:1.7.4-1) ... Removing libxfixes-dev:amd64 (1:5.0.1-2) ... Removing libxinerama-dev:amd64 (2:1.1.3-1) ... Removing libxkbcommon-dev (0.4.3-2) ... Removing libxkbfile-dev:amd64 (1:1.0.8-1) ... Removing libxmuu-dev:amd64 (2:1.1.2-1) ... Removing libxmu-headers (2:1.1.2-1) ... Removing libxpm-dev:amd64 (1:3.5.11-1) ... Removing libxrandr-dev:amd64 (2:1.4.2-1) ... Removing libxrender-dev:amd64 (1:0.9.8-1build1) ... Removing libxres-dev (2:1.0.7-1) ... Removing libxss-dev:amd64 (1:1.2.2-1) ... Removing x11proto-bigreqs-dev (1:1.1.2-1) ... Removing x11proto-composite-dev (1:0.4.2-2) ... Removing x11proto-xf86dga-dev (2.1-3) ... Removing x11proto-xf86bigfont-dev (1.2.0-3) ... Removing x11proto-damage-dev (1:1.2.1-2) ... Removing x11proto-dmx-dev (1:2.3.1-2) ... Removing x11proto-dri2-dev (2.8-2) ... Removing x11proto-dri3-dev (1.0-1) ... Removing x11proto-fixes-dev (1:5.0-2ubuntu2) ... Removing x11proto-fonts-dev (2.1.3-1) ... Removing x11proto-gl-dev (1.4.17-1) ... Removing x11proto-present-dev (1.0-1) ... Removing x11proto-randr-dev (1.4.0+git20120101.is.really.1.4.0-0ubuntu1) ... Removing x11proto-record-dev (1.14.2-1) ... Removing x11proto-render-dev (2:0.11.1-2) ... Removing x11proto-resource-dev (1.2.0-3) ... Removing x11proto-scrnsaver-dev (1.2.2-1) ... Removing x11proto-video-dev (2.3.2-1) ... Removing x11proto-xcmisc-dev (1.2.2-1) ... Removing x11proto-xf86dri-dev (2.1.1-2) ... Removing x11proto-xf86vidmode-dev (2.3.1-2) ... Removing x11proto-xinerama-dev (1.2.1-2) ... Removing zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu1) ... Removing libxext-dev:amd64 (2:1.3.3-1) ... Removing x11proto-xext-dev (7.3.0-1) ... Removing libx11-dev:amd64 (2:1.6.2-2ubuntu2) ... Removing libxcb1-dev:amd64 (1.10-2ubuntu1) ... Removing libpthread-stubs0-dev:amd64 (0.3-4) ... Removing libxau-dev:amd64 (1:1.0.8-1) ... Removing libxdmcp-dev:amd64 (1:1.1.1-1build1) ... Removing x11proto-input-dev (2.3.1-1) ... Removing x11proto-kb-dev (1.0.6-2) ... Removing xtrans-dev (1.3.5-1) ... Removing x11proto-core-dev (7.0.26-1) ... Removing xorg-sgml-doctools (1:1.11-1) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... Processing triggers for doc-base (0.10.6) ... Processing 3 removed doc-base files... I've submitted a patch to fix this: https://patchwork.ozlabs.org/patch/664684/ |