Problem: The ebuild for dev-lang/smlnj-110.67-r2 moves files from $DISTDIR to temporary souce dir. Ebuilds should never modify the $DISTDIR. Some package managers report this as sandbox violations. Proposed Solution: Please change the "mv" to "cp" (in src_unpack). Thanks, Sigurd Reproducible: Always
Ew!
The ebuild does actually fail with a permission denied error using portage-2.2_rc23. Please change the severity of this bug. IMHO the ebuild should be migrated to EAPI 2 and use the new SRC_URI arrows syntax.
Something like: SRC_URI="amd64? ( ${BASE_URI}boot.x86-unix.tgz -> ${P}-boot.x86-unix.tgz ) x86? ( ${BASE_URI}boot.x86-unix.tgz -> ${P}-boot.x86-unix.tgz ) ppc? ( ${BASE_URI}boot.ppc-unix.tgz -> ${P}-boot.ppc-unix.tgz ) sparc? ( ${BASE_URI}boot.sparc-unix.tgz -> ${P}-boot.sparc-unix.tgz )" for file in ${FILES}; do SRC_URI="${SRC_URI} ${BASE_URI}${file} -> ${P}-${file}" done
I have changed the mv to cp, used source arrows (thanks Davide) and to top it off, bumped to 110.69. Please test it, so I can remove the old versions and close this bug. Thanks for your help.
You should add ~sparc to KEYWORDS because SRC_URI references it. Or drop it from both places... Furthermore, the following source tarballs are not needed because the corresponding features are disabled by default: eXene.tgz ml-burg.tgz heap2asm.tgz ckit.tgz nlffi.tgz smlnj-c.tgz [not sure about this one] You may also want to remove the (now obsolete) comment about fetch_files.sh Thanks! I'll test the new ebuild as soon as I get home.
110.69 doesn't build on ~amd64 :( /var/tmp/portage/dev-lang/smlnj-110.69/work/config/unpack: Un-GZIP-ing and un-TAR-ing bootfiles archive. ./config/install.sh: CM metadata directory name is ".cm" /var/tmp/portage/dev-lang/smlnj-110.69/work/bin/.run/run.x86-linux: Fatal error -- Uncaught exception SysErr with <unknown> raised at <sysconf.c> ./config/install.sh !!! Boot code failed, no heap image (sml.x86-linux). * * ERROR: dev-lang/smlnj-110.69 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2173: Called die * The specific snippet of code: * SMLNJ_HOME="${S}" ./config/install.sh || die "compilation failed" * The die message: * compilation 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-lang/smlnj-110.69/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/smlnj-110.69/temp/environment'. * I also tried 110.68 and 110.67, even outside portage (i.e. manually): neither works...
(In reply to comment #5) > You should add ~sparc to KEYWORDS because SRC_URI references it. Or drop it > from both places... It is up to the sparc team to add the actual keyword. Having the SRC_URI reference makes it possible for them to do so in the future if they are interested. > You may also want to remove the (now obsolete) comment about fetch_files.sh Yes, I'll remove it some time. (In reply to comment #6) > 110.69 doesn't build on ~amd64 :( You ARE running multilib, right? This only runs if you have x86 emulation enabled. I am on ~amd64 myself. Please open a fresh bug and include full build log and emerge --info.
(In reply to comment #7) > (In reply to comment #5) > > You should add ~sparc to KEYWORDS because SRC_URI references it. Or drop it > > from both places... > > It is up to the sparc team to add the actual keyword. Having the SRC_URI > reference makes it possible for them to do so in the future if they are > interested. Right, sorry. > You ARE running multilib, right? This only runs if you have x86 emulation > enabled. I am on ~amd64 myself. Yes, I'm using the default amd64 2008.0 desktop profile. > > Please open a fresh bug and include full build log and emerge --info. > Done, bug #262203