public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bertram Scharpf <lists@bertram-scharpf.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Emerge interferes with Git (Was: Wlan disappeared after suspend)
Date: Tue, 13 Sep 2016 15:12:51 +0200	[thread overview]
Message-ID: <20160913131251.GA42144@becker.bs.l> (raw)
In-Reply-To: <72ddea8d-cf3d-74a3-3700-9ce6397be500@gentoo.org>

On Tuesday, 13. Sep 2016, 08:08:39 -0400, Michael Orlitzky wrote:
> On 09/13/2016 04:23 AM, Bertram Scharpf wrote:
> > after suspend, my wlan is dead and it cannot be restarted....
> 
> I had this same problem with the ath5k driver (still do, I bet)
> on my Thinkpad x61s. What happens if you run "sudo rfkill list"
> after you resume from suspend? Does it show that the wireless is
> "hard blocked"?

First of all:

The rfkill install interferes with Git!

Error log:


>>> Compiling source in /usr/portage/tmp/portage/net-wireless/rfkill-0.5/work/rfkill-0.5 ...
make -j2 V=1 
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W
error-implicit-function-declaration -c -o rfkill.o rfkill.c
./version.sh version.c
 * ACCESS DENIED:  open_wr:      /usr/portage/.git/index.lock
rfkill.c: In function ‘get_name’:
rfkill.c:83:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
  read(fd, name, sizeof(name) - 1);
  ^
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W
error-implicit-function-declaration -c -o version.o version.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed rfkill.o version.o  -o rfkill
>>> Source compiled.
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-10986.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/portage/.git/index.lock
A: /usr/portage/.git/index.lock
R: /usr/portage/.git/index.lock
C: git update-index --refresh --unmerged 
 * --------------------------------------------------------------------------------

>>> Failed to emerge net-wireless/rfkill-0.5, Log file:

>>>  '/usr/portage/tmp/portage/net-wireless/rfkill-0.5/temp/build.log'

I helped myself by renaming the .git directory, but that's
only a workaround.

How can I fix this? Should I report this?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


  reply	other threads:[~2016-09-13 13:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-13  8:23 [gentoo-user] Wlan disappeared after suspend Bertram Scharpf
2016-09-13 12:08 ` Michael Orlitzky
2016-09-13 13:12   ` Bertram Scharpf [this message]
2016-09-13 15:12     ` [gentoo-user] Emerge interferes with Git (Was: Wlan disappeared after suspend) Rich Freeman
2016-09-13 15:19       ` Michael Orlitzky
2016-09-13 17:49       ` Bertram Scharpf
2016-09-17  8:31         ` [gentoo-user] " Kai Krakow
2016-09-17 13:54           ` Bertram Scharpf
2016-09-17 14:36             ` Rich Freeman
2016-09-17 15:18               ` Kai Krakow
2016-09-18  2:41               ` Bertram Scharpf
2016-09-13 13:18   ` [gentoo-user] Wlan disappeared after suspend Bertram Scharpf
2016-09-13 13:22     ` Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160913131251.GA42144@becker.bs.l \
    --to=lists@bertram-scharpf.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox