Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 594040 - kde-apps/kaccounts-providers won't build without explicitly setting LC_ALL="C"
Summary: kde-apps/kaccounts-providers won't build without explicitly setting LC_ALL="C"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-17 08:11 UTC by Michele Alzetta
Modified: 2016-09-23 21:19 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 Michele Alzetta 2016-09-17 08:11:44 UTC
Merging translations into /var/tmp/portage/kde-apps/ktp-accounts-kcm-16.08.1/work/ktp-accounts-kcm-16.08.1_build/data/kaccounts/google-im.service.
CREATED /var/tmp/portage/kde-apps/ktp-accounts-kcm-16.08.1/work/ktp-accounts-kcm-16.08.1_build/data/kaccounts/google-im.service
CMake Error at /usr/lib64/cmake/KAccounts/KAccountsMacros.cmake:25 (message):
  error processing
  /var/tmp/portage/kde-apps/ktp-accounts-kcm-16.08.1/work/ktp-accounts-kcm-16.08.1/data/kaccounts/google-im.service.in:
  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_MESSAGES = "C",
        LC_COLLATE = "C",
        LC_CTYPE = "C",
        LANG = "it"
      are supported and installed on your system.
  perl: warning: Falling back to the standard locale ("C").
Call Stack (most recent call first):
  data/kaccounts/CMakeLists.txt:3 (kaccounts_add_service)
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/kde-apps/ktp-accounts-kcm-16.08.1/work/ktp-accounts-kcm-16.08.1_build/CMakeFiles/CMakeOutput.log".
 * ERROR: kde-apps/ktp-accounts-kcm-16.08.1::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_configure
 *   environment, line 3942:  Called kde5_src_configure
 *   environment, line 2930:  Called cmake-utils_src_configure
 *   environment, line 1174:  Called _cmake_execute_optionally 'src_configure'
 *   environment, line  563:  Called enable_cmake-utils_src_configure
 *   environment, line 1606:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=kde-apps/ktp-accounts-kcm-16.08.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/ktp-accounts-kcm-16.08.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-apps/ktp-accounts-kcm-16.08.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/ktp-accounts-kcm-16.08.1/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/ktp-accounts-kcm-16.08.1/work/ktp-accounts-kcm-16.08.1_build'
 * S: '/var/tmp/portage/kde-apps/ktp-accounts-kcm-16.08.1/work/ktp-accounts-kcm-16.08.1'

This also happened with previous ebuilds, and is fixed by emerging with LC_ALL="C" emerge -1 kaccounts-providers
Comment 1 Michele Alzetta 2016-09-23 21:17:14 UTC
Fixing LANG variable fixed this. It is strange, however, that this ebuild and kaccounts-providers are the only two that fail because of this.
Comment 2 Michele Alzetta 2016-09-23 21:19:12 UTC
(In reply to Michele Alzetta from comment #1)
> Fixing LANG variable fixed this. It is strange, however, that this ebuild
> and kaccounts-providers are the only two that fail because of this.

Sorry, this ebuild and ktp-accounts-kcm