Package Details: mingw-w64-winpthreads 6.0.0-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-winpthreads.git (read-only)
Package Base: mingw-w64-winpthreads
Description: MinGW-w64 winpthreads library
Upstream URL: http://mingw-w64.sourceforge.net
Licenses: custom
Groups: mingw-w64, mingw-w64-toolchain
Conflicts: mingw-w64-headers-bootstrap
Provides: mingw-w64-headers-bootstrap
Replaces: mingw-w64-headers-bootstrap
Submitter: Barthalion
Maintainer: xantares
Last Packager: xantares
Votes: 20
Popularity: 2.086222
First Submitted: 2018-01-07 17:34
Last Updated: 2018-09-18 21:06

Latest Comments

dummys commented on 2019-04-23 09:14

still not working, same error as dviktor.

dviktor commented on 2018-10-02 11:59

Doesn't build after update:

/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: src/.libs/libwinpthread_la-barrier.o: in function `barrier_unref':

/opt/buildcache/makepkg/mingw-w64-winpthreads/src/mingw-w64-v6.0.0/mingw-w64-libraries/winpthreads/src/barrier.c:38: undefined reference to `_imp____acrt_iob_func'

/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: src/.libs/libwinpthread_la-cond.o: in function `cond_print_set':

/opt/buildcache/makepkg/mingw-w64-winpthreads/src/mingw-w64-v6.0.0/mingw-w64-libraries/winpthreads/src/cond.c:61: undefined reference to `_imp____acrt_iob_func'

/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: src/.libs/libwinpthread_la-rwlock.o: in function `rwl_unref':

/opt/buildcache/makepkg/mingw-w64-winpthreads/src/mingw-w64-v6.0.0/mingw-w64-libraries/winpthreads/src/rwlock.c:40: undefined reference to `_imp____acrt_iob_func'

/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: src/.libs/libwinpthread_la-thread.o: in function `leaveOnceObject':

/opt/buildcache/makepkg/mingw-w64-winpthreads/src/mingw-w64-v6.0.0/mingw-w64-libraries/winpthreads/src/thread.c:594: undefined reference to `_imp____acrt_iob_func'

/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: src/.libs/libwinpthread_la-thread.o: in function `pthread_once_raw':

/opt/buildcache/makepkg/mingw-w64-winpthreads/src/mingw-w64-v6.0.0/mingw-w64-libraries/winpthreads/src/thread.c:625: undefined reference to `_imp____acrt_iob_func'

/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: src/.libs/libwinpthread_la-thread.o:/opt/buildcache/makepkg/mingw-w64-winpthreads/src/mingw-w64-v6.0.0/mingw-w64-libraries/winpthreads/src/thread.c:750: more undefined references to `_imp____acrt_iob_func' follow

collect2: error: ld returned 1 exit status

make[2]: *** [Makefile:680: libwinpthread.la] Error 1

make[2]: leaving directory «/opt/buildcache/makepkg/mingw-w64-winpthreads/src/winpthreads-build-i686-w64-mingw32»

make[1]: *** [Makefile:876: all-recursive] Error 1

make[1]: leaving directory «/opt/buildcache/makepkg/mingw-w64-winpthreads/src/winpthreads-build-i686-w64-mingw32»

make: *** [Makefile:488: all] Error 2

VikingGe commented on 2018-01-26 12:01

package() fails with:

libtool: install: /usr/bin/install -c .libs/libwinpthread.lai /home/.../mingw/mingw-w64-winpthreads/pkg/mingw-w64-winpthreads/usr/i686-w64-mingw32/lib/libwinpthread.la

libtool: install: /usr/bin/install -c .libs/libwinpthread.a /home/.../mingw/mingw-w64-winpthreads/pkg/mingw-w64-winpthreads/usr/i686-w64-mingw32/lib/libwinpthread.a

libtool: install: chmod 644 /home/.../mingw/mingw-w64-winpthreads/pkg/mingw-w64-winpthreads/usr/i686-w64-mingw32/lib/libwinpthread.a

libtool: install: i686-w64-mingw32-ranlib /home/.../mingw/mingw-w64-winpthreads/pkg/mingw-w64-winpthreads/usr/i686-w64-mingw32/lib/libwinpthread.a

libtool: warning: remember to run 'libtool --finish /usr/i686-w64-mingw32/lib'

[...]

i686-w64-mingw32-strip: '/home/.../mingw/mingw-w64-winpthreads/pkg/mingw-w64-winpthreads/usr/i686-w64-mingw32/bin/*.dll': No such file

cguenther commented on 2018-01-17 12:47

Okey, i solved it by explicitly deinstalling without dependency checking the boostrap-package right in front of the mingw-w64-winpthreads installation.

sudo pacman -Rdd --noconfirm mingw-w64-headers-bootstrap

xantares commented on 2018-01-16 12:45

It is still possible to automate this by leaving the noconfirm option and falling back to an expect script as packages are left built in /tmp even if not installed.

But I dont know if you can use yaourt in a docker container though, if you have got a Dockerfile I'd be happy to hack in.

cguenther commented on 2018-01-16 10:11

Ah that's kinda a big problem for me. I need a solution, which is automatable, because i am building a clean arch based docker container, containing current gcc and mingw-gcc toolchains on a nightly basis.

So will it be possible to fix those dependencies with additional yaourt commands in front of compiling and installing winpthreads?

xantares commented on 2018-01-13 13:50

At that point you have to answer y: this will remove mingw-w64-headers-bootstrap. (ie you cannot use --noconfirm for conflicting packages)

cguenther commented on 2018-01-13 12:47

I am trying to install mingw-w64-gcc with the mentioned bootstrapping from @xantares (thanks a lot for your great support so far), resulting in the following commands:

gpg --recv C3126D3B4AE55E93

yaourt -S --noconfirm mingw-w64-binutils

gpg --recv 93BDB53CD4EBC740

yaourt -S --noconfirm mingw-w64-headers

yaourt -S --noconfirm mingw-w64-gcc-base

yaourt -S --noconfirm mingw-w64-crt

yaourt -S --noconfirm mingw-w64-winpthreads

yaourt -S --noconfirm mingw-w64-gcc

When reaching the winpthreads part, it builds fine, but it has unresolvable conflicts for installation.

error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: mingw-w64-winpthreads and mingw-w64-headers-bootstrap are in conflict. Remove mingw-w64-headers-bootstrap? [y/N]
:: mingw-w64-winpthreads and mingw-w64-headers-bootstrap are in conflict

It seems that the headers-bootstrap package is a dependency of mingw-w64-gcc-base.