1 |
On 11/04/2016 15:15, Yuri K. Shatroff wrote: |
2 |
> Hi gentoo users, |
3 |
> |
4 |
> Got a strange problem. While emerging kde-plasma/kscreenlocker (as part |
5 |
> of upgrading to the brand new plasma desktop), the build fails with the |
6 |
> following error: |
7 |
> |
8 |
> * Applying kscreenlocker-5.4.90-no-SUID-no-GUID.patch ... |
9 |
> /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment: line |
10 |
> 1217: |
11 |
> /var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch: |
12 |
> Permission denied |
13 |
> |
14 |
> I tried to run the ebuild manually and changed all permissions to a+w, |
15 |
> but to no avail. (The patch itself applied successfully from the command |
16 |
> line.) |
17 |
> I don't believe it's a permissions issue. There haven't been any such |
18 |
> issues before, and I just did a fresh eix-sync. Should I file a bug? |
19 |
|
20 |
I have the same settings as you and kscreenlocker merges for me. |
21 |
|
22 |
Basic checks: |
23 |
|
24 |
ls -al all the files in |
25 |
/var/portage/tree/kde-plasma/kscreenlocker/files/ and parent |
26 |
directories. Make sure they are OK, especially look for literal question |
27 |
marks. |
28 |
|
29 |
then run |
30 |
"ebuild /var/portage/tree/kde-plasma/kscreenlocker/kscreenlocker-5.6.2 |
31 |
prepare" |
32 |
|
33 |
and see what's at line 1217 of |
34 |
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment plus a |
35 |
few lines above and below. |
36 |
|
37 |
This won't be executable permissions - ebuilds are sourced, not executed. |
38 |
I suspect file corruption. |
39 |
|
40 |
|
41 |
> |
42 |
> |
43 |
> The complete output: |
44 |
> |
45 |
> * Package: kde-plasma/kscreenlocker-5.6.2 |
46 |
> * Repository: gentoo |
47 |
> * Maintainer: kde@g.o |
48 |
> * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pam userland_GNU |
49 |
> * FEATURES: preserve-libs sandbox userpriv usersandbox |
50 |
>>>> Unpacking source... |
51 |
>>>> Unpacking kscreenlocker-5.6.2.tar.xz to |
52 |
> /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work |
53 |
>>>> Source unpacked in /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work |
54 |
>>>> Preparing source in |
55 |
> /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work/kscreenlocker-5.6.2 |
56 |
> ... |
57 |
> * Applying kscreenlocker-5.4.90-no-SUID-no-GUID.patch ... |
58 |
> /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment: line |
59 |
> 1217: |
60 |
> /var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch: |
61 |
> Permission denied |
62 |
> [ !! ] |
63 |
> * ERROR: kde-plasma/kscreenlocker-5.6.2::gentoo failed (prepare phase): |
64 |
> * patch -p1 failed with |
65 |
> /var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch |
66 |
> |
67 |
> * |
68 |
> * Call stack: |
69 |
> * ebuild.sh, line 133: Called src_prepare |
70 |
> * environment, line 3892: Called kde5_src_prepare |
71 |
> * environment, line 2853: Called cmake-utils_src_prepare |
72 |
> * environment, line 1075: Called _cmake_execute_optionally |
73 |
> 'src_prepare' |
74 |
> * environment, line 517: Called |
75 |
> enable_cmake-utils_src_prepare |
76 |
> * environment, line 1535: Called default_src_prepare |
77 |
> * phase-functions.sh, line 870: Called __eapi6_src_prepare |
78 |
> * environment, line 349: Called eapply |
79 |
> '/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch' |
80 |
> |
81 |
> * environment, line 1282: Called _eapply_patch |
82 |
> '/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch' |
83 |
> |
84 |
> * environment, line 1220: Called __helpers_die 'patch -p1 |
85 |
> failed with |
86 |
> /var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch' |
87 |
> |
88 |
> * isolated-functions.sh, line 117: Called die |
89 |
> * The specific snippet of code: |
90 |
> * die "$@" |
91 |
> * |
92 |
> |
93 |
> |
94 |
> emerge --info '=kde-plasma/kscreenlocker-5.6.2::gentoo' |
95 |
> |
96 |
> Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0, |
97 |
> gcc-4.9.3, glibc-2.22-r4, 4.5.0-gentoo x86_64) |
98 |
> ================================================================= |
99 |
> System Settings |
100 |
> ================================================================= |
101 |
> System uname: |
102 |
> Linux-4.5.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2 |
103 |
> |
104 |
> KiB Mem: 8190684 total, 2426472 free |
105 |
> KiB Swap: 16777212 total, 15952084 free |
106 |
> Timestamp of repository gentoo: Mon, 11 Apr 2016 12:45:01 +0000 |
107 |
> sh bash 4.3_p42-r2 |
108 |
> ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 |
109 |
> app-shells/bash: 4.3_p42-r2::gentoo |
110 |
> dev-java/java-config: 2.2.0-r3::gentoo |
111 |
> dev-lang/perl: 5.22.1::gentoo |
112 |
> dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo, |
113 |
> 3.5.1-r2::gentoo |
114 |
> dev-util/cmake: 3.5.1::gentoo |
115 |
> dev-util/pkgconfig: 0.29.1::gentoo |
116 |
> sys-apps/baselayout: 2.2::gentoo |
117 |
> sys-apps/openrc: 0.20.5::gentoo |
118 |
> sys-apps/sandbox: 2.10-r2::gentoo |
119 |
> sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo |
120 |
> sys-devel/automake: 1.13.4::gentoo, 1.14.1-r1::gentoo, |
121 |
> 1.15-r2::gentoo |
122 |
> sys-devel/binutils: 2.25.1-r1::gentoo |
123 |
> sys-devel/gcc: 4.9.3::gentoo, 5.3.0::gentoo |
124 |
> sys-devel/gcc-config: 1.8-r1::gentoo |
125 |
> sys-devel/libtool: 2.4.6-r2::gentoo |
126 |
> sys-devel/make: 4.1-r1::gentoo |
127 |
> sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers) |
128 |
> sys-libs/glibc: 2.22-r4::gentoo |
129 |
> Repositories: |
130 |
> |
131 |
> gentoo |
132 |
> location: /var/portage/tree |
133 |
> sync-type: rsync |
134 |
> sync-uri: rsync://rsync.ru.gentoo.org/gentoo-portage |
135 |
> priority: -1000 |
136 |
> sync-rsync-extra-opts: --no-p --chmod=g+w |
137 |
> |
138 |
> telred |
139 |
> location: /var/lib/layman/telred |
140 |
> masters: gentoo |
141 |
> priority: 50 |
142 |
> |
143 |
> ACCEPT_KEYWORDS="amd64 ~amd64" |
144 |
> ACCEPT_LICENSE="* -@EULA" |
145 |
> CBUILD="x86_64-pc-linux-gnu" |
146 |
> CFLAGS="-O2 -pipe" |
147 |
> CHOST="x86_64-pc-linux-gnu" |
148 |
> CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt |
149 |
> /usr/share/themes/oxygen-gtk/gtk-2.0" |
150 |
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d |
151 |
> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild |
152 |
> /etc/sandbox.d /etc/terminfo" |
153 |
> CXXFLAGS="-O2 -pipe" |
154 |
> DISTDIR="/var/portage/distfiles" |
155 |
> EMERGE_DEFAULT_OPTS="--quiet-build --quiet-unmerge --keep-going" |
156 |
> FCFLAGS="-O2 -pipe" |
157 |
> FEATURES="assume-digests binpkg-logs config-protect-if-modified |
158 |
> distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch |
159 |
> preserve-libs protect-owned sandbox sfperms strict unknown-features-warn |
160 |
> unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" |
161 |
> FFLAGS="-O2 -pipe" |
162 |
> GENTOO_MIRRORS="http://distfiles.gentoo.org" |
163 |
> LANG="ru_RU.UTF-8" |
164 |
> LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
165 |
> MAKEOPTS="-j6" |
166 |
> PKGDIR="/var/portage/packages" |
167 |
> PORTAGE_CONFIGROOT="/" |
168 |
> PORTAGE_RSYNC_EXTRA_OPTS="--no-p --chmod=g+w" |
169 |
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
170 |
> --omit-dir-times --compress --force --whole-file --delete --stats |
171 |
> --human-readable --timeout=180 --exclude=/distfiles --exclude=/local |
172 |
> --exclude=/packages --exclude=/.git" |
173 |
> PORTAGE_TMPDIR="/var/tmp" |
174 |
> USE="X alsa amd64 avx berkdb bzip2 cli cracklib cxx dbus dri fortran |
175 |
> gdbm iconv icu jpeg lzma mmx modules multilib ncurses nptl opengl openmp |
176 |
> pam pcre png qt3support qt5 readline seccomp session sqlite sse sse2 |
177 |
> sse3 sse4_1 ssl ssse3 tcpd udev unicode xorg zlib" ABI_X86="32 64" |
178 |
> ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci |
179 |
> emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 |
180 |
> intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" |
181 |
> APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias |
182 |
> auth_basic authn_alias authn_anon authn_dbm authn_default authn_file |
183 |
> authz_dbm authz_default authz_groupfile authz_host authz_owner |
184 |
> authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir |
185 |
> disk_cache env expires ext_filter file_cache filter headers include info |
186 |
> log_config logio mem_cache mime mime_magic negotiation rewrite setenvif |
187 |
> speling status unique_id userdir usertrack vhost_alias" |
188 |
> APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets |
189 |
> stage tables krita karbon braindump author" CAMERAS="ptp2" |
190 |
> COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" |
191 |
> CPU_FLAGS_X86="mmx sse sse2 sse3 ssse3 sse4_1 avx" DRACUT_MODULES="lvm" |
192 |
> ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 |
193 |
> garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver |
194 |
> oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate |
195 |
> tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev keyboard |
196 |
> mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 |
197 |
> lb216 lcdm001 mtxorb ncurses text" |
198 |
> LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" |
199 |
> LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" |
200 |
> PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 |
201 |
> python3_5" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="vesa |
202 |
> nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options |
203 |
> ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat |
204 |
> logmark ipmark dhcpmac delude chaos account" |
205 |
> Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, |
206 |
> PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
207 |
> USE_PYTHON |
208 |
> |
209 |
> |
210 |
|
211 |
|
212 |
-- |
213 |
Alan McKinnon |
214 |
alan.mckinnon@×××××.com |