You are not logged in.
I know that every single one of you reads the arch-devel mailing list before you upgrade testing, right? Just like me, right?
Peasantoid and Allan, yes! You rock!
The gmp upgrade will break GHC, xmonad, xmonad-contrib, plus not only the darcs versions, but darcs itself, xmonad-utils-darcs... You can't rebuild GHC using the unmodified package from ABS because it bootstraps GHC to build.
*** Can't say that Allan didn't warn you ***
Unless, of course, you didn't bother to read the list...
Edit: fixed package name in title -Allan
Last edited by Allan (2010-03-20 05:27:24)
Offline
You can't rebuild GHC using the unmodified package from ABS because it bootstraps GHC to build.
Well, you can... what needs to be done is copy the old libgmp.so.3.5.2 and liggmp.so.3 to /usr/lib. Then rebuild. Remove the libraries and maybe rebuild again for good measure. That is how whoever wants to rebuild GHC will have to deal with the situation.
Personally:
me ----------------- (10 foot pole) ----------------- ghc package
Offline
skottish: Just a note, but you may want to correct a typo in the thread title.
s/gpm/gmp/
Some people might be confused by this.
Offline
skottish wrote:You can't rebuild GHC using the unmodified package from ABS because it bootstraps GHC to build.
Well, you can... what needs to be done is copy the old libgmp.so.3.5.2 and liggmp.so.3 to /usr/lib. Then rebuild. Remove the libraries and maybe rebuild again for good measure. That is how whoever wants to rebuild GHC will have to deal with the situation.
Temporary symlinks work too.
Wait a second,
I got the package name wrong in both the title and the body? No wonder why my mouse can't count.
Offline
Temporary symlinks work too.
Yuck... please don't...
Offline
skottish wrote:Temporary symlinks work too.
Yuck... please don't...
You know, I've pushed forever to get people to not use the symlink option for doing stuff like this. So I do it last night just to get my system running again. In the first two hours I find direct evidence that the xmonad binary on my system is still linked to the old library. I deserved that.
Offline
As a work around, you can 1) downgrade or 2) grab /usr/lib/libgmp.x.x.x and its sylink to libgmp.so.x from the old gmp package and put them in your /usr/lib.
Offline
You can't rebuild GHC using the unmodified package from ABS because it bootstraps GHC to build.
To build GHC, you must first build GHC. It's recursion gone mad.
Send them an email to let them know that their pattern-matching is non-exhaustive
Last edited by Xyne (2010-03-20 13:53:58)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
skottish wrote:You can't rebuild GHC using the unmodified package from ABS because it bootstraps GHC to build.
To build GHC, you must first build GHC. It's recursion gone mad.
Send them an email to let them know that their pattern-matching is non-exhaustive
It'll start a 250 response argument on some mailing list somewhere that will somehow get Jon Harrop there arguing the benefits of F# over Haskell. That's what always happens.
Offline
Xyne wrote:skottish wrote:You can't rebuild GHC using the unmodified package from ABS because it bootstraps GHC to build.
To build GHC, you must first build GHC. It's recursion gone mad.
Send them an email to let them know that their pattern-matching is non-exhaustive
It'll start a 250 response argument on some mailing list somewhere that will somehow get Jon Harrop there arguing the benefits of F# over Haskell. That's what always happens.
I'll read the series of academic papers that they'll later publish in response and I will be severely disappointed if Gödel is not referenced.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
As a work around, you can 1) downgrade or 2) grab /usr/lib/libgmp.x.x.x and its sylink to libgmp.so.x from the old gmp package and put them in your /usr/lib.
This is the only sane solution unless one wants to rebuild packages; A lot of them potentially. By the way for anyone reading this, ghc-6.12.1-3 is still linked against libgmp.so.3, so either follow Allan's advice, don't upgrade until all of the Haskell packages have been updated, or prepare to start rebuilding.
Offline
I tried to rebuild ghc and other ghc-depend packages by following Allan's instruction.
ghc seems to work, and it has no longer link to libgmp.so.3.
$ldd /usr/lib/ghc-6.12.1/ghc
linux-gate.so.1 => (0xb787e000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7810000)
librt.so.1 => /lib/librt.so.1 (0xb7807000)
libutil.so.1 => /lib/libutil.so.1 (0xb7803000)
libdl.so.2 => /lib/libdl.so.2 (0xb77ff000)
libm.so.6 => /lib/libm.so.6 (0xb77d8000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb77bf000)
libc.so.6 => /lib/libc.so.6 (0xb7678000)
/lib/ld-linux.so.2 (0xb787f000)
Rebuilding xmonad and xmonad-contrib succeeded, But there may be some packages to fail rebuilding. e.g. I couldn't build cabal-install, which says
$ runhaskell Setup build
Preprocessing executables for cabal-install-0.8.0...
Building cabal-install-0.8.0...
Linking dist/build/cabal/cabal ...
<command line>: unknown package: integer-gmp
Although I am not familier with Cabal error message, this error is due to ghc without libgmp.
xmobar also say same error.
Offline
So I see ghc 6.12.1-4 in testing, now. SVN log says it is build against gmp-5. Does this new version work properly?
Offline
So I see ghc 6.12.1-4 in testing, now. SVN log says it is build against gmp-5. Does this new version work properly?
It does, but keep in mind what I said before. The upgrade broke many things Haskell on my system when I rebuilt it myself.
Offline
Most Haskell things are now rebuilt. But definitely not all. At least xmonad should work... darcs still needs rebuilt.
Offline
after today's update to ghc pkgrel -4, ghc-pkg check shows everything's good and my xmonad.hs compiles again.
xmonad{,-contrib}-darcs user here, can't rebuild them until darcs is fixed (haven't swum through the abs deps yet...). i don't restart x often so as long as i cam Mod-q successfully i'm ok to wait.
thanks devs.
//github/
Offline
you can temporary copy in the old libs and rebuild xmonad-{contrib}-darcs
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
darcs is running again.
Thank you to all Arch devs involved in getting this taken care of.
Offline
darcs is running again.
Hmmm.... really! It has not been rebuilt yet. So maybe some of it is working.
Offline
skottish wrote:darcs is running again.
Hmmm.... really! It has not been rebuilt yet. So maybe some of it is working.
Name : darcs
Version : 2.4-1
URL : http://darcs.net/
Licenses : GPL
Groups : None
Provides : None
Depends On : curl gmp ncurses>=5.6-7
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 7952.00 K
Packager : PKGBUILD.com Build Server
Architecture : x86_64
Build Date : Wed 24 Mar 2010 10:53:31 AM PDT
Install Date : Wed 24 Mar 2010 05:46:28 PM PDT
Install Reason : Explicitly installed
Install Script : No
Description : Decentralized replacement for CVS with roots in quantum mechanics
Poopy on you!!!
Offline
Bah... no-one marked it of on the todo list and I guess I did not update my system this morning so it was not in -Si...
Offline
Bah... no-one marked it of on the todo list and I guess I did not update my system this morning so it was not in -Si...
When you weren't looking you were replaced by a bot.
Offline
When you weren't looking you were replaced by a bot.
Just to make it clear, I am the one who breaks things and not the bot... Never talk bad about the bot!
Offline
Xmonad still isn't working for me; I'm not running testing, and my Xmonad (0.9.1) is still giving me the "libgmp.so.3" nonsense. I have all the latest packages. Is there something I'm not doing? If it can be fixed with a symlink, which libgmp(xx) file do I need to symlink to?
Thanks.
Offline
Do not symlink...
> pacman -Si xmonad
Repository : community
Name : xmonad
Version : 0.9.1-3
Got that version?
Offline