Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648956 - dev-db/firebird-3.0.2.32703.0-r2 can't format message 12:169 -- message file /usr/lib64/firebird/firebird.msg not found
Summary: dev-db/firebird-3.0.2.32703.0-r2 can't format message 12:169 -- message file ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-27 15:09 UTC by Mykhailo
Modified: 2022-12-03 07:59 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mykhailo 2018-02-27 15:09:16 UTC
I'am restoring a backup using gbak utility, and during restore process a have a lot of messages like this:

"can't format message 12:169 -- message file /usr/lib64/firebird/firebird.msg not foundcan't format message 12:107 -- message file /usr/lib64/firebird/firebird.msg not found"

Look's like the file needed for message formatting is locating in another place.

firebird /fbdata # ls -al /usr/lib64/firebird/
total 36
drwxr-xr-x  5 firebird root  4096 Feb 22 12:52 .
drwxr-xr-x 35 root     root 20480 Feb 26 13:02 ..
drwxr-xr-x  2 root     root  4096 Feb 22 12:52 intl
drwxr-xr-x  3 root     root  4096 Feb 22 12:52 plugins
drwxr-xr-x  2 root     root  4096 Feb 22 12:52 UDF
firebird /fbdata # find / -name 'firebird.msg'
/usr/share/firebird/msg/firebird.msg


cp /usr/share/firebird/msg/firebird.msg /usr/lib64/firebird/ helps for me.
Comment 1 Alessandro Barbieri 2020-05-25 19:48:03 UTC
Same for version 3.0.4.33054.0
Comment 2 Alessandro Barbieri 2020-11-25 14:55:11 UTC
Are you using FEATURES="network-sandbox"?
Comment 3 Thomas J. Moore 2021-08-05 05:51:01 UTC
This is due to a more general issue with the ebuild.  That long list of --with-* in src_configure does not always match the locations where things are actually installed.

               --with-fbsample=/usr/share/doc/${PF}/examples
               --with-fbsample-db=/usr/share/doc/${PF}/examples/db
               --with-fbhelp=/usr/$(get_libdir)/${PN}/help
               --with-fbmsg=/usr/$(get_libdir)/${PN}

should be:

               --with-fbsample=/usr/share/${PN}/examples
               --with-fbsample-db=/usr/share/${PN}/examples/empbuild
               --with-fbhelp=/usr/share/${PN}/help
               --with-fbmsg=/usr/share/${PN}/msg

I think.
Comment 4 Bogdan 2021-11-30 09:24:16 UTC
I have the some error with firebird-3.0.4.33054.0-r1.

> can't format message 17:0 -- message file /usr/lib64/firebird/firebird.msg not found
> Unable to complete network request to host "localhost".
> -Failed to establish a connection.
> can't format message 17:120 -- message file /usr/lib64/firebird/firebird.msg not found
> make[3]: *** [Makefile:353: metadata.fdb] Error 1
Comment 5 Larry the Git Cow gentoo-dev 2022-12-03 07:50:05 UTC
The bug has been closed via the following commit(s):

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

commit cbddf475ce279474be6138873223f0e751af6183
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-03 07:16:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-03 07:47:51 +0000

    dev-db/firebird: incorporate suggestions to 3.0.10
    
    Includes Thomas J. Moore's suggestions & patches.
    
    Bug: https://bugs.gentoo.org/757282
    Closes: https://bugs.gentoo.org/648956
    Closes: https://bugs.gentoo.org/726856
    Thanks-to: Thomas J. Moore <darktjm@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/firebird/Manifest                           | 15 ++++++
 .../files/firebird-3.0.10.33601.0-flags.patch      | 25 +++++++++
 ....0.ebuild => firebird-3.0.10.33601.0-r1.ebuild} | 63 ++++++++++++----------
 3 files changed, 76 insertions(+), 27 deletions(-)