Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562716 - dev-db/firebird-2.5.3.26780.0-r3: false softlinks prevent connection with charset specification
Summary: dev-db/firebird-2.5.3.26780.0-r3: false softlinks prevent connection with cha...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Andrey Matrosov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-10 10:06 UTC by Matthias Hanft
Modified: 2017-02-04 19:34 UTC (History)
4 users (show)

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


Attachments
error message (FB253.png,13.28 KB, image/png)
2016-01-04 16:31 UTC, Vincent Hardy
Details
cutdown form / tail of the build log (firebird-2.5.5.26952.0.log,28.46 KB, text/plain)
2016-01-08 08:25 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Hanft 2015-10-10 10:06:04 UTC
After installing the package, there are some false softlinks (missing the leading "/"):
/usr/lib/firebird/intl/fbintl -> usr/lib/libfbintl.so
/usr/lib/firebird/intl/fbintl.conf -> etc/firebird/fbintl.conf
/usr/lib/firebird/plugins/libfbtrace.so -> usr/lib/libfbtrace.so

Reproducible: Always

Steps to Reproduce:
1. Install the package.
2. Try to connect with charset "ISO8859_1" (for example, with "FlameRobin").

Actual Results:  
Server says "CHARACTER SET ISO8859_1 is not defined" and refuses connection.

Expected Results:  
Connecting to the database.
Comment 1 Vincent Hardy 2016-01-04 16:31:59 UTC
Created attachment 421906 [details]
error message

Some client applications show this error message.

ebuild to fix that here :
https://github.com/linuxunderground/gentoo.overlay/tree/master/dev-db/firebird

Please, in the same time, update ebuild version to 2.5.5
Comment 2 Pacho Ramos gentoo-dev 2016-01-05 10:46:50 UTC
Are you willing to proxy maintain this package?
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers

Thanks
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2016-01-08 08:25:34 UTC
Created attachment 422272 [details]
cutdown form / tail of the build log

The ebuild has a couple of issues to sort before it is ready.
The log attached here illustrates that it needs a fix to an issue re multilib.
I am fairly certain you do not had multilib-strict set in FEATURES in make.conf.

Also, from use of sudo `
this was accepted to invoke the emerge / build, but @ install phase it failed due to a missing file set to be hard set coded with
dosbin bin/fb_inet_server.
The build and install require the use of the flag superserver to effectively install. This implies an error in the logic of
REQUIRED_USE="^^ ( client superserver xinetd )"
for this is the code that endorsed the use of USE="client superserver".

Otherwise well done to get to this point
Comment 4 Vincent Hardy 2016-01-09 15:09:07 UTC
I am amazed : a gentoo dev introduced a regression in firebird ebuild recently (see changelog) and no one wants to commit a fix ? (my fix or another one, I don't care)
Is this the real situation ?
Comment 5 Pacho Ramos gentoo-dev 2016-01-10 17:44:27 UTC
The real situation is that this package has no maintainer and becoming a proxy maintainer would be the way to go as otherwise you depend on the time a few people have for looking to the big amount of packages "orphaned" that are in the tree
Comment 6 William L. Thomson Jr. 2016-03-02 00:43:23 UTC
(In reply to Ian Delaney from comment #3)
> Also, from use of sudo `
> this was accepted to invoke the emerge / build, but @ install phase it
> failed due to a missing file set to be hard set coded with
> dosbin bin/fb_inet_server.

See my comments here
https://bugs.gentoo.org/show_bug.cgi?id=420939#c3

(In reply to Pacho Ramos from comment #5)
> The real situation is that this package has no maintainer and becoming a
> proxy maintainer would be the way to go as otherwise you depend on the time
> a few people have for looking to the big amount of packages "orphaned" that
> are in the tree

The real situation is devrel now comrel drove the maintainer, me, away. They have since done everything to prevent my return, thus the package has no maintainer. Gentoo self inflicted. I proxied maintained it for some time, but that is very inefficient. Not to mention others can still come along and make changes who are actual devs.

I maintain all the firebird stuff in my overlay rather than mess with proxying.
https://github.com/Obsidian-StudiosInc/os-xtoo/tree/master/dev-db

Flamerobin, now removed from tree, also the ODBC driver, and of course Firebird, including ebuild for 3.0. I need to work on the live ebuild and there will also be that... Jaybird I have been able to keep some what current in tree.
Comment 7 Marcin Mirosław 2016-09-05 08:00:02 UTC
I'm also hitted by this bug.
William, I tried your ebuild for dev-db/firebird-2.5.5.26952.0-r2 . It creates bad symlinks:
# ls -lah /usr/lib64/firebird/intl
razem 8,0K
drwxr-xr-x 2 firebird firebird 4,0K 09-05 09:55 .
drwxr-xr-x 6 firebird firebird 4,0K 09-05 09:55 ..
lrwxrwxrwx 1 firebird firebird   22 09-05 09:55 fbintl -> usr/lib64/libfbintl.so
lrwxrwxrwx 1 firebird firebird   24 09-05 09:55 fbintl.conf -> etc/firebird/fbintl.conf

It misses "/" on begin of destination path. After manual fixing of symlinks application that uses firebird works correctly.
Shouldn't be Status of bug set to "Confirmed"?
Comment 8 Andreas Sturmlechner gentoo-dev 2017-02-04 19:34:20 UTC
Thanks, fixed by commit 06590bfb0f7ec387135e4c00935c52dcef5d00ef