Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56348 - tetex fails to compile when using mysql-4.1.3
Summary: tetex fails to compile when using mysql-4.1.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-07 10:08 UTC by Simon Detheridge
Modified: 2005-07-27 15:29 UTC (History)
1 user (show)

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


Attachments
Patch to build against mysql 4.1.3 (tetex-2.0.2-mysql4.1.diff,1.62 KB, patch)
2004-07-07 10:09 UTC, Simon Detheridge
Details | Diff
Ebuild to include the above patch (tetex-2.0.2-r4.ebuild,604 bytes, text/plain)
2004-07-07 10:10 UTC, Simon Detheridge
Details

Note You need to log in before you can comment on or make changes to this bug.
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