Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204011 - dev-lisp/ecls-0.9j version bump
Summary: dev-lisp/ecls-0.9j version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 23:54 UTC by Marko Kocic
Modified: 2008-01-11 14:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ecls-0.9j_p1.ebuild (ecls-0.9j_p1.ebuild,1.25 KB, text/plain)
2008-01-02 19:04 UTC, Stelian Ionescu
Details
0.9j-p1 header patch (0.9j_p1-headers-gentoo.patch,466 bytes, patch)
2008-01-02 19:05 UTC, Stelian Ionescu
Details | Diff
dev-lisp/ecls/ecls-0.9j_p1.ebuild (ecls-0.9j_p1.ebuild,1.23 KB, text/plain)
2008-01-07 15:06 UTC, Marijn Schouten (RETIRED)
Details
ecls -- build.log with the sandbox violation. (build.log,521.95 KB, text/plain)
2008-01-10 13:16 UTC, Panagiotis Christopoulos (RETIRED)
Details
ecls-0.9j_p1 environment file (environment,82.16 KB, text/plain)
2008-01-10 13:23 UTC, Panagiotis Christopoulos (RETIRED)
Details
Cleaned up ebuild (ecls-0.9j_p1.ebuild,1.08 KB, text/plain)
2008-01-11 10:53 UTC, Stelian Ionescu
Details
Cleanup (ecls-0.9j_p1-cleanup.patch,741 bytes, patch)
2008-01-11 11:20 UTC, Stelian Ionescu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Kocic 2008-01-01 23:54:29 UTC
ecls - 0.9j has been released. The ebuild is missing.

Reproducible: Always
Comment 1 Stelian Ionescu 2008-01-02 19:03:25 UTC
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 Stelian Ionescu 2008-01-02 19:04:32 UTC
Created attachment 139899 [details]
ecls-0.9j_p1.ebuild
Comment 3 Stelian Ionescu 2008-01-02 19:05:54 UTC
Created attachment 139900 [details, diff]
0.9j-p1 header patch
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2008-01-02 20:41:58 UTC
what does the patch fix?
Comment 5 Stelian Ionescu 2008-01-02 22:31:49 UTC
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 Marijn Schouten (RETIRED) gentoo-dev 2008-01-07 15:03:57 UTC
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 Marijn Schouten (RETIRED) gentoo-dev 2008-01-07 15:06:21 UTC
Created attachment 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 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-01-10 12:51:42 UTC
(In reply to comment #7)
> Created an attachment (id=140387) [edit]
> 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 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-01-10 13:16:43 UTC
Created attachment 140601 [details]
ecls -- build.log with the sandbox violation.

The build.log as requested frm Stelian :)
Comment 10 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-01-10 13:23:58 UTC
Created attachment 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 Stelian Ionescu 2008-01-11 10:53:14 UTC
Created attachment 140672 [details]
Cleaned up ebuild

I've cleaned up ebuild, I think it should work now
Comment 12 Stelian Ionescu 2008-01-11 11:20:24 UTC
Created attachment 140675 [details, diff]
Cleanup

Patch against hkbst's ebuild, using emake DESTDIR="${D}" install instead of einstall
Comment 13 Marijn Schouten (RETIRED) gentoo-dev 2008-01-11 14:50:58 UTC
ok, thanks Stelian and Panagiotos, now committed.