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
ecls - 0.9j has been released. The ebuild is missing. Reproducible: Always
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)
Created an attachment (id=139899) [details] ecls-0.9j_p1.ebuild
Created an attachment (id=139900) [details] 0.9j-p1 header patch
what does the patch fix?
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).
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
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.
(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 #
Created an attachment (id=140601) [details] ecls -- build.log with the sandbox violation. The build.log as requested frm Stelian :)
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.
Created an attachment (id=140672) [details] Cleaned up ebuild I've cleaned up ebuild, I think it should work now
Created an attachment (id=140675) [details] Cleanup Patch against hkbst's ebuild, using emake DESTDIR="${D}" install instead of einstall
ok, thanks Stelian and Panagiotos, now committed.