Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED?]Emerge FEAUTRES="buildpkg" build broken packages?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 547

PostPosted: Fri Nov 14, 2014 3:14 pm    Post subject: [SOLVED?]Emerge FEAUTRES="buildpkg" build broken Reply with quote

Hi

I installed the new system, but accidentally spoiled it, not worrying too much, I have plowed partition, unpacked the stage, and I install the package compiled earlier that a politely sit in PKGDIR on another partition.

I found out that Portage version 2.2.14 (and some earlier versions too) builds broken tbz2 package, which then can not extract itself.
This applies to (observed cases) gcc-4.8.3, Thunderbirds version 24.4.0 to 31.2.0, Firefox from version 28.0 to 33.0, and I have this error on both systems, and the new-built on gcc-4.8 as well as the current built gcc-4.7.3-r1.

The oldest package, which I noticed this error are:

Code:
      Fri Mar 21, 2014 9:58:08 >>> www-client / firefox-28.0

which was built by the Portage 2.2.8-r1.

This is the attempt to install gcc from the pack by
Code:

emerge -G =sys-devel / gcc-4.8.3


Code:

>>> Extracting info
? [32; 01m *? [39; 49; 00mPackage: sys-devel / gcc-4.8.3
? [32; 01m *? [39; 49; 00mRepository: gentoo
? [32; 01m *? [39; 49; 00mUSE: nls abi_x86_64 multilib amd64 nptl cxx kernel_linux elibc_glibc OpenMP hardened userland_GNU
? [32; 01m *? [39; 49; 00mFEATURES: preserve-libs sandbox splitdebug
>>> Extracting sys-devel / gcc-4.8.3
tar: setxattrat: Can not set 'user.pax.flags' extended attribute for file './usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/cc1plus': No such file or directory
tar: ./usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/cc1plus: Can not open: No such file or directory
tar: setxattrat: Can not set 'user.pax.flags' extended attribute for file './usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/cc1': No such file or directory
tar: ./usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/cc1: Can not open: No such file or directory
tar: End of an error state due to previous errors
tar failed with status 2
!!! Error Extracting '/home/Gentoo/paczki483/sys-devel/gcc-4.8.3.tbz2'




Emerge -info:
Code:

Portage 2.2.14 (python 2.7.7-final-0, hardened / linux / amd64, gcc-4.7.3, glibc-2.19-r1, 3.17.2-gr1 x86_64)
================================================== ===============
The uname: Linux-3.17.2-gr1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.2
KiB Mem: 4037084 total, 40444 free
KiB Swap: total 4192928, 4192832 free
Timestamp of tree: Fri, 14 Nov 2014 0:15:01 +0000
GNU ld ld (GNU Binutils) 2.23.2
app-shells / bash: 4.2_p53
dev-lang / perl: 5.18.2-r2
dev-lang / python: 2.7.7, 3.2.5-r6
dev-util / cmake: 2.8.12.2-r1
dev-util / pkgconfig: 0.28-r1
sys-apps / baselayout: 2.2
sys-apps / openrc: 0.12.4
sys-apps / sandbox: 2.6-r1
sys-devel / autoconf: 2.13, 2.69
sys-devel / automake: 1.11.6, 1.12.6, 1.13.4
sys-devel / binutils: 2.23.2
sys-devel / gcc: 4.7.3-r1
sys-devel / gcc-config: 1.7.3
sys-devel / libtool: 2.4.2-r1
sys-devel / make: 4.0-r1
sys-kernel / linux-headers: 3.13 (virtual / os-headers)
sys-libs / glibc: 2.19-r1
Repositories: hardened-dev local sunrise ProAudio mate-steam-overlay overlay FreeSWITCH mysql multimedia science gentroid kde desktop-effects x11 mozilla gcpan gentoo kde-sunset Pentoo plants qt stuff
Installed sets:compiz,pidgin, @ qt5
ACCEPT_KEYWORDS = "amd64"
ACCEPT_LICENSE = "*"
CBUILD = "x86_64-pc-linux-gnu"
CFLAGS = "- march = native -O2 -pipe -mssse3"
CHOST = "x86_64-pc-linux-gnu"
CONFIG_PROTECT = "/ etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown / usr / share / config / usr / share / easy-rsa / usr / share / gnupg / qualified.txt / var / bind "
CONFIG_PROTECT_MASK = "/ etc / ca-certificates.conf / etc / dconf /etc/env.d /etc/fonts/fonts.conf / etc / gconf / etc / gentoo-release /etc/php/apache2-php5.5/ ext-active / /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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 "
CPPFLAGS = "- march = native -O2 -pipe -mssse3"
CXXFLAGS = "- march = native -O2 -pipe -mssse3"
DISTDIR = "/ home / Gentoo / sources"
EMERGE_DEFAULT_OPTS = "- ask --keep-going --buildpkg --with-bdeps = y"
FCFLAGS = "- O2 -pipe"
FEATURES = "assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync webrsync-gpg xattr "
FFLAGS = "- O2 -pipe"
GENTOO_MIRRORS = "http://distfiles.gentoo.org"
LANG = "en_GB.UTF-8"
LDFLAGS = "- Wl, -O1 -Wl, - as-needed"
MAKEOPTS = "- j5"
PKGDIR = "/ home / Gentoo / paczki64"
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 "
PORTAGE_TMPDIR = "/ var / tmp"
PORTDIR = "/ var / portage / gentoo"
PORTDIR_OVERLAY = "/ var / portage / layman / hardened-development / var / portage / local / var / portage / layman / sunrise / var / portage / layman / pro-audio / var / portage / layman / mate / var / portage / layman / steam / var / portage / layman / FreeSWITCH / var / portage / layman / mysql / var / portage / layman / science / var / portage / layman / multimedia / var / portage / layman / kde / var / portage / layman / gentroid / var / portage / layman / desktop-effects / var / portage / layman / x11 / var / portage / layman / mozilla / var / portage / gcpan / var / portage / gentoo / var / portage / layman / kde-sunset / var / portage / layman / Pentoo / var / portage / layman / qt / var / portage / layman / plants / var / portage / layman / stuff "
SYNC = "rsync: //rsync1.uk.gentoo.org/gentoo-portage"
USE = "X alsa amd64 acl berkdb bzip2 cli caps cracklib crypt gdbm cxx dbus dri gnome gtk glade hardened icu idn iconv ipv6 jack jit justify kde modules mmx multilib mysql ncurses nls nptl opengl nvidia OpenCL OpenMP memory oss pax_kernel qt4 readline pcre session SEZ SSE2 ssl SSSE3 static static-libs tcpd tls-helpers unicode tty urandom vaapi VDPAU wayland X265 xattr xtpax zlib "ABI_X86 =" 64 32 "ALSA_CARDS =" hda-intel snd-card-hda-intel audio cx88-usb-audio "APACHE2_MODULES =" authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav cgid dav_fs dav_lock disk_cache deflate dir env expires headers ext_filter file_cache filter include info log_config mem_cache logio mime negotiation mime_magic SetEnvIf rewrite speling status unique_id UserDir UserTrack vhost_alias "APACHE2_MPMS = "worker" CALLIGRA_FEATURES = "kexi words flow sheets plan stage tables Krita carbon braindump author" CAMERAS = "ptp2" COLLECTD_PLUGINS = "df irq load memory interface rrdtool swap syslog" ELIBC = "glibc" GPSD_PROTOCOLS = "Ashtech aivdm Earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea NTRIP Navcom oceanserver oldstyle Oncore rtcm104v2 rtcm104v3 sirf superstar2 TSIP timing tnt tripmate ublox UBX "INPUT_DEVICES =" keyboard mouse evdev "KERNEL =" linux "LCD_DEVICES =" bayrad cfontz cfontz633 glk HD44780 lb216 lcdm001 mtxorb ncurses text "LIBREOFFICE_EXTENSIONS = "presenter-console-presenter Minimizer" LINGUAS = "en en" NGINX_MODULES_HTTP = "access auth_basic auth_pam naxsi security autoindex browser charset fancyindex empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi cache_purge degradation flv geoip headers_more image_filter limit_conn SPDY metrics mp4 pcre-jit perl push random_index realip secure_link slowfs_cache stub_status sub upload upload_progress passenger xslt "OFFICE_IMPLEMENTATION =" libreoffice "PHP_TARGETS =" php5.5 "PYTHON_SINGLE_TARGET =" python2_7 "PYTHON_TARGETS =" python2_7 "QEMU_SOFTMMU_TARGETS =" i386 x86_64 arm "QEMU_USER_TARGETS = "i386 x86_64 arm" RUBY_TARGETS = "ruby19" userland = "GNU" VIDEO_CARDS = "nvidia nouveau vesa" XTABLES_ADDONS = "gradm echo psd lscan length2 ipv4options ipset ipp2p iface geoip fuzzy tarpit sysrq steal rawnat logmark ipmark dhcpmac delude"
USE_PYTHON = "3.2 2.7"
Unset: CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



And here's a few packages to verify broken (Portage can not extract them at all, like tar):
https://drive.google.com/folderview?id=0BxnxcErK-vmSS2VjRmw4ZHlaZ1U&usp=sharing#list
As if there was a problem with that, if properly married any, is in the README.txt are checksums.

My native language is Polish, sorry for bad English.

Cheers
8)


Last edited by Jacekalex on Sat Nov 15, 2014 1:52 am; edited 1 time in total
Back to top
View user's profile Send private message
blueness
Developer
Developer


Joined: 25 Nov 2009
Posts: 32
Location: Buffalo, NY

PostPosted: Fri Nov 14, 2014 6:17 pm    Post subject: Reply with quote

Does this happen with portage-2.2.8-r2 which is the current stable?
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Fri Nov 14, 2014 8:18 pm    Post subject: Reply with quote

Also, What version of tar is installed. please ensure it is at least app-arch/tar-1.27.1-r2 or the latest available.

I am not able to reproduce your failure with new or old binpkgs.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 547

PostPosted: Sat Nov 15, 2014 1:20 am    Post subject: Reply with quote

blueness wrote:
Does this happen with portage-2.2.8-r2 which is the current stable?


Simple test:
Format the partition, unpacked stage3-amd64-hardened-20141106.tar.bz2
to /dev/sda8 partition, mount /dev/sda8 as /G8, build glibc, gentoolkit, eix, elogv, gcc - the result of trying to install the gcc package:

Code:
Portage 2.2.8-r2 (hardened/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.17.2-gr1 x86_64)


Code:
>> Extracting info
^[[32;01m * ^[[39;49;00mPackage:    sys-devel/gcc-4.8.3
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mUSE:        nls abi_x86_64 amd64 nptl cxx multilib kern$
^[[32;01m * ^[[39;49;00mFEATURES:   preserve-libs sandbox splitdebug
>>> Extracting sys-devel/gcc-4.8.3
tar: setxattrat: Cannot set 'user.pax.flags' extended attribute for file './usr$
tar: ./usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/cc1plus: Nie można open: Nie m$
tar: setxattrat: Cannot set 'user.pax.flags' extended attribute for file './usr$
tar: ./usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/cc1: Nie można open: Nie ma ta$
tar: Zakończenie w stanie błędu z powodu uprzednich błędów
tar failed with status 2
!!! Error Extracting '/home/Gentoo/paczki483/sys-devel/gcc-4.8.3.tbz2'


emerge.log:
Code:
1416007584:  === (1 of 1) Compiling/Packaging (sys-devel/gcc-4.8.3::/var/portage/gentoo/sys-devel/gcc/gcc-4.8.3.ebuild)
1416011940:  === (1 of 1) Merging (sys-devel/gcc-4.8.3::/var/portage/gentoo/sys-devel/gcc/gcc-4.8.3.ebuild)
1416011945:  >>> AUTOCLEAN: sys-devel/gcc:4.8
1416011945:  === Unmerging... (sys-devel/gcc-4.8.3)
1416011947:  >>> unmerge success: sys-devel/gcc-4.8.3
1416011954:  === (1 of 1) Updating world file (sys-devel/gcc-4.8.3)
1416011954:  === (1 of 1) Post-Build Cleaning (sys-devel/gcc-4.8.3::/var/portage/gentoo/sys-devel/gcc/gcc-4.8.3.ebuild)
1416011954:  ::: completed emerge (1 of 1) sys-devel/gcc-4.8.3 to /
1416012674:  *** emerge --usepkgonly --ask --buildpkg --getbinpkg --keep-going --with-bdeps=y --getbinpkgonly --usepkg gcc
1416012686:  >>> emerge (1 of 1) sys-devel/gcc-4.8.3 to /
1416012686:  === (1 of 1) Merging Binary (sys-devel/gcc-4.8.3::/home/Gentoo/paczki483/sys-devel/gcc-4.8.3.tbz2)


Is this may be the cause?
Code:
[  193.178435] grsec: denied mknod of /G8/var/tmp/portage/sys-devel/gcc-4.8.3/image/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/cc1 from chroot by /G8/bin/tar[tar:6635] uid/euid:0/0 gid/egid:0/0, parent /G8/bin/bash[bash:6633] uid/euid:0/0 gid/egid:0/0

In the case of Firefox and Thunderbird problem occurs also on the current system, no chroot.

dol-sen wrote:
Also, What version of tar is installed. please ensure it is at least app-arch/tar-1.27.1-r2 or the latest available.


Code:
qlist -UqCv tar xz bzip2 gzip portage gentoolkit eix
app-arch/bzip2-1.0.6-r6 abi_x86_64
app-arch/gzip-1.5 nls
app-arch/tar-1.27.1-r2 acl nls userland_GNU xattr
app-arch/xz-utils-5.0.5-r1 abi_x86_64 nls threads
app-portage/eix-0.29.3 dep nls
app-portage/elogv-0.7.6.1-r1 linguas_pl python_targets_python2_7
app-portage/gentoolkit-0.3.0.8-r2 python_targets_python2_7
app-portage/portage-utils-0.53 nls
sys-apps/portage-2.2.8-r2 ipc python_targets_python2_7 python_targets_python3_3 xattr


Tar is not been compiled, this is the original version from the stage3-amd64-hardened-20141106.tar.bz2.

So far I've noticed this bug in three packages - Firefox, Thunderbird, GCC.
Gcc - version 4.8.3, with 4.7.3-r1 this error does not occur, in Firefox since version 28.0 (27.0 in error does not occur), Thunderbird, version 24.0, 17.0.9 Thunderbird error does not occur.

Emerge - info:
Code:
Portage 2.2.8-r2 (hardened/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.17.2-gr1 x86_64)
=================================================================
System uname: Linux-3.17.2-gr1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.2
KiB Mem:     4037084 total,   1647864 free
KiB Swap:    4192928 total,   4192928 free
Timestamp of tree: Fri, 14 Nov 2014 00:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo gcpan lokalny kde-sunset hardened-dev stuff sunrise proaudio mate-overlay steam-overlay freeswitch mysql pentoo science multimedia kde roslin gentroid desktop-effects x11 qt mozilla
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mssse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPPFLAGS="-march=native -mssse3 -O2 -pipe"
CXXFLAGS="-march=native -mssse3 -O2 -pipe"
DISTDIR="/home/Gentoo/sources"
EMERGE_DEFAULT_OPTS="--ask --keep-going  --buildpkg  --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/home/Gentoo/paczki483"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage/gentoo"
PORTDIR_OVERLAY="/var/portage/gcpan /var/portage/local /var/portage/layman/kde-sunset /var/portage/layman/hardened-development /var/portage/layman/stuff /var/portage/layman/sunrise /var/portage/layman/pro-audio /var/portage/layman/mate /var/portage/layman/steam /var/portage/layman/freeswitch /var/portage/layman/mysql /var/portage/layman/pentoo /var/portage/layman/science /var/portage/layman/multimedia /var/portage/layman/kde /var/portage/layman/roslin /var/portage/layman/gentroid /var/portage/layman/desktop-effects /var/portage/layman/x11 /var/portage/layman/qt /var/portage/layman/mozilla"
SYNC="rsync://rsync1.uk.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 caps cli cracklib crypt cxx dbus dri gdbm glade gnome gtk hardened iconv icu idn ipv6 jack jit justify kde mmx modules multilib mysql ncurses nls nptl nvidia opencl opengl openmp oss pam pax_kernel pcre qt4 readline session sse sse2 ssl ssse3 static static-libs tcpd tls tty-helpers unicode urandom vaapi vdpau wayland x265 xattr xtpax zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel snd-card-hda-intel cx88-audio usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en pl" NGINX_MODULES_HTTP="access auth_basic auth_pam naxsi security autoindex browser charset fancyindex empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi cache_purge degradation flv geoip headers_more image_filter limit_conn metrics spdy mp4 pcre-jit perl push random_index realip secure_link slowfs_cache stub_status sub upload upload_progress xslt passenger" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5.5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm" QEMU_USER_TARGETS="i386 x86_64 arm" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" XTABLES_ADDONS="gradm echo psd lscan length2 ipv4options ipset ipp2p iface geoip fuzzy tarpit sysrq steal rawnat logmark ipmark dhcpmac delude"
USE_PYTHON="3.3 2.7"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



EDIT:
quickpkg works fine:
Code:
# G8 Laboratorium ###   sob lis 15 02:34:52  localhost : /
root ~> quickpkg gcc
 * Building package for sys-devel/gcc-4.8.3 ...                          [ ok ]

 * Packages now in '/home/Gentoo/paczki483':
 * sys-devel/gcc-4.8.3: 29.5M

# G8 Laboratorium ###   sob lis 15 02:35:28  localhost : /
root ~> emerge -G gcc
!!! PORTAGE_BINHOST unset, but use is requested.

 * IMPORTANT: 1 news items need reading for repository 'mate-overlay'.
 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary   R    ] sys-devel/gcc-4.8.3

Would you like to merge these packages? [Yes/No]
>>> Running pre-merge checks for sys-devel/gcc-4.8.3
openpty failed: 'out of pty devices'
 * gcc-4.8.3.tbz2 MD5 SHA1 size ;-) ...                                  [ ok ]

>>> Emerging binary (1 of 1) sys-devel/gcc-4.8.3
 * gcc-4.8.3.tbz2 MD5 SHA1 size ;-) ...                                  [ ok ]
>>> Extracting info
>>> Extracting sys-devel/gcc-4.8.3

>>> Installing (1 of 1) sys-devel/gcc-4.8.3
 * Switching native-compiler to x86_64-pc-linux-gnu-4.8.3 ... [ ok ]

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.

 * You might want to review the GCC upgrade guide when moving between
 * major versions (like 4.2 to 4.3):
 * http://www.gentoo.org/doc/en/gcc-upgrading.xml



I suspect that portage acting with the user runs tar as user portage, which causes the reaction grsecurity, which does not allow user portage for use CAP_MKNOD, regardless of the RBAC is disabled.
This error appeared in the case of Firefox, the more or less time, as appeared in Portage by default FEATURES userpriv.
However, since the problem affected only two programs - Firefox and Thunderbird, it is only now that I noticed as I install the new system on the other, test partition. :D
If the reported error emerge when building a binary package, it would not be this thread at all. ;)
But it's probably not feasible due to the fact that the tar does not finish when do not allowed to CAP_MKNOD, only builds then broken package. :evil:

Cheers
8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum