Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670192 - www-client/midori-6.0 - make: No rule to make target '../po/en.po', needed by 'po/en.gmo'. Stop
Summary: www-client/midori-6.0 - make: No rule to make target '../po/en.po', needed by...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-03 12:02 UTC by Helmut Jarausch
Modified: 2018-12-02 16:15 UTC (History)
3 users (show)

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


Attachments
emerge --info (xz-compressed) (midori-6.0.info.xz,7.40 KB, application/x-xz)
2018-11-03 12:02 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2018-11-03 12:02:10 UTC
Created attachment 553940 [details]
emerge --info  (xz-compressed)

Building midori-6.0 fails with

No rule to make target '../po/en.po', needed by 'po/en.gmo'.  Stop
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-04 13:06:41 UTC
It's not missing at all - po files are usually based on English as source language, so having en.po normally makes no sense.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-04 13:10:21 UTC
Comment on attachment 553940 [details]
emerge --info  (xz-compressed)

Please attach the entire build log to this bug report, too.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-04 13:29:20 UTC
po/CMakeLists.txt says:

include(FindGettext)
if (GETTEXT_FOUND)
    set(LANGUAGES $ENV{LINGUAS})
    if (NOT LANGUAGES)
        file(GLOB POTFILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.po")


It naively takes whatever you set in LINGUAS and then fails if that doesn't match what pofiles it has, so the LINGUAS variable should be filtered in the ebuild.
Comment 4 Larry the Git Cow gentoo-dev 2018-11-04 13:37:29 UTC
The bug has been closed via the following commit(s):

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

commit 81d8bd2ca58a0a80dbb3e5541710006d5c4a082d
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2018-11-04 13:37:08 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2018-11-04 13:37:25 +0000

    www-client/midori: Filter LINGUAS
    
    Fixes: https://bugs.gentoo.org/670192
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 www-client/midori/midori-6.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-11-04 15:21:06 UTC
Reopening to solve properly upstream.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-06 12:36:28 UTC
Bug fixes now punishable. Rejoice.
Comment 7 Larry the Git Cow gentoo-dev 2018-12-02 16:15:08 UTC
The bug has been closed via the following commit(s):

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

commit 51e1a1112b3bca5bef16f7d23b7f78c1f92c41eb
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-12-02 16:13:45 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-02 16:15:01 +0000

    www-client/midori: Bump to 7.0
    
    Closes: https://bugs.gentoo.org/670192
    Closes: https://bugs.gentoo.org/670270
    Closes: https://bugs.gentoo.org/670354
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 www-client/midori/Manifest          |  1 +
 www-client/midori/midori-7.0.ebuild | 62 +++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)