Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299106 - www-client/opera-10.10 does not start, it dislikes the path of user's home directory
Summary: www-client/opera-10.10 does not start, it dislikes the path of user's home di...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-31 12:13 UTC by G. Náray
Modified: 2010-01-15 23:00 UTC (History)
0 users

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


Attachments
emerge --info www-client/opera (emerge.info.opera,6.24 KB, text/plain)
2010-01-15 23:00 UTC, G. Náray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description G. Náray 2009-12-31 12:13:33 UTC
Opera does not start, it says:
opera: Failed to create personal directory: /home/Szamó/.opera

Most probably it dislikes the ó letter in Szamó. It is very wierd, because the directory exists, and it worked with previous opera versions. I curse the day when i updated opera to 10.10, the only available version in portage at the moment, so now i can not use opera and can not emerge previous versions. My system uses utf-8, and if needed, i can show lines from log of "strace opera".

Reproducible: Always

Steps to Reproduce:
1. set home directory of a user, which contains not only english letters
2. start opera
3.

Actual Results:  
It quits, because
opera: Failed to create personal directory: /home/Szamó/.opera

Expected Results:  
It runs.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-01-02 05:56:54 UTC
Please tell Opera, Inc. about this problem. If non-ASCII $HOME fails, that's obviously not Gentoo's fault per se.

Reopen this bug if and when you get a response.
Comment 2 G. Náray 2010-01-09 14:13:52 UTC
Well, it seems the bug is not in Opera, but somewhere else. Should i post a new bug, or continue this until we find the source of problem?

Anyway, QBittorrent has similar problem, but it starts at least. I tested some with strace, and by the result, my guess is that the bug might be in Qt, or maybe in x11 somewhere.

I show you the interesting lines of strace qbittorrent and opera, but it could be whatever that does not work (i do not know yet what programs).

qbittorrent: open("/home/Szam\303\263/.config/qBittorrent/qBittorrent.conf", O_RDONLY|O_LARGEFILE) = 3

It means, it could open /home/Szamó/.config/qBittorrent/qBittorrent.conf, that is cool. Note that the \303\263 is the unicode of letter ó.
For a while, it uses the same path, and works. Suddenly, it tries this:

stat64("/home/Szam\303\203\302\263/.config/Trolltech.conf", 0x83ea5a4) = -1 ENOENT (No such file or directory)

then

stat64("/etc/qt4/Trolltech.conf", 0xbfba2000) = -1 ENOENT (No such file or directory)

So the first file it tries to find at wrong path is the Trolltech.conf, which is obviously Qt4 part. Why is the path wrong? It contains Szam\303\203\302\263, which is probably the unicode version of \303\263, which would mean, the once unicoded path is unicoded again, and that is a bug.

The story is not so simple, because here is the line from strace Skype:

stat64("/home/Szam\303\263/.config/Trolltech.conf", {st_mode=S_IFREG|0600, st_size=13504, ...}) = 0

Here it used the correct path for Trolltech.conf, but qbittorrent did not. I did not find any wrong path in Skype, that might be important.

Here is line why Opera fails, after initalizing qt3:

open("/home/Szam\303\263/.qt/qtrc", O_RDONLY|O_LARGEFILE) = 5
...
lstat64("/home/Szam\303\203\302\263/.opera", 0xbfe3ec1c) = -1 ENOENT (No such file or directory)
Comment 3 G. Náray 2010-01-09 14:14:27 UTC
Forgot to reopen the bug. Now reopened.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-01-09 20:07:21 UTC
Please post your `emerge --info www-client/opera'. Amazingly, the ebuild tells you to do this when reporting bugs.
Comment 5 G. Náray 2010-01-15 23:00:19 UTC
Created attachment 216653 [details]
emerge --info www-client/opera

I admit, i rarely read what ebuilds say. Yes, it causes problems, because sometimes important info is there. However, when i update 500 packages through 2 days, simply impossible read everything what ebuilds say. I am sorry.

OK, here is the result of emerge --info www-client/opera: