Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kmail invalid user name or password problem[Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Tue Apr 10, 2007 5:25 am    Post subject: Kmail invalid user name or password problem[Solved] Reply with quote

Suddenly my main identity in Kmail has started losing or changing the stored password when I close and re-open Kmail.

My password is 7 characters, but if I retype it in , and check the store box in accounts settings, if I close the program (or when I reboot) and reopen it, there is a 17 character password in its place, which cox.net doesn't recognize. I have to retype the password in accounts to connect with cox.net and access my new email.

I've rebuilt kdepim (and kmail), and searched the forum and googled with no results. My other Gentoo boxes and/or email identities don't have this problem. Revdep-rebuild turns up nothing. kde3.5/share/config/kmailrc looks normal- no clue I can find there.

Any ideas on this one? Can I safely try removing and recreating the main primary email identity?

EDIT: Just discovered another identity does the same thing when I try and have kmail store the password. I'm not using kwallet, but prefer kmail to store the password itself. (Never liked kwallet much)
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11


Last edited by wrc1944 on Fri May 18, 2007 11:17 am; edited 1 time in total
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Tue Apr 10, 2007 2:36 pm    Post subject: Reply with quote

The same story here :(
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Sat Apr 14, 2007 12:57 am    Post subject: Reply with quote

VoVaN,
Nobody seems to be responding with any insight regarding our mutual Kmail problem, so I guess it must be uncommon. Have you made any progress, or have any other ideas? It's really getting old having to reset the password- this is my main box so I reboot and check email at least once a day.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Sat Apr 14, 2007 7:08 am    Post subject: Reply with quote

I hope next week I'll have some time to take a look at this problem, but at the moment I don't have any clue. Once password has been resetted kmail keeps prompting every time you start it... I'll keep you informed.
Back to top
View user's profile Send private message
hug0
Guru
Guru


Joined: 02 Mar 2004
Posts: 303

PostPosted: Sat Apr 14, 2007 3:09 pm    Post subject: Reply with quote

same here!!
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Sat Apr 14, 2007 3:33 pm    Post subject: Reply with quote

In /home/wrc/.kde3.5/share/config/kmailrc, there is this line, which I assume is my current password for that email account, encrypted. Does anyone know if this line looks normal?

pass=ᄐᆭ→→￾￾
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sat Apr 14, 2007 11:23 pm    Post subject: Reply with quote

Same problem here both on x86 and ppc.
I am thinking it may be related to the upgrade to qt-3.3.8 but I am not sure.
The password stored in kmailrc is indeed encrypted or hashed.
Now the fun bit is that on my x86 machine (cannot check on the ppc one right now)
the password stored is very similar, I am not sure it is normal.
Code:
ᆲ￾ᄈᄇ￟ᆳ￾ᄈ
Back to top
View user's profile Send private message
hug0
Guru
Guru


Joined: 02 Mar 2004
Posts: 303

PostPosted: Sun Apr 15, 2007 6:30 am    Post subject: Reply with quote

fb wrote:
I am thinking it may be related to the upgrade to qt-3.3.8 but I am not sure.


Indeed, I upgraded qt no more than a couple of hours before my kmail-problems started...
Back to top
View user's profile Send private message
hug0
Guru
Guru


Joined: 02 Mar 2004
Posts: 303

PostPosted: Sun Apr 15, 2007 9:05 am    Post subject: Reply with quote

Downgrading to x11-libs/qt-3.3.6-r4 did the trick...
still investigating :)
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sun Apr 15, 2007 11:50 am    Post subject: Reply with quote

hug0 wrote:
Downgrading to x11-libs/qt-3.3.6-r4 did the trick...
still investigating :)

Something has to be rebuilt after qt (probably) but what?
I recompiled kdelibs and most of the kdepim stuff and pinentry.
It may also have to be done in some order?
Back to top
View user's profile Send private message
TommyDrum
n00b
n00b


Joined: 04 Mar 2004
Posts: 45
Location: Bologna, Italy

PostPosted: Sun Apr 15, 2007 2:00 pm    Post subject: Reply with quote

Confirmed over here also (AMD64). Running revdep-rebuild doesn't rebuild anything. Downgrading to qt-3.3.6-r4 restores functionality. Filed as bug n. 174678.

When I enter passwords manually kmail works but only temporarily; problem reappears restarting kmail.
_________________
Spam spam spam. Lovely spam! Wonderful spam!

Monty Python
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Sun Apr 15, 2007 6:45 pm    Post subject: Reply with quote

fb,
IMO rebuilding kdelibs and kdepim should probably be enough.

Thanks TommyDrum for the bug link.

I checked an old kmailrc backup file from a few months ago, and the password is hashed too, just like my current one, so it must be normal, or at least not have anything to do with our qt-3.8.8 problem that hug0 mentioned.

I'm wondering why there aren't huge numbers of reports on this- how can we the only ones using kmail that upgraded qt so far?
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
TommyDrum
n00b
n00b


Joined: 04 Mar 2004
Posts: 45
Location: Bologna, Italy

PostPosted: Sun Apr 15, 2007 9:55 pm    Post subject: Reply with quote

Already rebuilt kdelibs, libkdepim, libkpimidentities, kontact, kmail, and any other related ebuild came to mind....(all 3.5.6 branch)

Fact is that I don't use kdepim, and trying to merge it results in asking me either to
A. downgrade kdelibs and emerge kdebase
or
B. unmask kdelibs and kdebase (in order to use the 3.5.6 version), then unmerge all packages considered blockers to kdebase, since I'm using split ebuilds, not monolithic ones.

So no, emerge kdepim is not an option.
_________________
Spam spam spam. Lovely spam! Wonderful spam!

Monty Python
Back to top
View user's profile Send private message
TommyDrum
n00b
n00b


Joined: 04 Mar 2004
Posts: 45
Location: Bologna, Italy

PostPosted: Sun Apr 15, 2007 10:04 pm    Post subject: Reply with quote

Also noticed a couple of other weirdies:
1. This problem comes up only with pop3 accounts, not IMAP; my IMAP account maintains regularly its password and sends and receives regularly.
2. The SMTP default account fails to send, even when I manually reenter its password, with an "SMTP server does not support PLAIN" and "Error: authentication failed"; so my SMTP is completely borked when using qt-3.3.8. May I add that SMTP server does support TLS and PLAIN, which was my previous setting.
_________________
Spam spam spam. Lovely spam! Wonderful spam!

Monty Python
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sun Apr 15, 2007 10:49 pm    Post subject: Reply with quote

I hadn't noticed that. It's true that my imap mailbox is unaffected.
I haven't tried sending an email recently from home so I am not sure,
but I think on my ppc machine at work it worked. It could be some
qt plugin the elog warning coming with qt-3.3.8 is
Code:
        elog "After a rebuild of Qt, it can happen that Qt plugins (such as Qt/KDE styles,"
        elog "or widgets for the Qt designer) are no longer recognized.  If this situation"
        elog "occurs you should recompile the packages providing these plugins,"
        elog "and you should also make sure that Qt and its plugins were compiled with the"
        elog "same version of gcc.  Packages that may need to be rebuilt are, for instance,"
        elog "kde-base/kdelibs, kde-base/kdeartwork and kde-base/kdeartwork-styles."
        elog "See http://doc.trolltech.com/3.3/plugins-howto.html for more infos."

I just recompiled qca and qca-tls thinking it could be them but no luck. I am trolling the
dependency graph of kmail in search of something plausible to recompile.
Back to top
View user's profile Send private message
kajetan
n00b
n00b


Joined: 18 Jun 2005
Posts: 3

PostPosted: Mon Apr 16, 2007 6:02 am    Post subject: Reply with quote

What I have noticed is that the problem depends on complication level of password. I have three accounts configured in kmail and one with "aneasypassword" works ok, while two others with "l33t5p34k!@#" have problems (those are ofcourse not my passwords, just to show what kind of characters are used).
Back to top
View user's profile Send private message
TommyDrum
n00b
n00b


Joined: 04 Mar 2004
Posts: 45
Location: Bologna, Italy

PostPosted: Fri Apr 20, 2007 7:20 pm    Post subject: Reply with quote

Ok, now this problem becomes more serious:
I masked the qt-3.3.8-r2 package, due to it being incompatible with kmail proper functioning.
The new problem arised since the last emerge sync and emerge -Dupv world, which forces me into unmasking the qt-3.3.8-r2 package because of "dependency required by kde-base/kdelibs-3.5.6-r5".
Of course I don't have the slightest intention to unmask the qt package which borks kmail.

Any further advice on how to handle this issue?

BTW, the bug report 174678 on bugzilla doesn't still cope with this

EDIT: I checked requirements in kdelibs ebuild, it says qt_min_version 3.3.3.
_________________
Spam spam spam. Lovely spam! Wonderful spam!

Monty Python
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Fri Apr 20, 2007 9:56 pm    Post subject: Reply with quote

I just booted up another Gentoo box (virtually identical ~x86 installation) that I haven't synced and updated world in about 3-4 weeks. Kmail is functioning normally on this one (password retained), with qt-3.3.8 and kdelibs-3.5.6-r2.

I'm about to sync, and do a -uD world, so I'll note what packages change. Looks like qt, kdelibs, kdebase, and kdepim will get updated. I expect kmail password to break, but one can always hope. I'll stop merging after qt-3.3.8-r2 gets done, and check kmail again.

gentoo wrc # emerge -upD world
These are the packages that would be merged, in order:
Calculating world dependencies
... done!
[ebuild U ] dev-libs/gmp-4.2.1-r1 [4.2.1]
[ebuild U ] sys-apps/debianutils-2.17.5 [2.17.4]
[ebuild U ] media-sound/alsa-headers-1.0.14_rc3 [1.0.14_rc2_p3234]
[ebuild U ] sys-libs/timezone-data-2007e [2007b]
[ebuild U ] sys-libs/libutempter-1.1.5 [1.1.4.1]
[ebuild U ] sys-fs/device-mapper-1.02.18 [1.02.12]
[ebuild U ] app-arch/cpio-2.7-r2 [2.7-r1]
[ebuild U ] sys-apps/busybox-1.5.0 [1.4.1-r2] USE="(-selinux)"
[ebuild U ] net-misc/dhcpcd-3.0.17 [3.0.13]
[ebuild U ] sys-apps/hdparm-6.9-r1 [6.9]
[ebuild U ] sys-kernel/linux-headers-2.6.20-r2 [2.6.20-r1]
[ebuild U ] dev-libs/mpfr-2.2.1_p5 [2.2.1_p1]
[ebuild U ] media-libs/libart_lgpl-2.3.19-r1 [2.3.17]
[ebuild U ] sys-apps/sysvinit-2.86-r8 [2.86-r7]
[ebuild U ] app-admin/syslog-ng-1.6.12-r1 [1.6.12]
[ebuild U ] sys-fs/cryptsetup-luks-1.0.4-r3 [1.0.4-r1]
[ebuild U ] sys-libs/ncurses-5.6-r1 [5.6]
[ebuild U ] app-shells/bash-3.2_p15-r1 [3.2_p9-r1]
[ebuild U ] dev-util/dialog-1.1.20070227 [1.0.20060221]
[ebuild U ] sys-apps/man-pages-2.44 [2.43]
[ebuild U ] media-libs/freetype-2.3.3 [2.3.1] USE="-debug%"
[ebuild U ] sys-apps/pciutils-2.2.4-r3 [2.2.4-r2] USE="zlib* -network-cron%"
[ebuild NS ] sys-libs/db-4.5.20_p2 USE="-bootstrap -doc -java -nocxx -tcl -test"
[ebuild U ] sys-devel/m4-1.4.9 [1.4.8] USE="-examples%"
[ebuild U ] app-editors/nano-2.0.4 [2.0.3]
[ebuild U ] sys-fs/e2fsprogs-1.39-r2 [1.39-r1]
[ebuild N ] sys-devel/gdb-6.6-r2 USE="nls -test -vanilla"
[ebuild U ] app-arch/gzip-1.3.12 [1.3.11]
[ebuild U ] dev-libs/glib-2.12.11 [2.12.9]
[ebuild U ] app-cdr/cdrtools-2.01.01_alpha25 [2.01.01_alpha20]
[ebuild U ] sys-apps/lm_sensors-2.10.3 [2.10.2]
[ebuild U ] dev-util/intltool-0.35.5 [0.35.4]
[ebuild U ] x11-libs/libX11-1.1.1-r1 [1.1.1]
[ebuild U ] media-libs/alsa-lib-1.0.14_rc3 [1.0.14_rc2]
[ebuild U ] sys-apps/coreutils-6.9 [6.7-r1] USE="-xattr%"
[ebuild U ] x11-libs/libXfont-1.2.8 [1.2.7]
[ebuild U ] app-text/aspell-0.60.5 [0.60.4-r1]
[ebuild U ] dev-libs/libusb-0.1.12-r1 [0.1.12]
[ebuild U ] x11-misc/makedepend-1.0.1 [1.0.0]
[ebuild U ] sys-process/psmisc-22.4 [22.3]
[ebuild U ] media-libs/akode-2.0.2 [2.0.1]
[ebuild U ] sys-apps/usbutils-0.72-r4 [0.72-r1] USE="-network-cron%"
[ebuild U ] x11-apps/mkfontdir-1.0.3 [1.0.2]
[ebuild U ] x11-libs/libXrandr-1.2.1 [1.2.0-r1]
[ebuild U ] sys-apps/dbus-1.0.2-r2 [1.0.2-r1]
[ebuild U ] x11-apps/xinit-1.0.3-r3 [1.0.3-r1]
[ebuild U ] media-sound/sox-13.0.0 [12.18.2] USE="-debug% -flac% -libsamplerate% -sndfile%"
[ebuild U ] dev-libs/openssl-0.9.8e [0.9.8d]
[ebuild U ] dev-perl/IO-Socket-SSL-1.05 [1.02]
[ebuild U ] sys-libs/readline-5.2_p2 [5.2_p1]
[ebuild U ] net-nds/openldap-2.3.35 [2.3.33]
[ebuild U ] sys-apps/baselayout-1.12.10-r3 [1.12.9]
[ebuild U ] sys-apps/module-init-tools-3.2.2-r3 [3.2.2-r2]
[ebuild U ] sys-apps/file-4.20-r1 [4.19-r1]
[ebuild U ] sys-fs/udev-108 [104-r12]
[ebuild U ] app-portage/gentoolkit-0.2.4_pre4 [0.2.3]
[ebuild U ] app-admin/eselect-1.0.9 [1.0.8]
[ebuild U ] x11-misc/shared-mime-info-0.20 [0.19]
[ebuild U ] media-libs/lcms-1.16 [1.15]
[ebuild U ] media-sound/alsa-utils-1.0.14_rc2-r3 [1.0.14_rc2-r1]
[ebuild U ] media-sound/alsa-driver-1.0.14_rc3 [1.0.14_rc2_p3234]
[ebuild N ] net-dialup/ppp-2.4.4-r4 USE="gtk ipv6 pam -activefilter -atm -dhcp -eap-tls -mppe-mppc -radius"
[ebuild U ] media-fonts/dejavu-2.16 [2.15]
[ebuild U ] net-print/cups-1.2.10 [1.2.8]
[ebuild U ] media-sound/esound-0.2.37-r1 [0.2.36-r2]
[ebuild U ] x11-terms/xterm-225 [224]
[ebuild U ] net-misc/openssh-4.6_p1-r1 [4.5_p1-r1]
[ebuild U ] x11-base/xorg-server-1.2.0-r3 [1.2.0-r1]
[ebuild U ] x11-libs/cairo-1.4.4 [1.3.14]
[ebuild U ] sys-process/vixie-cron-4.1-r10 [4.1-r9]
[ebuild U ] x11-libs/qt-3.3.8-r2 [3.3.8]
[ebuild U ] media-libs/libsdl-1.2.11-r2 [1.2.11-r1]
[ebuild U ] media-sound/vorbis-tools-1.1.1-r4 [1.1.1-r3] USE="-minimal%"
[ebuild U ] x11-libs/qt-4.2.3-r1 [4.2.2]
[ebuild U ] x11-libs/gtk+-2.10.11 [2.10.9]
[ebuild U ] media-video/ffmpeg-0.4.9_p20070330 [0.4.9_p20070129] USE="X%*"
[ebuild U ] www-client/opera-9.20 [9.10]
[ebuild U ] media-libs/libdv-1.0.0-r2 [1.0.0-r1]
[ebuild U ] app-text/ghostscript-esp-8.15.4 [8.15.3-r1]
[ebuild U ] media-video/mplayer-1.0_rc2_pre20070321-r4 [1.0_rc1-r2] USE="mp3%* quicktime%* -a52% -cddb% -dvdnav% -ftp% -ivtv% -md5sum% -mp2% -pnm% -radio% -rar% -srt% -tivo% -vidix% -zoran%" VIDEO_CARDS="vesa%* -mga% -s3virge% -tdfx%"
[ebuild U ] media-libs/libquicktime-1.0.0 [0.9.10] USE="alsa%* encode%* gtk%* jpeg%* opengl%* png%* vorbis%* -aac% -dv% -ffmpeg% -lame% -x264%"
[ebuild U ] media-sound/alsa-tools-1.0.14_rc3 [1.0.14_rc1-r1] ALSA_CARDS="-emu10k1x*"
[ebuild U ] app-crypt/gnupg-2.0.3-r1 [2.0.2]
[ebuild U ] media-video/transcode-1.0.3 [1.0.2-r4] USE="iconv%*"
[ebuild U ] kde-base/kdelibs-3.5.6-r5 [3.5.6-r2]
[ebuild U ] app-crypt/gpgme-1.1.4 [1.1.3]
[ebuild U ] kde-base/kdebase-3.5.6-r2 [3.5.6-r1]
[ebuild U ] kde-misc/ksensors-0.7.3-r1 [0.7.3] USE="-hddtemp% -ibmacpi%"
[ebuild U ] net-p2p/ktorrent-2.1.3 [2.1]
[ebuild U ] media-video/kplayer-0.6.1 [0.6.0] LINGUAS="-br% -ca% -cs% -cy% -da% -de% -el% -en_GB% -es% -et% -fi% -fr% -ga% -gl% -he% -hu% -it% -ja% -nb% -nl% -pa% -pl% -pt% -pt_BR% -ru% -sr% -sr@Latn% -sv% -tr% -zh_CN%"
[ebuild U ] kde-base/kdepim-3.5.6-r2 [3.5.6-r1]
[ebuild U ] app-cdr/k3b-1.0.1 [0.12.17] USE="dvdread%* -emovix%" LINGUAS="-ar% -fa% -gl% -ka% -rw% -sk% -uz%"
[ebuild U ] sys-devel/gcc-config-1.3.16 [1.3.14]
gentoo wrc #
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Sat Apr 21, 2007 1:13 am    Post subject: Reply with quote

OK- after qt-3.3.8-r2 was emerged, the kmail password problem appears on this box. So, apparently 3.3.8 is OK, but r2 (and maybe r1 also?) cause the problem.

TommyDrum,
Do you think we could get away with 3.3.8 (and not have the kmail problem) and still get the kdelib and other kde updates? Maybe they just depend on 3.3.8, and having r1 or r2 wouldn't matter that much? I guess the only way to know is to back up to plain 3.3.8, and try emerging kdelib-3.5.6-r2 and if that goes well, try the other kde updates.

On second thought, it probably won't work, as kdelib-3.5.6-r2 will probably try and pull in qt-3.3.8-r2 first. :?
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
TommyDrum
n00b
n00b


Joined: 04 Mar 2004
Posts: 45
Location: Bologna, Italy

PostPosted: Sat Apr 21, 2007 10:51 am    Post subject: Reply with quote

So, from what I've understood, qt-3.3.8-r2 is what causes the problem. From qt changelog:
Code:
30 Mar 2007; Caleb Tennis <caleb@gentoo.org> +files/utf8-bug-qt3.diff,
  +files/utf8-bug-qt4-2.diff, +qt-3.3.8-r2.ebuild, +qt-4.2.3-r1.ebuild:
  Add a patch that fixes a a XSS error in the UTF8 decoder (from kde-packager)


...which is coherent with utf password character breakage in kmail.
This seems to be the patch that causes the problem with password handling; fact is that, also in qt changelog:
Code:
13 Apr 2007; Caleb Tennis <caleb@gentoo.org> -qt-3.3.8.ebuild,
  -qt-3.3.8-r1.ebuild, -qt-4.2.3.ebuild:
  Removing old versions


...so no qt-3.3.8 or r1 in portage now.

I'll try to build 3.3.8-r2 removing the utf8-bug-qt3.diff, then see if that makes any difference.

Thanks wrc and your system for not having synced in 3-4 weeks (funny, isn't it??) :wink:

In regards of kdelibs trying to pull latest stable version of qt, I don't have the slightest idea for which this might be happening, since prerequisites for kdelibs (as mentioned in my edit of the previous post) is qt-3.3.3....

...but let's take one thing at a time; I'll try to remove the diff, then rebuild, then watch behaviour, then we'll see what goes with kdelibs.
_________________
Spam spam spam. Lovely spam! Wonderful spam!

Monty Python
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sat Apr 21, 2007 11:36 am    Post subject: Reply with quote

OK, I bit the bullet and started to mess up with the qt-3.3.8-r2 ebuild (in my local
overlay). The motivation behind the stabilization of 3.3.8-r2 was a patch correcting
an utf8 problem - apparently a potential DoS attack.
Well I removed this patch from the ebuild, make the digest, emerge and my password is correct
once again in kmail.

So if you want to try for yourself in the qt-3.3.8-r2 ebuild comment the following line:
Code:
       epatch ${FILESDIR}/utf8-bug-qt3.diff
and re-emerge qt-3.

In short the utf8 patch is buggy or there is a bug in kmail revealed by this patch.
I cannot really post this in bugzilla right now as I am ready to go to bed :wink: (11:35pm New Zealand time)
Back to top
View user's profile Send private message
TommyDrum
n00b
n00b


Joined: 04 Mar 2004
Posts: 45
Location: Bologna, Italy

PostPosted: Sat Apr 21, 2007 11:44 am    Post subject: Reply with quote

Ok, I've rebuild qt-3.3.8-r2 removing the utf8-bug-qt3.diff, and now kmail and kontact behave normally:
I had to edit /usr/portage/x11-libs/qt/qt-3.3.8-r2 and comment out the "epatch ${FILESDIR}/utf8-bug-qt3.diff" line. Qt builds properly, and kmail/kontact stop complaining about wrong AUTH.

So the culprit for breakage is indeed the utf8-bug-qt3.diff. I'm updating the 174678 bug in order to post more significant info, meanwhile a workaround for this problem is:

1. Edit /usr/portage/usr/portage/x11-libs/qt/qt-3.3.8-r2.ebuild:
Code:
$ nano /usr/portage/x11-libs/qt/qt-3.3.8-r2.ebuild

2. Comment out epatch ${FILESDIR}/utf8-bug-qt3.diff:
Code:
# epatch ${FILESDIR}/utf8-bug-qt3.diff

3. Digest the new ebuild:
Code:
$ ebuild /usr/portage/x11-libs/qt/qt-3.3.8-r2.ebuild digest

4. Emerge qt-3.3.8-r2:
Code:
 emerge -v =x11-libs/qt-3.3.8-r2


Know that this will probably get overwritten with the next emerge sync since I should've probably put the new ebuild in an overlay, but I think it's such a slight change that users can handle it fairly well, unless a new stable qt-3 branch ebuild comes out that does not contain a fix (for which any users with the same problem should probably comment out the epatch again); until the ebuild gets fixed, this workaround works, but with a regression regarding the "XSS error in UTF8 decoder" mentioned in qt changelog.

As for kdelibs, it built normally, as now portage does not complain for masked qt-3.3.8-r2 (it is unmasked, but slightly tweaked :wink: )

wrc, thanks for the great help! Would you mind trying it and see if it works out?
_________________
Spam spam spam. Lovely spam! Wonderful spam!

Monty Python
Back to top
View user's profile Send private message
TommyDrum
n00b
n00b


Joined: 04 Mar 2004
Posts: 45
Location: Bologna, Italy

PostPosted: Sat Apr 21, 2007 11:47 am    Post subject: Reply with quote

Lol we posted at the same time!

hehehe :lol:

Ok, here in Italy it's 13.45 so I'll update the previous bug.

Nighty night fb!

:D
_________________
Spam spam spam. Lovely spam! Wonderful spam!

Monty Python
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Sat Apr 21, 2007 1:39 pm    Post subject: Reply with quote

Don't know how much I helped here- I didn't think to check the ebuilds. :oops:

Many thanks TommyDrum and fb! Just tried your fix, and it worked perfectly- kmail now retains its password when closed and reopened. I'll appy it to ally my boxes right away. Also made a backup of the ebuild for future syncs if they don't get around to fixing it right away.

BTW, I noticed that epatch line is also in the qt-4.2.3-r1 ebuild. I realize not much requires this qt version right now (if anything), but since portage pulls it in anyway, should we comment this one out too?

epatch ${FILESDIR}/utf8-bug-qt4-2.diff

EDIT: Just realized you already mentioned the qt-4 ebuild.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sun Apr 22, 2007 8:49 am    Post subject: Reply with quote

I am starting to think seriously that the patch is actually revealing a bug in kmail, I could be wrong.

The strange fact is the password is written to the config file correctly, but when you include
the patch it is _read_ incorrectly. The fact that it is read as many more characters suggest that the
encoding of the password is not recognized at reading time. I think if it is really a buggy patch
it may seriously borks stuff in a lot of other place each time you have to read utf8 strings.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum