Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140673 - dev-util/xmingw-runtime-3.7 fails to compile
Summary: dev-util/xmingw-runtime-3.7 fails to compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-16 10:40 UTC by Friedrich Oslage (RETIRED)
Modified: 2006-09-23 08:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich Oslage (RETIRED) gentoo-dev 2006-07-16 10:40:02 UTC
dev-util/xmingw-runtime-3.7 stops compiling because of missing indeces.

error message:
make[1]: Leaving directory `/tmp/portage/xmingw-runtime-3.7/work/mingw-runtime-3.7/mingwex'
dlltool --as i386-mingw32msvc-as --output-def mingwthrd.def mthr.o mthr_init.o
i386-mingw32msvc-gcc -Wl,--base-file=mingwthrd.base -B./ -mdll  -Wl,--image-base,0x6FBC0000 -Wl,--entry,_DllMainCRTStartup@12 mthr.o mthr_init.o -Lmingwex \
                -o mingwthrd_dummy.exe
/opt/xmingw/lib/gcc/i386-mingw32msvc/3.4.4/libgcc.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make: *** [mingwthrd.def] Fehler 1

!!! ERROR: dev-util/xmingw-runtime-3.7 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  xmingw-runtime-3.7.ebuild, line 43:   Called die


the recommended ranlib command does not solve this. but this script does:
--snip--
i386-mingw32msvc-ar -s /opt/xmingw/lib/gcc/i386-mingw32msvc/3.4.4/libgcc.a

for x in `ls /opt/xmingw/i386-mingw32msvc/lib/*.a`; do
        i386-mingw32msvc-ar -s $x
done
--snip--

i think xmingw-gcc(owner of these .a files) should create these indeces after/during merge, shouldn't it?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-16 11:14:20 UTC
Reopen with emerge --info output.
Comment 2 Friedrich Oslage (RETIRED) gentoo-dev 2006-07-16 13:22:38 UTC
$ emerge --info
Portage 2.1.1_pre3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-rc2 i686)
=================================================================
System uname: 2.6.18-rc2 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -mtune=pentium-m -O3 -pipe -fomit-frame-pointer -ffast-math -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -mtune=pentium-m -O3 -pipe -fomit-frame-pointer -ffast-math -mfpmath=sse,387"
DISTDIR="/tmp/distfiles"
FEATURES="sandbox userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/             http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib acpi alsa asf bash-completion bluetooth branding browserplugin bzip2 c++ cardbus cdr cdrom cg cgi cli crosscompile csv cups cvs cxx dhcp dri dvd dvdr dvdread editor emf epiphany epson ethereal evolution fast fat ffmpeg finger fortran ftp gcj gd gif gimp gimpprint glibc-omitfp gnome gpm graphviz gsm gtk gtk2 gzip hddtemp html i8x0 icp icq ide irc irssi java javascript jpeg jpeg2k lame lm_sensors mad math mbrola md5sum mmx mng mono mouse mp3 mp4 mp4live mpeg mpeg2 mplayer mssql music mysql mysqlfriends mysqli nat ncurses net network nfs nls no-old-linux nocd nowin nptl nptlonly nsplugin ntfs oci8-instant-client offensive office ogg oggvorbis opengl oracle pam pci pcmcia pcre pdf pic png ppds print qt qt3 qt4 quicktime rar rdesktop readline real rss samba screen sdk sdl session sftp speech sse sse2 ssl stream subversion svg svga svgz symlink sysfs szip tcltk themes tiff tools trusted udev unicode unzip usb userlocales utf8 vcd vdr verbose vfat videos vidix visual visualization vnc voice vorbis widescreen wifi win32codecs wma wma123 wmf x264 xanim xchat xine xinerama xml xmms xorg xosd xpm xrandr xv xvid xvmc yiff zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_de userland_GNU video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jens Pranaitis 2006-08-08 05:17:41 UTC
I get the same error here:

Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-suspend2-r3-laptop i686)
=================================================================
System uname: 2.6.17-suspend2-r3-laptop i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.12.4
Last Sync: Sun, 06 Aug 2006 11:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/initng-portage"
SYNC="rsync://192.168.0.2/gentoo-portage/"
USE="x86 7zip X a52 aac aalib acl acpi alsa amarok arts asf bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cdrom chroot crypt css cups curl dbus dri dvd dvdr dvdread elibc_glibc encode fam ffmpeg firefox flac gdbm gif glibc-omitfp gnutls gpm hal imagemagick imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics ipod java javascript jikes john joystick jpeg kde kernel_linux kqemu linguas_de live logrotate mad mikmod mmx mmxext mng motif mp3 mpeg mpeg2 musepack musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg opengl pcre pdf perl pic png python qt qt3 qt4 quicktime rdesktop readline real ruby samba sdl silc spell sse sse2 ssl svg svga tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev urandom usb userland_GNU userlocales vcd video_cards_ati video_cards_radeon vim vorbis wifi win32codecs winbind wxgtk1 wxwindows x11vnc xcomposite xml xorg xosd xscreensaver xv xvid zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Jens Pranaitis 2006-08-08 05:22:12 UTC
I forgot to mention that your workaround fixed the error for me :)
Comment 5 SpanKY gentoo-dev 2006-09-23 08:05:41 UTC
xming has been integrated into toolchain and the xmingw packages are being killed

`emerge crossdev && crossdev mingw32`