guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIPS64/N64 support


From: Mark H Weaver
Subject: Re: MIPS64/N64 support
Date: Tue, 08 Oct 2013 19:03:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Mark H Weaver <address@hidden> skribis:
>
>> Nikita Karetnikov <address@hidden> writes:
>>
>>> OK, I fetched the tarballs.  Now I’m getting this error.
>>>
>>>
>>> $ ./pre-inst-env guix build -K hello
>>>
>>> [...]
>>>
>>> make-3.82/main.c
>>> make-3.82/README.OS2
>>> make-3.82/remote-cstms.c
>>> phase `unpack' succeeded after 4 seconds
>>> shell-init: error retrieving current directory: getcwd: cannot access 
>>> parent directories: Inappropriate ioctl for device
>>> starting phase `patch'
>>> applying patch 
>>> `/nix/store/nf226injsfkw8ljjjfq1280jj530xbvv-make-impure-dirs.patch'
>>> patching file read.c
>>> Hunk #1 succeeded at 109 (offset 10 lines).
>>> patching file remake.c
>>> Hunk #1 succeeded at 1509 (offset 57 lines).
>>> phase `patch' succeeded after 0 seconds
>>> shell-init: error retrieving current directory: getcwd: cannot access 
>>> parent directories: Inappropriate ioctl for device
>>> starting phase `patch-source-shebangs'
>>> patch-shebang: ./config/mdate-sh: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./config/compile: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./config/config.guess: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./config/missing: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./config/mkinstalldirs: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./config/depcomp: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./config/config.rpath: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./config/install-sh: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./config/config.sub: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./tests/scripts/targets/SECONDARY: warning: no binary for 
>>> interpreter `-*-perl-*-' found in $PATH
>>> patch-shebang: ./tests/run_make_tests.pl: warning: no binary for 
>>> interpreter `perl' found in $PATH
>>> patch-shebang: ./tests/test_driver.pl: warning: no binary for interpreter 
>>> `perl' found in $PATH
>>> patch-shebang: ./tests/run_make_tests: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./tests/mkshadow: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./build.sh.in: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> patch-shebang: ./configure: changing `/bin/sh' to
>>> /nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/sh'
>>> phase `patch-source-shebangs' succeeded after 1 seconds
>>> shell-init: error retrieving current directory: getcwd: cannot access 
>>> parent directories: Inappropriate ioctl for device
>>> starting phase `configure'
>>> source directory: "/tmp/nix-build-make-boot0-3.82.drv-2/make-3.82" 
>>> (relative from build: ".")
>>> build directory: "/tmp/nix-build-make-boot0-3.82.drv-2/make-3.82"
>>> configure flags:
>>> ("CONFIG_SHELL=/nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/bash"
>>> "SHELL=/nix/store/3q8kihrw6zg9v2c364c0kdgz2nfmkwnf-bootstrap-binaries-0/bin/bash"
>>> "--prefix=/nix/store/4ksc0dgml5158lrz3047bxn0ignw1943-make-boot0-3.82"
>>> "--enable-fast-install")
>>> shell-init: error retrieving current directory: getcwd: cannot access 
>>> parent directories: Inappropriate ioctl for device
>>> configure: WARNING: unrecognized options: --enable-fast-install
>>> pwd: error retrieving current directory: getcwd: cannot access parent 
>>> directories: Success
>>> pwd: error retrieving current directory: getcwd: cannot access parent 
>>> directories: Bad address
>>> configure: error: working directory cannot be determined
>>> phase `configure' failed after 0 seconds
>> [...]
>>
>> I've run into the same problem, using bootstrap binaries I cross-built
>> myself based on my "wip-loongson" branch.
>>
>> I can run the cross-build bootstrap binaries outside of guix-builder,
>> and they seem to work fine.  I've tested 'bash' and 'guile', among other
>> things.  The "shell-init" problem seems to be specific to the
>> environment within guix-builder.
>
> Good, that’s consistent.  :-)
>
>> I'm at a bit of a loss of how best to debug problems that only happen
>> within guix-builder.  Any suggestions?
>
> Bruce force:
>
>   strace -f -p $(pidof guix-daemon) -o log &
>   guix build -e '(@@ (gnu packages base) gnu-make-boot0)'
>   grep -E '(ENOTTY|getcwd)' log

Thanks.  Since 'strace' doesn't support MIPS N64 well, and also because
I think N32 is a more desirable target for now, I started bootstrapping
for MIPS N32, and ran this test again.  Same problem.

Using 'strace', I determined that 'pwd' is failing because the inode
numbers reported by 'stat' and 'getdents64' are inconsistent.

'pwd' works (roughly) as follows: it uses 'stat' to determine the inode
number of the current directory, and then reads the parent directory
looking for the entry whose inode matches the inode of the current
directory.  It repeats this process until it reaches the root node.

In this case, because the inode numbers are inconsistent, it fails to
find an entry in the parent directory whose inode matches.

I've looked at the inode numbers in binary and hex, and they're not
getting munged in any simple way that's immediately obvious to me.

See below for details.  Any ideas?

      Mark


Here are the inode numbers as reported by ls -lia:

--8<---------------cut here---------------start------------->8---
mhw:/tmp$ ls -lia nix-build-make-boot0-3.82.drv-0/
total 16
7274550 drwxr-xr-x 3 guix-builder1 guix-builder 4096 Oct  8 17:19 .
7072375 drwxrwxrwt 9 root          root         4096 Oct  8 17:19 ..
7272956 -rw-r--r-- 1 guix-builder1 guix-builder 1141 Oct  8 17:19 
environment-variables
7274551 drwxr-xr-x 8 guix-builder1 guix-builder 4096 Oct  8 17:19 make-3.82
--8<---------------cut here---------------end--------------->8---

Here's a summary of what the 'strace' output tells me:

* The initial stat(".") syscall reports inode 7274551, which corresponds
  to "/tmp/nix-build-make-boot0-3.82.drv-0/make-3.82", as expected.

* stat("/") reports inode 1073173, which looks WRONG.

* stat("..") reports inode 7274550, which corresponds to
  "/tmp/nix-build-make-boot0-3.82.drv-0", as expected.

* reading the contents of ".." reports inode numbers that all look
  correct, including "make-3.82" with inode 7274551, the same as ".".
  Thus 'pwd' concludes that its result will end with "/make-3.82".

* stat("../..") reports inode 1073174, which looks WRONG.

* reading the contents of "../.." reports inode numbers that all look
  WRONG:

   "nix-build-make-boot0-3.82.drv-0" with inode 1073325
   ".." with inode 1073173
   "." with inode 1073174

  None of these match the inode of "..", so 'pwd' fails.

Note that the inode for ".." matches the inode returned by stat("/").

Also note that there are two inode numbers reported for
/tmp/nix-build-make-boot0-3.82.drv-0:

      7274550 (0x6F0036)
  and 1073325 (0x1060AD)

My suspicion is that my kernel (linux-libre-2.6.39.1) and Guix's glibc
are not playing nicely together.  However, Guix's glibc was configured
to support kernels as early as 2.6.30, and the same 'pwd' executable
that fails within 'guix-daemon' seems to work outside of it, even when
run within a chroot.

  Any ideas?
     Mark

mhw:~/guix$ ./pre-inst-env guix build -K -e '(@@ (gnu packages base) 
gnu-make-boot0)'
The following derivation will be built:
   /nix/store/781gad2ab772cygwaaby71i0bx0hshsm-make-boot0-3.82.drv
@ build-started /nix/store/781gad2ab772cygwaaby71i0bx0hshsm-make-boot0-3.82.drv 
- mips64el-linux 
/usr/var/log/nix/drvs/78//1gad2ab772cygwaaby71i0bx0hshsm-make-boot0-3.82.drv.bz2
starting phase `set-paths'
environment variable `PATH' set to 
`/nix/store/r9yjx8jqy7kddwwxhf55vhr7vyasslib-gcc-bootstrap-0/bin:/nix/store/y89p6q0b8g6hkr51kwzgz4lk4h71f9bh-binutils-bootstrap-0/bin:/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin:/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin'
environment variable `CPATH' set to 
`/nix/store/2w4mry5mgnms92zimivhi82bb38mba3a-glibc-bootstrap-0/include'
environment variable `LIBRARY_PATH' set to 
`/nix/store/2w4mry5mgnms92zimivhi82bb38mba3a-glibc-bootstrap-0/lib:/nix/store/r9yjx8jqy7kddwwxhf55vhr7vyasslib-gcc-bootstrap-0/lib'
phase `set-paths' succeeded after 1 seconds
starting phase `unpack'
make-3.82/
make-3.82/vmsfunctions.c
make-3.82/getopt.h
make-3.82/make.1
make-3.82/job.c
make-3.82/COPYING
make-3.82/readme.vms
make-3.82/remake.c
make-3.82/commands.h
make-3.82/README
make-3.82/rule.c
make-3.82/config.ami
make-3.82/misc.c
make-3.82/gettext.h
make-3.82/config.h.W32
make-3.82/Makefile.DOS
make-3.82/build_w32.bat
make-3.82/make.lnk
make-3.82/vmsify.c
make-3.82/glob/
make-3.82/glob/glob.h
make-3.82/glob/COPYING.LIB
make-3.82/glob/fnmatch.h
make-3.82/glob/fnmatch.c
make-3.82/glob/SCOPTIONS
make-3.82/glob/Makefile.am
make-3.82/glob/SMakefile
make-3.82/glob/configure.bat
make-3.82/glob/Makefile.ami
make-3.82/glob/Makefile.in
make-3.82/glob/glob.c
make-3.82/glob/ChangeLog
make-3.82/subproc.bat
make-3.82/README.W32
make-3.82/getopt.c
make-3.82/read.c
make-3.82/configure.in
make-3.82/debug.h
make-3.82/amiga.c
make-3.82/version.c
make-3.82/dir.c
make-3.82/make_msvc_net2003.sln
make-3.82/hash.c
make-3.82/w32/
make-3.82/w32/Makefile
make-3.82/w32/pathstuff.c
make-3.82/w32/include/
make-3.82/w32/include/dirent.h
make-3.82/w32/include/w32err.h
make-3.82/w32/include/pathstuff.h
make-3.82/w32/include/sub_proc.h
make-3.82/w32/Makefile.am
make-3.82/w32/compat/
make-3.82/w32/compat/dirent.c
make-3.82/w32/.deps/
make-3.82/w32/.deps/libw32_a-pathstuff.Po
make-3.82/w32/.deps/libw32_a-w32err.Po
make-3.82/w32/.deps/libw32_a-sub_proc.Po
make-3.82/w32/.deps/libw32_a-misc.Po
make-3.82/w32/Makefile.in
make-3.82/w32/subproc/
make-3.82/w32/subproc/w32err.c
make-3.82/w32/subproc/misc.c
make-3.82/w32/subproc/NMakefile
make-3.82/w32/subproc/proc.h
make-3.82/w32/subproc/sub_proc.c
make-3.82/w32/subproc/build.bat
make-3.82/dep.h
make-3.82/file.c
make-3.82/job.h
make-3.82/NMakefile
make-3.82/variable.h
make-3.82/expand.c
make-3.82/dosbuild.bat
make-3.82/amiga.h
make-3.82/filedef.h
make-3.82/make_msvc_net2003.vcproj
make-3.82/configh.dos
make-3.82/strcache.c
make-3.82/doc/
make-3.82/doc/make.info
make-3.82/doc/make.info-1
make-3.82/doc/stamp-vti
make-3.82/doc/make.info-2
make-3.82/doc/fdl.texi
make-3.82/doc/Makefile.am
make-3.82/doc/version.texi
make-3.82/doc/make-stds.texi
make-3.82/doc/Makefile.in
make-3.82/doc/make.texi
make-3.82/signame.c
make-3.82/make.h
make-3.82/function.c
make-3.82/variable.c
make-3.82/ABOUT-NLS
make-3.82/INSTALL
make-3.82/makefile.vms
make-3.82/config/
make-3.82/config/stdint_h.m4
make-3.82/config/install-sh
make-3.82/config/wchar_t.m4
make-3.82/config/lib-prefix.m4
make-3.82/config/lib-ld.m4
make-3.82/config/texinfo.tex
make-3.82/config/inttypes-pri.m4
make-3.82/config/mdate-sh
make-3.82/config/mkinstalldirs
make-3.82/config/isc-posix.m4
make-3.82/config/gettext.m4
make-3.82/config/size_max.m4
make-3.82/config/intdiv0.m4
make-3.82/config/lcmessage.m4
make-3.82/config/compile
make-3.82/config/dospaths.m4
make-3.82/config/codeset.m4
make-3.82/config/printf-posix.m4
make-3.82/config/config.rpath
make-3.82/config/inttypes_h.m4
make-3.82/config/ulonglong.m4
make-3.82/config/iconv.m4
make-3.82/config/signed.m4
make-3.82/config/inttypes.m4
make-3.82/config/lib-link.m4
make-3.82/config/longdouble.m4
make-3.82/config/depcomp
make-3.82/config/xsize.m4
make-3.82/config/progtest.m4
make-3.82/config/Makefile.am
make-3.82/config/longlong.m4
make-3.82/config/po.m4
make-3.82/config/uintmax_t.m4
make-3.82/config/intmax.m4
make-3.82/config/Makefile.in
make-3.82/config/config.sub
make-3.82/config/glibc21.m4
make-3.82/config/nls.m4
make-3.82/config/ChangeLog
make-3.82/config/config.guess
make-3.82/config/wint_t.m4
make-3.82/config/missing
make-3.82/SCOPTIONS
make-3.82/alloca.c
make-3.82/makefile.com
make-3.82/configure
make-3.82/hash.h
make-3.82/acinclude.m4
make-3.82/arscan.c
make-3.82/rule.h
make-3.82/NEWS
make-3.82/Makefile.am
make-3.82/po/
make-3.82/po/gl.gmo
make-3.82/po/address@hidden
make-3.82/po/stamp-po
make-3.82/po/nl.gmo
make-3.82/po/id.po
make-3.82/po/it.po
make-3.82/po/pl.po
make-3.82/po/es.po
make-3.82/po/LINGUAS
make-3.82/po/Makevars
make-3.82/po/sv.po
make-3.82/po/he.gmo
make-3.82/po/sv.gmo
make-3.82/po/ja.gmo
make-3.82/po/ru.po
make-3.82/po/ko.gmo
make-3.82/po/ko.po
make-3.82/po/ja.po
make-3.82/po/Makefile.in.in
make-3.82/po/de.gmo
make-3.82/po/es.gmo
make-3.82/po/be.po
make-3.82/po/pt_BR.po
make-3.82/po/be.gmo
make-3.82/po/vi.po
make-3.82/po/it.gmo
make-3.82/po/uk.po
make-3.82/po/tr.po
make-3.82/po/hr.gmo
make-3.82/po/POTFILES.in
make-3.82/po/fr.po
make-3.82/po/da.gmo
make-3.82/po/tr.gmo
make-3.82/po/he.po
make-3.82/po/nl.po
make-3.82/po/make.pot
make-3.82/po/vi.gmo
make-3.82/po/zh_CN.gmo
make-3.82/po/fi.po
make-3.82/po/ga.gmo
make-3.82/po/insert-header.sin
make-3.82/po/remove-potcdate.sin
make-3.82/po/quot.sed
make-3.82/po/fi.gmo
make-3.82/po/hr.po
make-3.82/po/id.gmo
make-3.82/po/ru.gmo
make-3.82/po/fr.gmo
make-3.82/po/lt.po
make-3.82/po/address@hidden
make-3.82/po/pt_BR.gmo
make-3.82/po/Rules-quot
make-3.82/po/de.po
make-3.82/po/boldquot.sed
make-3.82/po/lt.gmo
make-3.82/po/da.po
make-3.82/po/ga.po
make-3.82/po/uk.gmo
make-3.82/po/gl.po
make-3.82/po/pl.gmo
make-3.82/po/ChangeLog
make-3.82/po/zh_CN.po
make-3.82/README.customs
make-3.82/commands.c
make-3.82/vpath.c
make-3.82/remote-stub.c
make-3.82/SMakefile
make-3.82/tests/
make-3.82/tests/COPYING
make-3.82/tests/README
make-3.82/tests/mkshadow
make-3.82/tests/test_driver.pl
make-3.82/tests/run_make_tests.pl
make-3.82/tests/NEWS
make-3.82/tests/scripts/
make-3.82/tests/scripts/misc/
make-3.82/tests/scripts/misc/general1
make-3.82/tests/scripts/misc/general3
make-3.82/tests/scripts/misc/close_stdout
make-3.82/tests/scripts/misc/general2
make-3.82/tests/scripts/misc/general4
make-3.82/tests/scripts/variables/
make-3.82/tests/scripts/variables/undefine
make-3.82/tests/scripts/variables/CURDIR
make-3.82/tests/scripts/variables/MAKEFILES
make-3.82/tests/scripts/variables/flavors
make-3.82/tests/scripts/variables/LIBPATTERNS
make-3.82/tests/scripts/variables/INCLUDE_DIRS
make-3.82/tests/scripts/variables/MFILE_LIST
make-3.82/tests/scripts/variables/define
make-3.82/tests/scripts/variables/negative
make-3.82/tests/scripts/variables/MAKELEVEL
make-3.82/tests/scripts/variables/private
make-3.82/tests/scripts/variables/DEFAULT_GOAL
make-3.82/tests/scripts/variables/automatic
make-3.82/tests/scripts/variables/MAKE_RESTARTS
make-3.82/tests/scripts/variables/MAKEFLAGS
make-3.82/tests/scripts/variables/MAKE
make-3.82/tests/scripts/variables/special
make-3.82/tests/scripts/variables/SHELL
make-3.82/tests/scripts/variables/MAKECMDGOALS
make-3.82/tests/scripts/functions/
make-3.82/tests/scripts/functions/if
make-3.82/tests/scripts/functions/dir
make-3.82/tests/scripts/functions/addsuffix
make-3.82/tests/scripts/functions/error
make-3.82/tests/scripts/functions/foreach
make-3.82/tests/scripts/functions/wildcard
make-3.82/tests/scripts/functions/andor
make-3.82/tests/scripts/functions/findstring
make-3.82/tests/scripts/functions/join
make-3.82/tests/scripts/functions/call
make-3.82/tests/scripts/functions/basename
make-3.82/tests/scripts/functions/shell
make-3.82/tests/scripts/functions/filter-out
make-3.82/tests/scripts/functions/addprefix
make-3.82/tests/scripts/functions/sort
make-3.82/tests/scripts/functions/abspath
make-3.82/tests/scripts/functions/origin
make-3.82/tests/scripts/functions/word
make-3.82/tests/scripts/functions/notdir
make-3.82/tests/scripts/functions/flavor
make-3.82/tests/scripts/functions/warning
make-3.82/tests/scripts/functions/eval
make-3.82/tests/scripts/functions/realpath
make-3.82/tests/scripts/functions/substitution
make-3.82/tests/scripts/functions/value
make-3.82/tests/scripts/functions/suffix
make-3.82/tests/scripts/functions/strip
make-3.82/tests/scripts/targets/
make-3.82/tests/scripts/targets/FORCE
make-3.82/tests/scripts/targets/INTERMEDIATE
make-3.82/tests/scripts/targets/PHONY
make-3.82/tests/scripts/targets/DEFAULT
make-3.82/tests/scripts/targets/ONESHELL
make-3.82/tests/scripts/targets/POSIX
make-3.82/tests/scripts/targets/SECONDARY
make-3.82/tests/scripts/targets/SILENT
make-3.82/tests/scripts/targets/clean
make-3.82/tests/scripts/options/
make-3.82/tests/scripts/options/dash-e
make-3.82/tests/scripts/options/dash-f
make-3.82/tests/scripts/options/warn-undefined-variables
make-3.82/tests/scripts/options/dash-q
make-3.82/tests/scripts/options/dash-C
make-3.82/tests/scripts/options/dash-B
make-3.82/tests/scripts/options/dash-I
make-3.82/tests/scripts/options/symlinks
make-3.82/tests/scripts/options/dash-k
make-3.82/tests/scripts/options/eval
make-3.82/tests/scripts/options/dash-l
make-3.82/tests/scripts/options/dash-t
make-3.82/tests/scripts/options/dash-W
make-3.82/tests/scripts/options/dash-n
make-3.82/tests/scripts/options/general
make-3.82/tests/scripts/features/
make-3.82/tests/scripts/features/echoing
make-3.82/tests/scripts/features/mult_rules
make-3.82/tests/scripts/features/patternrules
make-3.82/tests/scripts/features/comments
make-3.82/tests/scripts/features/se_implicit
make-3.82/tests/scripts/features/escape
make-3.82/tests/scripts/features/order_only
make-3.82/tests/scripts/features/vpath3
make-3.82/tests/scripts/features/statipattrules
make-3.82/tests/scripts/features/vpathplus
make-3.82/tests/scripts/features/vpath
make-3.82/tests/scripts/features/quoting
make-3.82/tests/scripts/features/varnesting
make-3.82/tests/scripts/features/override
make-3.82/tests/scripts/features/include
make-3.82/tests/scripts/features/export
make-3.82/tests/scripts/features/recursion
make-3.82/tests/scripts/features/patspecific_vars
make-3.82/tests/scripts/features/default_names
make-3.82/tests/scripts/features/mult_targets
make-3.82/tests/scripts/features/vpath2
make-3.82/tests/scripts/features/reinvoke
make-3.82/tests/scripts/features/conditionals
make-3.82/tests/scripts/features/se_explicit
make-3.82/tests/scripts/features/se_statpat
make-3.82/tests/scripts/features/double_colon
make-3.82/tests/scripts/features/errors
make-3.82/tests/scripts/features/parallelism
make-3.82/tests/scripts/features/vpathgpath
make-3.82/tests/scripts/features/targetvars
make-3.82/tests/scripts/test_template
make-3.82/tests/run_make_tests
make-3.82/tests/ChangeLog
make-3.82/configure.bat
make-3.82/ar.c
make-3.82/Makefile.ami
make-3.82/config.h.in
make-3.82/config.h-vms
make-3.82/aclocal.m4
make-3.82/README.Amiga
make-3.82/getloadavg.c
make-3.82/build.sh.in
make-3.82/implicit.c
make-3.82/vmsjobs.c
make-3.82/Makefile.in
make-3.82/getopt1.c
make-3.82/README.DOS
make-3.82/vmsdir.h
make-3.82/ChangeLog
make-3.82/AUTHORS
make-3.82/default.c
make-3.82/main.c
make-3.82/README.OS2
make-3.82/remote-cstms.c
phase `unpack' succeeded after 5 seconds
shell-init: error retrieving current directory: getcwd: cannot access parent 
directories: Inappropriate ioctl for device
starting phase `patch'
applying patch 
`/nix/store/nf226injsfkw8ljjjfq1280jj530xbvv-make-impure-dirs.patch'
patching file read.c
Hunk #1 succeeded at 109 (offset 10 lines).
patching file remake.c
Hunk #1 succeeded at 1509 (offset 57 lines).
phase `patch' succeeded after 0 seconds
shell-init: error retrieving current directory: getcwd: cannot access parent 
directories: Inappropriate ioctl for device
starting phase `patch-source-shebangs'
patch-shebang: ./build.sh.in: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./config/compile: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./config/config.guess: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./config/config.rpath: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./config/config.sub: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./config/depcomp: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./config/install-sh: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./config/mdate-sh: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./config/missing: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./config/mkinstalldirs: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./configure: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./tests/mkshadow: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./tests/run_make_tests: changing `/bin/sh' to 
`/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/sh'
patch-shebang: ./tests/run_make_tests.pl: warning: no binary for interpreter 
`perl' found in $PATH
patch-shebang: ./tests/scripts/targets/SECONDARY: warning: no binary for 
interpreter `-*-perl-*-' found in $PATH
patch-shebang: ./tests/test_driver.pl: warning: no binary for interpreter 
`perl' found in $PATH
phase `patch-source-shebangs' succeeded after 1 seconds
shell-init: error retrieving current directory: getcwd: cannot access parent 
directories: Inappropriate ioctl for device
starting phase `configure'
source directory: "/tmp/nix-build-make-boot0-3.82.drv-0/make-3.82" (relative 
from build: ".")
build directory: "/tmp/nix-build-make-boot0-3.82.drv-0/make-3.82"
configure flags: 
("CONFIG_SHELL=/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/bash"
 
"SHELL=/nix/store/i1fls9ylxvx1f4lnd9hph90v50v24id3-bootstrap-binaries-0/bin/bash"
 "--prefix=/nix/store/m3p9ikv278gcim9is5mpw39nzdsva4qz-make-boot0-3.82" 
"--enable-fast-install")
shell-init: error retrieving current directory: getcwd: cannot access parent 
directories: Inappropriate ioctl for device
configure: WARNING: unrecognized options: --enable-fast-install
pwd: error retrieving current directory: getcwd: cannot access parent 
directories: Success
pwd: error retrieving current directory: getcwd: cannot access parent 
directories: Bad address
configure: error: working directory cannot be determined
phase `configure' failed after 2 seconds
shell-init: error retrieving current directory: getcwd: cannot access parent 
directories: Inappropriate ioctl for device
note: keeping build directory `/tmp/nix-build-make-boot0-3.82.drv-0'
builder for `/nix/store/781gad2ab772cygwaaby71i0bx0hshsm-make-boot0-3.82.drv' 
failed with exit code 1
@ build-failed /nix/store/781gad2ab772cygwaaby71i0bx0hshsm-make-boot0-3.82.drv 
- 1 builder for 
`/nix/store/781gad2ab772cygwaaby71i0bx0hshsm-make-boot0-3.82.drv' failed with 
exit code 1
guix build: error: build failed: build of 
`/nix/store/781gad2ab772cygwaaby71i0bx0hshsm-make-boot0-3.82.drv' failed
mhw:~/guix$ 
26444 close(255)                        = 0
26444 rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
26444 rt_sigaction(SIGTSTP, {SIG_DFL, [RT_69 RT_70 RT_71 RT_73 RT_74 RT_76 
RT_77 RT_78 RT_84 RT_93], 0}, {SIG_DFL, [], 0}, 16) = 0
26444 rt_sigaction(SIGTTIN, {SIG_DFL, [RT_69 RT_70 RT_71 RT_73 RT_74 RT_76 
RT_77 RT_78 RT_84 RT_93], 0}, {SIG_DFL, [], 0}, 16) = 0
26444 rt_sigaction(SIGTTOU, {SIG_DFL, [RT_69 RT_70 RT_71 RT_73 RT_74 RT_76 
RT_77 RT_78 RT_84 RT_93], 0}, {SIG_DFL, [], 0}, 16) = 0
26444 rt_sigaction(SIGINT, {SIG_DFL, [RT_69 RT_70 RT_71 RT_73 RT_74 RT_76 RT_77 
RT_78 RT_84 RT_93], SA_NOCLDSTOP}, {SIG_DFL, [], SA_NOCLDSTOP}, 16) = 0
26444 rt_sigaction(SIGQUIT, {SIG_DFL, [RT_69 RT_70 RT_71 RT_73 RT_74 RT_76 
RT_77 RT_78 RT_84 RT_93], SA_NOCLDSTOP}, {SIG_DFL, [], SA_NOCLDSTOP}, 16) = 0
26444 rt_sigaction(SIGCHLD, {0x10000000, [RT_69 RT_70 RT_71 RT_73 RT_74 RT_76 
RT_77 RT_78 RT_84 RT_93], 0}, {0x10000000, [], SA_RESTART|SA_SIGINFO|0x2e3b0}, 
16) = 0
26444 rt_sigaction(SIGCHLD, {0x10000000, [RT_69 RT_70 RT_71 RT_73 RT_74 RT_76 
RT_77 RT_78 RT_84 RT_93], SA_RESTART|SA_SIGINFO|0x2e3b0}, {0x10000000, [], 0}, 
16) = 0
26444 dup2(4, 1)                        = 1
26444 close(4)                          = 0
26444 close(3)                          = 0
26444 stat(".", {st_dev=makedev(8, 5), st_ino=7274551, st_mode=S_IFDIR|0755, 
st_nlink=8, st_uid=1001, st_gid=1002, st_blksize=4096, st_blocks=8, 
st_size=4096, st_atime=2013/10/08-17:19:56, st_mtime=2013/10/08-17:19:59, 
st_ctime=2013/10/08-17:19:59}) = 0
26444 stat("/", {st_dev=makedev(8, 5), st_ino=1073173, st_mode=S_IFDIR|0755, 
st_nlink=7, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, 
st_atime=2013/10/08-17:19:49, st_mtime=2013/10/08-17:19:49, 
st_ctime=2013/10/08-17:19:49}) = 0
26444 stat("..", {st_dev=makedev(8, 5), st_ino=7274550, st_mode=S_IFDIR|0700, 
st_nlink=3, st_uid=1001, st_gid=1002, st_blksize=4096, st_blocks=8, 
st_size=4096, st_atime=2013/10/08-17:19:55, st_mtime=2013/10/08-17:19:50, 
st_ctime=2013/10/08-17:19:50}) = 0
26444 openat(AT_FDCWD, "..", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
26444 brk(0x101a4000)                   = 0x101a4000
26444 getdents64(3, {{d_ino=7072375, d_off=800767772, d_type=DT_DIR, 
d_reclen=24, d_name=".."} {d_ino=7272956, d_off=822117209, d_type=DT_REG, 
d_reclen=48, d_name="environment-variables"} {d_ino=7274550, d_off=1489961354, 
d_type=DT_DIR, d_reclen=24, d_name="."} {d_ino=7274551, d_off=2147483647, 
d_type=DT_DIR, d_reclen=32, d_name="make-3.82"}}, 32768) = 128
26444 lstat("../make-3.82", {st_dev=makedev(8, 5), st_ino=7274551, 
st_mode=S_IFDIR|0755, st_nlink=8, st_uid=1001, st_gid=1002, st_blksize=4096, 
st_blocks=8, st_size=4096, st_atime=2013/10/08-17:19:56, 
st_mtime=2013/10/08-17:19:59, st_ctime=2013/10/08-17:19:59}) = 0
26444 brk(0x1019c000)                   = 0x1019c000
26444 close(3)                          = 0
26444 stat("../..", {st_dev=makedev(8, 5), st_ino=1073174, 
st_mode=S_IFDIR|S_ISVTX|0777, st_nlink=3, st_uid=0, st_gid=0, st_blksize=4096, 
st_blocks=8, st_size=4096, st_atime=2013/10/08-17:19:56, 
st_mtime=2013/10/08-17:19:49, st_ctime=2013/10/08-17:19:49}) = 0
26444 openat(AT_FDCWD, "../..", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
26444 getdents64(3, {{d_ino=1073325, d_off=786063326, d_type=DT_DIR, 
d_reclen=56, d_name="nix-build-make-boot0-3.82.drv-0"} {d_ino=1073173, 
d_off=822117209, d_type=DT_DIR, d_reclen=24, d_name=".."} {d_ino=1073174, 
d_off=2147483647, d_type=DT_DIR, d_reclen=24, d_name="."}}, 32768) = 104
26444 getdents64(3, {}, 32768)          = 0
26444 close(3)                          = 0
26444 write(2, "pwd: error retrieving current di"..., 91) = 91
26444 stat(".", {st_dev=makedev(8, 5), st_ino=7274551, st_mode=S_IFDIR|0755, 
st_nlink=8, st_uid=1001, st_gid=1002, st_blksize=4096, st_blocks=8, 
st_size=4096, st_atime=2013/10/08-17:19:56, st_mtime=2013/10/08-17:19:59, 
st_ctime=2013/10/08-17:19:59}) = 0
26444 stat(NULL, 0x7fcca9b0)            = -1 EFAULT (Bad address)
26444 stat(".", {st_dev=makedev(8, 5), st_ino=7274551, st_mode=S_IFDIR|0755, 
st_nlink=8, st_uid=1001, st_gid=1002, st_blksize=4096, st_blocks=8, 
st_size=4096, st_atime=2013/10/08-17:19:56, st_mtime=2013/10/08-17:19:59, 
st_ctime=2013/10/08-17:19:59}) = 0
26444 stat("/", {st_dev=makedev(8, 5), st_ino=1073173, st_mode=S_IFDIR|0755, 
st_nlink=7, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, 
st_atime=2013/10/08-17:19:49, st_mtime=2013/10/08-17:19:49, 
st_ctime=2013/10/08-17:19:49}) = 0
26444 stat("..", {st_dev=makedev(8, 5), st_ino=7274550, st_mode=S_IFDIR|0700, 
st_nlink=3, st_uid=1001, st_gid=1002, st_blksize=4096, st_blocks=8, 
st_size=4096, st_atime=2013/10/08-17:19:55, st_mtime=2013/10/08-17:19:50, 
st_ctime=2013/10/08-17:19:50}) = 0
26444 openat(AT_FDCWD, "..", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
26444 getdents64(3, {{d_ino=7072375, d_off=800767772, d_type=DT_DIR, 
d_reclen=24, d_name=".."} {d_ino=7272956, d_off=822117209, d_type=DT_REG, 
d_reclen=48, d_name="environment-variables"} {d_ino=7274550, d_off=1489961354, 
d_type=DT_DIR, d_reclen=24, d_name="."} {d_ino=7274551, d_off=2147483647, 
d_type=DT_DIR, d_reclen=32, d_name="make-3.82"}}, 32768) = 128
26444 lstat("../make-3.82", {st_dev=makedev(8, 5), st_ino=7274551, 
st_mode=S_IFDIR|0755, st_nlink=8, st_uid=1001, st_gid=1002, st_blksize=4096, 
st_blocks=8, st_size=4096, st_atime=2013/10/08-17:19:56, 
st_mtime=2013/10/08-17:19:59, st_ctime=2013/10/08-17:19:59}) = 0
26444 close(3)                          = 0
26444 stat("../..", {st_dev=makedev(8, 5), st_ino=1073174, 
st_mode=S_IFDIR|S_ISVTX|0777, st_nlink=3, st_uid=0, st_gid=0, st_blksize=4096, 
st_blocks=8, st_size=4096, st_atime=2013/10/08-17:19:56, 
st_mtime=2013/10/08-17:19:49, st_ctime=2013/10/08-17:19:49}) = 0
26444 openat(AT_FDCWD, "../..", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
26444 getdents64(3, {{d_ino=1073325, d_off=786063326, d_type=DT_DIR, 
d_reclen=56, d_name="nix-build-make-boot0-3.82.drv-0"} {d_ino=1073173, 
d_off=822117209, d_type=DT_DIR, d_reclen=24, d_name=".."} {d_ino=1073174, 
d_off=2147483647, d_type=DT_DIR, d_reclen=24, d_name="."}}, 32768) = 104
26444 getdents64(3, {}, 32768)          = 0
26444 close(3)                          = 0
26444 write(2, "pwd: error retrieving current di"..., 95) = 95
26444 exit_group(1)                     = ?
26444 +++ exited with 1 +++

reply via email to

[Prev in Thread] Current Thread [Next in Thread]