Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Unable to install i3-rounded from guru overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
salvii422
n00b
n00b


Joined: 08 Jun 2021
Posts: 17

PostPosted: Thu Oct 21, 2021 1:26 pm    Post subject: [solved] Unable to install i3-rounded from guru overlay Reply with quote

So I get the following output when I try to merge i3-rounded... is this something I can fix on my end?

Code:
>>> Emerging (1 of 1) x11-wm/i3-rounded-4.19.1::guru
>>> Downloading 'http://distfiles.gentoo.org/distfiles/b5/i3-rounded-4.19.1.tar.gz'
--2021-10-21 08:23:51--  http://distfiles.gentoo.org/distfiles/b5/i3-rounded-4.19.1.tar.gz
Resolving distfiles.gentoo.org... 156.146.36.23, 195.181.169.23, 89.187.177.17, ...
Connecting to distfiles.gentoo.org|156.146.36.23|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-21 08:23:51 ERROR 404: Not Found.

>>> Downloading 'https://github.com/linobigatti/i3-rounded/archive/refs/tags/4.19.1.tar.gz'
--2021-10-21 08:23:51--  https://github.com/linobigatti/i3-rounded/archive/refs/tags/4.19.1.tar.gz
Resolving github.com... 140.82.113.4
Connecting to github.com|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/LinoBigatti/i3-rounded/tar.gz/refs/tags/4.19.1 [following]
--2021-10-21 08:23:52--  https://codeload.github.com/LinoBigatti/i3-rounded/tar.gz/refs/tags/4.19.1
Resolving codeload.github.com... 140.82.113.10
Connecting to codeload.github.com|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/var/cache/distfiles/i3-rounded-4.19.1.tar.gz.__download__’

/var/cache/distfile     [         <=>        ]   4.00M  2.42MB/s    in 1.7s   

2021-10-21 08:23:54 (2.42 MB/s) - ‘/var/cache/distfiles/i3-rounded-4.19.1.tar.gz.__download__’ saved [4190495]

!!! Fetched file: i3-rounded-4.19.1.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      4190495
!!! Expected: 4190542
Refetching... File renamed to '/var/cache/distfiles/i3-rounded-4.19.1.tar.gz._checksum_failure_.vv5rbqwh'

!!! Couldn't download 'i3-rounded-4.19.1.tar.gz'. Aborting.
 * Fetch failed for 'x11-wm/i3-rounded-4.19.1', Log file:
 *  '/var/log/portage/x11-wm:i3-rounded-4.19.1:20211021-132351.log'

>>> Failed to emerge x11-wm/i3-rounded-4.19.1


Last edited by salvii422 on Fri Oct 22, 2021 1:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30885
Location: here

PostPosted: Thu Oct 21, 2021 1:59 pm    Post subject: Reply with quote

It's a bug, you can copy it in your local overlay and re-create manifest.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
salvii422
n00b
n00b


Joined: 08 Jun 2021
Posts: 17

PostPosted: Thu Oct 21, 2021 10:01 pm    Post subject: Reply with quote

Alright, I managed to set up my own local overlay, but I'm doing something wrong... when I attempt to merge the package, I get the following output, and I can 't seem to figure out why.

Code:
emerge i3-rounded
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-wm/i3-rounded-4.19.1::skalle
 * i3-rounded-4.19.1.tar.gz BLAKE2B SHA512 size ;-) ...                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking i3-rounded-4.19.1.tar.gz to /var/tmp/portage/x11-wm/i3-rounded-4.19.1/work
>>> Source unpacked in /var/tmp/portage/x11-wm/i3-rounded-4.19.1/work
>>> Preparing source in /var/tmp/portage/x11-wm/i3-rounded-4.19.1/work/i3-rounded-4.19.1 ...
 * Applying i3-rounded-4.18-musl.patch ...
/var/tmp/portage/x11-wm/i3-rounded-4.19.1/temp/environment: line 1009: /var/tmp/portage/x11-wm/i3-rounded-4.19.1/files/i3-rounded-4.18-musl.patch: No such file or directory
/var/tmp/portage/x11-wm/i3-rounded-4.19.1/temp/environment: line 1012: /var/tmp/portage/x11-wm/i3-rounded-4.19.1/files/i3-rounded-4.18-musl.patch: No such file or directory                                                                                                       [ !! ]
 * ERROR: x11-wm/i3-rounded-4.19.1::skalle failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/x11-wm/i3-rounded-4.19.1/files/i3-rounded-4.18-musl.patch
 *
 * Call stack:
 *               ebuild.sh, line  127:  Called src_prepare
 *             environment, line 2318:  Called default
 *      phase-functions.sh, line  858:  Called default_src_prepare
 *      phase-functions.sh, line  923:  Called __eapi6_src_prepare
 *             environment, line  266:  Called eapply '/var/tmp/portage/x11-wm/i3-rounded-4.19.1/files/i3-rounded-4.18-musl.patch' '/var/tmp/portage/x11-wm/i3-rounded-4.19.1/files/i3-rounded-4.19-fix-docdir.patch'
 *             environment, line 1077:  Called _eapply_patch '/var/tmp/portage/x11-wm/i3-rounded-4.19.1/files/i3-rounded-4.18-musl.patch'
 *             environment, line 1015:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/x11-wm/i3-rounded-4.19.1/files/i3-rounded-4.18-musl.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=x11-wm/i3-rounded-4.19.1::skalle'`,
 * the complete build log and the output of `emerge -pqv '=x11-wm/i3-rounded-4.19.1::skalle'`.
 * The complete build log is located at '/var/log/portage/x11-wm:i3-rounded-4.19.1:20211021-215853.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-wm/i3-rounded-4.19.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-wm/i3-rounded-4.19.1/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-wm/i3-rounded-4.19.1/work/i3-rounded-4.19.1'
 * S: '/var/tmp/portage/x11-wm/i3-rounded-4.19.1/work/i3-rounded-4.19.1'

>>> Failed to emerge x11-wm/i3-rounded-4.19.1, Log file:

>>>  '/var/log/portage/x11-wm:i3-rounded-4.19.1:20211021-215853.log'
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30885
Location: here

PostPosted: Fri Oct 22, 2021 5:25 am    Post subject: Reply with quote

You missed to copy files directory and its content in your local overlay.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
salvii422
n00b
n00b


Joined: 08 Jun 2021
Posts: 17

PostPosted: Fri Oct 22, 2021 12:38 pm    Post subject: Reply with quote

I've done that, and I'm still getting the same error. I folllowed the wiki on how to create a local overlay, then made a bunch of mistakes trying to get a manifest made, and now it's complaining these files aren't there when they are. I apologize for what must seem like silly questions; I'm still new to Gentoo.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30885
Location: here

PostPosted: Fri Oct 22, 2021 12:46 pm    Post subject: Reply with quote

Sorry I misread, it seems that patch i3-rounded-4.18-musl.patch not working with 4.19 version.
If you don't use musl you can remove patch from ebuild, the lines
Code:
PATCHES=(
        "${FILESDIR}/${PN}-4.18-musl.patch"
        "${FILESDIR}/${PN}-4.19-fix-docdir.patch"
)

should become
Code:
PATCHES=(
        "${FILESDIR}/${PN}-4.19-fix-docdir.patch"
)

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
salvii422
n00b
n00b


Joined: 08 Jun 2021
Posts: 17

PostPosted: Fri Oct 22, 2021 1:39 pm    Post subject: Reply with quote

I got it! Thank you for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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