Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

problem merging baselayout-1.8.6.13-r1

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
mellon101
n00b
n00b
Posts: 14
Joined: Mon Dec 15, 2003 12:22 am

problem merging baselayout-1.8.6.13-r1

  • Quote

Post by mellon101 » Fri Feb 27, 2004 12:06 am

quits with this error:

>>> Merging sys-apps/baselayout-1.8.6.13-r1 to /
--- /bin/
>>> /bin/last
>>> /bin/mesg
>>> /bin/wall
>>> /bin/utmpdump
>>> /bin/lastb -> last
>>> /bin/rc-status
--- /dev/
--- /dev/shm/
!!! copy /var/tmp/portage/baselayout-1.8.6.13-r1/image/dev/shm/.keep -> /dev/shm/.keep failed.
!!! [Errno 13] Permission denied: '/dev/shm/.keep#new'


I am using 2.6.3-r2
Top
mmessano
n00b
n00b
Posts: 8
Joined: Wed Apr 10, 2002 10:43 pm

support in kernel

  • Quote

Post by mmessano » Fri Feb 27, 2004 12:55 am

Do you have support for shm in your kernel? I am getting the same error as you, but on /dev/pts. I just checked, and I have no support for the filesystem in my kernel.

>>> /bin/mesg
>>> /bin/rc-status
>>> /bin/utmpdump
>>> /bin/lastb -> last
>>> /bin/wall
>>> /bin/last
--- /dev/
--- /dev/pts/
!!! copy /data/tmp/portage-pkg/baselayout-1.8.6.13-r1/bin/dev/pts/.keep -> /dev/pts/.keep failed.
!!! [Errno 13] Permission denied: '/dev/pts/.keep#new'

I also suspect devfsd and permissions.

I try and touch anything in /dev/pts(ie touch /dev/pts/.keep) and I get permission denied errors.
Top
mellon101
n00b
n00b
Posts: 14
Joined: Mon Dec 15, 2003 12:22 am

  • Quote

Post by mellon101 » Fri Feb 27, 2004 1:14 am

I recompiled my kernel with shm support ....and the merge complete OK.
i already had /dev/pts

thanks mmessano
Top
Duncan117
n00b
n00b
Posts: 31
Joined: Fri Feb 27, 2004 3:15 am

  • Quote

Post by Duncan117 » Fri Feb 27, 2004 3:20 am

mmessano : I have exactly the same problem you describeb here. :roll:

I was able to compile the baselayout-1.8.6.13 as follow :

ebuild /usr/portage/sys-app/baselayout/baselayout-1.8.6.13.ebuild merge

I hope it can help.

Regards,

Dunki
Top
mmessano
n00b
n00b
Posts: 8
Joined: Wed Apr 10, 2002 10:43 pm

  • Quote

Post by mmessano » Fri Feb 27, 2004 3:59 am

Worked perfectly, thank you!
Top
graadz
n00b
n00b
User avatar
Posts: 55
Joined: Mon Aug 12, 2002 5:40 pm
Location: Enschede, Netherlands

Sure (Was: Worked perfectly, thank you!)

  • Quote

Post by graadz » Fri Feb 27, 2004 7:55 am

Of course that worked since you merged baselayout-1.8.6.13 and not 1.8.6.13-r1 . -r1 gives the same problem running ebuild ... merge.

According to error.h this is a permission problem since error #13 stands for 'Permission denied'.

A workaround for the problem is to do:

Code: Select all


# nano -w /usr/portage/sys-apps/baselayout/baselayout-1.8.6.13-r1.ebuild

and goto line number 305. And change:

Code: Select all


keepdir_mount /dev /dev/pts /dev/shm
into

Code: Select all


keepdir_mount /dev
Line #305 is if you are using devfsd or rootfs otherwise you need to change line #308.

Save the changes to the ebuild file and do either a:

Code: Select all


emerge -u baselayout

or a

Code: Select all


ebuild /usr/portage/sys-apps/baselayout/baselayout-1.8.6.13-r1.ebuild merge

baselayout-1.8.6.13-r1 should merge fine now


Needless to say that after merging the new baselayout you need to be very carefull with updating the baselayout files using the etc-update command. Some crucial files are to be changed to the default. Make sure you make backups of these files and findout per file what has been changed before updating the files and rebooting your system.

Code: Select all

# etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/fstab
/etc/._cfg0000_fstab
2) /etc/group
/etc/._cfg0000_group
3) /etc/issue
/etc/._cfg0000_issue
4) /etc/profile
/etc/._cfg0000_profile
5) /etc/rc.conf
/etc/._cfg0000_rc.conf
6) /etc/conf.d/net
/etc/conf.d/._cfg0000_net
7) /etc/conf.d/rc
/etc/conf.d/._cfg0000_rc
8) /etc/init.d/consolefont
/etc/init.d/._cfg0000_consolefont
9) /etc/init.d/halt.sh
/etc/init.d/._cfg0000_halt.sh
10) /etc/init.d/numlock
/etc/init.d/._cfg0000_numlock
11) /etc/modules.autoload.d/kernel-2.4
/etc/modules.autoload.d/._cfg0000_kernel-2.4
12) /etc/modules.autoload.d/kernel-2.6
/etc/modules.autoload.d/._cfg0000_kernel-2.6

GraadZ
mmessano wrote:Worked perfectly, thank you!
Top
mmessano
n00b
n00b
Posts: 8
Joined: Wed Apr 10, 2002 10:43 pm

  • Quote

Post by mmessano » Fri Feb 27, 2004 3:38 pm

Actually, it worked flawlessly for me. I should have added that I used the 1.8.6.13-r1 ebuild. Compiling in support for /dev/pts directly into the kernel did not help, unlike /dev/shm.

Also, and I didn't notice this last night, there are NO config files to be updated. I am assuming that running ebuild directly simply overwrites files. Correct?


gaskard root # esearch baselayout
[ Results for search key : baselayout ]
[ Applications found : 2 ]

* sys-apps/baselayout
Latest version available: 1.8.6.13-r1
Latest version installed: 1.8.6.13-r1
Size of downloaded files: 191 kB
Homepage: http://www.gentoo.org/
Description: Base layout for Gentoo Linux filesystem (incl. initscripts and sysvinit)
Top
Fraggle
Apprentice
Apprentice
Posts: 187
Joined: Thu Mar 13, 2003 6:06 pm
Location: Washington, DC

  • Quote

Post by Fraggle » Fri Feb 27, 2004 3:56 pm

So what is the correct way to fix this. I am also having this problem...
Top
mmessano
n00b
n00b
Posts: 8
Joined: Wed Apr 10, 2002 10:43 pm

  • Quote

Post by mmessano » Fri Feb 27, 2004 4:01 pm

Both work. I have tried each, and have had no errors either editing the ebuild directly or running the ebuild. I am, however, concerned that there were no updated config files dropped
Top
Fraggle
Apprentice
Apprentice
Posts: 187
Joined: Thu Mar 13, 2003 6:06 pm
Location: Washington, DC

  • Quote

Post by Fraggle » Fri Feb 27, 2004 4:03 pm

mmessano wrote:Both work. I have tried each, and have had no errors either editing the ebuild directly or running the ebuild. I am, however, concerned that there were no updated config files dropped
I think I will just wait till the ebuild is fixed. This is a production server.
Top
hochl
n00b
n00b
Posts: 39
Joined: Fri Dec 05, 2003 2:50 am

  • Quote

Post by hochl » Fri Feb 27, 2004 9:36 pm

Wanted to say:

Had the same problem, made it work by removing /dev/pts and /dev/shm from the ebuild like mentioned in an earlier post. I guess the ebuild is buggy and should be fixed.
Top
theturtle123
l33t
l33t
User avatar
Posts: 621
Joined: Fri Sep 19, 2003 12:46 am
Location: Lille, France
Contact:
Contact theturtle123
Website

thanks

  • Quote

Post by theturtle123 » Sat Feb 28, 2004 12:35 am

thanks for the correction of the ebuild
i had the same problem and now it's solved by editing the .ebuild
hope it'll be patched in the future
thanks again guys
Top
NiXZe
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Thu May 22, 2003 5:53 pm
Location: Uppsala Sweden
Contact:
Contact NiXZe
Website

  • Quote

Post by NiXZe » Sat Feb 28, 2004 8:22 am

Have anyone filed a bug report?

(/me changed the ebuild)
What? Where? Oh! this one, it's Gentoo.
If you don't have anything constructive to say, you might want to consider staying quiet instead.
To many destructive comments, which in no way will help making the Gentoo community better.
Top
theturtle123
l33t
l33t
User avatar
Posts: 621
Joined: Fri Sep 19, 2003 12:46 am
Location: Lille, France
Contact:
Contact theturtle123
Website

  • Quote

Post by theturtle123 » Sat Feb 28, 2004 10:11 am

i haven't
Top
Duncan117
n00b
n00b
Posts: 31
Joined: Fri Feb 27, 2004 3:15 am

  • Quote

Post by Duncan117 » Sat Feb 28, 2004 1:38 pm

Thx Graadz for the fix 8)
Top
koubiak
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Wed Dec 17, 2003 7:42 am
Location: paris

  • Quote

Post by koubiak » Tue Mar 09, 2004 12:35 am

Ok doesn't work with me ...

I have try to modify line 308 but nothing change so

if [ "${altmerge}" -eq "1" ]
then
# rootfs and devfs
#dosym ../../sbin/MAKEDEV /lib/dev-state/MAKEDEV
# This is not needed anymore...
#keepdir /lib/dev-state/pts /lib/dev-state/shm
-> keepdir_mount /dev
#/dev/shm # /dev/pts
else
# Normal
-> keepdir_mount /dev
#/dev/pts /dev/shm
#dosym ../sbin/MAKEDEV /dev/MAKEDEV
fi

And to try I have change the second arrow but still

>>> /lib/udev-state/.keep
--- /mnt/
!!! copy /var/tmp/portage/baselayout-1.8.6.13-r1/image/mnt/.keep -> /mnt/.keep failed.
!!! [Errno 13] Permission denied: '/mnt/.keep#new'


Any Idea ?

Please
Top
koubiak
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Wed Dec 17, 2003 7:42 am
Location: paris

  • Quote

Post by koubiak » Tue Mar 09, 2004 5:14 am

Panic !!!!

Ok so I haven't find anything for my problem but now my laptop can't boot on linux it crashs on a lot of things and I have got a project to show to my advisors tomorow ... So i need to fix it quickly

So i call all the guru in the sector

because I can't start launch net.eth0 ...

Anyway first I need to do an env-update but it doesn't want cause of the crash of the emerge of baselayout so How I do to make env-update work ?

Koubiak in fear mode 11
Top
koubiak
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Wed Dec 17, 2003 7:42 am
Location: paris

  • Quote

Post by koubiak » Tue Mar 09, 2004 5:37 am

SOLVED


I have retry to emerge it and it works I thinks i have done
/root/.keep#new and before i try to do that in /mnt/

I don't know why ... anyway

Koubiak a little less stressfull
Top
thecooptoo
Veteran
Veteran
Posts: 1353
Joined: Sun Apr 27, 2003 1:04 pm
Location: UK

  • Quote

Post by thecooptoo » Wed Mar 10, 2004 10:58 pm

me too - not sure how to fix it.


>>> /bin/rc-status
--- /dev/
--- /dev/shm/
!!! copy /var/tmp/portage/baselayout-1.8.6.13-r1/image/dev/shm/.keep -> /dev/shm/.keep failed.
!!! [Errno 13] Permission denied: '/dev/shm/.keep#new'
bash-2.05b# ebuild /usr/portage/sys-app/baselayout/baselayout-1.8.6.13.ebuild merge
!!! doebuild: /usr/portage/sys-app/baselayout/baselayout-1.8.6.13.ebuild not found for merge

bash-2.05b# pwd
/usr/portage/sys-apps/baselayout
bash-2.05b# ls -l
total 229
-rw-r--r-- 1 root root 23288 Mar


3 20:08 ChangeLog
-rw-r--r-- 1 root root 1633 Feb 28 01:15 Manifest
-rw-r--r-- 1 root root 15442 Feb 23 00:43 baselayout-1.8.5.9.ebuild
-rw-r--r-- 1 root root 19915 Feb 23 00:43 baselayout-1.8.6.10-r1.ebuild
-rw-r--r-- 1 root root 20537 Feb 23 00:43 baselayout-1.8.6.12-r2.ebuild
-rw-r--r-- 1 root root 20537 Feb 23 00:43 baselayout-1.8.6.12-r3.ebuild
-rw-r--r-- 1 root root 20902 Feb 1 23:12 baselayout-1.8.6.12-r4.ebuild
-rw-r--r-- 1 root root 20586 Feb 1 22:13 baselayout-1.8.6.12-r5.ebuild
-rw-r--r-- 1 root root 16808 Mar 3 20:08 baselayout-1.8.6.13-r1.ebuild
-rw-r--r-- 1 root root 20615 Feb 23 00:43 baselayout-1.8.6.13.ebuild
-rw-r--r-- 1 root root 19205 Feb 23 00:43 baselayout-1.8.6.8-r1.ebuild
drwxr-xr-x 2 root root 648 Mar 8 05:45 files
-rw-r--r-- 1 root root 164 Dec 9 17:37 metadata.xml
bash-2.05b#
Top
graadz
n00b
n00b
User avatar
Posts: 55
Joined: Mon Aug 12, 2002 5:40 pm
Location: Enschede, Netherlands

  • Quote

Post by graadz » Thu Mar 11, 2004 1:39 pm

Hi,

It is sys-apps and not sys-app.

GraadZ

thecooptoo wrote:me too - not sure how to fix it.


>>> /bin/rc-status
--- /dev/
--- /dev/shm/
!!! copy /var/tmp/portage/baselayout-1.8.6.13-r1/image/dev/shm/.keep -> /dev/shm/.keep failed.
!!! [Errno 13] Permission denied: '/dev/shm/.keep#new'
bash-2.05b# ebuild /usr/portage/sys-app/baselayout/baselayout-1.8.6.13.ebuild merge
!!! doebuild: /usr/portage/sys-app/baselayout/baselayout-1.8.6.13.ebuild not found for merge

bash-2.05b# pwd
/usr/portage/sys-apps/baselayout
bash-2.05b# ls -l
total 229
-rw-r--r-- 1 root root 23288 Mar


3 20:08 ChangeLog
-rw-r--r-- 1 root root 1633 Feb 28 01:15 Manifest
-rw-r--r-- 1 root root 15442 Feb 23 00:43 baselayout-1.8.5.9.ebuild
-rw-r--r-- 1 root root 19915 Feb 23 00:43 baselayout-1.8.6.10-r1.ebuild
-rw-r--r-- 1 root root 20537 Feb 23 00:43 baselayout-1.8.6.12-r2.ebuild
-rw-r--r-- 1 root root 20537 Feb 23 00:43 baselayout-1.8.6.12-r3.ebuild
-rw-r--r-- 1 root root 20902 Feb 1 23:12 baselayout-1.8.6.12-r4.ebuild
-rw-r--r-- 1 root root 20586 Feb 1 22:13 baselayout-1.8.6.12-r5.ebuild
-rw-r--r-- 1 root root 16808 Mar 3 20:08 baselayout-1.8.6.13-r1.ebuild
-rw-r--r-- 1 root root 20615 Feb 23 00:43 baselayout-1.8.6.13.ebuild
-rw-r--r-- 1 root root 19205 Feb 23 00:43 baselayout-1.8.6.8-r1.ebuild
drwxr-xr-x 2 root root 648 Mar 8 05:45 files
-rw-r--r-- 1 root root 164 Dec 9 17:37 metadata.xml
bash-2.05b#
Top
thecooptoo
Veteran
Veteran
Posts: 1353
Joined: Sun Apr 27, 2003 1:04 pm
Location: UK

  • Quote

Post by thecooptoo » Thu Mar 11, 2004 7:12 pm

even correcting the typo it still fails

bash-2.05b# ebuild /usr/portage/sys-apps/baselayout/baselayout-1.8.6.13-r1.ebuild merge
>>> md5 src_uri ;-) sysvinit-2.84.tar.gz
>>> md5 src_uri ;-) rc-scripts-1.4.3.13p1.tar.bz2
>>> Checking sysvinit-2.84.tar.gz's mtime...
>>> Checking rc-scripts-1.4.3.13p1.tar.bz2's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> It appears that baselayout is already compiled; skipping.
>>> (clean to force compilation)
/var/tmp/portage/baselayout-1.8.6.13-r1/image/


>>> Merging sys-apps/baselayout-1.8.6.13-r1 to /
--- /bin/
>>> /bin/last
>>> /bin/mesg
>>> /bin/wall
>>> /bin/utmpdump
>>> /bin/lastb -> last
>>> /bin/rc-status
--- /dev/
--- /dev/shm/
!!! copy /var/tmp/portage/baselayout-1.8.6.13-r1/image/dev/shm/.keep -> /dev/shm/.keep failed.
!!! [Errno 13] Permission denied: '/dev/shm/.keep#new'
bash-2.05b#
Top
NiXZe
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Thu May 22, 2003 5:53 pm
Location: Uppsala Sweden
Contact:
Contact NiXZe
Website

  • Quote

Post by NiXZe » Sat Mar 13, 2004 9:02 am

editing the ebuild was the solotion for me and probebly the easiest way.
What? Where? Oh! this one, it's Gentoo.
If you don't have anything constructive to say, you might want to consider staying quiet instead.
To many destructive comments, which in no way will help making the Gentoo community better.
Top
Post Reply

22 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic