Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892946 - net-misc/netifrc-0.7.3{,-r1} install net.example under ${EPREFIX}/share on Gentoo Prefix
Summary: net-misc/netifrc-0.7.3{,-r1} install net.example under ${EPREFIX}/share on Ge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: netifrc Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-02 16:41 UTC by Yuan Liao (Leo3418)
Modified: 2023-02-02 17:30 UTC (History)
0 users

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


Attachments
net-misc/netifrc-0.7.3-r1 build.log (build.log,10.40 KB, text/plain)
2023-02-02 16:41 UTC, Yuan Liao (Leo3418)
Details
Full 'emerge --info' output (emerge-info.txt,6.04 KB, text/plain)
2023-02-02 16:41 UTC, Yuan Liao (Leo3418)
Details
qlist output for net-misc/netifrc-0.7.3 (qlist.txt,2.34 KB, text/plain)
2023-02-02 16:42 UTC, Yuan Liao (Leo3418)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuan Liao (Leo3418) 2023-02-02 16:41:13 UTC
Created attachment 849722 [details]
net-misc/netifrc-0.7.3-r1 build.log

On Gentoo Prefix, net-misc/netifrc 0.7.3 and 0.7.3-r1 install file net.example to ${EPREFIX}/share/doc/${PF}.  The file is supposed to be installed to ${EPREFIX}/usr/share/doc/${PF}.


emerge output:

>>> Completed installing net-misc/netifrc-0.7.3-r1 into /home/leo/gentoo/var/tmp/portage/net-misc/netifrc-0.7.3-r1/image

 * Final size of build directory: 784 KiB
 * Final size of installed tree:  356 KiB

 * QA Notice: The ebuild is installing to one or more unexpected paths:
 * 
 *   /share
 * 
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.
 * QA Notice: package is installing udev rules without calling
 * udev_reload in pkg_postrm phase


'emerge --info' excerpt:

=================================================================
                        Package Settings
=================================================================

net-misc/netifrc-0.7.3::gentoo was built with the following:
USE="(prefix)"
Comment 1 Yuan Liao (Leo3418) 2023-02-02 16:41:43 UTC
Created attachment 849724 [details]
Full 'emerge --info' output
Comment 2 Yuan Liao (Leo3418) 2023-02-02 16:42:08 UTC
Created attachment 849726 [details]
qlist output for net-misc/netifrc-0.7.3
Comment 3 Larry the Git Cow gentoo-dev 2023-02-02 17:30:06 UTC
The bug has been closed via the following commit(s):

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

commit 869d632e91cd0e6369a053a7cc4adbc6030cd8f5
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-02-02 17:23:58 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-02-02 17:29:53 +0000

    net-misc/netifrc: convert MAKE_ARGS to an array
    
    Always pass PREFIX/UPREFIX to override the broken Makefile logic.
    
    Closes: https://bugs.gentoo.org/892946
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-misc/netifrc/netifrc-0.7.3-r1.ebuild | 24 ++++++++++++++----------
 net-misc/netifrc/netifrc-9999.ebuild     | 26 +++++++++++++++-----------
 2 files changed, 29 insertions(+), 21 deletions(-)