Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
This is a humble request to the 'Gentoo Haskell Team' to provide ebuild for WASH. Sincerely, Gour Reproducible: Always Steps to Reproduce: 1. 2. 3.
How about providing an ebuild yourself? I will move WASH onto my todo list, but considering my current schedule, I am not sure if I will be able to do it very soon. A submitted working ebuild would definitely speed up the process ... ks
Thank you for considering putting WASH on your todo list. I can try to produce working ebuild and submitting something (hopefully working), leaving to you to make any required cosmetic changes. Sincerely, Gour
Here is my 1st attempt with the WASH ebuild. I named the package WashNGo according to the latest build. There are two different license files in the bundle and I'm going to contact the author to resolve the issue, plus I do not know how to resolve the issue of updating of ghc's package.conf file and therefore I put 'addwrite' command as workaround. Please free to change whatever suits you. Sincerely, Gour
Created an attachment (id=36456) [details] ebuild for WashNGo
Created an attachment (id=36465) [details] ebuild for WashNGo Hi! Here is a 1st attempt for the latest WashNGo package. I used 'addwrite' workaround for updating ghc's package.conf file. There is also a minor issue with the license since the package contains 2 licenses. Pls. suit the ebuild as you desire. Sincerely, Gour
Thanks for the ebuild. I will try to process it next week. I will try to remove the need for "addwrite". I usually modify the Makefile not to call ghc-pkg, and do so myself in pkg_postinstall. This way, the package can also be uninstalled cleanly. Now that we're getting more ghc packages, I guess I should move the common code into an eclass. More comments soon, ks
The package uses GenPKG utility (instead of ghc-pkg) to update package.conf, but I hope you will find your way :-) Sincerely, Gour
Created an attachment (id=37710) [details] ebuild for WashNGo-2.0.5
Good news. I've just committed an ebuild to CVS. Please test -- also on other architectures -- and provide feedback. ks
Hi! Thank you for WASH ebuild. I couldn't test it before since I was in the midst of migrating from x86 to amd64. Although I have problems in emerging ghc (darcs was nicely emerged with ghc-bin), WASH ebuild on amd64 fails in the test phase: >>> Test phase [not enabled]: dev-haskell/WASH-2.0.5-r1 >>> Install WASH-2.0.5-r1 into /var/tmp/portage/WASH-2.0.5-r1/image/ category dev-haskell make subdirs GOAL=install make[1]: Entering directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5' for d in GenPKG washparser Utility WASH Mail cgi ; do \ make -C $d install PATH_TO_UTILITY=../Utility PATH_TO_WASHHTML=../WASH PATH_TO_WASHMAIL=../Mail PATH_TO_WASHCGI=../cgi TOP=../. ; \ done make[2]: Entering directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/GenPKG' /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image/usr/bin /bin/install -c -m 755 GenPKG /var/tmp/portage/WASH-2.0.5-r1/image/usr/bin make[2]: Leaving directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/GenPKG' make[2]: Entering directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/washparser' make -C hs all PATH_TO_UTILITY=../../Utility PATH_TO_WASHHTML=../../WASH PATH_TO_WASHMAIL=../../Mail PATH_TO_WASHCGI=../../cgi TOP=../../. make[3]: Entering directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/washparser/hs' make[3]: Leaving directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/washparser/hs' /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image/usr/bin /bin/install -c -m 755 hs/WASHMain /var/tmp/portage/WASH-2.0.5-r1/image/usr/bin/wash2hs make[2]: Leaving directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/washparser' make[2]: Entering directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/Utility' /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/Utility-0.3.11/ghc-6-2 /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/Utility-0.3.11/ghc-6-2/import /bin/install -c -c -m 644 Auxiliary.hi Base32.hi Base64.hi FileNames.hi Hex.hi ISO8601.hi IntToString.hi JavaScript.hi Locking.hi QuotedPrintable.hi RFC2047.hiRFC2279.hi RFC2397.hi SHA1.hi SimpleParser.hi Shell.hi URLCoding.hi Unique.hi /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/Utility-0.3.11/ghc-6-2/import /bin/install -c -c -m 644 libUtility.a /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/Utility-0.3.11/ghc-6-2 ranlib /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/Utility-0.3.11/ghc-6-2/libUtility.a .././GenPKG/GenPKG Utility --import_dirs /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/Utility-0.3.11/ghc-6-2/import --library_dirs /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/Utility-0.3.11/ghc-6-2 --hs_libraries Utility --package_deps text | --config-file /var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/WASH-2.0.5-r1.conf --update-package --auto-ghci-libs /bin/sh: line 1: --config-file: command not found make[2]: *** [install] Error 127 make[2]: Leaving directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/Utility' make[2]: Entering directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/WASH' /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHHTML-0.14.8/ghc-6-2 /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHHTML-0.14.8/ghc-6-2/import /bin/install -c -c -m 644 HTMLBase.hi HTMLMonad.hi HTMLMonadAttrs.hi HTMLMonad98.hi HTMLMonadBase.hi HTMLPrelude.hi HTMLPrelude98.hi HTMLTypedBase.hi HTMLTypedBase98.hi HTMLTemplates.hi /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHHTML-0.14.8/ghc-6-2/import /bin/install -c -c -m 644 libWASHHTML.a /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHHTML-0.14.8/ghc-6-2 ranlib /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHHTML-0.14.8/ghc-6-2/libWASHHTML.a .././GenPKG/GenPKG WASHHTML --import_dirs /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHHTML-0.14.8/ghc-6-2/import --library_dirs /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHHTML-0.14.8/ghc-6-2 --hs_libraries WASHHTML --package_deps text Utility | --config-file /var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/WASH-2.0.5-r1.conf --update-package --auto-ghci-libs /bin/sh: line 1: --config-file: command not found make[2]: *** [install] Error 127 make[2]: Leaving directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/WASH' make[2]: Entering directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/Mail' /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHMail-0.3.7/ghc-6-2 /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHMail-0.3.7/ghc-6-2/import /bin/install -c -c -m 644 Email.hi EmailConfig.hi HeaderField.hi MIME.hi MailParser.hi Message.hi /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHMail-0.3.7/ghc-6-2/import /bin/install -c -c -m 644 libWASHMail.a /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHMail-0.3.7/ghc-6-2 ranlib /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHMail-0.3.7/ghc-6-2/libWASHMail.a .././GenPKG/GenPKG WASHMail --import_dirs /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHMail-0.3.7/ghc-6-2/import --library_dirs /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASHMail-0.3.7/ghc-6-2 --hs_libraries WASHMail --package_deps text Utility | --config-file /var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/WASH-2.0.5-r1.conf --update-package --auto-ghci-libs /bin/sh: line 1: --config-file: command not found make[2]: *** [install] Error 127 make[2]: Leaving directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/Mail' make[2]: Entering directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/cgi' /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASH-CGI-1.4.37/ghc-6-2 /bin/install -c -d /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASH-CGI-1.4.37/ghc-6-2/import /bin/install -c -c -m 644 AbstractSelector.hi CGI.hi CGIConfig.hi CGIGraphics.hi CGIInternals.hi CGIMonad.hi CGIOutput.hi CGITypes.hi CGIXX.hi ContentType.hi Cookie.hi CookieIO.hi Debug.hi EventHandlers.hi Fields.hi Frames.hi GuaranteedCGI.hi HTMLMail.hi HTMLWrapper.hi Images.hi PPM.hi Persistent2.hi RawCGITypes.hi RawCGI.hi RawCGIInternal.hi StateItem.hi Style.hi Submit98.hi SubmitXX.hi Types.hi /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASH-CGI-1.4.37/ghc-6-2/import /bin/install -c -c -m 644 libWASHCGI.a /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASH-CGI-1.4.37/ghc-6-2 ranlib /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASH-CGI-1.4.37/ghc-6-2/libWASHCGI.a .././GenPKG/GenPKG WASH-CGI --import_dirs /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASH-CGI-1.4.37/ghc-6-2/import --library_dirs /var/tmp/portage/WASH-2.0.5-r1/image///opt/ghc/lib/WASH-CGI-1.4.37/ghc-6-2 --hs_libraries WASHCGI --package_deps haskell98 text WASHHTML WASHMail Utility | --config-file /var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/WASH-2.0.5-r1.conf --update-package --auto-ghci-libs /bin/sh: line 1: --config-file: command not found make[2]: *** [install-dumb-package] Error 127 make[2]: Leaving directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5/cgi' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/var/tmp/portage/WASH-2.0.5-r1/work/WashNGo-2.0.5' make: *** [install] Error 2 !!! ERROR: dev-haskell/WASH-2.0.5-r1 failed. !!! Function src_install, Line 45, Exitcode 2 !!! make install failed Sincerely, Gour
The version of WASH in portage is 2.0.5, yet you are using 2.0.5-r1. Does this mean you are using the eclass-based version from bug #69270? You should say such a thing. The error message looks like the configure script cannot properly detect the ghc-pkg binary. Do you have both ghc and ghc-pkg in your path? Can you have a look at the build log and see what ./configure outputs regarding detection of ghc and ghc-pkg? Thanks, ks
> The version of WASH in portage is 2.0.5, yet you are using 2.0.5-r1. > Does this mean you are using the eclass-based version from bug #69270? Yes, although I got the same error with 2.0.5. > You should say such a thing. Yes, you're right. Pls. excuse me :-( > The error message looks like the configure script cannot properly detect the > ghc-pkg binary. Do you have both ghc and ghc-pkg in your path? Ahh...stupid me :-( I forgot that (unlike on Win32) ghc-bin is used only for bootstrap and does not contain ghc-pkg #%&$##!$#$$## Yes, there are no gc-pkg. However, it means that in order to test WASH on amd64, I have to resolve ghc emerge problem 1st. Sincerely, Gour Can you have a look at the build log and see what ./configure outputs regarding detection of ghc and ghc-pkg?
I'm confused ... Unlike win32? No ghc-pkg in ghc-bin? It's not true. The package dev-lang/ghc-bin *should* contain ghc-pkg. Only difference is that dev-lang/ghc-bin installs both ghc and ghc-pkg to /opt/ghc/bin, not /usr/bin. In addition, it installs /etc/env.d/10ghc to add /opt/ghc/bin to the default search path. Which version of ghc-bin do you have installed? Is there really no ghc-pkg? In if there is, why is ghc detected, but not ghc-pkg? ks
Hi! >It's not true. The package dev-lang/ghc-bin *should* contain ghc-pkg. Oops..it's true... > Only difference is that dev-lang/ghc-bin installs both ghc and ghc-pkg > to /opt/ghc/bin, not /usr/bin. In addition, it installs /etc/env.d/10ghc > to add /opt/ghc/bin to the default search path. Hoever the problem is that ghc-pkg is installed in /opt/ghc/lib/bin and therefore is not found!! > Which version of ghc-bin do you have installed? Is there really no > ghc-pkg? In if there is, why is ghc detected, but not ghc-pkg? dev-lang/ghc-bin-6.2.1 At the moment I am doing 'emerge -e world' so I cannot test, but will report you back :-) Sincerely, Gour p.s. Have you seen my report concerning ghc fails with sandbox violation(#58588)?
Ah, that's the bug. ghc-bin-6.2.1 is amd64 only and not derived from the other ghc-bin ebuilds. It does not install ghc-pkg to /opt/ghc/bin, but it should! I have seen your other report, but I have no idea what it's caused by. Maybe it is a similar problem though, indirectly resulting from ghc-bin not being installed properly. Can you check the build logs there as well, please, especially the configure output in the beginning, and look for something strange, or is the access violation really the first sign of trouble? ks
> Ah, that's the bug. At least some use of my report :-) > I have seen your other report, but I have no idea what it's > caused by. Maybe it is a similar problem though, indirectly > resulting from ghc-bin not being installed properly. It could be. > Can you check the build logs there as well, please, especially > the configure output in the beginning, and look for something > strange, or is the access violation really the first sign of > trouble? I do not see anything strange, excpept the same fact that ghc-pkg is not found. However, it is the best to wait for 'emerge -e world' to finish and then try again. Will report you back what is happening. Sincerely, Gour
Hi! Just to inform you that by symlinking ghc-pkg (from ghc-bin) dev-haskell/WASH-2.0.5-r1 emerges nicely. Sincerely, Gour ps. At the moment I do not have time to play with it, but will report back my experiences (after) trying emerging with ghc (non bin) build.
I think this is resolved already. Closing. ks