Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504076 - sys-apps/gptfdisk-0.8.8 USE=icu - gptpart.cc:19:28: fatal error: unicode/ustdio.h: No such file or directory
Summary: sys-apps/gptfdisk-0.8.8 USE=icu - gptpart.cc:19:28: fatal error: unicode/ustd...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-10 13:28 UTC by Peter
Modified: 2018-03-13 10:51 UTC (History)
1 user (show)

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


Attachments
Complete build log (build.log,2.62 KB, text/plain)
2014-03-10 13:31 UTC, Peter
Details
Emerge --info (emerge.log,4.35 KB, text/plain)
2014-03-10 13:39 UTC, Peter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2014-03-10 13:28:21 UTC
Trying to update gptfdisk from 0.8.6 to 0.8.8 crashes on compile time with the default flags (+icu +ncurses -static).

Reproducible: Always

Steps to Reproduce:
1. Set package flags to +icu +ncurses -statics
2. Try to install the package
3. You get the error
Actual Results:  
You get the following error:
gptpart.cc:19:28: fatal error: unicode/ustdio.h: No such file or directory 

Expected Results:  
The package should be compiled and installed

If the package is compiled without the icu flag, it compiles without issue (+ncurses -icu -static).
Comment 1 Peter 2014-03-10 13:31:25 UTC
Created attachment 372290 [details]
Complete build log

Included complete build log
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-03-10 13:33:37 UTC
# qfile -Cq /usr/include/unicode/ustdio.h
dev-libs/icu

Please make sure dev-libs/icu is correctly installed.
Also the output of

  emerge -iinfo

could be helpful, too.
Comment 3 Peter 2014-03-10 13:39:59 UTC
Created attachment 372292 [details]
Emerge --info

Added emerge --info log
Comment 4 Peter 2014-03-10 13:43:18 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #2)
> Please make sure dev-libs/icu is correctly installed.

I've got the following installed:
server ~ # emerge -pqv dev-libs/icu
[ebuild   R   ] dev-libs/icu-51.2-r1  USE="-debug -doc -examples -static-libs"
Is there any other way to check if the package is correctly installed? I have the same issue in two different machines.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2014-03-10 15:33:28 UTC
$ ls /usr/lib64/pkgconfig/icu-io.pc 
/usr/lib64/pkgconfig/icu-io.pc
$ pkg-config --exists icu-io
$ echo $?
0

Can you post the same, from your system? Are you sure there is no leftover cruft of old icu in /usr/local?
Comment 6 Peter 2014-03-10 16:03:28 UTC
(In reply to Samuli Suominen from comment #5)
> $ ls /usr/lib64/pkgconfig/icu-io.pc 
> /usr/lib64/pkgconfig/icu-io.pc
> $ pkg-config --exists icu-io
> $ echo $?
> 0
> 
> Can you post the same, from your system? Are you sure there is no leftover
> cruft of old icu in /usr/local?

server ~ # ls /usr/lib64/pkgconfig/icu-io.pc
ls: cannot access /usr/lib64/pkgconfig/icu-io.pc: No such file or directory
server ~ # pkg-config --exists icu-io
server ~ # echo $?
1

Right now I don't remember doing something special when upgrading from last version of icu.
Comment 7 Peter 2018-03-13 10:51:03 UTC
I'm closing this bug, since its from an old version.