Building the latest master branch on FreeBSD 9.1 fails
|Reported by:||kazu-yamamoto||Owned by:||igloo|
|Type of failure:||Building GHC failed||Test Case:|
|Related Tickets:||Differential Revisions:|
The following sequence fails on FreeBSD 9.1:
% perl boot % ./configure --prefix=/ghc-head --with-iconv-includes=/usr/local/include --with-iconv-libraries=/usr/local/lib --with-gmp-includes=/usr/local/include --with-gmp-libraries=/usr/local/lib --with-gcc=/usr/local/bin/gcc47 --with-gcc-4.2=/usr/local/bin/gcc47 % gmake -j10 -d MAKE=gmake ... Putting child 0x801e5fd80 (ghc/stage1/package-data.mk) PID 36063 on the chain. Recipe of `ghc/stage1/package-data.mk' is being run. Pruning file `compiler/stage1/package-data.mk'. Live child 0x801e5fd80 (ghc/stage1/package-data.mk) PID 36063 Configuring ghc-bin-7.7.20130111... Warning: 'data-dir: ..' is a relative path outside of the source tree. This will not work when generating a tarball with 'sdist'. Reaping winning child 0x801e5fd80 PID 36063 Removing child 0x801e5fd80 PID 36063 from chain. Considering target file `ghc/stage1/package-data.mk'. File `ghc/stage1/package-data.mk' was considered already. Re-executing: gmake -r --no-print-directory -f ghc.mk phase=0 phase_0_builds GNU Make 3.82 Built for amd64-portbld-freebsd9.1 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Reading makefile `ghc.mk'... ghc.mk:84: *** Make has restarted itself 2 times; is there a makefile bug?. Sto p. Reaping losing child 0x80156e290 PID 34605 gmake: *** [all] Error 2 Removing child 0x80156e290 PID 34605 from chain.
If I type "gmake -j10 MAKE=gmake" gain, the building completes.
I believe this is relating to http://www.haskell.org/pipermail/glasgow-haskell-users/2012-March/022150.html
Actually if I remove "error" on line 84, this does not happen and the building completes without any problems.
GHC for bootstrapping: 7.4.1, GCC 4.7.3, gmake: 3.82
Change History (22)
comment:1 Changed 3 years ago by pgj
- Cc pgj@… added
- Operating System changed from Unknown/Multiple to FreeBSD
- Owner set to pgj
- Type of failure changed from None/Unknown to Building GHC failed