Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576456 - media-video/mpv-0.16.0: configure failed: Unable to find either POSIX or MinGW-w64 environment, or compiler does not work.
Summary: media-video/mpv-0.16.0: configure failed: Unable to find either POSIX or MinG...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Coacher
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-04 16:38 UTC by Martin Dummer
Modified: 2016-03-05 20:58 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-video:mpv-0.16.0 build log (media-video:mpv-0.16.0:20160304-162120.log.gz,3.76 KB, application/gzip)
2016-03-04 16:40 UTC, Martin Dummer
Details
media-video:mpv-0.16.0 build log (media-video:mpv-0.16.0:20160304-162120.log,8.45 KB, text/plain)
2016-03-05 11:00 UTC, Martin Dummer
Details
mpv-0.16.0.ebuild (mpv-0.16.0.ebuild,8.02 KB, text/plain)
2016-03-05 11:26 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Dummer 2016-03-04 16:38:42 UTC
emerging media-video/mpv-0.16.0 fails, error line from build log is: 
Unable to find either POSIX or MinGW-w64 environment, or compiler does not work

Reproducible: Always




emerge --info:

Portage 2.2.27 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, 
gcc-4.9.3, glibc-2.22-r2, 4.1.15-gentoo-r1-nouveau3 x86_64)
=================================================================
System uname: Linux-4.1.15-gentoo-r1-nouveau3-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.2
KiB Mem:     3898544 total,   1166856 free
KiB Swap:    8388604 total,   7818560 free
Timestamp of repository gentoo: Thu, 03 Mar 2016 08:30:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

md-private
    location: /usr/local/portage
    masters: gentoo
    priority: 0

vdr-devel
    location: /var/lib/layman/vdr-devel
    sync-uri: https://anongit.gentoo.org/git/proj/vdr/devel.git
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    sync-uri: git://anongit.gentoo.org/proj/vmware.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-11.x Oracle-BCLA-JavaSE TeamViewer NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --ask-enter-invalid --quiet-build=n --verbose-conflicts"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs compress-build-logs compressdebug config-protect-if-modified distcc distlocks ebuild-locks fail-clean fakeroot fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi akonadi alsa amd64 ao apache2 apng audiofile bash-completion berkdb bluetooth branding bzip2 cairo captury cardbus cdda cdr cisco cli clucene consolekit cracklib cron crypt css cups curl cxx dbus declarative device-mapper dhcpcd disk-partition dri dts dvb dvd dvdr ebook embedded emboss emerald enca encode exif extras fam ffmpeg firefox flac fontconfig fortran g3dvl gd gdbm geolocation gif gimp git glade glamor glitz gnutls gphoto2 gpm gstreamer gtk httpd hybrid-auth iconv icu id3tag ieee1394 ipv6 java jpeg kde kerberos kipi kvm lame laptop lcms ldap lensfun libass libcaca libkms libnotify libproxy live lm_sensors logrotate lzo macvtap mad mikmod minizip mjpeg mmap mmx mmxext mng mod modules mp3 mp4 mpeg mtp multilib musicbrainz mysql ncurses networkmanager nfsv3 nfsv4 nls nptl nptlonly nsplugin ntlm ntp ogg old-daemons opencl openconnect openexr opengl openipmi openmp pam pango pcre pdf phonon plasma pm-utils png policykit ppds python qemu qt3support qt4 rdesktop rdp readline real resolvconf rss samba sasl sdl seccomp semantic-desktop session smi smp sndfile snmp spell sql sqlite sse sse2 sse3 ssl ssse3 startup-notification stl svg symlink tcpd test-programs threads threadsafe thumbnail tiff truetype udev udisks unicode upcall upower usb usbredir utils v4l v4l2 vaapi vcd vdpau vim-syntax vnc vorbis webkit wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xrandr xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de de_DE" LIRC_DEVICES="userspace" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm" QEMU_USER_TARGETS="i386 x86_64 arm" RUBY_TARGETS="ruby20 ruby21 ruby22" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Martin Dummer 2016-03-04 16:40:49 UTC
Created attachment 427426 [details]
media-video:mpv-0.16.0 build log
Comment 2 Coacher 2016-03-04 18:39:30 UTC
Your build.log is double-compressed gzip. Please create a clean attachment.
Comment 3 Coacher 2016-03-04 19:02:22 UTC
What returns `x86_64-pc-linux-gnu-gcc test.c', where test.c file is:

#include <poll.h>
#include <unistd.h>
#include <sys/mman.h>

int main(int argc, char **argv)
{ struct pollfd pfd; poll(&pfd, 1, 0); fork(); int f[2]; pipe(f); munmap(f,0); return 0; }
Comment 4 Coacher 2016-03-04 19:16:12 UTC
(In reply to Coacher from comment #3)
> What returns `x86_64-pc-linux-gnu-gcc test.c', where test.c file is:

More specifically: does `x86_64-pc-linux-gnu-gcc test.c' produce any output and what is the return code of this command?
Comment 5 Martin Dummer 2016-03-05 11:00:01 UTC
Created attachment 427506 [details]
media-video:mpv-0.16.0 build log
Comment 6 Martin Dummer 2016-03-05 11:08:41 UTC
(In reply to Coacher from comment #4)
> (In reply to Coacher from comment #3)
> > What returns `x86_64-pc-linux-gnu-gcc test.c', where test.c file is:
> 
> More specifically: does `x86_64-pc-linux-gnu-gcc test.c' produce any output
> and what is the return code of this command?

At first, sorry for the mess with the build log. An uncompressed log is attached now.

About the test command:
- the compile command "x86_64-pc-linux-gnu-gcc test.c" does not produce any output, returncode is zero.

executing the resulting a.out does the same - no output, returncode zero.

What eles can I do for you? 

Regards, 
Martin
Comment 7 Coacher 2016-03-05 11:26:07 UTC
Created attachment 427510 [details]
mpv-0.16.0.ebuild

(In reply to Martin Dummer from comment #6)
> At first, sorry for the mess with the build log. An uncompressed log is
> attached now.
No problems. All is good now.

> About the test command:
> - the compile command "x86_64-pc-linux-gnu-gcc test.c" does not produce any
> output, returncode is zero.
> 
> executing the resulting a.out does the same - no output, returncode zero.
> 
> What eles can I do for you?
I see. There's no quick answer to your problem then.

Please do a build test with the attached ebuild and attach the build.log here afterwards. It should fail the same way, but the log will be much more verbose.
Please attach the $PORTAGE_TMPDIR/portage/media-video/mpv-0.16.0/work/mpv-0.16.0/build/config.log file after a build test with the attached ebuild.
Comment 8 Martin Dummer 2016-03-05 13:27:33 UTC
(In reply to Coacher from comment #7)

> Please do a build test with the attached ebuild and attach the build.log
> here afterwards. It should fail the same way, but the log will be much more
> verbose.
> Please attach the
> $PORTAGE_TMPDIR/portage/media-video/mpv-0.16.0/work/mpv-0.16.0/build/config.
> log file after a build test with the attached ebuild.

Hhmmmm.... the attached ebuild did compile properly, and - cant believe it - the original ebuild from portage tree went well.

Then I checked the system emerge.log and tried to find out what I changed after the last failed mpv emergy try.
I did a "revdep-rebuild" and "perl-cleaner all" - maybe that fixed my system.

I am sure the problem was on my side, not on the mpv ebuild, so I mark the bug as "resolved invalid". I hope you agree with that.
Thanks for you quick cooperation.

Martin
Comment 9 Coacher 2016-03-05 20:58:15 UTC
(In reply to Martin Dummer from comment #8)
> I am sure the problem was on my side, not on the mpv ebuild, so I mark the
> bug as "resolved invalid". I hope you agree with that.
Good. Thanks.

> Thanks for you quick cooperation.
You are welcome.