Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727552 - dev-db/mysql-5.7.30 - fails tests with "Your machine must NOT be named localhost" with /etc/hostname not being 'localhost'
Summary: dev-db/mysql-5.7.30 - fails tests with "Your machine must NOT be named localh...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-06-08 16:37 UTC by ernsteiswuerfel
Modified: 2020-08-05 16:11 UTC (History)
0 users

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


Attachments
build.log.xz (mysql-5.7.30:20200608-161547.log.xz,113.70 KB, application/x-xz)
2020-06-08 16:37 UTC, ernsteiswuerfel
Details
emerge --info (file_727552.txt,5.85 KB, text/plain)
2020-06-08 16:38 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-06-08 16:37:57 UTC
Created attachment 643986 [details]
build.log.xz

Neither /etc/hostname nor /etc/conf.d/hostname is set to 'localhost'.

[...]
>>> Source compiled.
>>> Test phase: dev-db/mysql-5.7.30
 * ERROR: dev-db/mysql-5.7.30::gentoo failed (test phase):
 *   Your machine must NOT be named localhost
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_test
 *   environment, line 4584:  Called die
 * The specific snippet of code:
 *       [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost";
Comment 1 ernsteiswuerfel archtester 2020-06-08 16:38:27 UTC
Created attachment 643988 [details]
emerge --info
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-05 16:11:08 UTC
Well, check your environment. Why is

> "${HOSTNAME}" == "localhost"

true on your system?