Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758806 - net-libs/libtorrent-rasterbar-1.2.11 Version Bump
Summary: net-libs/libtorrent-rasterbar-1.2.11 Version Bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-06 14:38 UTC by Ulenrich
Modified: 2021-01-21 21:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulenrich 2020-12-06 14:38:31 UTC
The stable branch < 2 has an update for many fixes:
https://github.com/arvidn/libtorrent/releases/tag/v1.2.11

Though I have to change the ebuild:
--- libtorrent-rasterbar-1.2.10.ebuild	2020-09-09 10:30:25.223992362 +0200
+++ libtorrent-rasterbar-1.2.11.ebuild	2020-12-06 15:20:34.976648814 +0100
@@ -12,7 +12,7 @@
 
 DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
 HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent"
-SRC_URI="https://github.com/arvidn/libtorrent/archive/libtorrent-${PV}.tar.gz"
+SRC_URI="https://github.com/arvidn/libtorrent/archive/v${PV}.tar.gz -> libtorrent-${PV}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/10"
---

But then the build process breaks:
 * Messages for package net-libs/libtorrent-rasterbar-1.2.11:
 * Log file: ../emergelog/build/net-libs/libtorrent-rasterbar-1.2.11:20201206-142550.log

 * ERROR: net-libs/libtorrent-rasterbar-1.2.11::local failed (prepare phase):
 *   The source directory '/tmp/portage/net-libs/libtorrent-rasterbar-1.2.11/work/libtorrent-libtorrent-1.2.11' doesn't exist
---
The working directory is not:
work/libtorrent-libtorrent-1.2.11
but:
work/libtorrent-1.2.11
Comment 1 Ulenrich 2020-12-06 14:48:31 UTC
Arrgh, there is an S=Workdir, so the ebuild must be changed:
--- libtorrent-rasterbar-1.2.10.ebuild	2020-09-09 10:30:25.223992362 +0200
+++ libtorrent-rasterbar-1.2.11.ebuild	2020-12-06 15:45:16.217175327 +0100
@@ -12,7 +12,7 @@
 
 DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
 HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent"
-SRC_URI="https://github.com/arvidn/libtorrent/archive/libtorrent-${PV}.tar.gz"
+SRC_URI="https://github.com/arvidn/libtorrent/archive/v${PV}.tar.gz -> libtorrent-${PV}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/10"
@@ -23,7 +23,7 @@
 
 RESTRICT="!test? ( test )"
 
-S="${WORKDIR}/libtorrent-libtorrent-${PV}"
+S="${WORKDIR}/libtorrent-${PV}"
 
 RDEPEND="
 	dev-libs/boost:=[threads]
---
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-01-21 21:23:32 UTC
Bumped.