Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56348

Summary: tetex fails to compile when using mysql-4.1.3
Product: Gentoo Linux Reporter: Simon Detheridge <social-gentoobugzilla>
Component: Current packagesAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: mysql-bugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to build against mysql 4.1.3
Ebuild to include the above patch

Description Simon Detheridge 2004-07-07 10:08:07 UTC
This is essentially the same bug as bug 56328, as tetex includes the source for libwww. I've created a patch based on the patch for libwww, and tetex now builds fine. See below for the patch.

Reproducible: Always
Steps to Reproduce:
1.emerge mysql 4.1.3
2.emerge tetex

Actual Results:  
the emerge fails (I don't have the compiler errors to hand)  

Expected Results:  
the emerge should succeed
Comment 1 Simon Detheridge 2004-07-07 10:09:41 UTC
Created attachment 34927 [details, diff]
Patch to build against mysql 4.1.3

This patch replaces the old, unsupported calls to mysql in libwww.
Comment 2 Simon Detheridge 2004-07-07 10:10:38 UTC
Created attachment 34928 [details]
Ebuild to include the above patch

Trivial modification to the ebuild, to apply the above patch
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-07-10 02:52:46 UTC
Same as bug #56328.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-10 03:11:04 UTC
simon: for your patch there, please make sure that libwww compiles and works with your patch applied and mysql-4.0 or 3.23 being used. this may require some fancy footwork with macros or #if trees.
please also use snprintf instead of sprintf and make your code modifications secure.

text-markup: the game-plan for mysql-4.1 is not for another few weeks at least before it's available hardmasked even, too much work going on with it.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-17 02:27:07 UTC
text-markup: please see the patch used for net-libs/libwww-5.4.0-r3.
This is important as the other method used here isn't so great after 4.1.3.
Comment 6 Francesco R. (RETIRED) gentoo-dev 2005-07-27 15:29:47 UTC
Finished now to install "app-text/tetex-2.0.2-r5" on x86 without problems .
The packages currently in portage don't use the bundled libwww.

Closing