Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

euduca

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by euduca

  1. Hello everybody,

    forgive me for my doubt, which I think is foolish.

    I've been using Funtoo every day for over a year (I used Gentoo before), and I really like this distribution, and I use it in the desktop version using Gnome.


    For almost two months I have noticed that there are no more updates on my system.


    I run the "ego sync" command and right aftere "emerge -avuDN "@world". All branches appear to be updated, but I find it strange that in almost two months no package needs updating.

    Sorry for the doubt, but I don't know if everything is actually ok, or I need to change something in my desktop configuration.

    Grateful,

    Duca.

  2. I created an overlay for the  Spotify.
    I already have an overlay directory previously configured.

    The spotify-1.0.92.ebuild is the original.
    The version spotify-1.0.94.262.ebuild works perfectly.
    The version spotify-1.0.96.181.ebuild presents an error:

    # dmesg | grep spotify
    [ 2397.797601] traps: spotify[10395] trap int3 ip:7fcc1f7af025 sp:7ffe40b674a0 error:0 in libcef.so[7fcc1c3d1000+5ba9000]

     

    My changes:

    # diff -U3 spotify-1.0.92.ebuild spotify-1.0.94.262.ebuild
    --- spotify-1.0.92.ebuild    2019-01-16 15:25:46.247874324 -0300
    +++ spotify-1.0.94.262.ebuild    2019-01-16 14:59:10.615914461 -0300
    @@ -7,7 +7,7 @@
     DESCRIPTION="Spotify is a social music platform"
     HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
     SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/"
    -BUILD_ID_AMD64="390.g2ce5ec7d-18"
    +BUILD_ID_AMD64="g3d5c231c-9"
     #BUILD_ID_X86=""
     #SRC_URI="amd64? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb )
     #    x86? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_X86}_i386.deb )"

    My overlay directory:

    # pwd
    /var/git/overlay/myoverlay/media-sound/spotify
    # ls -lash
    total 28K
    4,0K drwxr-xr-x 2 root root 4,0K jan 16 15:25 .
    4,0K drwxr-xr-x 3 root root 4,0K jan 16 14:27 ..
    4,0K -rw-r--r-- 1 root root  397 jan 16 15:02 Manifest
    4,0K -rw-r--r-- 1 root root  459 jan 16 14:30 metadata.xml
    4,0K -rw-r--r-- 1 root root 3,2K jan 16 14:30 spotify-1.0.72-r1.ebuild
    4,0K -rw-r--r-- 1 root root 3,4K jan 16 14:59 spotify-1.0.94.262.ebuild

    Digesting spotify-1.0.94.262.ebuild:

    # ebuild /var/git/overlay/myoverlay/media-sound/spotify/spotify-1.0.94.262.ebuild digest
    >>> Downloading 'http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb'
    --2019-01-16 15:02:17--  http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb
    Resolving repository.spotify.com... 13.32.81.28, 13.32.81.188, 13.32.81.226, ...
    Connecting to repository.spotify.com|13.32.81.28|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 95135550 (91M) [application/octet-stream]
    Saving to: ‘/var/cache/portage/distfiles/spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb’
    
    /var/cache/portage/distfiles/spoti 100%[================================================================>]  90,73M  1,07MB/s    in 92s     
    
    2019-01-16 15:03:50 (1006 KB/s) - ‘/var/cache/portage/distfiles/spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb’ saved [95135550/95135550]
    
     * spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb SHA512 size ;-) ...                                                               [ ok ]
    >>> Downloading 'http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.94.262.g3d5c231c-9_amd64.deb'
    --2019-01-16 15:03:50--  http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.94.262.g3d5c231c-9_amd64.deb
    Resolving repository.spotify.com... 13.32.81.28, 13.32.81.188, 13.32.81.226, ...
    Connecting to repository.spotify.com|13.32.81.28|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 104191924 (99M) [application/octet-stream]
    Saving to: ‘/var/cache/portage/distfiles/spotify-client_1.0.94.262.g3d5c231c-9_amd64.deb’
    
    /var/cache/portage/distfiles/spoti 100%[================================================================>]  99,36M  1,07MB/s    in 96s     
    
    2019-01-16 15:05:26 (1,04 MB/s) - ‘/var/cache/portage/distfiles/spotify-client_1.0.94.262.g3d5c231c-9_amd64.deb’ saved [104191924/104191924]
    
    >>> Creating Manifest for /var/git/overlay/myoverlay/media-sound/spotify

     

    Emerging Spotify:

    # emerge spotify
    Calculating dependencies... done!
    
    >>> Verifying ebuild manifests
    
    >>> Emerging (1 of 1) media-sound/spotify-1.0.94.262::myoverlay
     * spotify-client_1.0.94.262.g3d5c231c-9_amd64.deb SHA512 size ;-) ...                                                               [ ok ]
    >>> Unpacking source...
    >>> Unpacking spotify-client_1.0.94.262.g3d5c231c-9_amd64.deb to /var/tmp/portage/media-sound/spotify-1.0.94.262/work
    >>> Unpacking data.tar.gz to /var/tmp/portage/media-sound/spotify-1.0.94.262/work
    >>> Source unpacked in /var/tmp/portage/media-sound/spotify-1.0.94.262/work
    >>> Preparing source in /var/tmp/portage/media-sound/spotify-1.0.94.262/work ...
    >>> Source prepared.
    >>> Configuring source in /var/tmp/portage/media-sound/spotify-1.0.94.262/work ...
    >>> Source configured.
    >>> Compiling source in /var/tmp/portage/media-sound/spotify-1.0.94.262/work ...
    >>> Source compiled.
    >>> Test phase [not enabled]: media-sound/spotify-1.0.94.262
    
    >>> Install spotify-1.0.94.262 into /var/tmp/portage/media-sound/spotify-1.0.94.262/image/ category media-sound
    >>> Completed installing spotify-1.0.94.262 into /var/tmp/portage/media-sound/spotify-1.0.94.262/image/
    
     * Final size of build directory: 238376 KiB (232.7 MiB)
     * Final size of installed tree:  238640 KiB (233.0 MiB)
    
    ecompressdir: bzip2 -9 /usr/share/doc
    
    >>> Installing (1 of 1) media-sound/spotify-1.0.94.262::myoverlay
     * Updating icons cache ...                                                                                                          [ ok ]
     * Updating shared mime info database ...                                                                                            [ ok ]
     * Updating .desktop files database ...                                                                                              [ ok ]
     * Updating icons cache ...                                                                                                          [ ok ]
     * Updating shared mime info database ...                                                                                            [ ok ]
     * Updating .desktop files database ...                                                                                              [ ok ]
     * If Spotify crashes after an upgrade its cache may be corrupt.
     * To remove the cache:
     * rm -rf ~/.cache/spotify
    
     * Messages for package media-sound/spotify-1.0.94.262:
    
     * If Spotify crashes after an upgrade its cache may be corrupt.
     * To remove the cache:
     * rm -rf ~/.cache/spotify
    >>> Auto-cleaning packages...
    
    >>> No outdated packages were found on your system.
    
     * GNU info directory index is up-to-date.

     

    Let's rock and roll \m/

     

  3. Hi.

    It's just a warning, so I don't know if here is the right place.


    The package Spotify, version, 1.0.92 is missing on the repository: http://repository.spotify.com/pool/non-free/s/spotify-client/

    # emerge spotify
    Calculating dependencies... done!
    
    >>> Verifying ebuild manifests
    
    >>> Emerging (1 of 1) media-sound/spotify-1.0.92::media-kit
    >>> Downloading 'http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.92.390.g2ce5ec7d-18_amd64.deb'
    --2019-01-16 14:19:35--  http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.92.390.g2ce5ec7d-18_amd64.deb
    Resolving repository.spotify.com... 13.32.81.28, 13.32.81.188, 13.32.81.226, ...
    Connecting to repository.spotify.com|13.32.81.28|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2019-01-16 14:19:36 ERROR 404: Not Found.
    
    !!! Couldn't download 'spotify-client_1.0.92.390.g2ce5ec7d-18_amd64.deb'. Aborting.
     * Fetch failed for 'media-sound/spotify-1.0.92', Log file:
     *  '/var/tmp/portage/media-sound/spotify-1.0.92/temp/build.log'
    
    >>> Failed to emerge media-sound/spotify-1.0.92, Log file:
    
    >>>  '/var/tmp/portage/media-sound/spotify-1.0.92/temp/build.log'
    
     * Messages for package media-sound/spotify-1.0.92:
    
     * Fetch failed for 'media-sound/spotify-1.0.92', Log file:
     *  '/var/tmp/portage/media-sound/spotify-1.0.92/temp/build.log'
    Available packages are:
    spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb    27-Feb-2018 13:30            95135550
    spotify-client_1.0.94.262.g3d5c231c-9_amd64.deb    03-Dec-2018 09:30           104191924
    spotify-client_1.0.96.181.gf6bc1b6b-12_amd64.deb   09-Jan-2019 14:22           105145290

    Best.

    Duca.

  4. HI.

    I made a diff in my ebuilds and I found this:

    # diff -U3 rust-1.31.1.ebuild rust-1.31.1.ebuild.org
    --- rust-1.31.1.ebuild    2019-01-14 12:14:15.347938069 -0300
    +++ rust-1.31.1.ebuild.org    2019-01-11 16:15:51.107828478 -0300
    @@ -62,7 +62,7 @@
     
     S="${WORKDIR}/${MY_P}-src"
     
    -PATCHES=( "${FILESDIR}"/1.30.1-clippy-sysroot.patch )
    +PATCHES=( "${FILESDIR}"/1.30.1-clippy-sysroot.patch )
     
     toml_usex() {
         usex "$1" true false
    @@ -70,7 +70,7 @@
     
     pre_build_checks() {
         CHECKREQS_DISK_BUILD="7G"
    -    CHECKREQS_MEMORY="3G"
    +    CHECKREQS_MEMORY="4G"
         eshopts_push -s extglob
         if is-flagq '-g?(gdb)?([1-9])'; then
             CHECKREQS_DISK_BUILD="10G"

     

    I don't know why the PATCHES line is different, it seems equal to me. But,  I deleted all l files and I changed the files againd.
    And now:

    # diff -U3 rust-1.31.1.ebuild.org rust-1.31.1.ebuild
    --- rust-1.31.1.ebuild.org    2019-01-14 14:27:13.771672610 -0300
    +++ rust-1.31.1.ebuild    2019-01-14 14:27:26.735672179 -0300
    @@ -70,7 +70,7 @@
     
     pre_build_checks() {
         CHECKREQS_DISK_BUILD="7G"
    -    CHECKREQS_MEMORY="4G"
    +    CHECKREQS_MEMORY="3G"
         eshopts_push -s extglob
         if is-flagq '-g?(gdb)?([1-9])'; then
             CHECKREQS_DISK_BUILD="10G"

     

    I repeated the digest command and now the emerge works.

     # emerge rust
    Calculating dependencies... done!
    
    >>> Verifying ebuild manifests
    >>> Running pre-merge checks for dev-lang/rust-1.31.1
     * Checking for at least 3 GiB RAM ...                                                                                               [ ok ]
     * Checking for at least 7 GiB disk space at "/var/tmp/portage/dev-lang/rust-1.31.1/temp" ...                                        [ ok ]
    
    >>> Emerging (1 of 1) dev-lang/rust-1.31.1::myoverlay
     * rustc-1.31.1-src.tar.xz SHA512 size ;-) ...                                                                                       [ ok ]
     * rust-1.30.1-x86_64-unknown-linux-gnu.tar.xz SHA512 size ;-) ...                                                                   [ ok ]
     * Checking for at least 3 GiB RAM ...                                                                                               [ ok ]
     * Checking for at least 7 GiB disk space at "/var/tmp/portage/dev-lang/rust-1.31.1/temp" ...                                        [ ok ]
    >>> Unpacking source...
    >>> Unpacking rustc-1.31.1-src.tar.xz to /var/tmp/portage/dev-lang/rust-1.31.1/work
    >>> Unpacking rust-1.30.1-x86_64-unknown-linux-gnu.tar.xz to /var/tmp/portage/dev-lang/rust-1.31.1/work
    >>> Source unpacked in /var/tmp/portage/dev-lang/rust-1.31.1/work
    >>> Preparing source in /var/tmp/portage/dev-lang/rust-1.31.1/work/rustc-1.31.1-src ...
    install: creating uninstall script at /var/tmp/portage/dev-lang/rust-1.31.1/work/rust-stage0/lib/rustlib/uninstall.sh
    install: installing component 'rustc'
    install: installing component 'cargo'
    install: installing component 'rls-preview'
    install: installing component 'clippy-preview'
    install: installing component 'rustfmt-preview'
    install: installing component 'llvm-tools-preview'
    install: installing component 'rust-analysis-x86_64-unknown-linux-gnu'
    install: installing component 'rust-std-x86_64-unknown-linux-gnu'
    install: installing component 'rust-docs'
    
        Rust is ready to roll.
    
     * Applying 1.30.1-clippy-sysroot.patch ...                                                                                          [ ok ]
    >>> Source prepared.
    >>> Configuring source in /var/tmp/portage/dev-lang/rust-1.31.1/work/rustc-1.31.1-src ...
    >>> Source configured.
    >>> Compiling source in /var/tmp/portage/dev-lang/rust-1.31.1/work/rustc-1.31.1-src ...

     

    The problem is solved.

    Thanks.

  5. Hi.

    I'm trying to install the rust-1.31.1 package.

    During compilation an error occurs because the machine has less than 4GB of memory.
    So I created an overlay and changed the limit from 4GB to 3GB.

     # free -m
                  total        used        free      shared  buff/cache   available
    Mem:           3416         686         298           1        2432        2449
    Swap:          8191           0        8191

     

    I followed this guide: Local Overlay

    My steps:

    1. Creating the local reposiotry

    mkdir /var/git/overlay
    cd /var/git/overlay
    git clone  https://github.com/funtoo/skeleton-overlay.git myoverlay
    echo "myoverlay" > /var/git/overlay/myoverlay/profiles/repo_name

    2. Editing the /etc/portage/repos.conf/myoverlay.conf file:

    # nano /etc/portage/repos.conf/myoverlay.conf 
    
    [myoverlay]
    location = /var/git/overlay/myoverlay
    auto-sync = no
    priority = 10

    3. Creating the ebuild's path:

    # install -d /var/git/overlay/myoverlay/dev-lang/rust
    # cd /var/git/overlay/myoverlay/dev-lang/rust
    # cp -r /var/git/meta-repo/kits/net-kit/dev-lang/rust/* .

    4. Modifying the check parameter CHECKREQS_MEMORY="4G" by CHECKREQS_MEMORY="3G" into rust-1.31.1.ebuild.

    5. Digesting the ebuild:

     # ebuild /var/git/overlay/myoverlay/dev-lang/rust/rust-1.31.1.ebuild digest
    >>> Creating Manifest for /var/git/overlay/myoverlay/dev-lang/rust

    After that  all versions of rust were downloaded. by the ebuild command.

    6. Emerging the package:

    # emerge rust
    Calculating dependencies... done!
    
    >>> Verifying ebuild manifests
    >>> Running pre-merge checks for dev-lang/rust-1.31.1
     * Checking for at least 3 GiB RAM ...                                                                                               [ ok ]
     * Checking for at least 7 GiB disk space at "/var/tmp/portage/dev-lang/rust-1.31.1/temp" ...                                        [ ok ]
    
    >>> Emerging (1 of 1) dev-lang/rust-1.31.1::myoverlay
     * rustc-1.31.1-src.tar.xz SHA512 size ;-) ...                                                                                       [ ok ]
     * rust-1.30.1-x86_64-unknown-linux-gnu.tar.xz SHA512 size ;-) ...                                                                   [ ok ]
     * Checking for at least 3 GiB RAM ...                                                                                               [ ok ]
     * Checking for at least 7 GiB disk space at "/var/tmp/portage/dev-lang/rust-1.31.1/temp" ...                                        [ ok ]
    >>> Unpacking source...
    >>> Unpacking rustc-1.31.1-src.tar.xz to /var/tmp/portage/dev-lang/rust-1.31.1/work
    >>> Unpacking rust-1.30.1-x86_64-unknown-linux-gnu.tar.xz to /var/tmp/portage/dev-lang/rust-1.31.1/work
    >>> Source unpacked in /var/tmp/portage/dev-lang/rust-1.31.1/work
    >>> Preparing source in /var/tmp/portage/dev-lang/rust-1.31.1/work/rustc-1.31.1-src ...
    install: creating uninstall script at /var/tmp/portage/dev-lang/rust-1.31.1/work/rust-stage0/lib/rustlib/uninstall.sh
    install: installing component 'rustc'
    install: installing component 'cargo'
    install: installing component 'rls-preview'
    install: installing component 'clippy-preview'
    install: installing component 'rustfmt-preview'
    install: installing component 'llvm-tools-preview'
    install: installing component 'rust-analysis-x86_64-unknown-linux-gnu'
    install: installing component 'rust-std-x86_64-unknown-linux-gnu'
    install: installing component 'rust-docs'
    
        Rust is ready to roll.
    
     * Applying 1.30.1-clippy-sysroot.patch  ...
    /var/tmp/portage/dev-lang/rust-1.31.1/temp/environment: line 1172: /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch : No such file or directory                                                                                                           [ !! ]
     * ERROR: dev-lang/rust-1.31.1::myoverlay failed (prepare phase):
     *   patch -p1  failed with /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch 
     * 
     * Call stack:
     *               ebuild.sh, line   92:  Called src_prepare
     *             environment, line 4389:  Called default
     *      phase-functions.sh, line  868:  Called default_src_prepare
     *      phase-functions.sh, line  933:  Called __eapi6_src_prepare
     *             environment, line  270:  Called eapply '/var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch '
     *             environment, line 1237:  Called _eapply_patch '/var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch '
     *             environment, line 1175:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch '
     *   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/rust-1.31.1::myoverlay'`,
     * the complete build log and the output of `emerge -pqv '=dev-lang/rust-1.31.1::myoverlay'`.
     * The complete build log is located at '/var/tmp/portage/dev-lang/rust-1.31.1/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/dev-lang/rust-1.31.1/temp/environment'.
     * Working directory: '/var/tmp/portage/dev-lang/rust-1.31.1/work/rustc-1.31.1-src'
     * S: '/var/tmp/portage/dev-lang/rust-1.31.1/work/rustc-1.31.1-src'
    
    >>> Failed to emerge dev-lang/rust-1.31.1, Log file:
    
    >>>  '/var/tmp/portage/dev-lang/rust-1.31.1/temp/build.log'
    
     * Messages for package dev-lang/rust-1.31.1:
    
     * ERROR: dev-lang/rust-1.31.1::myoverlay failed (prepare phase):
     *   patch -p1  failed with /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch 
     * 
     * Call stack:
     *               ebuild.sh, line   92:  Called src_prepare
     *             environment, line 4389:  Called default
     *      phase-functions.sh, line  868:  Called default_src_prepare
     *      phase-functions.sh, line  933:  Called __eapi6_src_prepare
     *             environment, line  270:  Called eapply '/var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch '
     *             environment, line 1237:  Called _eapply_patch '/var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch '
     *             environment, line 1175:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch '
     *   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/rust-1.31.1::myoverlay'`,
     * the complete build log and the output of `emerge -pqv '=dev-lang/rust-1.31.1::myoverlay'`.
     * The complete build log is located at '/var/tmp/portage/dev-lang/rust-1.31.1/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/dev-lang/rust-1.31.1/temp/environment'.
     * Working directory: '/var/tmp/portage/dev-lang/rust-1.31.1/work/rustc-1.31.1-src'
     * S: '/var/tmp/portage/dev-lang/rust-1.31.1/work/rustc-1.31.1-src'

     

    The error is: 

     * Applying 1.30.1-clippy-sysroot.patch  ...
    /var/tmp/portage/dev-lang/rust-1.31.1/temp/environment: line 1172: /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch : No such file or directory                                                                                                           [ !! ]
     * ERROR: dev-lang/rust-1.31.1::myoverlay failed (prepare phase):
     *   patch -p1  failed with /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch 

     

    But the file /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch exists! ?

     # ls -lash /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch
    4.0K -rw-r--r-- 1 root root 2.9K Jan 11 15:45 /var/tmp/portage/dev-lang/rust-1.31.1/files/1.30.1-clippy-sysroot.patch

     

    What can I do ?

    My best regards.

    Duca.

×
×
  • Create New...