FS#14140 - haskell-x11-xft depends on nonexistant utf8-string

Attached to Project: Community Packages
Opened by orbisvicis (orbisvicis) - Wednesday, 08 April 2009, 18:54 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 27 April 2009, 16:51 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The packages currently in community are:
haskell-utf8-string 0.3.4-2
haskell-x11-xft 0.3-1

However, (haskell-x11-xft) depends on (haskell-utf8-string 0.3.3) which doesnt exist
Therefore, (haskell-x11-xft) postinstall scriptlet fails to register with the ghc package database
So: (haskell-x11-xft) is not usable.

Anyway, according to Hackage, the dependency is utf8-string (>=0.1)
Also the PKGBUILD is fine
The problem is that haskell-x11-xft was built on a system without the newest haskell-utf8-string, so that "runhaskell Setup register --gen-script" pulled in the wrong version of utf8-string.
I dont know how binaries are pushed to the update servers, but there must be a way to specify the order

In any case, solution:
increment the pkgrel

Additional info:
sudo pacman -S haskell-x11-xft
warning: haskell-x11-xft-0.3-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): haskell-x11-xft-0.3-1

Total Download Size: 0.00 MB
Total Installed Size: 0.20 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [###########################################################] 100%
ghc-pkg: cannot find package X11-xft-0.3
error: scriptlet failed to execute correctly
(1/1) upgrading haskell-x11-xft [###########################################################] 100%
Reading package info from stdin ... done.
ghc-pkg: dependency utf8-string-0.3.3 doesn't exist (use --force to override)
error: scriptlet failed to execute correctly
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 27 April 2009, 16:51 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Friday, 10 April 2009, 11:03 GMT
>> ghc-pkg: cannot find package X11-xft-0.3
>> ghc-pkg: dependency utf8-string-0.3.3 doesn't exist (use --force to override)

it is not a bug. probably you should reinstall haskell-utf8-package
it is ghc internal dependency tracking. may it was broken by previous bugs in these packages...

anyway, try to remove it with all deps and install again, or fix it manualy with register/unregister scripts.
Comment by orbisvicis (orbisvicis) - Monday, 27 April 2009, 16:50 GMT
  • Field changed: Percent Complete (100% → 0%)
This is from the register script in the update servers:
depends: utf8-string-0.3.3

Is it worth re-opening? It should be fixed in the next release.

Loading...