pkgdata calls "./icu-config"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
icu (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running pkgdata it complains that "./icu-config" is not found. However /usr/bin/icu-config is installed and if i create a symlink ./icu-config the program works as expected:
$ pkgdata -v -p bin_mkltfs -m static -q packagelist.txt
# Calling icu-config: ./icu-config --incpkgdatafile
sh: 1: ./icu-config: not found
pkgdata: icu-config: Could not read from icu-config. (fix PATH or use -O option)
required parameter is missing: -O is required for static and shared builds.
Run 'pkgdata --help' for help.
$ ln -s /usr/bin/icu-config ./
$ pkgdata -v -p bin_mkltfs -m static -q packagelist.txt
# Calling icu-config: ./icu-config --incpkgdatafile
# icu-config said: /usr/lib/
# pkgdata: Reading packagelist.txt..
# Reading options file /usr/lib/
# pkgDataFlags= "-a gcc", "so", "so", "a", "lib", ".48.1.1", "gcc -D_REENTRANT -DU_ATTRIBUTE_
# Writing package file ./bin_mkltfs.dat ..
# libFileName[
# libFileName[
# Generating assembly code of type -a gcc ..
pkgdata: gcc -D_REENTRANT -DU_ATTRIBUTE_
pkgdata: ar r ./libbin_mkltfs.a ./bin_mkltfs_dat.o
ar: creating ./libbin_mkltfs.a
pkgdata: ranlib ./libbin_mkltfs.a
Pkgdata should call "icu-config" without any path prefix and let the shell find automatically the program in the directories listed in the PATH variable.
The bug is not present in version 2.4.1-3 of the package.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libicu-dev 4.8.1.1-3
ProcVersionSign
Uname: Linux 3.2.0-26-generic i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Thu Jul 12 20:02:00 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
TERM=xterm
LC_COLLATE=C
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: icu
UpgradeStatus: Upgraded to precise on 2012-04-26 (77 days ago)
> The bug is not present in version 2.4.1-3 of the package.
Sorry, the bug is not present in version 4.2.1-3 of the package.