Gentoo Archives: gentoo-user

From: Bertram Scharpf <lists@×××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Emerge interferes with Git (Was: Wlan disappeared after suspend)
Date: Tue, 13 Sep 2016 13:13:03
Message-Id: 20160913131251.GA42144@becker.bs.l
In Reply to: Re: [gentoo-user] Wlan disappeared after suspend by Michael Orlitzky
1 On Tuesday, 13. Sep 2016, 08:08:39 -0400, Michael Orlitzky wrote:
2 > On 09/13/2016 04:23 AM, Bertram Scharpf wrote:
3 > > after suspend, my wlan is dead and it cannot be restarted....
4 >
5 > I had this same problem with the ath5k driver (still do, I bet)
6 > on my Thinkpad x61s. What happens if you run "sudo rfkill list"
7 > after you resume from suspend? Does it show that the wireless is
8 > "hard blocked"?
9
10 First of all:
11
12 The rfkill install interferes with Git!
13
14 Error log:
15
16
17 >>> Compiling source in /usr/portage/tmp/portage/net-wireless/rfkill-0.5/work/rfkill-0.5 ...
18 make -j2 V=1
19 x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W
20 error-implicit-function-declaration -c -o rfkill.o rfkill.c
21 ./version.sh version.c
22 * ACCESS DENIED: open_wr: /usr/portage/.git/index.lock
23 rfkill.c: In function ‘get_name’:
24 rfkill.c:83:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
25 read(fd, name, sizeof(name) - 1);
26 ^
27 x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W
28 error-implicit-function-declaration -c -o version.o version.c
29 x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed rfkill.o version.o -o rfkill
30 >>> Source compiled.
31 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
32 * LOG FILE: "/var/log/sandbox/sandbox-10986.log"
33 *
34 VERSION 1.0
35 FORMAT: F - Function called
36 FORMAT: S - Access Status
37 FORMAT: P - Path as passed to function
38 FORMAT: A - Absolute Path (not canonical)
39 FORMAT: R - Canonical Path
40 FORMAT: C - Command Line
41
42 F: open_wr
43 S: deny
44 P: /usr/portage/.git/index.lock
45 A: /usr/portage/.git/index.lock
46 R: /usr/portage/.git/index.lock
47 C: git update-index --refresh --unmerged
48 * --------------------------------------------------------------------------------
49
50 >>> Failed to emerge net-wireless/rfkill-0.5, Log file:
51
52 >>> '/usr/portage/tmp/portage/net-wireless/rfkill-0.5/temp/build.log'
53
54 I helped myself by renaming the .git directory, but that's
55 only a workaround.
56
57 How can I fix this? Should I report this?
58
59 Bertram
60
61
62 --
63 Bertram Scharpf
64 Stuttgart, Deutschland/Germany
65 http://www.bertram-scharpf.de

Replies