First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 56997
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Haskell Language team <haskell@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gour <gour@mail.inet.hr>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
WashNGo-2.0.1.ebuild ebuild for WashNGo text/plain Gour 2004-07-30 02:11 0000 1.29 KB Details
WashNGo-2.0.1.ebuild ebuild for WashNGo text/plain Gour 2004-07-30 05:30 0000 1.00 KB Details
WashNGo-2.0.5.ebuild ebuild for WashNGo-2.0.5 text/plain Gour 2004-08-19 01:29 0000 1.01 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 56997 depends on: Show dependency tree
Bug 56997 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-07-14 02:07 0000
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.

------- Comment #1 From Andres Loeh (RETIRED) 2004-07-14 02:17:55 0000 -------
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

------- Comment #2 From Gour 2004-07-14 02:54:54 0000 -------
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

------- Comment #3 From Gour 2004-07-30 02:10:39 0000 -------
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

------- Comment #4 From Gour 2004-07-30 02:11:59 0000 -------
Created an attachment (id=36456) [details]
ebuild for WashNGo

------- Comment #5 From Gour 2004-07-30 05:30:29 0000 -------
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

------- Comment #6 From Andres Loeh (RETIRED) 2004-07-30 05:36:17 0000 -------
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

------- Comment #7 From Gour 2004-07-30 07:14:42 0000 -------
The package uses GenPKG utility (instead of ghc-pkg) to update package.conf,
but I hope you will find your way :-)

Sincerely,
Gour

------- Comment #8 From Gour 2004-08-19 01:29:05 0000 -------
Created an attachment (id=37710) [details]
ebuild for WashNGo-2.0.5

------- Comment #9 From Andres Loeh (RETIRED) 2004-10-26 10:48:23 0000 -------
Good news. I've just committed an ebuild to CVS.

Please test -- also on other architectures -- and provide feedback.

ks


------- Comment #10 From Gour 2004-11-03 00:20:10 0000 -------
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



------- Comment #11 From Andres Loeh (RETIRED) 2004-11-03 03:40:46 0000 -------
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

------- Comment #12 From Gour 2004-11-03 04:48:09 0000 -------
> 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?

------- Comment #13 From Andres Loeh (RETIRED) 2004-11-03 04:54:48 0000 -------
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

------- Comment #14 From Gour 2004-11-03 05:26:40 0000 -------
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)?

------- Comment #15 From Andres Loeh (RETIRED) 2004-11-03 05:47:43 0000 -------
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


------- Comment #16 From Gour 2004-11-03 07:28:02 0000 -------
> 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

------- Comment #17 From Gour 2004-11-04 03:50:17 0000 -------
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.

------- Comment #18 From Andres Loeh (RETIRED) 2005-01-21 02:43:47 0000 -------
I think this is resolved already. Closing.

ks

First Last Prev Next    No search results available      Search page      Enter new bug