Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751928 - dev-libs/libical fails to build with =dev-libs/icu-68.1
Summary: dev-libs/libical fails to build with =dev-libs/icu-68.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas Sturmlechner
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: icu-68.1
  Show dependency tree
 
Reported: 2020-10-30 16:16 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2020-10-31 09:23 UTC (History)
0 users

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


Attachments
libical-3.0.8-icu68.patch (libical-3.0.8-icu68.patch,1.44 KB, patch)
2020-10-30 16:16 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
libical-3.0.8-icu68.patch (libical-3.0.8-icu68.patch,1.59 KB, patch)
2020-10-30 23:58 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-10-30 16:16:06 UTC
Created attachment 669323 [details, diff]
libical-3.0.8-icu68.patch

FAILED: src/libical/CMakeFiles/ical.dir/icalrecur.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DBUILD_LIBICALDLL -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"\\\"/usr/share/libical\\\"\"" -DWITH_CXX_BINDINGS -Dical_EXPORTS -Dlibical_ical_EXPORTS -I. -Isrc -I/var/tmp/portage/dev-libs/libical-3.0.8/work/libical-3.0.8/src/libical -Isrc/libical  -march=native -mtune=native -O2 -pipe -fvisibility=hidden -Wno-deprecated -Wall -Wno-unknown-pragmas -Wextra -Winit-self -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Werror=return-type -Wunused-but-set-variable -Wlogical-op -Wsizeof-pointer-memaccess -Wformat -Wformat-security -Wredundant-decls -D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE -D_GNU_SOURCE -fPIC -MD -MT src/libical/CMakeFiles/ical.dir/icalrecur.c.o -MF src/libical/CMakeFiles/ical.dir/icalrecur.c.o.d -o src/libical/CMakeFiles/ical.dir/icalrecur.c.o -c /var/tmp/portage/dev-libs/libical-3.0.8/work/libical-3.0.8/src/libical/icalrecur.c
/var/tmp/portage/dev-libs/libical-3.0.8/work/libical-3.0.8/src/libical/icalrecur.c: In function ‘icalrecurrencetype_rscale_supported_calendars’:
/var/tmp/portage/dev-libs/libical-3.0.8/work/libical-3.0.8/src/libical/icalrecur.c:1021:59: error: ‘FALSE’ undeclared (first use in this function)
 1021 |     en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status);
      |                                                           ^~~~~
/var/tmp/portage/dev-libs/libical-3.0.8/work/libical-3.0.8/src/libical/icalrecur.c:1021:59: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/dev-libs/libical-3.0.8/work/libical-3.0.8/src/libical/icalrecur.c: In function ‘initialize_rscale’:
/var/tmp/portage/dev-libs/libical-3.0.8/work/libical-3.0.8/src/libical/icalrecur.c:1414:63: error: ‘FALSE’ undeclared (first use in this function)
 1414 |         en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status);
      |                                                               ^~~~~
ninja: build stopped: subcommand failed.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-10-30 23:58:28 UTC
Created attachment 669365 [details, diff]
libical-3.0.8-icu68.patch
Comment 2 Larry the Git Cow gentoo-dev 2020-10-31 09:23:52 UTC
The bug has been closed via the following commit(s):

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

commit e3f601190368dea81c1f86f75f5b70dccb220129
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-10-30 16:32:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-10-31 09:20:31 +0000

    dev-libs/libical: Fix build with ICU-68
    
    Thanks-to: Lars Wendler <polynomial-c@gentoo.org>
    Closes: https://bugs.gentoo.org/751928
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/libical/files/libical-3.0.8-icu-68.patch | 44 +++++++++++++++++++++++
 dev-libs/libical/libical-3.0.8.ebuild             |  1 +
 2 files changed, 45 insertions(+)