<ukky>
Well, my system builds packages with fakeroot user, but installs as root. Never build as root, even kernel.
<brian|lfs>
ah ok good point I probably don't have fakeroot
<brian|lfs>
other then I forgot to get read of the /var stuff at the end don't see any issues
<brian|lfs>
which had nothing to do with the non root failing
<ukky>
I think you can try to do just pkgmk as regular user, even the package cannot be used to install later, you can still detect build errors.
<brian|lfs>
ya got you
<ukky>
building as root can screw up system pretty bad
<brian|lfs>
ya agree
<brian|lfs>
it was probably something built as root earlier then screw it up
<ukky>
could be that. You could search entire system for 'libdevmapper.so.1.02' and check permissions of every instance found, especially in the build directory
<brian|lfs>
-r-xr-xr-x 1 root root 370288 Oct 8 01:26 /usr/lib/libdevmapper.so.1.02
<brian|lfs>
I guess I would have to do a pkgmk -eo and check the permission of that file
<ukky>
No, you have to reproduce the same error and then check system state
<ukky>
You need to reproduce this: strip: unable to copy file 'usr/lib/libdevmapper.so.1.02'; reason: Permission denied
<brian|lfs>
ah ok would the build folder be saved if it fails
<brian|lfs>
or would I have to build manually with non root
<ukky>
add '-kw' to pkgmk
<brian|lfs>
ok I'll check latter need a break been building packages all day
<brian|lfs>
so if the permissions are wrong or for root:root for those 2 files what would be the best approach to resolve?
<brian|lfs>
I did a google search to see if anyone encounter this and it don't look like they have
<ukky>
This could be specific to your build workflow, so web search might not be helpful
<brian|lfs>
agree there and it might not be worth investing because I will have LVM install when core packages are installed so it would be using root and be a non issue.
<brian|lfs>
as crazy as it might sound making my own distro of sorts from scratch
<brian|lfs>
its been painful but not a lot of issues
<brian|lfs>
just time consuming writing packages and modifying packages
SiFuh has quit [Read error: Connection reset by peer]
SiFuh has joined #crux
<ukky>
Only 'make install' should be done as root. Building packages should be done as non-root.