FS#11552 - x86_64 repo codeblocks was compiled as i686; causes crash

Attached to Project: Community Packages
Opened by Devin Cofer (Ranguvar) - Monday, 22 September 2008, 03:18 GMT
Last edited by Angel Velasquez (angvp) - Tuesday, 23 September 2008, 03:51 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Angel Velasquez (angvp)
Stefan Husmann (stefanhusmann)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

As in title, codeblocks for x86_64 was compiled for i686, which causes issues with the x86_64 wxgtk.

http://bbs.archlinux.org/viewtopic.php?id=55601

Steps to reproduce:

Use x86_64 Arch and x86_64 repos.
pacman -S codeblocks
./codeblocks
./codeblocks: error while loading shared libraries: libwx_gtk2u_richtext-2.8.so.0: wrong ELF class:ELFCLASS64
pacman -Qi codeblocks

...
Packager : Stefan Husmann <stefan-husmann@t-online.de>
Architecture : i686
...
This task depends upon

Closed by  Angel Velasquez (angvp)
Tuesday, 23 September 2008, 03:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in release 6
Comment by Angel Velasquez (angvp) - Monday, 22 September 2008, 19:29 GMT
Can you paste all the info of pacman -Qi to see what release version do you have, this happened cause it was an error uploading the package, but now it's fixed in the release 6.

Update your repos and Confirm it please
Comment by Devin Cofer (Ranguvar) - Tuesday, 23 September 2008, 03:13 GMT
Okay, just did this:

[ranguvar@dev-desk-arch ~]$ sudo pacman -Syu
Password:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
kdemod-core is up to date
kdemod-extragear is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
local database is up to date
[ranguvar@dev-desk-arch ~]$ sudo pacman -S codeblocks
warning: codeblocks-8.02-5 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): codeblocks-8.02-5

Total Download Size: 0.00 MB
Total Installed Size: 26.55 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [############################################################] 100%
(1/1) upgrading codeblocks [############################################################] 100%

[ranguvar@dev-desk-arch ~]$ codeblocks
codeblocks: error while loading shared libraries: libwx_gtk2u_richtext-2.8.so.0: wrong ELF class: ELFCLASS64
[ranguvar@dev-desk-arch ~]$ pacman -Qi codeblocks
Name : codeblocks
Version : 8.02-5
URL : http://www.codeblocks.org
Licenses : GPL3
Groups : None
Provides : None
Depends On : wxgtk
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 27188.00 K
Packager : Stefan Husmann <stefan-husmann@t-online.de>
Architecture : i686
Build Date : Sat 20 Sep 2008 05:50:39 AM EDT
Install Date : Mon 22 Sep 2008 07:11:18 PM EDT
Install Reason : Explicitly installed
Install Script : No
Description : An open source and cross-platform C/C++ IDE
Comment by Devin Cofer (Ranguvar) - Tuesday, 23 September 2008, 03:17 GMT
Oops, sorry, had to clean cache. But, I still see no release 6, and still have the problem :?

I do see it in the AUR though. Can't test right now, I'm actually _temporarily_ removing Arch.
Comment by Angel Velasquez (angvp) - Tuesday, 23 September 2008, 03:31 GMT
What repo are you using, test ftp.archlinux.org just to get codeblocks again or wait until your repo will be syncronized.

Then confirm if the problem persist, i've installed good, but i will wait until your confirmation to close this bug
Comment by Devin Cofer (Ranguvar) - Tuesday, 23 September 2008, 03:38 GMT
There we go :) RIT had not updated, should have thought of that.

8.02-6 works great, reports x86_64 and runs fine. Close away.

Thanks very much =]

Loading...