Gentoo Archives: gentoo-user

From: Cor Legemaat <cor@××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: crossdev runtime version
Date: Mon, 10 Aug 2015 06:52:49
Message-Id: 1439189556.8622.3.camel@cor.za.net
In Reply to: Re: [gentoo-user] Re: crossdev runtime version by Fernando Rodriguez
1 On Wed, 2015-08-05 at 00:45 -0400, Fernando Rodriguez wrote:
2 > On Tuesday, August 04, 2015 5:16:09 PM walt wrote:
3 > > On Tue, 04 Aug 2015 18:40:49 +0200
4 > > Cor Legemaat <cor@××××××.net> wrote:
5 > >
6 > > > Hi:
7 > > >
8 > > > I want to install a mingw64 compiler with =dev-util/mingw64-
9 > > > runtime- 4.0.1, tried with the cmd:
10 > > > > crossdev --lenv 'CFLAGS="-march=generic -mtune=generic -O2 -
11 > > > > pipe" CXXFLAGS="-march=generic -mtune=generic -O2 -pipe"' --ex-
12 > > > > gdb -t x86_64-w64-mingw32 --ov-output /usr/local/portage-
13 > > > > crossdev --l 4.0.1 --k 4.0.1 -P '-v'
14 > > > but cross-x86_64-w64-mingw32/mingw64-runtime-3.2.0-r1 get
15 > > > installed.
16 > > >
17 > > > What am I doing wrong?
18 > >
19 > > I notice you are using a version of Evolution that is not
20 > > available yet in gentoo. Are you using gentoo package overlays,
21 > > or installing packages from non-gentoo source repositories? (I
22 > > see /usr/local in your message :)
23 > >
24 > > Sometimes these little details can give important clues.
25 >
26 > It should give you 4.0.1 even without the --l 4.0.1 as that's the
27 > latest
28 > unstable version. Are you sure that crossdev went all the way
29 > through? I
30 > usually have to disable the fortran use flag or it fails half way.
31 > If you have
32 > a previous version maybe the 3.2.0 version is from another build.
33 > What's the
34 > output of:
35 >
36 > qlop -gvH mingw64-runtime
37 >
38 > You could also use crossdev -C to remove it completely and start
39 > fresh (after
40 > cleaning any leftovers in /etc/portage).
41 >
42 > What is the contents of /etc/portage/package.keywords/cross-x86_64-
43 > w64-mingw32
44 > after the build completes? It should have ~amd64 amd64 for mingw64-
45 > runtime.
46 >
47 > Also check that you don't have any cross-x86_64-w64-mingw32 entries
48 > anywhere
49 > else on your /etc/portage/package.* files and directories.
50 >
51 > You can also verify that /usr/local/portage-crossdev/cross-x86_64-
52 > mingw32
53 > points to the right directory on /usr/portage just in case.
54 >
55 > If all that checks then I at a loss. It installed 4.0.1 for me
56 > without any
57 > arguments but the triplet. You could try:
58 >
59 > emerge -pv cross-x86_64-w64-mingw32/mingw64-runtime
60 > or
61 > emerge -pv =cross-x86_64-w64-mingw32/mingw64-runtime-4.0.1
62 >
63 > and see if it gives you any clues.
64 >
65 Found it, tnx. I changed my portage from syncing over rsync to git
66 according to https://wiki.gentoo.org/wiki/Project:Git_mirror that
67 changed my repository from /usr/portage to /usr/portage/db and
68 crossdev -C didn't delete the symlinks to the portage repository.
69 Removed them manual now every thing fine.
70
71 Regards:
72 Cor

Attachments

File name MIME type
signature.asc application/pgp-signature