1 |
Hi Ramon, |
2 |
|
3 |
On 08-09-2008 16:21:56 +0200, Ramon van Alteren wrote: |
4 |
> Because I need / want to develop some stuff against MySQL-5.1 on my |
5 |
> Macbook I started porting the mysql-ebuild to my prefix environment |
6 |
> using ecopy and friends. |
7 |
> In addition I need dev-python/mysql-python and sqlalchemy with the mysql |
8 |
> useflag turned on. |
9 |
> |
10 |
> I've ecopy'd: |
11 |
> |
12 |
> dev-db/mysql-community-5.1.21_beta |
13 |
> dev-python/mysql-python-1.2.2-r1 |
14 |
> dev-db/mysql-init-scripts-1.2 |
15 |
> virtual/mysql-5.1 |
16 |
> |
17 |
> Helpful bugs are: |
18 |
> |
19 |
> Porting in general: |
20 |
> https://bugs.gentoo.org/attachment.cgi?id=164488 |
21 |
> (Sorry forgot to bookmark the bug and am too lazy to search my IRC logs |
22 |
> for it ) |
23 |
|
24 |
http://www.gentoo.org/proj/en/gentoo-alt/prefix/ecopy.xml (off the top |
25 |
of my head) |
26 |
|
27 |
> mysql-python: |
28 |
> (also contains description on how to get mysql running/ecopy'd) |
29 |
> http://bugs.gentoo.org/show_bug.cgi?id=220753 |
30 |
> |
31 |
> init-scripting: |
32 |
> http://bugs.gentoo.org/show_bug.cgi?id=196294 |
33 |
|
34 |
Not a necessity I think, but would be really nice to have. |
35 |
|
36 |
> The result is that I have a working ebuild for |
37 |
> mysql-community-5.1.21_beta which I emerged with use-flags: ssl |
38 |
> |
39 |
> As soon as I add innodb as use-flag innodb cmake gets pulled in as a |
40 |
> dependency which fails to build on macosx-x86, possibly due to |
41 |
> https://bugs.gentoo.org/show_bug.cgi?id=236740 |
42 |
> |
43 |
> I have not yet had the time to investigate any further into this. |
44 |
|
45 |
Ahhhh, painful. Does a lower version work? |
46 |
|
47 |
> emerge --config fails due to an unknown option used when starting the |
48 |
> server (--skip-ndbcluster) which is added in the mysql.eclass for all |
49 |
> server above version 4.1.3, if I remove that there's an unknown option |
50 |
> for --skip-innodb, seems like the eclass might need a small revamp to |
51 |
> deal with the new plugin setup in 5.1 |
52 |
|
53 |
Hmmm... |
54 |
|
55 |
> Caveats: |
56 |
> |
57 |
> install-db scripting needs to be run by hand. |
58 |
> no innodb support |
59 |
> no working init-script |
60 |
> ownership of the logfiles need to be reset by hand |
61 |
> |
62 |
> I have the following questions: |
63 |
> |
64 |
> * What testing if any is normal for this kind of stuff ? I'm looking |
65 |
> into getting the test-suite to run on the installed bins, is that |
66 |
> mandatory for prefix ? |
67 |
|
68 |
Running the testsuite is of course very helpful. However, the best |
69 |
tests come from advanced users that know how the product works, and |
70 |
hence can quickly do a sanity test to see if the product behaves on a |
71 |
few core tasks. |
72 |
|
73 |
> * What is the current idea of init-scripts for these type of services, |
74 |
> should the init-scripts be patched to work on alt-platformX ? |
75 |
|
76 |
They require a lot of work. I'd love to have them, but for now we have |
77 |
to ignore them, until we have a working infrastructure for them (and |
78 |
good plans on how to "port" them). |
79 |
|
80 |
> * How to get these ebuilds into prefix, open a bug ? |
81 |
|
82 |
Bugs work usually best, so anyone on the team can pick them up. What we |
83 |
like to know is: |
84 |
- which changes did you make *after* ecopy, preferably using a diff -u |
85 |
- which patches you added, preferably attached uncompressed |
86 |
- if it runs, and if so, as expected |
87 |
|
88 |
> * What about the eclass updates that are necessary (this most likely |
89 |
> affects current "normal" gentoo tree as well ?) |
90 |
|
91 |
I have to look into the details for this one, but I think this is indeed |
92 |
a gentoo-x86 problem, judging from your description. That would |
93 |
preferably solved first there, such that it automagically gets into |
94 |
Prefix. |
95 |
|
96 |
> * Did I miss anything that needs to be done ? |
97 |
|
98 |
I can't instantly name one, so I guess not! |
99 |
|
100 |
Thanks for your detailed explanation. I hope we can incorporate your |
101 |
efforts in the tree soon. |
102 |
|
103 |
|
104 |
-- |
105 |
Fabian Groffen |
106 |
Gentoo on a different level |