Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694922 - dev-libs/libical-3.0.6[vala] fails to build
Summary: dev-libs/libical-3.0.6[vala] fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal with 1 vote (vote)
Assignee: Andreas Sturmlechner
URL:
Whiteboard:
Keywords:
: 695422 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-19 06:49 UTC by Marek Bartosiewicz
Modified: 2019-09-23 18:43 UTC (History)
2 users (show)

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


Attachments
Patch (libical.patch,912 bytes, patch)
2019-09-20 05:47 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Bartosiewicz 2019-09-19 06:49:26 UTC
As in summary. Compilation fails:

-- Check size of intptr_t
-- Check size of intptr_t - done
-- Check size of pid_t
-- Check size of pid_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of time_t
-- Check size of time_t - done
-- Check size of wint_t
-- Check size of wint_t - failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for pthread_attr_get_np in pthread
-- Looking for pthread_attr_get_np in pthread - not found
-- Looking for pthread_getattr_np in pthread
-- Looking for pthread_getattr_np in pthread - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for include files pthread.h, pthread_np.h
-- Looking for include files pthread.h, pthread_np.h - not found
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.6.3")
-- Checking for module 'gobject-introspection-1.0'
--   Found gobject-introspection-1.0, version 1.60.2
CMake Error at CMakeLists.txt:358 (message):
  valac, the Vala compiler was not found.  Install it or disable Vala
  bindings with -DICAL_GLIB_VAPI=False


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-libs/libical-3.0.6/work/libical-3.0.6_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-libs/libical-3.0.6/work/libical-3.0.6_build/CMakeFiles/CMakeError.log".
 * ERROR: dev-libs/libical-3.0.6::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 3037:  Called cmake-utils_src_configure
 *   environment, line 1115:  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 '=dev-libs/libical-3.0.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libical-3.0.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/libical-3.0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libical-3.0.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/libical-3.0.6/work/libical-3.0.6_build'
 * S: '/var/tmp/portage/dev-libs/libical-3.0.6/work/libical-3.0.6'


Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-09-20 05:29:06 UTC
After this failing code in CMakeLists.txt:
find_program(VALAC valac DOC "the Vala compiler")
The next failing code is:
find_program(VAPIGEN vapigen DOC "tool to generate the Vala API")
Comment 2 Arfrever Frehtes Taifersar Arahesis 2019-09-20 05:47:36 UTC
Created attachment 590394 [details, diff]
Patch
Comment 3 Larry the Git Cow gentoo-dev 2019-09-21 14:24:21 UTC
The bug has been closed via the following commit(s):

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

commit 6fed4d7e6a69abd8319e1d5a4090cc3f02a680f7
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-09-21 14:19:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-09-21 14:24:08 +0000

    dev-libs/libical: Fix USE vala
    
    Reported-by: Marek Bartosiewicz <marek.bartosiewicz@gmail.com>
    Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
    Closes: https://bugs.gentoo.org/694922
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/libical/libical-3.0.6.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Comment 4 Andreas Sturmlechner gentoo-dev 2019-09-23 18:43:25 UTC
*** Bug 695422 has been marked as a duplicate of this bug. ***