Bug 204011 - dev-lisp/ecls-0.9j version bump
Bug#: 204011 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: common-lisp@gentoo.org Reported By: marko.kocic@gmail.com
Component: Ebuilds
URL: 
Summary: dev-lisp/ecls-0.9j version bump
Keywords:  
Status Whiteboard: 
Opened: 2008-01-01 23:54 0000
Description:   Opened: 2008-01-01 23:54 0000
ecls - 0.9j has been released. The ebuild is missing.

Reproducible: Always

------- Comment #1 From Stelian Ionescu 2008-01-02 19:03:25 0000 -------
I've attached an ebuild for ecls-0.9j_p1 and a patch for the sources
I've disabled the c++ flag because sometimes ecls generates code which isn't
legal C++(tested with gcc 3.4.6, 4.1.2 and 4.2.2)

------- Comment #2 From Stelian Ionescu 2008-01-02 19:04:32 0000 -------
Created an attachment (id=139899) [details]
ecls-0.9j_p1.ebuild

------- Comment #3 From Stelian Ionescu 2008-01-02 19:05:54 0000 -------
Created an attachment (id=139900) [details]
0.9j-p1 header patch

------- Comment #4 From Marijn Schouten 2008-01-02 20:41:58 0000 -------
what does the patch fix?

------- Comment #5 From Stelian Ionescu 2008-01-02 22:31:49 0000 -------
From the README.Gentoo installed with ecls:

  * The Gentoo port includes a patch to ECL's installed header file (ech.h) so
    that TRUE and FALSE are not redefined if they're already included from
    elsewhere. This makes it easier to use ECL with other software which
defines
    those C preprocesser symbols (eg. glib-2.0).

------- Comment #6 From Marijn Schouten 2008-01-07 15:03:57 0000 -------
I'm getting an access violation with the following ebuild:

>>> Install ecls-0.9j_p1 into /var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/ category dev-lisp
cd build; make install
make[1]: Entering directory
`/var/tmp/portage/dev-lisp/ecls-0.9j_p1/work/ecl-0.9j/build'
# Here we would use the option -s but the install program in
sourceforge-solaris
# is broken.
/bin/sh
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/work/ecl-0.9j/src/gc/mkinstalldirs
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/bin/
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/lib64 \
          /usr/lib64/ecl/
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/include/
mkdir -p -- /var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/bin/
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/lib64 /usr/lib64/ecl/
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/include/
ACCESS DENIED  mkdir:     /usr/lib64/ecl
mkdir: cannot create directory `/usr/lib64/ecl/': Permission denied
make[1]: *** [install-base] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-lisp/ecls-0.9j_p1/work/ecl-0.9j/build'
make: *** [install] Error 2

------- Comment #7 From Marijn Schouten 2008-01-07 15:06:21 0000 -------
Created an attachment (id=140387) [details]
dev-lisp/ecls/ecls-0.9j_p1.ebuild

I get the access violation with the old "emake install" command and with
einstall too.

------- Comment #8 From Panagiotis Christopoulos 2008-01-10 12:51:42 0000 -------
(In reply to comment #7)
> Created an attachment (id=140387) [edit] [details]
> dev-lisp/ecls/ecls-0.9j_p1.ebuild
> 
> I get the access violation with the old "emake install" command and with
> einstall too.
> 

I tested too, on amd64, and with einstall I get the same access violation:

/bin/sh
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/work/ecl-0.9j/src/gc/mkinstalldirs
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/bin/
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/lib64 \
          /usr/lib64/ecl/
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/include/
mkdir -p -- /var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/bin/
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/lib64 /usr/lib64/ecl/
/var/tmp/portage/dev-lisp/ecls-0.9j_p1/image/usr/include/
ACCESS DENIED  mkdir:     /usr/lib64/ecl
mkdir: cannot create directory `/usr/lib64/ecl/': Permission denied
make[1]: *** [install-base] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-lisp/ecls-0.9j_p1/work/ecl-0.9j/build'
make: *** [install] Error 2
 * 
 * ERROR: dev-lisp/ecls-0.9j_p1 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_install
 *             environment, line 2068:  Called einstall
 *               ebuild.sh, line  549:  Called die
 * The specific snippet of code:
 *              ${MAKE:-make} prefix="${D}usr" \
 *                      datadir="${D}usr/share" \
 *                      infodir="${D}usr/share/info" \
 *                      localstatedir="${D}var/lib" \
 *                      mandir="${D}usr/share/man" \
 *                      sysconfdir="${D}etc" \
 *                      ${LOCAL_EXTRA_EINSTALL} \
 *                      "$@" install || die "einstall failed"
 *  The die message:
 *   einstall failed
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/dev-lisp/ecls-0.9j_p1/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-lisp/ecls-0.9j_p1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/overlays/temp/'
 * 
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/var/log/sandbox/sandbox-28958.log"

mkdir:     /usr/lib64/ecl (symlink to /usr/lib64/)
--------------------------------------------------------------------------------
(chroot) Polyhymnia ecls # 

------- Comment #9 From Panagiotis Christopoulos 2008-01-10 13:16:43 0000 -------
Created an attachment (id=140601) [details]
ecls -- build.log with the sandbox violation.

The build.log as requested frm Stelian :)

------- Comment #10 From Panagiotis Christopoulos 2008-01-10 13:23:58 0000 -------
Created an attachment (id=140604) [details]
ecls-0.9j_p1 environment file

+ the /var/tmp/portage/dev-lisp/ecls-0.9j_p1/temp/environment file, in case you
need it.

------- Comment #11 From Stelian Ionescu 2008-01-11 10:53:14 0000 -------
Created an attachment (id=140672) [details]
Cleaned up ebuild

I've cleaned up ebuild, I think it should work now

------- Comment #12 From Stelian Ionescu 2008-01-11 11:20:24 0000 -------
Created an attachment (id=140675) [details]
Cleanup

Patch against hkbst's ebuild, using emake DESTDIR="${D}" install instead of
einstall

------- Comment #13 From Marijn Schouten 2008-01-11 14:50:58 0000 -------
ok, thanks Stelian and Panagiotos, now committed.