Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can not emerge broadcom-sta on 3.12.21-gentoo-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
xaon
n00b
n00b


Joined: 28 Jun 2014
Posts: 21

PostPosted: Sat Jun 28, 2014 11:01 pm    Post subject: Can not emerge broadcom-sta on 3.12.21-gentoo-r1 Reply with quote

Hi guys!

i got this errors, when trying to emerge broadcom-sta:

Code:

>>> Preparing source in /var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/work ...
 * Applying broadcom-sta-5.10.91.9-license.patch ...
egrep: /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch: Permission denied
egrep: /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch: Permission denied
/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/temp/environment: line 907: /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch: Permission denied
/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/temp/environment: line 907: /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch: Permission denied
/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/temp/environment: line 907: /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch: Permission denied
/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/temp/environment: line 907: /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch: Permission denied
/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/temp/environment: line 907: /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch: Permission denied

 * Failed Patch: broadcom-sta-5.10.91.9-license.patch !
 *  ( /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/temp/broadcom-sta-5.10.91.9-license.patch.out

 * ERROR: net-wireless/broadcom-sta-5.100.82.112-r3::x-portage failed (prepare phase):
 *   Failed Patch: broadcom-sta-5.10.91.9-license.patch!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 2945:  Called epatch '/usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch' '/usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.38-gcc.patch' '/usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.111-linux-3.0.patch' '/usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.112-linux-2.6.39.patch' '/usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.112-linux-3.2.patch'
 *   environment, line  768:  Called epatch '/usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch'
 *   environment, line  945:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-5.100.82.112-r3::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-5.100.82.112-r3::x-portage'`.
 * The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/work'
 * S: '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r3/work'



my ' /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch' has permission
Code:
-rwx------ 1 root root 716


and i was running as root
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Jun 29, 2014 2:18 am    Post subject: Re: Can not emerge broadcom-sta on 3.12.21-gentoo-r1 Reply with quote

xaon wrote:
my ' /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch' has permission ...
Code:
-rwx------ 1 root root 716

and i was running as root

xaon ... portage runs as a non-root user ... 'portage', so the above file can't be accessed. You can either change ownership or modify the permissions.

best ... khay
Back to top
View user's profile Send private message
xaon
n00b
n00b


Joined: 28 Jun 2014
Posts: 21

PostPosted: Sun Jun 29, 2014 7:32 am    Post subject: Reply with quote

Quote:
xaon ... portage runs as a non-root user ... 'portage', so the above file can't be accessed. You can either change ownership or modify the permissions.


Hi khayyam, thanks for your reply.

i am logging as root and run
Code:
emerge broadcom-sta
, so it should be root?

and i also modified the permission to

Code:
-rwxrwxrwx 1 root root 716 Jan 30  2013 /usr/local/portage/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-license.patch


but still get the same errors :(
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Jun 29, 2014 11:05 am    Post subject: Reply with quote

xaon ...

You are running the command as root but the process is run as portage ... by default FEATURES="userpriv" is set.

The only explanation for the above is that though the patch is readable the path to the patch is not. Most likely you created /usr/local/portage/**/* with the same ownership and permissions as the patch.

best ... khay
Back to top
View user's profile Send private message
xaon
n00b
n00b


Joined: 28 Jun 2014
Posts: 21

PostPosted: Sun Jun 29, 2014 7:39 pm    Post subject: Reply with quote

thanks khayyam! i think i got the driver installed. but it doesn't seems to work...

since it's a different problem, i have opened another post here:
https://forums.gentoo.org/viewtopic-p-7576544.html#7576544
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum