Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150837 - realtime-lsm ebuild fails.
Summary: realtime-lsm ebuild fails.
Status: RESOLVED DUPLICATE of bug 137773
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 17:00 UTC by Ilya Dmitrichenko
Modified: 2006-11-12 10:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
--info (emerge.--info,8.10 KB, text/plain)
2006-10-11 06:57 UTC, Ilya Dmitrichenko
Details
zcat./proc/config.gz (config,41.41 KB, text/plain)
2006-10-11 06:58 UTC, Ilya Dmitrichenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Dmitrichenko 2006-10-10 17:00:49 UTC
"Permission Denied" to get the kernel configuration with FEATURES="userpriv usrerfetch" .

easy fix : add an advice to "remove userpriv from FEATURES" in the ebuild's output .
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-11 00:39:08 UTC
Please, post the errors and emerge --info and reopen then.
Comment 2 Ilya Dmitrichenko 2006-10-11 06:57:32 UTC
Created attachment 99359 [details]
--info
Comment 3 Ilya Dmitrichenko 2006-10-11 06:58:31 UTC
Created attachment 99360 [details]
zcat./proc/config.gz
Comment 4 Ilya Dmitrichenko 2006-10-11 06:59:33 UTC
Comment on attachment 99360 [details]
zcat./proc/config.gz

/usr/src/linux/.config is the same. i didn't change it reciently
Comment 5 Ilya Dmitrichenko 2006-10-11 07:02:38 UTC
Comment on attachment 99360 [details]
zcat./proc/config.gz

/usr/src/linux/.config is of the same kernel, it exists and it its mode is 0644
Comment 6 Ilya Dmitrichenko 2006-10-11 07:08:28 UTC
i reopen it now with error msgz, --info and kernel.config .
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-10-11 09:35:57 UTC
You _still_ didn't post any error whatsoever.
Comment 8 Ilya Dmitrichenko 2006-10-11 10:37:24 UTC
(In reply to comment #7)
> You _still_ didn't post any error whatsoever.
> 
sorry , i'm new to bugzilla, so essed up a bit and lost ebuild output on the way ;(

here it is:
 ebuild /var/port/port_home/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r1.ebuild unpack
 * realtime-lsm-0.8.5.tar.gz MD5 ;-) ...                                  [ ok ] * realtime-lsm-0.8.5.tar.gz RMD160 ;-) ...                               [ ok ] * realtime-lsm-0.8.5.tar.gz SHA1 ;-) ...                                 [ ok ] * realtime-lsm-0.8.5.tar.gz SHA256 ;-) ...                               [ ok ] * realtime-lsm-0.8.5.tar.gz size ;-) ...                                 [ ok ] * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking realtime-lsm-0.8.5.tar.gz ;-) ...                             [ ok ] * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.17-gentoo-r8_g100
>>> Checking realtime-lsm-0.8.5.tar.gz's mtime...
>>> Not marked as unpacked; recreating WORKDIR...
>>> Unpacking source...
 *
 * realtime-lsm requires you to compile in the 'different security models option.
 * In your .config: CONFIG_SECURITY=y
 *                  CONFIG_SECURITY_CAPABILITIES=m
 * Through 'make menuconfig': Security options-> [*] Enable different security models
 *                            Security options-> <M> Default Linux Capabilties
 *

!!! ERROR: sys-apps/realtime-lsm-0.8.5-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  realtime-lsm-0.8.5-r1.ebuild, line 34:   Called die

!!! Security support not detected.
!!! If you need support, post the topmost build error, and the call stack if relevant.

# i investigated it in a strange way - put into overlay , and ran ebuild unpack on it  - so got :

ebuild /usr/local//port//sys-apps/realtime-lsm/realtime-lsm-0.8.5-r1.ebuild unpack
Appending /usr/local/port to PORTDIR_OVERLAY...
 * realtime-lsm-0.8.5.tar.gz MD5 ;-) ...                                  [ ok ] * realtime-lsm-0.8.5.tar.gz RMD160 ;-) ...                               [ ok ] * realtime-lsm-0.8.5.tar.gz SHA1 ;-) ...                                 [ ok ] * realtime-lsm-0.8.5.tar.gz SHA256 ;-) ...                               [ ok ] * realtime-lsm-0.8.5.tar.gz size ;-) ...                                 [ ok ] * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking realtime-lsm-0.8.5.tar.gz ;-) ...                             [ ok ] * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.17-gentoo-r8_g100
/usr/lib/portage/bin/ebuild.sh: line 1454: /usr/local/port/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r1.ebuild: Permission denied

!!! ERROR: sys-apps/realtime-lsm-0.8.5-r1 failed.
Call stack:
  ebuild.sh, line 1454:   Called die

!!! error sourcing ebuild
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/port'
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 07:15:38 UTC
!!! This ebuild is from an overlay: '/usr/local/port'

Your overlay is not our business.
Comment 10 Ilya Dmitrichenko 2006-11-12 08:24:19 UTC
(In reply to comment #9)
> !!! This ebuild is from an overlay: '/usr/local/port'
> 
> Your overlay is not our business.
> 
well, i understand , but that was just copied there, when i was modifing the ebuild , and then i caceled all the modifications after all - so in fact,
just sticking that into  an overlay gave me more details in the output , so i could solve the problem .

basicaly i was pointing that the actual solution is to remove userpriv from FEATURES . that's all i wanted to say here.

just someone else was trying to get all details for some 'official' reason.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 10:01:16 UTC

*** This bug has been marked as a duplicate of 137773 ***