Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587028 - app-emulation/wine-1.9.11[ssl] failed to build - dlls/secur32/schannel_gnutls.c:28:0: /usr/include/gnutls/crypto.h:59:10: note: previous declaration of ‘gnutls_cipher_get_block_size’ was here unsigned gnutls_cipher_get_block_size(gnutls_cipher_algorithm_
Summary: app-emulation/wine-1.9.11[ssl] failed to build - dlls/secur32/schannel_gnutls...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL: http://source.winehq.org/git/wine.git...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-25 11:26 UTC by Conrad Kostecki
Modified: 2016-07-10 05:36 UTC (History)
0 users

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


Attachments
build.log.zip (build.log.zip,104.52 KB, application/zip)
2016-06-25 11:27 UTC, Conrad Kostecki
Details
wine-1.8-gnutls-3.5-compat.patch (wine-1.8-gnutls-3.5-compat.patch,1.49 KB, patch)
2016-06-25 19:51 UTC, Adam Feldman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2016-06-25 11:26:10 UTC
* Applying the Wine-Staging patchset. Any bug reports to the
* Wine bugzilla should explicitly state that staging was used.
* ERROR: app-emulation/wine-1.9.11::gentoo failed (compile phase)

[ebuild   R   #] net-libs/gnutls-3.5.1:0/30::gentoo  USE="cxx dane nls openssl pkcs11 zlib -doc -examples -guile -static-libs {-test} -tools" ABI_X86="32 (64) (-x32)" LINGUAS="de -cs -en -fi -fr -it -ms -nl -pl -sv -uk -vi -zh_CN" 0 KiB

make[1]: Leaving directory '/var/tmp/portage/app-emulation/wine-1.9.11/work/wine-1.9.11-abi_x86_32.x86/dlls/security'
x86_64-pc-linux-gnu-gcc -m32 -c -o svc_main.o /var/tmp/portage/app-emulation/wine-1.9.11/work/wine-1.9.11/dlls/schedsvc/svc_main.c \
  -I. -I/var/tmp/portage/app-emulation/wine-1.9.11/work/wine-1.9.11/dlls/schedsvc -I../../include \
  -I/var/tmp/portage/app-emulation/wine-1.9.11/work/wine-1.9.11/include -D__WINESRC__ -D_REENTRANT \
  -fPIC -Wall -pipe -fno-tree-loop-distribute-patterns -fno-strict-aliasing \
  -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -fno-omit-frame-pointer -march=native -mtune=intel -pipe -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
../../tools/winegcc/winegcc -o scsiport.sys.fake -B../../tools/winebuild -fasynchronous-unwind-tables -shared /var/tmp/portage/app-emulation/wine-1.9.11/work/wine-1.9.11/dlls/scsiport.sys/scsiport.sys.spec \
  -Wb,--subsystem,native scsiport.o -lntoskrnl.exe ../../libs/port/libwine_port.a -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now
/var/tmp/portage/app-emulation/wine-1.9.11/work/wine-1.9.11/dlls/secur32/schannel_gnutls.c:45:12: error: conflicting types for ‘gnutls_cipher_get_block_size’
 extern int gnutls_cipher_get_block_size(gnutls_cipher_algorithm_t algorithm);
            ^
In file included from /var/tmp/portage/app-emulation/wine-1.9.11/work/wine-1.9.11/dlls/secur32/schannel_gnutls.c:28:0:
/usr/include/gnutls/crypto.h:59:10: note: previous declaration of ‘gnutls_cipher_get_block_size’ was here
 unsigned gnutls_cipher_get_block_size(gnutls_cipher_algorithm_t algorithm) __GNUTLS_CONST__;
          ^
make[1]: *** [Makefile:475: schannel_gnutls.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-emulation/wine-1.9.11/work/wine-1.9.11-abi_x86_32.x86/dlls/secur32'
Comment 1 Conrad Kostecki gentoo-dev 2016-06-25 11:27:23 UTC
Created attachment 438730 [details]
build.log.zip

Portage 2.3.0 (python 3.5.1-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r2, 4.6.2-gentoo x86_64)
=================================================================
System uname: Linux-4.6.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-6600U_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    16203152 total,  11857212 free
KiB Swap:   17301500 total,  17301500 free
Timestamp of repository gentoo: Sat, 25 Jun 2016 10:30:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.5 [enabled]
app-shells/bash:          4.3_p46::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.4::gentoo, 3.5.1-r3::gentoo
dev-util/ccache:          3.2.5::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes

serenity
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /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-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/"
INSTALL_MASK="/etc/systemd/network/* /etc/systemd/system/* /etc/xinetd.d/* /usr/lib64/systemd/system/* /usr/lib64/systemd/system-shutdown/*"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j5 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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 accessibility acl acpi adns alsa amd64 ao berkdb bluetooth bzip2 cairo caps cdda cddb cdinstall cjk cracklib crypt css ctype cups curl cvs cxx dbus dga djvu dri dts dvb dvd encode exif fbcon ffmpeg flac flite fontconfig ftp gd gdbm gif gimp git glut gmp gnome-keyring gnutls gphoto2 gpm graphviz gsm gstreamer gtk http iconv icu idn imlib introspection ipv6 java javascript jit joystick jpeg jpeg2k lame lcms libcaca libnotify libsamplerate lm_sensors lzma lzo mad maildir matroska mbox mhash mikmod mmap mng modplug mono mp3 mp4 mpeg mtp ncurses networkmanager nls nntp nptl nsplugin offensive ogg openal openexr opengl openmp orc oss pam pcre pdf perl pie png policykit posix postproc postscript pulseaudio python qt4 qt5 quicktime raw readline recode samba sasl scanner sdl seccomp session simplexml slang smartcard smp sndfile sockets sound speex spell sqlite ssl startup-notification subversion suid svg symlink tcpd theora threads tiff timidity truetype udev udisks unicode upnp usb v4l vaapi vcd vdpau vim-syntax vnc vorbis wavpack webkit wifi wmf x264 xattr xcb xcomposite xface xft xml xmp xpm xscreensaver xv xvid zeroconf zlib zsh-completion" ABI_X86="32 64" COLLECTD_PLUGINS="battery cgroups conntrack contextswitch cpu cpufreq df disk dns entropy ethstat exec filecount hddtemp interface irq load logfile lvm memory netlink nginx openvpn ping postgresql processes rrdcached sensors serial smart swap tcpconns thermal unixsock uptime users wireless" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="nmea" GRUB_PLATFORMS="pc" KERNEL="linux" L10N="de de_DE" LINGUAS="de de_DE" NGINX_MODULES_HTTP="access auth_basic autoindex charset fancyindex fastcgi gzip proxy realip rewrite stub_status" PHP_TARGETS="php7-0" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="power trash"
USE_PYTHON="2.7 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL
Comment 2 Adam Feldman gentoo-dev 2016-06-25 19:51:45 UTC
Created attachment 438798 [details, diff]
wine-1.8-gnutls-3.5-compat.patch

Can you please put the following attachment in your /etc/portage/patches/ as detailed in https://wiki.gentoo.org/wiki//etc/portage/patches and see if that resolves the issue?

It looks like upstream fixed this in 1.9.13.
Comment 3 Adam Feldman gentoo-dev 2016-07-10 05:36:34 UTC
Resolved in b64196973d3c0b1094647c7b331ddc12af364539.