1 |
Hello, |
2 |
|
3 |
I had a successful emerge system on sparc following the excellent |
4 |
guide on bootstrapping Solaris. I ran into a recently reported issue |
5 |
with debianutils not being on the mirors, but worked through it based |
6 |
on the information in the issue report. My next step was to take a |
7 |
backup of course, and then I started thinking about emerging packages. |
8 |
|
9 |
The first one I tried was mysql-5.5.20 (with minimal). I encountered |
10 |
two issues, only one of which I was able to work-around. |
11 |
|
12 |
1) emerge failed with: |
13 |
|
14 |
Can't create output directory for |
15 |
${EPREFIX}/var/tmp/portage/dev-db/mysql-5.5.20/work/mysql-5.5.20_build/sql/share/ukrainian |
16 |
|
17 |
The root cause of this was not anything ukrainian, but the fact that |
18 |
${EPREFIX}/var/tmp/portage/dev-db/mysql-5.5.20/work/mysql-5.5.20_build/sql/share |
19 |
did not exist. I created it manually during the emerge from a |
20 |
different shell (not good, I know, just testing) and then I had a |
21 |
successful build. I see output indicating [100%] Buiilt target |
22 |
symlink_libmysqlclient_r.so Install the project... |
23 |
|
24 |
2) emerge then fails during install, and with --debug I can see: |
25 |
|
26 |
+ newins ${EPREFIX}/var/tmp/portage/dev-db/mysql-5.5.20/temp/my.cnf.ok my.cnf |
27 |
------------------------------------------------------- |
28 |
You should not use ${EPREFIX} with helpers. |
29 |
--> ${EPREFIX}/etc/mysql |
30 |
------------------------------------------------------- |
31 |
* ERROR: dev-db/mysql-5.5.20 failed (install phase): |
32 |
* newins failed |
33 |
|
34 |
I intend to debug further, and I need to check more carefully on |
35 |
Buzilla, but initially I did not see any reports on this. Any |
36 |
suggestions, or indication that this is a localized problem as opposed |
37 |
to a bug? |
38 |
|
39 |
Thanks, |
40 |
Scott |