Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734648 - app-i18n/yaskkserv: uses wrong function to detect CXX
Summary: app-i18n/yaskkserv: uses wrong function to detect CXX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-30 02:58 UTC by Sam James
Modified: 2020-08-03 14:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-30 02:58:40 UTC
$ qgrep tc_get
app-i18n/yaskkserv/yaskkserv-1.1.1.ebuild:              --compiler="${tc_getCXX}"
app-i18n/yaskkserv/yaskkserv-1.1.0.ebuild:              --compiler="${tc_getCXX}"

yaskkserv inherits toolchain-funks, which provides tc-getCXX, which should be called like:
--compiler="$(tc-getCXX)"

The difference is:

* Original configure line

"./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-gnutls --disable-systemd --compiler="

* Fixed configure line

"./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-gnutls --disable-systemd --compiler=x86_64-pc-linux-gnu-g++"
Comment 1 Larry the Git Cow gentoo-dev 2020-08-01 13:08:57 UTC
The bug has been closed via the following commit(s):

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

commit 8f6a2c967664bc2848fcb24fe7d83d1d9a04684c
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2020-08-01 13:06:24 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2020-08-01 13:06:24 +0000

    app-i18n/yaskkserv: call tc-getCXX
    
    Closes: https://bugs.gentoo.org/734648
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 app-i18n/yaskkserv/yaskkserv-1.1.0.ebuild | 4 ++--
 app-i18n/yaskkserv/yaskkserv-1.1.1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 2 Arfrever Frehtes Taifersar Arahesis 2020-08-02 12:00:54 UTC
It is still wrong syntax...
To run a command and capture its output, $( ) is needed, not ${ }.
Comment 3 Larry the Git Cow gentoo-dev 2020-08-03 14:32:58 UTC
The bug has been closed via the following commit(s):

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

commit a22fce3cdee98d3372f251ef86824a3814b81564
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2020-08-03 14:32:26 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2020-08-03 14:32:26 +0000

    app-i18n/yaskkserv: call tc-getCXX
    
    Closes: https://bugs.gentoo.org/734648
    Closes: https://bugs.gentoo.org/735160
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 app-i18n/yaskkserv/yaskkserv-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)