ferion11 / danrepo

Gentoo Linux - Personal Portage Overlay
MIT License
6 stars 0 forks source link

issue building sys-auth/polkit-0.115-r7 #1

Closed CaptainBloodz closed 4 years ago

CaptainBloodz commented 4 years ago

'''>>> Emerging (1 of 1) sys-auth/polkit-0.115-r7::local-repo

Failed to emerge sys-auth/polkit-0.115-r7, Log file:``` What am I missing there? Thks 4 ur attention.

ferion11 commented 4 years ago

The error "Permission denied" is one local one. I have rebuild =sys-auth/polkit-0.115-r7 just to be sure, and it have worked well. So, let's find what's wrong. I will need more information:

ferion11 commented 4 years ago

Related with: https://forums-web2.gentoo.org/viewtopic-p-8402142.html?sid=15d2b07a900b786c3fee6117bc6eeff4

CaptainBloodz commented 4 years ago

'''emerge --info Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r7, 5.4.22-gentoo-rt x86_64)

System uname: Linux-5.4.22-gentoo-rt-x86_64-Intel-R-_Core-TM-_i3-6100CPU@_3.70GHz-with-gentoo-2.6 KiB Mem: 3932984 total, 758656 free KiB Swap: 8048528 total, 8017800 free Timestamp of repository audio-overlay: Fri, 06 Mar 2020 03:39:42 +0000 Head commit of repository audio-overlay: c168938461ec79df6683d93b8bc77786766d8239

Timestamp of repository calculate: Fri, 06 Mar 2020 16:10:01 +0000 Head commit of repository calculate: 7b3f56ab10014ceca84b441c6bef4cc973a7fe8e

Timestamp of repository go-overlay: Fri, 06 Mar 2020 03:39:31 +0000 Head commit of repository go-overlay: 730f9c848a86c269313ef95fd6290a9b415f41d1

Timestamp of repository jellybean: Wed, 12 Feb 2020 17:44:04 +0000 Head commit of repository jellybean: d48c274a63885bc2f0d34af0a6e9efee6984e8b4

Timestamp of repository linxon: Fri, 06 Mar 2020 03:39:44 +0000 Head commit of repository linxon: 0aa4ed51a67435f91c47e3c46aabdd89475ce517

Timestamp of repository mv: Sat, 07 Mar 2020 14:35:42 +0000 Head commit of repository mv: 5b394bde3ca7b37b0387e383ab929b276cbd53c4

Timestamp of repository pentoo: Fri, 06 Mar 2020 20:05:41 +0000 Head commit of repository pentoo: 078d06d288045a0a2f27800191b3b6f9dcb7b731

Timestamp of repository raiagent: Fri, 06 Mar 2020 03:39:23 +0000 Head commit of repository raiagent: 7e6dbb58a2075f19ad2d5b7ebcf7b5e56cbe1742

Timestamp of repository rukruk: Wed, 12 Feb 2020 17:43:38 +0000 Head commit of repository rukruk: c87a4a282f3807fdd963b816404219685fe7d158

Timestamp of repository seden: Thu, 05 Mar 2020 08:14:06 +0000 Head commit of repository seden: f9ac8d7a1d94d68df02cd17c23ef3cb342178d3b

Timestamp of repository waebbl: Fri, 06 Mar 2020 03:39:45 +0000 Head commit of repository waebbl: deaa6ae290072d82ecb597c42593060e3ae6a675

Timestamp of repository gentoo: Sat, 07 Mar 2020 14:45:01 +0000 Head commit of repository gentoo: ef173e6c95a284f5dc9e961f15dd2f820b22bc7d Timestamp of repository science: Fri, 06 Mar 2020 03:39:59 +0000 Head commit of repository science: 63553e33e7483174d4e15fd56d2ded77b68e3b71

Head commit of repository smoverlay: 6f6f97fa6aea842a68f88bc40d8b98ca1f185475

sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo dev-util/cmake: 3.14.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/gcc: 9.2.0-r4::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r7::gentoo Repositories:

audio-overlay location: /var/db/repos/audio-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/audio-overlay.git masters: gentoo priority: -10001

calculate location: /var/db/repos/calculate sync-type: git sync-uri: https://github.com/gentoo-mirror/calculate.git masters: gentoo priority: -10001

das-labor location: /var/lib/layman/das-labor masters: gentoo priority: -10001

go-overlay location: /var/db/repos/go-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/go-overlay.git masters: gentoo priority: -10001

jellybean location: /var/db/repos/jellybean sync-type: git sync-uri: https://github.com/gentoo-mirror/jellybean.git masters: gentoo priority: -10001

linxon location: /var/db/repos/linxon sync-type: git sync-uri: https://github.com/gentoo-mirror/linxon.git masters: gentoo priority: -10001

mv location: /var/db/repos/mv sync-type: git sync-uri: https://github.com/gentoo-mirror/mv.git masters: gentoo priority: -10001

pentoo location: /var/db/repos/pentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/pentoo.git masters: gentoo priority: -10001

raiagent location: /var/db/repos/raiagent sync-type: git sync-uri: https://github.com/gentoo-mirror/raiagent.git masters: gentoo priority: -10001

rukruk location: /var/db/repos/rukruk sync-type: git sync-uri: https://github.com/gentoo-mirror/rukruk.git masters: gentoo priority: -10001

seden location: /var/db/repos/seden sync-type: git sync-uri: https://github.com/gentoo-mirror/seden.git masters: gentoo priority: -10001

waebbl location: /var/db/repos/waebbl sync-type: git sync-uri: https://github.com/gentoo-mirror/waebbl.git masters: gentoo raiagent priority: -10001

gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: no sync-rsync-verify-jobs: 1

local-repo location: /var/db/repos/local-repo masters: gentoo

science location: /var/db/repos/science sync-type: git sync-uri: https://github.com/gentoo-mirror/science.git masters: gentoo

smoverlay location: /var/db/repos/smoverlay sync-type: git sync-uri: https://git.s-morozov.net/gentoo-overlays/smoverlay.git masters: gentoo

gnu-elpa location: /var/lib/layman/gnu-elpa masters: gentoo priority: 50

lisp location: /var/lib/layman/lisp masters: gentoo priority: 50

melpa location: /var/lib/layman/melpa masters: gnu-elpa gentoo priority: 50

ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=skylake -mtune=skylake -O2 -pipe -ftree-loop-vectorize -ftree-slp-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=skylake -mtune=skylake -O2 -pipe -ftree-loop-vectorize -ftree-slp-vectorize " DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--alert y --alphabetical --ask-enter-invalid --autounmask y --autounmask-only n --autounmask-unrestricted-atoms y --autounmask-write y --misspell-suggestions n --noconfmem --nospinner --tree --with-bdeps y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-march=skylake -mtune=skylake -O2 -pipe -ftree-loop-vectorize -ftree-slp-vectorize" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-march=skylake -mtune=skylake -O2 -pipe -ftree-loop-vectorize -ftree-slp-vectorize" GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ https://mirrors.evowise.com/gentoo/ http://mirror.dkm.cz/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://gentoo.mirror.web4u.cz/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="fr_FR.utf8" LDFLAGS=" -Wl,-O1 -Wl,-fuse-ld=bfd -Wl,--enable-new-dtags -Wl,-z,now -Wl,-z,now -fno-plt -march=skylake -mtune=skylake -O2 -pipe -ftree-loop-vectorize -ftree-slp-vectorize " LINGUAS="fr" MAKEOPTS="-j1 -l1" PKGDIR="/var/cache/binpkgs" PORTAGE_COMPRESS="lzma" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="amd64 asm minimal split-usr" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" PHP_TARGETS="php7-4" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

amd64 /var/db/repos/local-repo/sys-auth/polkit # ls -la /var/tmp/portage/ total 0 drwxrwxrwt 4 portage portage 80 mars 7 20:25 . drwxrwxrwt 3 root root 60 mars 6 22:57 .. drwxrwxr-x 3 portage portage 60 mars 7 20:25 sys-auth drwxrwxr-x 2 portage portage 40 mars 7 18:40 .unmerge amd64 /var/db/repos/local-repo/sys-auth/polkit #

ferion11 commented 4 years ago

Just some more infos:

CaptainBloodz commented 4 years ago

Did little obvious cleanup. issue still remains: '''ls -la /var/cache/ ; ls -la /var/tmp/portage/sys-auth/polkit-0.115-r7/ ; ls -la /var/tmp/portage/sys-auth/polkit-0.115-r7/files/ total 76 drwxr-xr-x 19 root root 4096 févr. 17 22:47 . drwxr-xr-x 6 root root 4096 mars 7 20:48 .. drwxr-xr-x 13 root root 4096 nov. 16 21:25 audio-overlay drwxr-xr-x 38 root root 4096 févr. 18 2019 bar drwxr-xr-x 55 root root 4096 févr. 12 16:48 calculate drwxr-xr-x 37 root root 4096 mai 2 2019 dantrell-gnome-3-20 drwxr-xr-x 175 root root 4096 mars 7 18:23 gentoo drwxr-xr-x 36 root root 4096 nov. 15 00:14 go-overlay drwxr-xr-x 12 root root 4096 déc. 26 11:23 jellybean -rw-r--r-- 1 root root 0 févr. 10 20:48 .keep_app-eselect_eselect-repository-0 drwxr-xr-x 40 root root 4096 févr. 21 19:14 linxon drwxr-xr-x 26 root root 4096 mars 7 18:11 local-repo drwxr-xr-x 53 root root 4096 janv. 19 12:50 mv drwxr-xr-x 64 root root 4096 févr. 27 12:13 pentoo drwxr-xr-x 26 root root 4096 févr. 26 11:19 raiagent drwxr-xr-x 12 root root 4096 mars 2 2019 rukruk drwxr-xr-x 48 root root 4096 févr. 17 22:47 science drwxr-xr-x 23 root root 4096 févr. 13 12:57 seden drwxr-xr-x 12 root root 4096 juil. 30 2019 smoverlay drwxr-xr-x 26 root root 4096 déc. 10 09:32 waebbl total 184 drwxr-xr-x 17 root root 4096 févr. 14 16:00 . drwxr-xr-x 13 root root 4096 nov. 27 18:00 .. drwxr-x--- 2 apache apache 4096 déc. 22 16:53 apache2 drwxr-xr-x 19 root root 4096 mars 2 02:48 binpkgs drwxrwxr-x 6 root portage 118784 mars 7 20:34 distfiles drwxrwxr-x 2 dnscrypt-proxy dnscrypt-proxy 4096 oct. 22 14:23 dnscrypt-proxy drwxr-xr-x 4 root portage 4096 mars 7 19:51 edb drwxrwxr-x 2 portage portage 4096 févr. 9 20:17 eix drwxr-xr-x 2 root root 4096 févr. 6 09:37 fontconfig drwxrwxrwt 2 root root 4096 janv. 25 2019 fonts drwxr-xr-t 2 root gdm 4096 sept. 20 03:36 gdm -rw-r--r-- 1 root root 0 juin 8 2018 .keep drwx------ 2 root root 4096 mars 7 19:51 ldconfig drwx--x--x 3 root root 4096 oct. 28 2018 lightdm drwxr-xr-x 2 man man 4096 juin 8 2018 man drwxr-xr-x 2 polipo root 4096 oct. 22 08:37 polipo drw------- 2 root root 4096 déc. 4 12:47 powertop drwx------ 2 root root 4096 mai 31 2019 revdep-rebuild total 0 drwxr-xr-x 6 portage portage 260 mars 7 20:48 . drwxrwxrwx 3 portage portage 60 mars 7 20:48 .. -rw-r--r-- 1 portage portage 0 mars 7 20:48 .die_hooks drwxr-xr-x 2 root portage 80 mars 7 20:48 distdir lrwxrwxrwx 1 root root 46 mars 7 20:48 files -> /var/db/repos/local-repo/sys-auth/polkit/files drwxr-xr-x 2 portage portage 40 mars 7 20:48 homedir prwxrwx--- 1 root portage 0 mars 7 20:48 .ipc_in prwxrwx--- 1 root portage 0 mars 7 20:48 .ipc_out -rw-r--r-- 1 root root 0 mars 7 20:48 .logid -rw-r--r-- 1 root root 0 mars 7 20:48 .setuped drwxr-xr-x 3 portage portage 120 mars 7 20:48 temp -rw-r--r-- 1 portage portage 0 mars 7 20:48 .unpacked drwx------ 3 portage portage 80 mars 7 20:48 work total 32 drwx------ 2 root root 4096 mars 7 04:36 . drwxr-xr-x 3 root root 4096 mars 7 18:14 .. -rw-r--r-- 1 root root 12204 mars 7 04:36 CVE-2018-19788.patch -rw-r--r-- 1 root root 1069 mars 7 04:36 polkit-0.115-elogind.patch -rw-r--r-- 1 root root 5562 mars 7 04:36 polkit-0.115-spidermonkey-60.patch```

CaptainBloodz commented 4 years ago

As a side note, I had to unmask and accept_keywords.

ferion11 commented 4 years ago

This bug is about the portage that can't read the patch because the filesystem is forbidding.

On root console, do:

# chmod 755 /var/db/repos/local-repo
# chmod 755 /var/db/repos/local-repo/sys-auth
# chmod 755 /var/db/repos/local-repo/sys-auth/polkit
# chmod 755 /var/db/repos/local-repo/sys-auth/polkit/files

And try to rebuild again.

CaptainBloodz commented 4 years ago

Done. Generally I build local-repos from gentoo then patch it file by file in console, with success. This time I loaded zip file in file-roller, extracted meanfull part, both as user, then replicated in /var/db/repos/local-repo. First time doing it such a way. Likely to have introduced many if not all the issues.

Sorry for all that noise, as I should have managed this more wisely.

Appreciated your so prompt replies.

Thks for ur attention, interest & support.

ferion11 commented 4 years ago

Don't worry, I has this error a lot of times when i used local-repo too (now, i just put it on github).