wscript: don't use destdir when composing share_dir

>>> Install sys-apps/catroof-0.2 into /var/tmp/portage/sys-apps/catroof-0.2/image
"/var/tmp/portage/sys-apps/catroof-0.2/work/catroof-0.2/waf" --jobs=4 --destdir="/var/tmp/portage/sys-apps/catroof-0.2/image"  install
Waf: Entering directory `/var/tmp/portage/sys-apps/catroof-0.2/work/catroof-0.2/build'
[ 1/18] Creating build/gitversion.h
+ install /var/tmp/portage/sys-apps/catroof-0.2/image/usr/bin/catroof (from src/catroof.lua)
+ symlink /var/tmp/portage/sys-apps/catroof-0.2/image/usr/bin/gcatroof (to catroof)
+ symlink /var/tmp/portage/sys-apps/catroof-0.2/image/usr/bin/ncatroof (to catroof)
+ install /var/tmp/portage/sys-apps/catroof-0.2/image/var/tmp/portage/sys-apps/catroof-0.2/image/usr/share/catroof/catroof.ui (from src/catroof.ui)
git revision f15658888a
+ install /var/tmp/portage/sys-apps/catroof-0.2/image/usr/bin/lscatroof (from build/lscatroof)
Waf: Leaving directory `/var/tmp/portage/sys-apps/catroof-0.2/work/catroof-0.2/build'
'install' finished successfully (0.335s)
>>> Completed installing sys-apps/catroof-0.2 into /var/tmp/portage/sys-apps/catroof-0.2/image

 * Final size of build directory: 1784 KiB (1.7 MiB)
 * Final size of installed tree:   120 KiB

 * QA Notice: files installed in ${D}/${D}:
 *   /
 *   //usr
 *   //usr/share
 *   //usr/share/catroof
 *   //usr/share/catroof/catroof.ui
 * ERROR: sys-apps/catroof-0.2::ladi51 failed:
 *   Aborting due to QA concerns: 5 files installed in /var/tmp/portage/sys-apps/catroof-0.2/image/var/tmp/portage/sys-apps/catroof-0.2/image
 *
 * Call stack:
 *   misc-functions.sh, line 671:  Called install_qa_check
 *   misc-functions.sh, line 134:  Called source 'install_symlink_html_docs'
 *          05double-D, line  15:  Called DD_check
 *          05double-D, line  11:  Called die
 * The specific snippet of code:
 *              die "Aborting due to QA concerns: ${#files[@]} files installed in ${D%/}${D}"
 *
 * If you need support, post the output of `emerge --info '=sys-apps/catroof-0.2::ladi51'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/catroof-0.2::ladi51'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/catroof-0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/catroof-0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/catroof-0.2/image'
 * S: '/var/tmp/portage/sys-apps/catroof-0.2/work/catroof-0.2'
!!! post install failed; exiting.
This commit is contained in:
Nedko Arnaudov 2024-01-04 02:32:06 +02:00
parent f15658888a
commit 9c1368d3b3
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@ def configure(conf):
def build(bld):
bin_dir = bld.env['BINDIR']
share_dir = bld.options.destdir + bld.env['PREFIX'] + '/share/' + APPNAME
# bld.options.destdir +
share_dir = bld.env['PREFIX'] + '/share/' + APPNAME
#print(bin_dir)
#print(share_dir)