Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

McQ

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by McQ

  1. There was an issue when upgrading system to Gnome 3.4. 

    Appears it is looking for gnome-base/gnome-menus-3.34 but only version 3.32 is available. 

    !!! The following update has been skipped due to unsatisfied dependencies:
    
    gnome-base/gnome-light:2.0
    
      selected: (gnome-base/gnome-light-3.32.0:2.0/2.0::gnome-kit, installed)
      skipped: (gnome-base/gnome-light-3.34.0:2.0/2.0::gnome-kit, ebuild scheduled for merge) (see unsatisfied dependency below)
    
    emerge: there are no ebuilds to satisfy ">=gnome-base/gnome-menus-3.34.0:3".
    (dependency required by "gnome-base/gnome-light-3.34.0::gnome-kit" [ebuild])
    eix gnome-base/gnome-menus
    [I] gnome-base/gnome-menus [1]
         Available versions:  (3) 3.32.0
           {+introspection test}
         Installed versions:  3.32.0(3)(06:00:04 PM 08/11/2019)(introspection -test)
         Homepage:            https://git.gnome.org/browse/gnome-menus
         Description:         Library for the Desktop Menu fd.o specification

     

  2. Got a dependency error message when compiling gnome-extra/sushi.

    After emerging gtksourceview package the gnome-extra/sushi-3.34.0-r1 ebuild compiled successfully. 

    Dependency gtksourceview-4 found: NO (tried pkgconfig and cmake)
    
    meson.build:22:0: ERROR: Dependency "gtksourceview-4" not found, tried pkgconfig and cmake
    
    A full log can be found at /var/tmp/portage/gnome-extra/sushi-3.34.0-r1/work/sushi-3.34.0-build/meson-logs/meson-log.txt
     * ERROR: gnome-extra/sushi-3.34.0-r1::gnome-kit failed (configure phase):
     *   (no error message)

     

  3. g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/work/Cinnamon-3.6.6/src/tmp-introspecte1k990cn/Cinnamon-0.1 -export-dynamic -march=broadwell -O2 -pipe /var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/work/Cinnamon-3.6.6/src/tmp-introspecte1k990cn/Cinnamon-0.1.o -L. libcinnamon.la -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -pthread -lgmodule-2.0 -lglib-2.0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
    libtool: link: x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/work/Cinnamon-3.6.6/src/tmp-introspecte1k990cn/.libs/Cinnamon-0.1 -march=broadwell -O2 -pipe /var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/work/Cinnamon-3.6.6/src/tmp-introspecte1k990cn/Cinnamon-0.1.o -Wl,--export-dynamic -pthread -Wl,-O1 -Wl,--sort-common -Wl,--export-dynamic  -L. ./.libs/libcinnamon.so -L/usr/lib64/muffin -lmuffin -lmuffin-clutter-0 -lXtst -lmuffin-cogl-0 -lcjs -lcinnamon-menu-3 -lgstbase-1.0 -lgstreamer-1.0 -lsoup-2.4 -lGL -lstartup-notification-1 -lgirepository-1.0 -lpolkit-agent-1 -lpolkit-gobject-1 -lnm-glib -lnm-util -ldbus-glib-1 -ldbus-1 -latk-bridge-2.0 -lm -lclutter-1.0 -lcogl-path -lcogl-pango -lcogl -lgbm -ldrm -lEGL -lXrandr -ljson-glib-1.0 -lXext -lXdamage -lXfixes -lXcomposite -lXi -lcroco-0.6 -lxml2 -lcinnamon-desktop -lX11 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--as-needed -pthread -Wl,-rpath -Wl,/usr/lib64/cinnamon
    /usr/bin/g-ir-compiler --includedir=. --includedir=/usr/lib64/muffin --includedir=. Cinnamon-0.1.gir -o Cinnamon-0.1.typelib
    Module 'Clutter' imported with conflicting versions '1.0' and '0'
    /usr/lib64/muffin/Meta-Muffin.0.gir:12:44: error: Failed to parse included gir Clutter-0
    error parsing file Cinnamon-0.1.gir: Failed to parse included gir Meta-Muffin.0
    make[3]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:168: Cinnamon-0.1.typelib] Error 1
    make[3]: Leaving directory '/var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/work/Cinnamon-3.6.6/src'
    make[2]: *** [Makefile:956: all] Error 2
    make[2]: Leaving directory '/var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/work/Cinnamon-3.6.6/src'
    make[1]: *** [Makefile:513: all-recursive] Error 1
    make[1]: Leaving directory '/var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/work/Cinnamon-3.6.6'
    make: *** [Makefile:441: all] Error 2
     * ERROR: gnome-extra/cinnamon-3.6.6-r2::gnome-kit failed (compile phase):
     *   emake failed
     * 
     * If you need support, post the output of `emerge --info '=gnome-extra/cinnamon-3.6.6-r2::gnome-kit'`,
     * the complete build log and the output of `emerge -pqv '=gnome-extra/cinnamon-3.6.6-r2::gnome-kit'`.
     * The complete build log is located at '/var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/temp/environment'.
     * Working directory: '/var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/work/Cinnamon-3.6.6'
     * S: '/var/tmp/portage/gnome-extra/cinnamon-3.6.6-r2/work/Cinnamon-3.6.6'
    
    >>> Failed to emerge gnome-extra/cinnamon-3.6.6-r2
    
    
    
    
    ACCEPT_KEYWORDS="amd64 ~amd64"
    ACCEPT_LICENSE="*"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-march=broadwell -O2 -pipe"
    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"
    CXXFLAGS="-march=broadwell -O2 -pipe"
    DISTDIR="/var/cache/portage/distfiles"
    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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
    FFLAGS="-march=broadwell -O2 -pipe"
    GENTOO_MIRRORS="https://fastpull-us.funtoo.org"
    LANG="en_US.utf8"
    LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
    MAKEOPTS="-j5"
    PKGDIR="/var/cache/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_TMPDIR="/var/tmp"
    USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr colord cracklib crypt cups curl cxx dbus dnssd dri dts dvd dvdr dvdread eds egl elogind encode evo exif faac faad ffmpeg flac gdbm gif git glvnd gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle ico iconv icu ieee1394 introspection ios ipod ipv6 jpeg jpeg2k lame ldap libass libguess libmpeg2 libnotify mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap nautilus ncurses nls nptl nsplugin ogg opengl openmp openrc-force pam pcre pdf png policykit postproc pppd pulseaudio python quicktime readline resolvconf sdl sdl1 sndfile sse sse2 ssl startup-notification subversion svg taglib tcpd theora tiff tracker truetype twolame udev udisks unicode v4l vaapi vdpau vorbis vpx wav wavpack webp win32codecs wmf x264 x265 xa xattr xinerama xml xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 authn_core authz_core socache_shmcb unixd" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" 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="php7-3" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel vulkan-intel dri3 i965 i915 fbdev osmesa swrast vaapi vdpau xa xvmc" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
    
    =================================================================
                            Package Settings
    =================================================================
    
    gnome-extra/cinnamon-3.6.6-r2::gnome-kit was built with the following:
    USE="networkmanager nls" PYTHON_TARGETS="python2_7 python3_5 -python3_4"
    FEATURES="assume-digests binpkg-logs 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"

     

  4. I used eselect to choose python 3.4 as the active interpretor and no longer get the  UnicodeDecodeError. 

    However, there is another issue:

    # revdep-rebuild –v
    * This is the new python coded version
     * Please report any bugs found using it.
     * The original revdep-rebuild script is installed as revdep-rebuild.sh
     * Please file bugs at: https://bugs.gentoo.org/
     * Checking dynamic linking consistency
     * Assign files to packages
    
    emerge –v --oneshot --complete-graph=y net-fs/samba:0
    !!! '–v' is not a valid package atom.
    !!! Please check ebuild(5) for full details.

     

  5. 17 hours ago, jhan said:

    Could be a problem with the script itself. You are using python 2.7.13 and you get the error. I'm using python 3.5.3 and no error. And in the line 90 of 

    
    /usr/lib64/python3.5/site-packages/gentoolkit/revdep_rebuild/rebuild.py

    I see nothing problematic:

    
    88	logger.warning(yellow(
    89		'\nemerge') + args +
    90		' --oneshot --complete-graph=y ' +
    91		bold(emerge_command))

    Could you post the according lines of the file /usr/lib64/python2.7/site-packages/gentoolkit/revdep_rebuild/rebuild.py ?

    Lines 88-91:

    logger.warning(yellow(
    		'\nemerge') + args +
    		' --oneshot --complete-graph=y ' +
    		bold(emerge_command))

    Lines 171-173:

    success = rebuild(logger, assigned, settings)
    	logger.debug("rebuild return code = %i" %success)
    	return success

     

  6. When I run revdep-rebuild it fails with this output:

    # revdep-rebuild –v
     * This is the new python coded version
     * Please report any bugs found using it.
     * The original revdep-rebuild script is installed as revdep-rebuild.sh
     * Please file bugs at: https://bugs.gentoo.org/
     * Collecting system binaries and libraries
     * Checking dynamic linking consistency
     * Assign files to packages
    Traceback (most recent call last):
      File "/usr/lib/python-exec/python2.7/revdep-rebuild", line 40, in <module>
        success = rebuild.main(rebuild.parse_options())
      File "/usr/lib64/python2.7/site-packages/gentoolkit/revdep_rebuild/rebuild.py", line 171, in main
        success = rebuild(logger, assigned, settings)
      File "/usr/lib64/python2.7/site-packages/gentoolkit/revdep_rebuild/rebuild.py", line 90, in rebuild
        ' --oneshot --complete-graph=y ' +
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: ordinal not in range(128)

     

    I verified the locale is set to en_US.utf8

    # eselect locale list
    Available targets for the LANG variable:
      [1]   C
      [2]   POSIX
      [3]   en_US
      [4]   en_US.iso88591
      [5]   en_US.utf8 *
      [ ]   (free form)
    # locale
    LANG=en_US.utf8
    LC_CTYPE="en_US.utf8"
    LC_NUMERIC="en_US.utf8"
    LC_TIME="en_US.utf8"
    LC_COLLATE=POSIX
    LC_MONETARY="en_US.utf8"
    LC_MESSAGES="en_US.utf8"
    LC_PAPER="en_US.utf8"
    LC_NAME="en_US.utf8"
    LC_ADDRESS="en_US.utf8"
    LC_TELEPHONE="en_US.utf8"
    LC_MEASUREMENT="en_US.utf8"
    LC_IDENTIFICATION="en_US.utf8"
    LC_ALL=

     

    But for some reason I get this output from python which is showing ascii:

    # python
    Python 2.7.13 (default, Jul 26 2017, 07:27:56) 
    [GCC 5.3.0] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import sys
    >>> reload(sys)
    <module 'sys' (built-in)>
    >>> sys.getdefaultencoding()
    'ascii'
    >>> 

    Can you suggest what setting that I need to repair?

  7. I'm trying to rsync to an external drive that gets auto-mounted to something like:

    /media/mnt/toshiba EXT

    rsync doesn't accept the " " between toshiba and EXT.

    Is it acceptable to use "*" to complete the path?

    rsync -avz --delete  /path/to/folder/  /media/mnt/toshiba*EXT/path/to/folder/
    
  8. Had a failure today when upgrading to subversion-1.9.7:

    hmod 755 blib/arch/auto/SVN/_Wc/_Wc.so
    "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- _Wc.bs blib/arch/auto/SVN/_Wc/_Wc.bs 644
    Manifying 8 pod documents
    make[2]: Leaving directory '/var/tmp/portage/dev-vcs/subversion-1.9.7/work/subversion-1.9.7/subversion/bindings/swig/perl/native'
    make[1]: Leaving directory '/var/tmp/portage/dev-vcs/subversion-1.9.7/work/subversion-1.9.7/subversion/bindings/swig/perl/native'
    Makefile:850: recipe for target 'swig-pl' failed
    make: *** [swig-pl] Error 2
     * ERROR: dev-vcs/subversion-1.9.7::dev-kit failed (compile phase):
     *   emake fail
    

     

    So I changed in /etc/portage/make.conf:

    (-)MAKEOPTS="-j5"
    (+)MAKEOPTS="-j1"
    

    And then subversion package compiled without any issue. 

     

    Should I just leave make.conf as is or switch back to  MAKEOPTS="-j5" ?

     

    I really don't know if the difference is worth maintaining for system-wide.

  9.  

    Your output tells that you've update to ports-2017 or have used a recent stage3 (or i'm wrong ?)

    
    
     

     

    Yes --- exactly right. I installed a stage3 created on 07/31. 

     

    I'm getting updates so must be on the correct train. :->

    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild     U  ] app-misc/ca-certificates-20161130.3.32::core-hw-kit [20161130.3.30.2::core-hw-kit] USE="-cacert -insecure_certs" 9,563 KiB
    [ebuild     U  ] dev-vcs/mercurial-4.3.1::dev-kit [4.2.2::dev-kit] USE="-bugzilla -emacs -gpg {-test} -tk" PYTHON_TARGETS="python2_7" 5,347 KiB
    [ebuild  N     ] dev-util/cmocka-1.1.1::dev-kit  USE="-doc -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 84 KiB
    [ebuild     U  ] www-client/google-chrome-60.0.3112.90::net-kit [60.0.3112.78::net-kit] USE="plugins" L10N="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk vi zh-CN zh-TW" 56,981 KiB
    [ebuild     U  ] www-client/opera-47.0.2631.39::net-kit [46.0.2597.57::net-kit] L10N="be bg bn ca cs da de el en-GB es es-419 fi fil fr fr-CA he hi hr hu id it ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi zh-CN zh-TW" 49,143 KiB
    [ebuild     U  ] net-fs/samba-4.6.7::net-kit [4.5.12::net-kit] USE="client cups pam python%* system-mitkrb5 -acl -addc -addns -ads -cluster -dmapi -fam -gnutls -gpg -iprint -ldap -quota (-selinux) -syslog (-system-heimdal) -systemd {-test} -winbind -zeroconf" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 20,651 KiB
    [ebuild  NS    ] www-plugins/chrome-binary-plugins-61.0.3163.39_beta:beta::net-kit [60.0.3112.78:stable::net-kit] USE="widevine" 75,022 KiB
    [uninstall     ] www-plugins/chrome-binary-plugins-60.0.3112.78:stable::net-kit  USE="widevine" 
    [blocks b      ] www-plugins/chrome-binary-plugins:stable ("www-plugins/chrome-binary-plugins:stable" is blocking www-plugins/chrome-binary-plugins-61.0.3163.39_beta)
    [blocks b      ] www-plugins/chrome-binary-plugins:beta ("www-plugins/chrome-binary-plugins:beta" is blocking www-plugins/chrome-binary-plugins-60.0.3112.78)
    [ebuild     U  ] dev-vcs/subversion-1.9.7::dev-kit [1.9.6::dev-kit] USE="berkdb gnome-keyring http nls perl python -apache2 -ctypes-python -debug -doc -dso -extras -java -kwallet -ruby -sasl {-test} -vim-syntax" PYTHON_TARGETS="python2_7" 7,698 KiB
    
    Total: 8 packages (6 upgrades, 1 new, 1 in new slot, 1 uninstall), Size of downloads: 224,486 KiB
    Conflict: 2 blocks
    
    Would you like to merge these packages? [Yes/No]
    
  10. echo 'int main(){return 0;}' > test.c && gcc -v -Q -march=native -O2 test.c -o test && rm test.c test
    
    

    Then open a 2nd terminal and try 

    echo 'int main(){return 0;}' > test.c && gcc -v -Q -march=westmere -O2 test.c -o test && rm test.c test
    
    

    Compares the 2 terminals and take a look if there are differencies or not.

     

    I use this method

     

    I wish not to have bored you :)

     

    Thanks for the tip! Never bored and always wanting to learn -- so thanks. 

     

    I'll dig into this further and review the comparisons.

     

    For march=native:

    options passed:  -v test.c -march=westmere -mmmx -mno-3dnow -msse -msse2
     -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha
     -mno-pclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop
     -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1
     -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase
     -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt
     -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1
     -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw
     -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-pcommit
     -mno-mwaitx --param l1-cache-size=32 --param l1-cache-line-size=64
     --param l2-cache-size=3072 -mtune=westmere -O2
    

    For march=westmere

    options passed:  -v test.c -march=westmere -O2
    
  11. I have run Arch for a while and did an install of Funtoo this past weekend. I found installing Funtoo to be very straightforward and went right off the online Funtoo install guide.  The guide is a linear, thought-out process with no detours. The package and system management between Arch and Funtoo are substantially different but I had a lot of time to read up while compiling the Funtoo packages. Again -- I found the Funtoo install to be sensible and very adaptive.

     

    The only issue I had after installation was that I could not get xfce4-terminal, geany, or gnome-terminal to run. I searched a few lists and the problem seemed to be linked to the subarch type used for compilation. My processor is an Intel64-westmere so that was my stage3 and subarch choice. I decided to change the subarch to generic_64 and recompiled a few packages based on the --newuse emerge option. After that each of those programs started working perfectly.

×
×
  • Create New...