Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 809464 - net-p2p/classified-ads-0.13-r1 installs files into unexpected paths
Summary: net-p2p/classified-ads-0.13-r1 installs files into unexpected paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Antti Järvinen
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-08-21 18:55 UTC by Agostino Sarubbo
Modified: 2021-11-22 14:03 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,633.39 KB, text/plain)
2021-08-21 18:55 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-08-21 18:55:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-p2p/classified-ads-0.13-r1 installs files into unexpected paths.
Discovered on: amd64 (internal ref: tinderbox)
Comment 1 Agostino Sarubbo gentoo-dev 2021-08-21 18:55:52 UTC
Created attachment 734935 [details]
build.log

build log and emerge --info
Comment 2 Antti Järvinen 2021-08-21 19:31:08 UTC
Hello Agostino,

thank you for your bug report. I have a clarification before I proceed in trying to fix this issue: the attached "details" file says

 * QA Notice: The ebuild is installing to one or more unexpected paths:
 * 
 *   /usr/share/doc/classified-ads

while https://projects.gentoo.org/qa/policy-guide/filesystem.html seems to allow this, saying "Furthermore, within /usr/share/doc hierarchy only a subdirectory named after full package name and version with revision (PF) is permitted." -> do I have some misunderstanding with package name or what? Should subdirectory inside /usr/share/doc include version number too or what might be the issue? 

--
Antti
Comment 3 Emily Rowlands 2021-08-23 12:54:57 UTC
> -> do I have some misunderstanding with package name or what?
> Should subdirectory inside /usr/share/doc include version number too or what
> might be the issue? 

According to [0], PF looks something like this: vim-6.3-r1. It's essentially the base part of the ebuild file name.


[0]: https://devmanual.gentoo.org/ebuild-writing/variables/index.html
Comment 4 Larry the Git Cow gentoo-dev 2021-11-22 14:03:45 UTC
The bug has been closed via the following commit(s):

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

commit 4671498eed17568162abd06a521a6da9793ff2e9
Author:     Antti Järvinen <antti.jarvinen@katiska.org>
AuthorDate: 2021-11-22 13:57:00 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-11-22 14:03:37 +0000

    net-p2p/classified-ads: install example files into correct path
    
    Closes: https://bugs.gentoo.org/809464
    Package-Manager: Portage-3.0.22, Repoman-3.0.3
    Signed-off-by: Antti Järvinen <antti.jarvinen@katiska.org>
    Closes: https://github.com/gentoo/gentoo/pull/22629
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../classified-ads/classified-ads-0.13-r2.ebuild   | 87 ++++++++++++++++++++++
 .../classified-ads-0.13-examples-install-dir.patch | 52 +++++++++++++
 2 files changed, 139 insertions(+)