Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904201 - app-misc/geoclue-2.7.0 Please request an API key for your distribution
Summary: app-misc/geoclue-2.7.0 Please request an API key for your distribution
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 00:19 UTC by Kelly Hirai
Modified: 2023-04-12 03:02 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 Kelly Hirai 2023-04-12 00:19:07 UTC
so i have simply masked 2.6 and now 2.7. any ideas? 

* Messages for package app-misc/geoclue-2.7.0:

 * The following API key has been allocated for Gentoo only.
 * If you are a derivative, please request your own key as discussed here:
 * https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/136
 * See also: https://location.services.mozilla.com/api and
 * https://blog.mozilla.org/services/2019/09/03/a-new-policy-for-mozilla-location-service/
 * ERROR: app-misc/geoclue-2.7.0::gentoo failed (configure phase):
 *   Please request an API key for your distribution.
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_configure
 *   environment, line 2420:  Called die
 * The specific snippet of code:
 *           die "Please request an API key for your distribution.";
 * 
 * If you need support, post the output of `emerge --info '=app-misc/geoclue-2.7.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/geoclue-2.7.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-misc/geoclue-2.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/geoclue-2.7.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-misc/geoclue-2.7.0/work/geoclue-2.7.0'
 * S: '/var/tmp/portage/app-misc/geoclue-2.7.0/work/geoclue-2.7.0'
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-12 00:50:10 UTC
```
        DISTRO="$(awk -F= '/^NAME/ {print $2}' /etc/os-release | tr -d \" )"
        if [[ $DISTRO != Gentoo ]]; then
                eerror "The following API key has been allocated for Gentoo only."
                eerror "If you are a derivative, please request your own key as discussed here:"
                eerror "https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/136"
                eerror "See also: https://location.services.mozilla.com/api and"
                eerror "https://blog.mozilla.org/services/2019/09/03/a-new-policy-for-mozilla-location-service/"
                die "Please request an API key for your distribution."
        fi
```

Do you not have an /etc/os-release? If you do, what is in it?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-12 00:51:16 UTC
Can you share emerge --info too please?
Comment 3 Kelly Hirai 2023-04-12 02:24:08 UTC
# cat /etc/os-release

NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

lol, i think i did this to make a streaming service work during the pandemic. 

# ls -l /etc/os-release
lrwxrwxrwx 1 root root 22 Jan 26  2022 /etc/os-release -> /etc/os-release-ubuntu
# rm /etc/os-release
# ln -s /etc/os-release-gentoo /etc/os-release
# cat /etc/os-release

NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo/Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"

thanks sam. you are the best! geoclue compiles now.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-12 03:02:37 UTC
No worries! Glad you're OK now :)

I'm probably going to add a check to the cmake ebuild for this too as it has a tendency to confuse other packages as well.