Приветствую!
Сразу предупреждаю, что сборщик пакетов из меня не очень. Поэтому спокойно могу не заметить элементарные для спеца вещи.
Нужна помощь в сборке 32-х битного wine в 64-х битной Mageia5 установленной в virtualbox.
wine64 собрался без проблем.
32 собираю такой командой: rpmbuild -ba --target=i586 wine.spec
ошибка:
checking build system type... i586-mageia-linux-gnu
checking host system type... i586-mageia-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/oleg/rpmbuild/BUILD/wine-2.5':
configure: error: C compiler cannot create executables
See `config.log' for more details
сам лог файл
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Wine configure 2.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --build=i586-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib --with-x --with-pulse --without-hal
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost
uname -m = x86_64
uname -r = 4.4.13-desktop-1.mga5
uname -s = Linux
uname -v = #1 SMP Fri Jun 10 12:16:55 UTC 2016
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /opt/trinity/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /usr/lib64/qt4/bin
PATH: /usr/lib64/qt5/bin
PATH: /home/oleg/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3785: checking build system type
configure:3799: result: i586-mageia-linux-gnu
configure:3819: checking host system type
configure:3832: result: i586-mageia-linux-gnu
configure:3862: checking whether make sets $(MAKE)
configure:3884: result: yes
configure:3941: checking for gcc
configure:3957: found /usr/bin/gcc
configure:3968: result: gcc
configure:4197: checking for C compiler version
configure:4206: gcc --version >&5
gcc (GCC) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4217: $? = 0
configure:4206: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-mageia-linux-gnu/4.9.2/lto-wrapper
Target: x86_64-mageia-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib64 --with-bugurl=http://bugs.mageia.org/ --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --enable-linker-build-id --build=x86_64-mageia-linux-gnu --host=x86_64-mageia-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-objc-gc --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp --disable-werror --with-ppl --with-cloog --with-python-dir=/lib/python2.7/site-packages --enable-lto
Thread model: posix
gcc version 4.9.2 (GCC)
configure:4217: $? = 0
configure:4206: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4217: $? = 1
configure:4206: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4217: $? = 1
configure:4237: checking whether the C compiler works
configure:4259: gcc -O2 -g -pipe -Wformat -Werror=format-security -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags conftest.c >&5
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
/* confdefs.h */
^
configure:4263: $? = 1
configure:4301: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "2.5"
| #define PACKAGE_STRING "Wine 2.5"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| #define PACKAGE_URL "http://www.winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4306: error: in `/home/oleg/rpmbuild/BUILD/wine-2.5':
configure:4308: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i586-mageia-linux-gnu
ac_cv_env_CAPI20_CFLAGS_set=
ac_cv_env_CAPI20_CFLAGS_value=
ac_cv_env_CAPI20_LIBS_set=
ac_cv_env_CAPI20_LIBS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -g -pipe -Wformat -Werror=format-security -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -fno-omit-frame-pointer'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -g -pipe -Wformat -Werror=format-security -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DBUS_CFLAGS_set=
ac_cv_env_DBUS_CFLAGS_value=
ac_cv_env_DBUS_LIBS_set=
ac_cv_env_DBUS_LIBS_value=
ac_cv_env_FONTCONFIG_CFLAGS_set=
ac_cv_env_FONTCONFIG_CFLAGS_value=
ac_cv_env_FONTCONFIG_LIBS_set=
ac_cv_env_FONTCONFIG_LIBS_value=
ac_cv_env_FREETYPE_CFLAGS_set=
ac_cv_env_FREETYPE_CFLAGS_value=
ac_cv_env_FREETYPE_LIBS_set=
ac_cv_env_FREETYPE_LIBS_value=
ac_cv_env_GNUTLS_CFLAGS_set=
ac_cv_env_GNUTLS_CFLAGS_value=
ac_cv_env_GNUTLS_LIBS_set=
ac_cv_env_GNUTLS_LIBS_value=
ac_cv_env_GPHOTO2_CFLAGS_set=
ac_cv_env_GPHOTO2_CFLAGS_value=
ac_cv_env_GPHOTO2_LIBS_set=
ac_cv_env_GPHOTO2_LIBS_value=
ac_cv_env_GPHOTO2_PORT_CFLAGS_set=
ac_cv_env_GPHOTO2_PORT_CFLAGS_value=
ac_cv_env_GPHOTO2_PORT_LIBS_set=
ac_cv_env_GPHOTO2_PORT_LIBS_value=
ac_cv_env_GSTREAMER_CFLAGS_set=
ac_cv_env_GSTREAMER_CFLAGS_value=
ac_cv_env_GSTREAMER_LIBS_set=
ac_cv_env_GSTREAMER_LIBS_value=
ac_cv_env_GTK3_CFLAGS_set=
ac_cv_env_GTK3_CFLAGS_value=
ac_cv_env_HAL_CFLAGS_set=
ac_cv_env_HAL_CFLAGS_value=
ac_cv_env_HAL_LIBS_set=
ac_cv_env_HAL_LIBS_value=
ac_cv_env_JPEG_CFLAGS_set=
ac_cv_env_JPEG_CFLAGS_value=
ac_cv_env_JPEG_LIBS_set=
ac_cv_env_JPEG_LIBS_value=
ac_cv_env_LCMS2_CFLAGS_set=
ac_cv_env_LCMS2_CFLAGS_value=
ac_cv_env_LCMS2_LIBS_set=
ac_cv_env_LCMS2_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_MPG123_CFLAGS_set=
ac_cv_env_MPG123_CFLAGS_value=
ac_cv_env_MPG123_LIBS_set=
ac_cv_env_MPG123_LIBS_value=
ac_cv_env_NETAPI_CFLAGS_set=
ac_cv_env_NETAPI_CFLAGS_value=
ac_cv_env_NETAPI_LIBS_set=
ac_cv_env_NETAPI_LIBS_value=
ac_cv_env_PNG_CFLAGS_set=
ac_cv_env_PNG_CFLAGS_value=
ac_cv_env_PNG_LIBS_set=
ac_cv_env_PNG_LIBS_value=
ac_cv_env_PULSE_CFLAGS_set=
ac_cv_env_PULSE_CFLAGS_value=
ac_cv_env_PULSE_LIBS_set=
ac_cv_env_PULSE_LIBS_value=
ac_cv_env_SANE_CFLAGS_set=
ac_cv_env_SANE_CFLAGS_value=
ac_cv_env_SANE_LIBS_set=
ac_cv_env_SANE_LIBS_value=
ac_cv_env_TIFF_CFLAGS_set=
ac_cv_env_TIFF_CFLAGS_value=
ac_cv_env_TIFF_LIBS_set=
ac_cv_env_TIFF_LIBS_value=
ac_cv_env_UDEV_CFLAGS_set=
ac_cv_env_UDEV_CFLAGS_value=
ac_cv_env_UDEV_LIBS_set=
ac_cv_env_UDEV_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_XML2_CFLAGS_set=
ac_cv_env_XML2_CFLAGS_value=
ac_cv_env_XML2_LIBS_set=
ac_cv_env_XML2_LIBS_value=
ac_cv_env_XSLT_CFLAGS_set=
ac_cv_env_XSLT_CFLAGS_value=
ac_cv_env_XSLT_LIBS_set=
ac_cv_env_XSLT_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i586-mageia-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i586-mageia-linux-gnu
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALL_TEST_RESOURCES=''
ALL_VARS_RULES=''
ALSA_LIBS=''
APPKIT_LIBS=''
APPLICATIONSERVICES_LIBS=''
AR=''
ARFLAGS=''
BISON=''
BUILTINFLAG=''
CAPI20_CFLAGS=''
CAPI20_LIBS=''
CARBON_LIBS=''
CC='gcc'
CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -fno-omit-frame-pointer'
CONFIGURE_TARGETS=''
CONVERT=''
COREAUDIO_LIBS=''
COREFOUNDATION_LIBS=''
CORESERVICES_LIBS=''
CPP=''
CPPBIN=''
CPPFLAGS=''
CROSSCC=''
CROSSTARGET=''
CUPS_CFLAGS=''
CXX=''
CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables'
DBUS_CFLAGS=''
DBUS_LIBS=''
DEFS=''
DISABLED_SUBDIRS=''
DISKARBITRATION_LIBS=''
DLLFLAGS=''
DLLTOOL=''
DL_LIBS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXCESS_PRECISION_CFLAGS=''
EXEEXT=''
EXTRACFLAGS=''
FLEX=''
FONTCONFIG_CFLAGS=''
FONTCONFIG_LIBS=''
FONTFORGE=''
FORCEFEEDBACK_LIBS=''
FREETYPE_CFLAGS=''
FREETYPE_LIBS=''
GETTEXTPO_LIBS=''
GNUTLS_CFLAGS=''
GNUTLS_LIBS=''
GPHOTO2_CFLAGS=''
GPHOTO2_LIBS=''
GPHOTO2_PORT_CFLAGS=''
GPHOTO2_PORT_LIBS=''
GREP=''
GSTREAMER_CFLAGS=''
GSTREAMER_LIBS=''
GTK3_CFLAGS=''
HAL_CFLAGS=''
HAL_LIBS=''
ICOTOOL=''
IOKIT_LIBS=''
JPEG_CFLAGS=''
JPEG_LIBS=''
KSTAT_LIBS=''
LCMS2_CFLAGS=''
LCMS2_LIBS=''
LD=''
LDAP_LIBS=''
LDCONFIG=''
LDD=''
LDEXECFLAGS=''
LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
LDRPATH_INSTALL=''
LDRPATH_LOCAL=''
LIBOBJS=''
LIBS=''
LIBWINE_DEPENDS=''
LIBWINE_IMPORTLIB=''
LIBWINE_INSTALL_DEV=''
LIBWINE_INSTALL_LIB=''
LIBWINE_LDFLAGS=''
LIBWINE_SHAREDLIB=''
LN_S=''
LTLIBOBJS=''
MPG123_CFLAGS=''
MPG123_LIBS=''
MSGFMT=''
NETAPI_CFLAGS=''
NETAPI_LIBS=''
OBJEXT=''
OPENAL_LIBS=''
OPENCL_LIBS=''
OPENGL_LIBS=''
OSS4_CFLAGS=''
OTOOL=''
PACKAGE_BUGREPORT='wine-devel@winehq.org'
PACKAGE_NAME='Wine'
PACKAGE_STRING='Wine 2.5'
PACKAGE_TARNAME='wine'
PACKAGE_URL='http://www.winehq.org'
PACKAGE_VERSION='2.5'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PNG_CFLAGS=''
PNG_LIBS=''
POLL_LIBS=''
PRELINK=''
PROCSTAT_LIBS=''
PTHREAD_LIBS=''
PULSE_CFLAGS=''
PULSE_LIBS=''
QUICKTIME_LIBS=''
RANLIB=''
READELF=''
RESOLV_LIBS=''
RSVG=''
RT_LIBS=''
SANE_CFLAGS=''
SANE_LIBS=''
SECURITY_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
SOCKET_LIBS=''
STRIP=''
SUBDIRS=''
TARGETFLAGS=''
TIFF_CFLAGS=''
TIFF_LIBS=''
TOOLSDIR=''
TOOLSEXT=''
UDEV_CFLAGS=''
UDEV_LIBS=''
UNWINDFLAGS=''
WINELOADER_DEPENDS=''
WINELOADER_INSTALL=''
WINELOADER_PROGRAMS=''
XMKMF=''
XML2_CFLAGS=''
XML2_LIBS=''
XSLT_CFLAGS=''
XSLT_LIBS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
Z_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='/usr/bin'
build='i586-mageia-linux-gnu'
build_alias='i586-mageia-linux-gnu'
build_cpu='i586'
build_os='linux-gnu'
build_vendor='mageia'
datadir='/usr/share'
datarootdir='${prefix}/share'
dlldir=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/usr'
host='i586-mageia-linux-gnu'
host_alias=''
host_cpu='i586'
host_os='linux-gnu'
host_vendor='mageia'
htmldir='${docdir}'
includedir='/usr/include'
infodir='/usr/share/info'
libdir='/usr/lib'
libexecdir='/usr/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='/usr/sbin'
sharedstatedir='/usr/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Wine"
#define PACKAGE_TARNAME "wine"
#define PACKAGE_VERSION "2.5"
#define PACKAGE_STRING "Wine 2.5"
#define PACKAGE_BUGREPORT "wine-devel@winehq.org"
#define PACKAGE_URL "http://www.winehq.org"
configure: exit 77