Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155186 - cross-mingw32/gcc-4.1.1-r2 fails to compile: /usr/mingw32/mingw/include does not exist
Summary: cross-mingw32/gcc-4.1.1-r2 fails to compile: /usr/mingw32/mingw/include does ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-14 19:32 UTC by sharpshopter
Modified: 2006-11-17 15:03 UTC (History)
1 user (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 sharpshopter 2006-11-14 19:32:20 UTC
trying to compile cross-mingw32/gcc-4.1.1-r2, I get:


echo | /tmp/portage/gcc-4.1.1-r2/work/build/./gcc/xgcc -B/tmp/portage/gcc-4.1.1-r2/work/build/./gcc/ -B/usr/mingw32/bin/ -B/usr/
mingw32/lib/ -isystem /usr/mingw32/include -isystem /usr/mingw32/sys-include -E -dM - | \
          sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
                 -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
          sort -u > tmp-macro_list
/bin/sh /tmp/portage/gcc-4.1.1-r2/work/gcc-4.1.1/gcc/../move-if-change tmp-macro_list macro_list
echo timestamp > s-macro_list
The directory that should contain system headers does not exist:
  /usr/mingw32/mingw/include
make[2]: *** [stmp-fixinc] Error 1
make[2]: Leaving directory `/tmp/portage/gcc-4.1.1-r2/work/build/gcc'



I checked and /usr/mingw32/mingw doesn't exist.

cross-mingw32/w32api-3.7 and
cross-mingw32/mingw-runtime-3.9
are installed (and neither seem to have installed files to /usr/mingw32/mingw)

emerge --info

Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)                                           =================================================================                                                                     System uname: 2.6.18-gentoo-r2 i686 AMD Sempron(tm)   2400+                                                                           Gentoo Base System version 1.12.6
Last Sync: Tue, 14 Nov 2006 23:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fforce-addr"
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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fforce-addr"
DISTDIR="/usr/local/src"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo http://public.planetmirror.com/pub/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_AU"
LINGUAS="en_AU en"
MAKEOPTS="-j3"
PKGDIR="/usr/local/src/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://kaisenslaust/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apache2 asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdparanoia cdr cjk cli cracklib crypt curl directfb dlloader dri dvd elibc_glibc emacs encode exif expat fam fastcgi ffmpeg flac gcj gd gdbm gif glut gmp gnutls gpm gtk gtk2 iconv idn imagemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog javascript jikes jpeg kernel_linux lcms libg++ linguas_en linguas_en_AU logrotate mad maildir mbox mhash mime mmx mng mono mp3 mpeg mysql ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis openal opengl pam pcre perl php png ppds pppd python qt4 readline real reflection ruby samba sdl session skey slang sockets speex spell spl srvdir sse ssl tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs xcomposite xine xml xml2 xorg xsl xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS
Comment 1 SpanKY gentoo-dev 2006-11-16 14:22:03 UTC
unable to reproduce

try doing `crossdev -C mingw32` before `crossdev mingw32`
Comment 2 sharpshopter 2006-11-16 19:36:37 UTC
crossdev -C mingw32
crossdev mingw32

works

I should point out that I wasn't running crossdev the first time, portage was pulling in the gcc.
Comment 3 SpanKY gentoo-dev 2006-11-17 03:21:33 UTC
i really dont see how portage could pull in cross-mingw32/gcc since it is only created by crossdev and ebuilds cannot DEPEND/RDEPEND on it
Comment 4 sharpshopter 2006-11-17 15:03:09 UTC
Sorry, I wasn't clear.

I ran crossdev some time ago.  I added the cross-mingw packages to world to stop them being removed by depclean.  New version, portage pulls in the update.