Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647468 - media-plugins/kodi-inputstream-adaptive-2.0.10 - .../work/inputstream.adaptive-2.0.10/src/main.h:22:10: fatal error: kodi/addon-instance/Inputstream.h: No such file or directory
Summary: media-plugins/kodi-inputstream-adaptive-2.0.10 - .../work/inputstream.adaptiv...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-13 03:53 UTC by faminebadger
Modified: 2018-04-17 16:00 UTC (History)
0 users

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


Attachments
build.log (build.log,239.59 KB, text/plain)
2018-02-13 03:55 UTC, faminebadger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description faminebadger 2018-02-13 03:53:20 UTC
Missing include file <kodi/addon-instance/Inputstream.h>

Looks like this is due to https://bugs.gentoo.org/show_bug.cgi?id=647228

I suspect the new version of the addon requires kodi 18, which isn't in gentoo at all, therefore neither should the new version of this addon be.
Comment 1 faminebadger 2018-02-13 03:55:08 UTC
Created attachment 519292 [details]
build.log

Emerge build log attached.

Confirmed no such include file exists in either add-on or kodi itself.
Comment 2 Larry the Git Cow gentoo-dev 2018-02-13 04:08:22 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f95ebb665f629b8c5f8e20deca7256b94e44d8c

commit 0f95ebb665f629b8c5f8e20deca7256b94e44d8c
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-02-13 04:07:32 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-02-13 04:08:12 +0000

    media-plugins/kodi-inputstream-adaptive: 2.0.19 version bump
    
    Bug: https://bugs.gentoo.org/647468
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-plugins/kodi-inputstream-adaptive/Manifest   |  1 +
 .../kodi-inputstream-adaptive-2.0.19.ebuild        | 38 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8218e8c6ea308241090dabe6006976f4850a3ef

commit c8218e8c6ea308241090dabe6006976f4850a3ef
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-02-13 03:55:47 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-02-13 04:08:10 +0000

    media-plugins/kodi-inputstream-adaptive: Drop 2.0.10
    
    This version should never have been committed.
    
    Bug: https://bugs.gentoo.org/647468
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-plugins/kodi-inputstream-adaptive/Manifest   |  1 -
 .../kodi-inputstream-adaptive-2.0.10.ebuild        | 37 ----------------------
 2 files changed, 38 deletions(-)}
Comment 3 Craig Andrews gentoo-dev 2018-02-13 04:11:00 UTC
My apologies about the mistake.

I've committed version 2.0.19 which I believe will solve the problem.

Please let me know if you have any issues.
Comment 4 faminebadger 2018-02-14 02:11:30 UTC
Thought I'd test this for you, but sorry to say the new version that it's been replaced with still doesn't work for me.

Now it can't find the source tarball:

> >>> Verifying ebuild manifests
> >>> Emerging (1 of 1) media-plugins/kodi-inputstream-adaptive-2.0.19::gentoo
> >>> Failed to emerge media-plugins/kodi-inputstream-adaptive-2.0.19, Log file:
> >>>  '/var/tmp/portage/media-plugins/kodi-inputstream-adaptive-2.0.19/temp/build.log'
> >>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.57, 1.37, 0.74
> >>> Downloading 'http://www.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz'
> --2018-02-14 02:10:11--  http://www.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz
> Resolving www.mirrorservice.org... 212.219.56.184
> Connecting to www.mirrorservice.org|212.219.56.184|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-14 02:10:11 ERROR 404: Not Found.
> 
> >>> Downloading 'http://distfiles.gentoo.org/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz'
> --2018-02-14 02:10:11--  http://distfiles.gentoo.org/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz
> Resolving distfiles.gentoo.org... 64.50.236.52, 156.56.247.195, 140.211.166.134, ...
> Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-14 02:10:12 ERROR 404: Not Found.
> 
> >>> Downloading 'http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz'
> --2018-02-14 02:10:12--  http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz
> Resolving www.ibiblio.org... 152.19.134.40
> Connecting to www.ibiblio.org|152.19.134.40|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-14 02:10:12 ERROR 404: Not Found.
> 
> >>> Downloading 'https://codeload.github.com/peak3d/inputstream.adaptive/tar.gz-9af21218a87572bd4ab8d8d660c11f6295144f97'
> --2018-02-14 02:10:12--  https://codeload.github.com/peak3d/inputstream.adaptive/tar.gz-9af21218a87572bd4ab8d8d660c11f6295144f97
> Resolving codeload.github.com... 192.30.253.120, 192.30.253.121
> Connecting to codeload.github.com|192.30.253.120|:443... connected.
> HTTP request sent, awaiting response... 400 Bad Request
> 2018-02-14 02:10:13 ERROR 400: Bad Request.
> 
> !!! Couldn't download 'kodi-inputstream-adaptive-2.0.19.tar.gz'. Aborting.
>  * Fetch failed for 'media-plugins/kodi-inputstream-adaptive-2.0.19', Log file:
>  *  '/var/tmp/portage/media-plugins/kodi-inputstream-adaptive-2.0.19/temp/build.log'
Comment 5 Helmut Auer 2018-02-21 12:16:38 UTC
I can double this issue:

>>> Emerging (3 of 3) media-plugins/kodi-inputstream-adaptive-2.0.19::gentoo
>>> Downloading 'http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz'
--2018-02-21 13:14:53--  http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz
Resolving ftp-stud.hs-esslingen.de... 129.143.116.10, 2001:7c0:700::10
Connecting to ftp-stud.hs-esslingen.de|129.143.116.10|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-02-21 13:14:53 ERROR 404: Not Found.

>>> Downloading 'ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz'
--2018-02-21 13:14:53--  ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz
           => ‘/usr/portage/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz’
Resolving ftp-stud.hs-esslingen.de... 129.143.116.10, 2001:7c0:700::10
Connecting to ftp-stud.hs-esslingen.de|129.143.116.10|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/Mirrors/gentoo/distfiles ... done.
==> SIZE kodi-inputstream-adaptive-2.0.19.tar.gz ... done.

==> PASV ... done.    ==> RETR kodi-inputstream-adaptive-2.0.19.tar.gz ...
No such file ‘kodi-inputstream-adaptive-2.0.19.tar.gz’.

>>> Downloading 'ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz'
--2018-02-21 13:14:53--  ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz
           => ‘/usr/portage/distfiles/kodi-inputstream-adaptive-2.0.19.tar.gz’
Resolving sunsite.informatik.rwth-aachen.de... 137.226.34.227
Connecting to sunsite.informatik.rwth-aachen.de|137.226.34.227|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/Linux/gentoo/distfiles ... done.
==> SIZE kodi-inputstream-adaptive-2.0.19.tar.gz ... done.

==> PASV ... done.    ==> RETR kodi-inputstream-adaptive-2.0.19.tar.gz ...
No such file ‘kodi-inputstream-adaptive-2.0.19.tar.gz’.

>>> Downloading 'https://codeload.github.com/peak3d/inputstream.adaptive/tar.gz-9af21218a87572bd4ab8d8d660c11f6295144f97'
--2018-02-21 13:14:54--  https://codeload.github.com/peak3d/inputstream.adaptive/tar.gz-9af21218a87572bd4ab8d8d660c11f6295144f97
Resolving codeload.github.com... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2018-02-21 13:14:54 ERROR 400: Bad Request.

!!! Couldn't download 'kodi-inputstream-adaptive-2.0.19.tar.gz'. Aborting.
 * Fetch failed for 'media-plugins/kodi-inputstream-adaptive-2.0.19', Log file:
 *  '/log/portage/media-plugins:kodi-inputstream-adaptive-2.0.19:20180221-121453.log'
Comment 6 faminebadger 2018-02-28 15:21:34 UTC
This is still broken by the way!  Somehow an ebuild that has a SRC_URI that doesn't even exist has been accepted into the tree.
Comment 7 Craig Andrews gentoo-dev 2018-02-28 16:28:53 UTC
It did exist at that URL - upstream can remove things, that does happen :)

Pull requests welcome, as always. My apologies but I don't have time to address this immediately for you, but I'd love your help. Thanks!
Comment 8 faminebadger 2018-03-06 05:38:51 UTC
(In reply to Craig Andrews from comment #7)
> It did exist at that URL - upstream can remove things, that does happen :)
 
I'm not sure it was ever there.  I tested this ebuild the day it was "fixed", as can be seen from comment #4 - it wasn't there then, and hasn't been ever since.
Comment 9 Helmut Auer 2018-04-04 06:15:29 UTC
That definitely never worked ;)
There's a syntax error in the SRC_URI
The ebuild has:
SRC_URI="https://codeload.github.com/peak3d/inputstream.adaptive/tar.gz-${GIT_COMMIT} -> ${P}.tar.gz"
but there must be a / instead of - :
SRC_URI="https://codeload.github.com/peak3d/inputstream.adaptive/tar.gz/${GIT_COMMIT} -> ${P}.tar.gz"
Comment 10 Craig Andrews gentoo-dev 2018-04-06 18:33:47 UTC
I've just pushed version 2.0.20 - can you please test that and see if solves your issues?
Comment 11 Helmut Auer 2018-04-17 09:49:19 UTC
2.0.220 is fine - thanks :)
Comment 12 Helmut Auer 2018-04-17 09:50:08 UTC
I meant 2.0.20 :)