Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 699096

Summary: media-libs/libfreehand-0.1.2 : libfreehand_utils.cpp:166:5: error: expected ; before unsigned
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-libs:libfreehand-0.1.2:20191101-024916.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-11-01 16:58:32 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DLIBFREEHAND_BUILD=1 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -O2 -pipe -march=native -std=c++14 -fvisibility=hidden -DLIBFREEHAND_VISIBILITY -Wall -Wextra -Wshadow -pedantic -c libfreehand_utils.cpp  -fPIC -DPIC -o .libs/libfreehand_utils.o
libfreehand_utils.cpp: In function ‘void libfreehand::_appendUTF16(librevenge::RVNGString&, std::vector<short unsigned int>&)’:
libfreehand_utils.cpp:166:5: error: expected ‘;’ before ‘unsigned’
  166 |     unsigned char outbuf[U8_MAX_LENGTH+1];
      |     ^~~~~~~~
make[4]: *** [Makefile:571: libfreehand_utils.lo] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-libressl-20191030-101524

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 01 Nov 2019 00:06:10 +0000

emerge -qpvO media-libs/libfreehand
[ebuild  N    ] media-libs/libfreehand-0.1.2  USE="-doc -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2019-11-01 16:58:35 UTC
Created attachment 594736 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-01 16:58:38 UTC
Created attachment 594738 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-11-01 16:58:41 UTC
Created attachment 594740 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-11-01 16:58:44 UTC
Created attachment 594742 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-11-01 16:58:48 UTC
Created attachment 594744 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-01 16:58:51 UTC
Created attachment 594746 [details]
media-libs:libfreehand-0.1.2:20191101-024916.log
Comment 7 Toralf Förster gentoo-dev 2019-11-01 16:58:54 UTC
Created attachment 594748 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-11-01 19:02:19 UTC
The bug has been closed via the following commit(s):

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

commit d5dc8e78ddcb7293d31bd54eef052aed39b3be7b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-11-01 19:01:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-11-01 19:01:00 +0000

    media-libs/libfreehand: Fix build against ICU-65
    
    Closes: https://bugs.gentoo.org/699096
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/libfreehand-0.1.2-icu-65.patch           | 26 ++++++++++++++++++++++
 media-libs/libfreehand/libfreehand-0.1.2.ebuild    |  2 ++
 2 files changed, 28 insertions(+)