Bug 184593 - Cannot install lang/mit-scheme
Summary: Cannot install lang/mit-scheme
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-08 14:50 UTC by Hyogeol Lee
Modified: 2013-12-09 13:00 UTC (History)
0 users

See Also:


Attachments
file.diff (350 bytes, patch)
2013-12-08 14:50 UTC, Hyogeol Lee
no flags Details | Diff
mit-scheme.diff.txt (944 bytes, text/plain; charset=windows-1252)
2013-12-09 00:48 UTC, freebsd.contact
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hyogeol Lee 2013-12-08 14:50:00 UTC
lang/mit-scheme build fine, but install failed on microcode subdirectory.


Error message:

gmake[2]: Entering directory `/usr/ports/lang/mit-scheme/work/mit-scheme-9.1.1/src'
/bin/sh ./microcode/mkinstalldirs /usr/ports/lang/mit-scheme/work/stage/usr/local/lib/mit-scheme-x86-64
install  -o root -g wheel -m 444 ./etc/optiondb.scm /usr/ports/lang/mit-scheme/work/stage/usr/local/lib/mit-scheme-x86-64/.
install  -o root -g wheel -m 444 lib/*.com /usr/ports/lang/mit-scheme/work/stage/usr/local/lib/mit-scheme-x86-64/.
etc/make-in-subdirs.sh install microcode runtime compiler cref sf star-parser edwin ffi imail sos ssp xml 
run_cmd in microcode/: make install
make[3]: don't know how to make w. Stop

make[3]: stopped in /usr/ports/lang/mit-scheme/work/mit-scheme-9.1.1/src/microcode
gmake[2]: *** [install-standard] 오류 2
gmake[2]: Leaving directory `/usr/ports/lang/mit-scheme/work/mit-scheme-9.1.1/src'
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/lang/mit-scheme
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/mit-scheme

How-To-Repeat: cd /usr/ports/lang/mit-scheme/ ; make install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-08 14:50:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->olgeni

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 freebsd.contact 2013-12-09 00:48:40 UTC
I confirm this is why mit-scheme is broken on F10 and head.
It appears "gmake" does indeed need to be hardcoded in the patch;
neither $(MAKE) nor ${MAKE} will work.

The attached diff will create the necessary patch in "files" directory
to fix this port.

John
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-12-09 12:50:00 UTC
Author: olgeni
Date: Mon Dec  9 12:49:53 2013
New Revision: 335976
URL: http://svnweb.freebsd.org/changeset/ports/335976

Log:
  Unbreak by replacing make with gmake.
  
  PR:		ports/184593
  Submitted by:	marino

Added:
  head/lang/mit-scheme/files/patch-src_etc_make-in-subdirs.sh   (contents, props changed)

Added: head/lang/mit-scheme/files/patch-src_etc_make-in-subdirs.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/mit-scheme/files/patch-src_etc_make-in-subdirs.sh	Mon Dec  9 12:49:53 2013	(r335976)
@@ -0,0 +1,9 @@
+--- etc/make-in-subdirs.sh.orig	2011-05-02 01:50:30.000000000 +0000
++++ etc/make-in-subdirs.sh
+@@ -29,5 +29,5 @@ set -e
+ TARGET=${1}
+ shift
+ for SUBDIR in "${@}"; do
+-    run_cmd_in_dir "${SUBDIR}" make "${TARGET}"
++    run_cmd_in_dir "${SUBDIR}" gmake "${TARGET}"
+ done
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Jimmy Olgeni freebsd_committer freebsd_triage 2013-12-09 12:50:47 UTC
State Changed
From-To: open->closed

Patch committed - thanks!