Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fb3 cannot use icu-4.8.1 [CORE3576] #3930

Closed
firebird-automations opened this issue Aug 18, 2011 · 6 comments
Closed

fb3 cannot use icu-4.8.1 [CORE3576] #3930

firebird-automations opened this issue Aug 18, 2011 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

An iisue was reported by Treeve Jelbert in devel.

I am building the latest checkout of fb3 (version LI-T3.0.0.29527) and
encounter the following error:

make[3]: Entering directory `/var/git/x86_64/firebird3/gen'
/var/git/x86_64/firebird3/gen/Release/firebird/bin/gbak -MODE read_only -R
/var/git/x86_64/firebird3/builds/misc/metadata.gbak metadata.fdb
can't format message 12:256 -- message file
/var/git/x86_64/firebird3/gen/Release/firebird/firebird.msg not foundCould not
find acceptable ICU library
can't format message 12:256 -- message file
/var/git/x86_64/firebird3/gen/Release/firebird/firebird.msg not found Missing
entrypoint in ICU library
can't format message 12:256 -- message file
/var/git/x86_64/firebird3/gen/Release/firebird/firebird.msg not found
ucnv_open
can't format message 12:256 -- message file
/var/git/x86_64/firebird3/gen/Release/firebird/firebird.msg not foundcan't format
message 12:33 -- message file
/var/git/x86_64/firebird3/gen/Release/firebird/firebird.msg not found
can't format message 12:169 -- message file
/var/git/x86_64/firebird3/gen/Release/firebird/firebird.msg not foundcan't format
message 12:83 -- message file
/var/git/x86_64/firebird3/gen/Release/firebird/firebird.msg not found
make[3]: *** [metadata.fdb] Error 1

I have icu-4.8.1

/usr/lib/libicudata.so
/usr/lib/libicudata.so.48
/usr/lib/libicudata.so.48.1
/usr/lib/libicui18n.so
/usr/lib/libicui18n.so.48
/usr/lib/libicui18n.so.48.1
/usr/lib/libicuio.so
/usr/lib/libicuio.so.48
/usr/lib/libicuio.so.48.1
/usr/lib/libicule.so
/usr/lib/libicule.so.48
/usr/lib/libicule.so.48.1
/usr/lib/libiculx.so
/usr/lib/libiculx.so.48
/usr/lib/libiculx.so.48.1
/usr/lib/libicutest.so
/usr/lib/libicutest.so.48
/usr/lib/libicutest.so.48.1
/usr/lib/libicutu.so
/usr/lib/libicutu.so.48
/usr/lib/libicutu.so.48.1
/usr/lib/libicuuc.so
/usr/lib/libicuuc.so.48
/usr/lib/libicuuc.so.48.1

Commits: ae19847

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Treeve Jelbert (treeve)

I have found the reason for this problem.

ICU on my system was built with U_DISABLE_RENAMING

By adding an additional check in src/common/unicode_util.cpp the problem is resolved

--- a/src/common/unicode_util.cpp
+++ b/src/common/unicode_util.cpp
@@ -79,6 +79,11 @@ public:
template <typename T> void getEntryPoint(const char* name, ModuleLoader::Module* module, T& ptr)
{
string symbol;
+ // check for unversioned symbols (ICU built with U_DISABLE_RENAMING)
+ symbol.printf("%s", name);
+ module->findSymbol(symbol, ptr);
+ if (ptr)
+ return;

            symbol\.printf\("%s\_%d\_%d", name, majorVersion, minorVersion\);
            module\-\>findSymbol\(symbol, ptr\);

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants