Forums

Skip to content

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

Portage slot conflict

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
18 posts • Page 1 of 1
Author
Message
Joseph Powers
n00b
n00b
Posts: 41
Joined: Sun Nov 26, 2017 9:50 pm

Portage slot conflict

  • Quote

Post by Joseph Powers » Mon Mar 19, 2018 2:09 pm

not sure what to do

Code: Select all

emerge -av app-portage/gentoolkit

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!
[ebuild  N     ] app-crypt/gentoo-keys-201607021514::gentoo  32 KiB
[ebuild     U  ] dev-libs/libassuan-2.5.1::gentoo [2.4.3-r1::gentoo] USE="-static-libs" 552 KiB
[ebuild  N     ] dev-python/bz2file-0.98::gentoo  PYTHON_TARGETS="python2_7 -pypy" 12 KiB
[ebuild     U  ] dev-python/pyblake2-1.1.0::gentoo [0.9.3-r1::gentoo] PYTHON_TARGETS="python2_7 python3_5* (-pypy) -python3_4* -python3_6" 123 KiB
[ebuild     U  ] app-crypt/gnupg-2.2.4-r2::gentoo [2.2.0::gentoo] USE="bzip2 nls readline smartcard ssl%* -doc -ldap (-selinux) -tofu -tools -usb -wks-server (-gnutls%*)" 6,418 KiB
[ebuild  N    ~] app-portage/gemato-12.1::gentoo  USE="blake2 bzip2 gpg -lzma -sha3 {-test}" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_4 -python3_6" 66 KiB
[ebuild     U *] sys-apps/portage-9999::gentoo [2.3.13-r1::gentoo] USE="(ipc) native-extensions rsync-verify%* (xattr) -build -doc -epydoc -gentoo-dev% (-selinux) (-linguas_ru%)" PYTHON_TARGETS="python2_7 python3_5* -pypy -python3_4* -python3_6" 0 KiB
[ebuild     U  ] app-portage/gentoolkit-0.4.0::gentoo [0.3.3::gentoo] PYTHON_TARGETS="python2_7 python3_5* (-pypy) -python3_4* -python3_6%" 3,141 KiB

Total: 8 packages (5 upgrades, 3 new), Size of downloads: 10,340 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-apps/portage:0

  (sys-apps/portage-9999:0/0::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/portage[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,
python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),
-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),
-python_single_target_python3_6(-)] required by (app-portage/gentoolkit-0.4.0:0/0::gentoo, ebuild scheduled for merge)


  (sys-apps/portage-2.3.13-r1:0/0::gentoo, installed) pulled in by
    sys-apps/portage[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,
python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),
-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),
-python_single_target_python3_6(-)] required by (app-portage/flaggie-0.2.1:0/0::gentoo, installed)

    sys-apps/portage[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,
python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),
-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),
-python_single_target_python3_6(-)] required by (app-portage/layman-2.4.2:0/0::gentoo, installed)


dev-python/pyblake2:0

  (dev-python/pyblake2-1.1.0:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-python/pyblake2[python_targets_pypy(-)?,-python_single_target_pypy(-),python_targets_python2_7(-)?,
-python_single_target_python2_7(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),
python_targets_python3_5(-)?,-python_single_target_python3_5(-)] required by (sys-apps/portage-9999:0/0::gentoo, ebuild scheduled for merge)

    dev-python/pyblake2[python_targets_pypy(-)?,-python_single_target_pypy(-),python_targets_python2_7(-)?,
-python_single_target_python2_7(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),
python_targets_python3_5(-)?,-python_single_target_python3_5(-)] required by (app-portage/gemato-12.1:0/0::gentoo, ebuild scheduled for merge)


  (dev-python/pyblake2-0.9.3-r1:0/0::gentoo, installed) pulled in by
    dev-python/pyblake2[python_targets_pypy(-)?,-python_single_target_pypy(-),python_targets_python2_7(-)?,
-python_single_target_python2_7(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),
python_targets_python3_5(-)?,-python_single_target_python3_5(-)] required by (sys-apps/portage-2.3.13-r1:0/0::gentoo, installed)



It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by sys-apps/portage-9999::gentoo[rsync-verify,-build]
# required by app-portage/gentoolkit-0.4.0::gentoo
# required by app-portage/gentoolkit (argument)
=app-portage/gemato-12.1 ~amd64

Would you like to add these changes to your config files? [Yes/No]
[Moderator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Mon Mar 19, 2018 2:26 pm

It's autounmask bug, i'm not using it at all, but i was thinking it was fix, but may be not in the portage version you use.
Try with emerge --autounmask=n gentoolkit
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Mar 19, 2018 3:14 pm

It seems a python update missing, try first with

Code: Select all

# emerge -UD @world
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Joseph Powers
n00b
n00b
Posts: 41
Joined: Sun Nov 26, 2017 9:50 pm

  • Quote

Post by Joseph Powers » Tue Mar 20, 2018 9:19 pm

fedeliallalinea wrote:It seems a python update missing, try first with

Code: Select all

# emerge -UD @world
Okay, I don't know what do do for these blocked packages

Code: Select all

[uninstall     ] sys-devel/llvm-3.9.1-r1 
[blocks b      ] sys-devel/llvm:0 ("sys-devel/llvm:0" is blocking sys-devel/llvm-5.0.1)
[ebuild     U  ] media-libs/mesa-17.2.8 [17.0.6] USE="-bindist* -unwind%" VIDEO_CARDS="-nouveau* -radeon* -radeonsi* -virgl%" 
[ebuild     U  ] x11-libs/cairo-1.14.12 [1.14.8] USE="opengl*" 
[ebuild     U  ] dev-python/pycairo-1.15.3 [1.10.0-r5] PYTHON_TARGETS="python3_5* -python3_4*" 
[ebuild     U  ] media-video/mplayer-1.3.0-r4 [1.3.0-r3]
[ebuild     U  ] media-video/mpv-0.27.2 [0.25.0-r2] USE="zlib%* (-javascript)" PYTHON_TARGETS="python3_5* -python3_4* -python3_6%" 
[ebuild     U  ] x11-libs/vte-0.48.4 [0.46.2] USE="-vanilla%" 
[ebuild  rR    ] sci-mathematics/octave-4.2.1 
[ebuild     U  ] app-crypt/pinentry-1.0.0-r2 [0.9.7-r1]
[ebuild   R    ] sys-apps/lshw-02.18b  USE="(-linguas_fr%)" 
[ebuild     U  ] www-client/firefox-bin-52.6.0 [52.4.0] USE="-pulseaudio*" 
[ebuild   R    ] gnome-base/libglade-2.6.4-r2  PYTHON_SINGLE_TARGET="-python2_7*" 
[ebuild     U  ] xfce-base/libxfce4ui-4.13.4 [4.13.0] USE="-introspection% -vala%" 
[ebuild  N     ] media-sound/pulseaudio-11.1  USE="X alsa alsa-plugin asyncns caps gdbm glib gtk ipv6 ssl tcpd udev webrtc-aec -bluetooth -dbus -doc -equalizer -gnome -jack -libressl -libsamplerate -lirc -native-headset (-neon) -ofono-headset -orc (-oss) -qt4 -realtime (-selinux) -sox (-system-wide) -systemd {-test} -zeroconf" ABI_X86="(64) -32 (-x32)" 
[ebuild     U  ] app-admin/syslog-ng-3.13.2 [3.7.3] USE="-http%" 
[uninstall     ] dev-libs/eventlog-0.2.12 
[blocks b      ] dev-libs/eventlog ("dev-libs/eventlog" is blocking app-admin/syslog-ng-3.13.2)
[ebuild     U  ] app-admin/sshguard-2.1.0-r1 [1.7.1]
[blocks B      ] <dev-libs/libbsd-0.8.3-r1 ("<dev-libs/libbsd-0.8.3-r1" is blocking sys-apps/man-pages-4.14)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/man-pages-4.14:0/0::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/man-pages required by @system

  (dev-libs/libbsd-0.8.3:0/0::gentoo, installed) pulled in by
    dev-libs/libbsd required by (x11-libs/libXdmcp-1.1.2-r1:0/0::gentoo, installed)
    dev-libs/libbsd required by (x11-libs/libICE-1.0.9-r1:0/0::gentoo, installed)



Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Mar 20, 2018 9:26 pm

Try with

Code: Select all

# emerge -uUD @world
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Joseph Powers
n00b
n00b
Posts: 41
Joined: Sun Nov 26, 2017 9:50 pm

  • Quote

Post by Joseph Powers » Wed Mar 21, 2018 2:03 am

fedeliallalinea wrote:Try with

Code: Select all

# emerge -uUD @world
Also, I don't need pulse audio and alsa is working fine so how do I get rid of pulse audio. I have it -pulseaudio in make.conf. Is that not enough?
dhcpd failed configure phase

Code: Select all

>>> Emerging (43 of 212) net-misc/dhcpcd-6.11.5::gentoo
 * dhcpcd-6.11.5.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking dhcpcd-6.11.5.tar.xz to /var/tmp/portage/net-misc/dhcpcd-6.11.5/work
>>> Source unpacked in /var/tmp/portage/net-misc/dhcpcd-6.11.5/work
>>> Preparing source in /var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib64 --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd --localstatedir=/var --rundir=/run --enable-embedded --enable-ipv6 CC=x86_64-pc-linux-gnu-gcc --with-hook=ntp.conf --with-hook=yp.conf
configure args: --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib64 --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd --localstatedir=/var --rundir=/run --enable-embedded --enable-ipv6 CC=x86_64-pc-linux-gnu-gcc --with-hook=ntp.conf --with-hook=yp.conf
Deriving operating system from ... x86_64-pc-linux-gnu
Configuring dhcpcd for ... linux
Enabling INET support
Enabling IPv4LL support
Enabling INET6 support
Enabling DHCPv6 support
Enabling Authentication
Using compiler .. x86_64-pc-linux-gnu-gcc
x86_64-pc-linux-gnu-gcc does not create executables

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5/config.log
 * ERROR: net-misc/dhcpcd-6.11.5::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1983:  Called econf '--prefix=' '--libexecdir=/lib/dhcpcd' '--dbdir=/var/lib/dhcpcd' '--localstatedir=/var' '--rundir=/run' '--enable-embedded' '--enable-ipv6' 'CC=x86_64-pc-linux-gnu-gcc' '--with-hook=ntp.conf' '--with-hook=yp.conf'
 *        phase-helpers.sh, line  683:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=net-misc/dhcpcd-6.11.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/dhcpcd-6.11.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-6.11.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-6.11.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5'
 * S: '/var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5'

>>> Failed to emerge net-misc/dhcpcd-6.11.5, Log file:

>>>  '/var/tmp/portage/net-misc/dhcpcd-6.11.5/temp/build.log'

 * Messages for package sys-fs/eudev-3.2.5:

 * 
 * As of 2013-01-29, eudev-3.2.5 provides the new interface renaming functionality,
 * as described in the URL below:
 * https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
 * 
 * This functionality is enabled BY DEFAULT because eudev has no means of synchronizing
 * between the default or user-modified choice of sys-fs/udev.  If you wish to disable
 * this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules
 * exists: touch /etc/udev/rules.d/80-net-name-slot.rules
 * 

 * Messages for package media-sound/pulseaudio-11.1:

 * A preallocated buffer-size of 2048 (kB) or higher is recommended for the HD-audio driver!
 * CONFIG_SND_HDA_PREALLOC_SIZE=512

 * Messages for package sys-libs/glibc-2.25-r10:

 * Defaulting /etc/host.conf:multi to on
 * Generating all locales; edit /etc/locale.gen to save time/space

 * Messages for package sys-apps/coreutils-8.28-r1:

 * Make sure you run 'hash -r' in your active shells.
 * You should also re-source your shell settings for LS_COLORS
 *   changes, such as: source /etc/profile


Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Mar 21, 2018 6:49 am

You can post emerge --info and /var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5/config.log file with wgetpaste?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Joseph Powers
n00b
n00b
Posts: 41
Joined: Sun Nov 26, 2017 9:50 pm

  • Quote

Post by Joseph Powers » Wed Mar 21, 2018 1:54 pm

fedeliallalinea wrote:You can post emerge --info and /var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5/config.log file with wgetpaste?
Okay, here is the emerge --info

Code: Select all

Portage 2.3.24 (python 3.5.4-final-0, hardened/linux/amd64, gcc-5.4.0, glibc-2.25-r10, 4.9.76-gentoo-r1-gnu x86_64)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-gnu-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.4.1
KiB Mem:     3779812 total,   1484056 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 19 Mar 2018 00:55:01 +0000
Head commit of repository gentoo: 4d1575efd9da3e119f56682c95fbf0dd259bc2d9
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

0x4d4c
    location: /var/lib/layman/0x4d4c
    masters: gentoo
    priority: 50

4nykey
    location: /var/lib/layman/4nykey
    masters: gentoo
    priority: 50

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

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

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @FSF-APPROVED @GPL-COMPATIBLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /usr/bin/startx"
CXXFLAGS="-march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
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="X acl alsa amd64 berkdb bzip2 chroot clang cli crypt cryptsetup cxx deblob dri gdbm gnutls gtk hardened iconv icu ipv6 jpeg latex mmx modules multilib ncurses networkmanager nls nptl octave openmp pam pax_kernel pcre perl pic pie png python readline seccomp secure_delete sse sse2 ssl ssp symlink tcpd threads unicode urandom vim-syntax webrsync-gpg xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="endev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
here is the config.log file
https://paste.pound-python.org/show/o5r ... TjR3sH87x/
It turned out the c hardening flag

Code: Select all

 -D_FORTIFY_SOURCE=2 
doesn't allow me to do that.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Mar 21, 2018 2:45 pm

Joseph Powers wrote:here is the config.log file
https://paste.pound-python.org/show/o5r ... TjR3sH87x/
It turned out the c hardening flag

Code: Select all

 -D_FORTIFY_SOURCE=2 
doesn't allow me to do that.
See here if can help
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Joseph Powers
n00b
n00b
Posts: 41
Joined: Sun Nov 26, 2017 9:50 pm

  • Quote

Post by Joseph Powers » Wed Mar 21, 2018 8:15 pm

fedeliallalinea wrote:
Joseph Powers wrote:here is the config.log file
https://paste.pound-python.org/show/o5r ... TjR3sH87x/
It turned out the c hardening flag

Code: Select all

 -D_FORTIFY_SOURCE=2 
doesn't allow me to do that.
See here if can help
Not sure how to implement that. I'm gonna post emerge --info '=net-misc/dhcpcd-6.11.5::gentoo' it may be redundant.

Code: Select all

emerge --info '=net-misc/dhcpcd-6.11.5::gentoo'
Portage 2.3.24 (python 3.5.4-final-0, hardened/linux/amd64, gcc-5.4.0, glibc-2.25-r10, 4.9.76-gentoo-r1-gnu x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.76-gentoo-r1-gnu-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.4.1
KiB Mem:     3779812 total,   1316424 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 19 Mar 2018 00:55:01 +0000
Head commit of repository gentoo: 4d1575efd9da3e119f56682c95fbf0dd259bc2d9
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

0x4d4c
    location: /var/lib/layman/0x4d4c
    masters: gentoo
    priority: 50

4nykey
    location: /var/lib/layman/4nykey
    masters: gentoo
    priority: 50

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

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

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @FSF-APPROVED @GPL-COMPATIBLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /usr/bin/startx"
CXXFLAGS="-march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
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="X acl alsa amd64 berkdb bzip2 chroot clang cli crypt cryptsetup cxx deblob dri gdbm gnutls gtk hardened iconv icu ipv6 jpeg latex mmx modules multilib ncurses networkmanager nls nptl octave openmp pam pax_kernel pcre perl pic pie png python readline seccomp secure_delete sse sse2 ssl ssp symlink tcpd threads unicode urandom vim-syntax webrsync-gpg xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="endev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Mar 21, 2018 9:03 pm

You can use /etc/portage/package.env

Code: Select all

# echo -e "CFLAGS=\"\${CFLAGS} -U_FORTIFY_SOURCE\"\nCXXFLAGS=\"\${CXXFLAGS} -U_FORTIFY_SOURCE\"" > /etc/portage/env/ufortify.conf
# echo "net-misc/dhcpcd ufortify.conf" >> /etc/portage/package.env
# emerge -1 net-misc/dhcpcd
I've no idea if this can help
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Joseph Powers
n00b
n00b
Posts: 41
Joined: Sun Nov 26, 2017 9:50 pm

  • Quote

Post by Joseph Powers » Wed Mar 21, 2018 9:21 pm

fedeliallalinea wrote:You can use /etc/portage/package.env

Code: Select all

# echo -e "CFLAGS="\${CFLAGS} -U_FORTIFY_SOURCE"\nCXXFLAGS="\${CXXFLAGS} -U_FORTIFY_SOURCE"" > /etc/portage/env/ufortify.conf
# echo "net-misc/dhcpcd ufortify.conf" >> /etc/portage/package.env
# emerge -1 net-misc/dhcpcd
I've no idea if this can help
It looks like it did nothing. Did that disable -D_FORTIFY_SOURCE=2 for all packages or am I fine?

Code: Select all

 * ERROR: net-misc/dhcpcd-6.11.5::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1983:  Called econf '--prefix=' '--libexecdir=/lib/dhcpcd' '--dbdir=/var/lib/dhcpcd' '--localstatedir=/var' '--rundir=/run' '--enable-embedded' '--enable-ipv6' 'CC=x86_64-pc-linux-gnu-gcc' '--with-hook=ntp.conf' '--with-hook=yp.conf'
 *        phase-helpers.sh, line  683:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=net-misc/dhcpcd-6.11.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/dhcpcd-6.11.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-6.11.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-6.11.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5'
 * S: '/var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5'

>>> Failed to emerge net-misc/dhcpcd-6.11.5, Log file:

>>>  '/var/tmp/portage/net-misc/dhcpcd-6.11.5/temp/build.log'

 * Messages for package net-misc/dhcpcd-6.11.5:

 * ERROR: net-misc/dhcpcd-6.11.5::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1983:  Called econf '--prefix=' '--libexecdir=/lib/dhcpcd' '--dbdir=/var/lib/dhcpcd' '--localstatedir=/var' '--rundir=/run' '--enable-embedded' '--enable-ipv6' 'CC=x86_64-pc-linux-gnu-gcc' '--with-hook=ntp.conf' '--with-hook=yp.conf'
 *        phase-helpers.sh, line  683:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=net-misc/dhcpcd-6.11.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/dhcpcd-6.11.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-6.11.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-6.11.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5'
 * S: '/var/tmp/portage/net-misc/dhcpcd-6.11.5/work/dhcpcd-6.11.5'
Top
Joseph Powers
n00b
n00b
Posts: 41
Joined: Sun Nov 26, 2017 9:50 pm

  • Quote

Post by Joseph Powers » Sun Mar 25, 2018 6:33 am

Now I have another configure holdup but this time on something that needs a update due to a glsa vulnerability.

Code: Select all

* ERROR: dev-lang/ruby-2.3.6::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 2765:  Called econf '--program-suffix=23' '--with-soname=ruby23' '--docdir=/usr/share/doc/ruby-2.3.6' '--enable-shared' '--enable-pthread' '--disable-rpath' '--with-out-ext=,tk' '--without-jemalloc' '--disable-socks' '--disable-install-doc' '--enable-ipv6' '--disable-debug' '--enable-option-checking=no'
 *        phase-helpers.sh, line  683:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/ruby-2.3.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/ruby-2.3.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/ruby-2.3.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-2.3.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/ruby-2.3.6/work/ruby-2.3.6'
 * S: '/var/tmp/portage/dev-lang/ruby-2.3.6/work/ruby-2.3.6'
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Mar 25, 2018 8:01 am

You can post build.log and config.log with wgetpaste?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Joseph Powers
n00b
n00b
Posts: 41
Joined: Sun Nov 26, 2017 9:50 pm

  • Quote

Post by Joseph Powers » Mon Mar 26, 2018 5:09 am

fedeliallalinea wrote:You can post build.log and config.log with wgetpaste?
Okay, build log. https://paste.pound-python.org/show/Wvp ... SWE5lj3ik/
Not sure how to get the Configuration log but this showed up at the beginning.

Code: Select all

* Running eautoreconf in '/var/tmp/portage/dev-lang/ruby-2.3.6/work/ruby-2.3.6' ...
 * This package has a configure.in file which has long been deprecated.  Please
 * update it to use configure.ac instead as newer versions of autotools will die
 * when it finds this file.  See https://bugs.gentoo.org/426262 for details.
 * Running autoconf --force ...                                                                                                   [ ok ]

That's probably the problem.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Mar 26, 2018 6:14 am

Code: Select all

configure: error: something wrong with CFLAGS="-march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -fno-strict-aliasing "
Try with standard cflags and the add one at a time to see what is wrong
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Joseph Powers
n00b
n00b
Posts: 41
Joined: Sun Nov 26, 2017 9:50 pm

  • Quote

Post by Joseph Powers » Tue Mar 27, 2018 12:08 am

fedeliallalinea wrote:

Code: Select all

configure: error: something wrong with CFLAGS="-march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -fno-strict-aliasing "
Try with standard cflags and the add one at a time to see what is wrong
uhh, they all work... I did what this guy did viewtopic-t-499881.html and added each flag. They all work?
It then asked me to update my sshd_config for some odd reason afterward though.
Edit: glsa-check still says it is affected, along with the other two binutils despite me updating them.
Top
Hu
Administrator
Administrator
Posts: 24401
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Mar 27, 2018 1:40 am

If they all work, does that mean that you can now build =dev-lang/ruby-2.3.6? If not, what fails now?

For glsa-check, if you want advice, you should post its output. If I were to guess, I would say that you have installed a good version of the package, but the vulnerable versions are in separate slots, and you have not yet removed them.
Top
Post Reply

18 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