Gentoo Archives: gentoo-dev

From: Norberto Bensa <norberto+gentoo-dev@×××××××××.cx>
To: gentoo-dev@l.g.o
Cc: Daniel Goller <morfic@g.o>
Subject: Re: [gentoo-dev] GCC 3.4 x86 Profiles
Date: Mon, 23 Aug 2004 18:44:09
Message-Id: 200408231543.56064.norberto+gentoo-dev@bensa.ath.cx
In Reply to: [gentoo-dev] GCC 3.4 x86 Profiles by Daniel Goller
1 Daniel Goller wrote:
2 > Please test the following profiles on x86 and report problems/successes:
3 >
4 > /usr/portage/profiles/default-linux/x86/2004.3/gcc34
5 > /usr/portage/profiles/default-linux/x86/2004.3/gcc34/2.6
6
7 I'm using /usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6, but I ran
8 into a problem with nvidia-kernel. The ebuild expect x86 in USE and this
9 profile does not set this flag.
10
11 $ sudo emerge nvidia-kernel
12 Calculating dependencies ...done!
13 >>> emerge (1 of 1) media-video/nvidia-kernel-1.0.6111 to /
14 >>> Unpacking source...
15 * /usr/src/linux is a symbolic link
16 * Determining the real directory of the Linux kernel source code
17 * Building for Linux 2.6.8.1-mm4 found in /usr/src/linux
18 * which outputs to /usr/src/linux
19 * By not using the kernel's ability to output to an alternative
20 * directory, some external module builds may fail.
21 * See <insert link to user doc here>
22 bash: /usr/portage/distfiles/-.run: No such file or directory
23 /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.6111.ebuild: line 68:
24 cd: /var/tmp/portage/nvidia-kernel-1.0.6111/work/-/usr/src/nv: No such file
25 or directory
26 >>> Source unpacked.
27 make: *** No rule to make target `clean'. Stop.
28
29 !!! ERROR: media-video/nvidia-kernel-1.0.6111 failed.
30 !!! Function src_compile, Line 87, Exitcode 2
31 !!! Failed to build module
32
33
34 $ emerge --info
35 Portage 2.0.50-r10 (2.6, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1-mm4)
36 =================================================================
37 System uname: 2.6.8.1-mm4 i686 Pentium III (Coppermine)
38 Gentoo Base System version 1.5.3
39 Autoconf: sys-devel/autoconf-2.59-r4
40 Automake: sys-devel/automake-1.8.5-r1
41 ACCEPT_KEYWORDS="x86 ~x86"
42 AUTOCLEAN="yes"
43 CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -ftracer"
44 CHOST="i686-pc-linux-gnu"
45 COMPILER="gcc3"
46 CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
47 CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
48 CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -ftracer"
49 DISTDIR="/usr/portage/distfiles"
50 FEATURES="autoaddcvs buildpkg ccache sandbox sfperms userpriv usersandbox"
51 GENTOO_MIRRORS="http://gentoo.osuosl.org
52 http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
53 MAKEOPTS="-j2"
54 PKGDIR="/usr/portage/packages"
55 PORTAGE_TMPDIR="/var/tmp"
56 PORTDIR="/usr/portage"
57 PORTDIR_OVERLAY="/usr/local/portage"
58 SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
59 USE="acl acpi alsa cups gif imap jack ldap mmx nls nptl opengl pam pic
60 readline sasl sse ssl tcpd threads unicode usb zlib"
61
62
63 $ USE=x86 sudo emerge nvidia-kernel
64 Calculating dependencies ...done!
65 >>> emerge (1 of 1) media-video/nvidia-kernel-1.0.6111 to /
66 x86
67 >>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-6111-pkg1.run
68 x86
69 x86
70 >>> Unpacking source...
71 * /usr/src/linux is a symbolic link
72 * Determining the real directory of the Linux kernel source code
73 * Building for Linux 2.6.8.1-mm4 found in /usr/src/linux
74 * which outputs to /usr/src/linux
75 * By not using the kernel's ability to output to an alternative
76 * directory, some external module builds may fail.
77 * See <insert link to user doc here>
78 Creating directory NVIDIA-Linux-x86-1.0-6111-pkg1
79 Verifying archive integrity... OK
80 Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86
81 1.0-6111..........................................................................................................................................................................................................
82 >>> Source unpacked.
83 x86
84
85 NVIDIA: calling KBUILD...
86 make -C //usr/src/linux \
87 KBUILD_SRC=/usr/src/linux-2.6.8.1-mm4 KBUILD_VERBOSE=1 \
88 KBUILD_CHECK=
89 KBUILD_EXTMOD="/var/tmp/portage/nvidia-kernel-1.0.6111/work/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv"
90 \
91 -f /usr/src/linux-2.6.8.1-mm4/Makefile modules
92
93
94 ... emerge continues...
95
96 Thanks,
97 Norberto
98
99 --
100 gentoo-dev@g.o mailing list