Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420939 - dev-db/firebird-2.5.1.26351.0 with use xinetd implies superclassic patch and cannot build/install fb_inet_server
Summary: dev-db/firebird-2.5.1.26351.0 with use xinetd implies superclassic patch and ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Andrey Matrosov
URL:
Whiteboard:
Keywords:
: 562422 578230 (view as bug list)
Depends on:
Blocks: 419191
  Show dependency tree
 
Reported: 2012-06-13 07:44 UTC by drserge
Modified: 2017-02-04 19:37 UTC (History)
3 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 drserge 2012-06-13 07:44:47 UTC
firebird-2.5.1.26351.0 cannot build with xinetd use flag:
dosbin bin/fb_inet_server
fails.

Reproducible: Always

Actual Results:  
Build/merge fails
Comment 1 Pavel Riha 2014-12-12 09:42:21 UTC
I can confirm this problem too

problem is coused by the superclassic.patch, if removed, everything compile ok
Comment 2 Pacho Ramos gentoo-dev 2014-12-12 09:52:47 UTC
Looks like USE superserver is needed to get fb_inet_server built... but USE superserver requires USE -xinetd, then, I don't understand why USE xinetd pretends to install that :/        

# SuperServer
        if use superserver ; then
                dosbin bin/{fbguard,fbserver}
        # ClassicServer
        elif use xinetd ; then
                dosbin bin/fb_inet_server
        # SuperClassic
        else
                dosbin bin/{fbguard,fb_smp_server}

                #Temp should not be necessary, need to patch/fix
                dosym "${D}"/usr/$(get_libdir)/libib_util.so /usr/$(get_libdir)/${PN}/lib/libib_util.so
        fi
Comment 3 William L. Thomson Jr. 2015-07-16 15:30:26 UTC
Its likely because its not fb_inet_server, but just inet_server. I likely forgot to modify things to rename inet_server to fb_inet_server.  Then again likely just need to modify the ebuild,

- dosbin bin/fb_inet_server
+ dosbin bin/inet_server

That would likely address the issue, and I do not believe this is version specific so still effects the only remaining version in tree.
Comment 4 Pacho Ramos gentoo-dev 2015-10-17 17:36:33 UTC
*** Bug 562422 has been marked as a duplicate of this bug. ***
Comment 5 William L. Thomson Jr. 2016-03-02 00:57:00 UTC
(In reply to William L. Thomson Jr. from comment #3)
> Its likely because its not fb_inet_server, but just inet_server. I likely
> forgot to modify things to rename inet_server to fb_inet_server.  Then again
> likely just need to modify the ebuild,
> 
> - dosbin bin/fb_inet_server
> + dosbin bin/inet_server
> 
> That would likely address the issue, and I do not believe this is version
> specific so still effects the only remaining version in tree.


Just tested this, and it does not correct the problem. The problem comes from the patches. I believe another condition in the test for the superclassic patch should address the issue.
Comment 6 William L. Thomson Jr. 2016-03-02 01:15:05 UTC
This does correct the issue, tested

-	use superserver || epatch "${FILESDIR}"/${PN}-2.5.1.26351.0-superclassic.patch
+	! use xinetd && epatch "${FILESDIR}"/${PN}-2.5.1.26351.0-superclassic.patch
Comment 7 Andreas Sturmlechner gentoo-dev 2017-02-04 16:02:54 UTC
*** Bug 578230 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Sturmlechner gentoo-dev 2017-02-04 19:37:15 UTC
Thanks, fixed in 2.5.6 by commit 090c438e1fc6fe17eca317421604a29720871bff