[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
Necrothread i know but it is possible to use the GMP math library even with the broken version of this package. Change the test program mentioned above to: #define GMP_DESC #include tomcrypt.h int main() { ltc_math_descriptor test = gmp_desc; } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libtomcrypt/+bug/623203/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
** Tags added: testcase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libtomcrypt/+bug/623203/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
It is now possible to update libtomcrypt package in lucid and maverick? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
patches are converted -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
** Patch added: libtomcrypt_1.17-3ubuntu1.maverick.debdiff https://bugs.launchpad.net/ubuntu/+source/libtomcrypt/+bug/623203/+attachment/1806319/+files/libtomcrypt_1.17-3ubuntu1.maverick.debdiff ** Patch removed: libtomcrypt_1.17-3ubuntu1.maverick.debdiff https://bugs.launchpad.net/ubuntu/+source/libtomcrypt/+bug/623203/+attachment/1806319/+files/libtomcrypt_1.17-3ubuntu1.maverick.debdiff ** Patch removed: libtomcrypt_1.17-3ubuntu1.lucid.debdiff https://bugs.launchpad.net/ubuntu/+source/libtomcrypt/+bug/623203/+attachment/1806318/+files/libtomcrypt_1.17-3ubuntu1.lucid.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
** Patch added: libtomcrypt_1.17-3ubuntu1.lucid.debdiff https://bugs.launchpad.net/ubuntu/+source/libtomcrypt/+bug/623203/+attachment/1806325/+files/libtomcrypt_1.17-3ubuntu1.lucid.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
** Patch added: libtomcrypt_1.17-3ubuntu1.maverick.debdiff https://bugs.launchpad.net/ubuntu/+source/libtomcrypt/+bug/623203/+attachment/1806326/+files/libtomcrypt_1.17-3ubuntu1.maverick.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
** Patch added: libtomcrypt_1.17-3ubuntu1.lucid.debdiff https://bugs.launchpad.net/ubuntu/+source/libtomcrypt/+bug/623203/+attachment/1806318/+files/libtomcrypt_1.17-3ubuntu1.lucid.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
Pali: Can you please convert your patch to a debdiff like in the example given in the SRU wiki page https://bugs.launchpad.net/ubuntu/+source/xmms-crossfade/+bug/208666 and as given in https://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff#Creating%20A%20Debdiff with the release target as the stable release you want to point to as for example if its lucid then its lucid-proposed or if its maverick then its maverick-proposed also make a note of the regression impact on stable releases that you are targeting as described in the procedure here: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure Regards -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
This bug was fixed in the package libtomcrypt - 1.17-3 --- libtomcrypt (1.17-3) unstable; urgency=low * Define -DLTM_DESC to enable the libtommath functions (Thanks Cezary and Pali) * Add ${misc:Depends} * Bump standards-version -- Bhavani Shankar bh...@ubuntu.com Wed, 12 Jan 2011 14:12:02 +0100 ** Changed in: libtomcrypt (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
** Description changed: - When the library is compiled without DLTM_DESC flag, the dltm_desc is - undefined which can cause some issues while using this lib. To fix this - issue it is necessary to add this flag inside debian/rules file: + When the library is compiled without -DLTM_DESC flag, the ltm_desc is + undefined which can cause some issues while using this lib. - 16c16 - CFLAGS += -DGMP_DESC - --- - CFLAGS += -DGMP_DESC -DLTM_DESC + TEST CASE: + try compile small program: gcc test.c -ltomcrypt + + #define LTM_DESC + #include tomcrypt.h + int main() { ltc_math_descriptor test = ltm_desc; } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 623203] Re: Missing flag on compilation causes some parts of code not to be compiled
Not only DLTM_DESC but USE_LTM flag is needed too. And then appending -ltommath to EXTRALIBS is needed. I'm attaching patch which fix this problem. ** Patch added: libtomcrypt.patch https://bugs.launchpad.net/ubuntu/+source/libtomcrypt/+bug/623203/+attachment/1789163/+files/libtomcrypt.patch ** Changed in: libtomcrypt (Ubuntu) Status: New = Confirmed ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/623203 Title: Missing flag on compilation causes some parts of code not to be compiled -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs