Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662872 - dev-db/freetds does not support "debug" USE flag
Summary: dev-db/freetds does not support "debug" USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-05 21:50 UTC by Igor Korot
Modified: 2018-11-19 20:08 UTC (History)
2 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 Igor Korot 2018-08-05 21:50:06 UTC
Trying to issue following command:

USE="debug" emerge freetds

When inspecting the configure line there is no "--enable-debug" anywhere.
Checking the ebuild of freetds-1.00.41 and freetds-1.00.54-r1 I don't see anything related to the "debug" USE-flag.

I need "--enable-debug" and the "-g" option during compilation in order to perform some development on the package.

Thank you.
Comment 1 Igor Korot 2018-10-14 17:13:00 UTC
In addition:

The page at https://docs.huihoo.com/freetds/user-guide/config.htm says:

[quote]
--disable-debug

    Debug-mode compiles are enabled by default, and will remain so at least until version 1.0. You can speed things up ever so slightly by disabling it. 
[/quote]

I guess the maintainer of FreeTDS presume that the debugging is still enabled by default and there is no need to do anything.

Adding the lines for debug" USE-flag and enabling ""--enable-debug" for configure in such case will solve this bug.

Could someone please take care of that?

Thank you.
Comment 2 Larry the Git Cow gentoo-dev 2018-10-20 18:51:34 UTC
The bug has been closed via the following commit(s):

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

commit 41f26765f103be116861959dadc1ed1e36798bba
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-10-20 17:32:28 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-10-20 18:50:59 +0000

    dev-db/freetds: Support debug (#662872 by Igor Korot)
    
    Closes: https://bugs.gentoo.org/662872
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-db/freetds/freetds-1.00.341-r1.ebuild | 73 +++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)
Comment 3 Igor Korot 2018-10-21 05:14:36 UTC
I believe the latest stable version for x64 platform is 1.00.41.

Is it also fixed there?

Sorry I am not very familiar with how Portage works so if the fix is populated to all other versions in the tree - please disregard.

TIA!
Comment 4 Pacho Ramos gentoo-dev 2018-10-21 08:04:09 UTC
it is fixed in testing as I want the change to be tested at first there, feel free to report a bug asking for stabilization of the new version in two weeks or so
Comment 5 Igor Korot 2018-11-19 00:35:10 UTC
Hi,
Is it possible to update the stable version of freetds with that fix?

TIA!
Comment 6 Pacho Ramos gentoo-dev 2018-11-19 20:08:00 UTC
sure -> bug 671534