[Buildd-tools-devel] dchroot not working
Mauricio Ortiz Calvao
orca at if.ufrj.br
Thu Jul 27 21:47:24 UTC 2006
On Thu, 27 Jul 2006, Roger Leigh wrote:
> Mauricio Ortiz Calvao <orca at if.ufrj.br> writes:
>
> > My problem is: I have a sarge i386 installation in my desktop and
> > have recently decided to check the status of etch release,
> > particularly as regards openoffice 2.0 and gfortran. I installed the
> > etch chroot according to the instructions of the Debian reference
> > and the site debian-administration. Under the chroot itself
> > everything seems to be working fine; however when I try to dchroot
> > (either as normal or root user) from the sarge system, via
> >
> > $ dchroot -c etch -d openoffice
> >
> > the following text pops up:
> >
> > (etch) openoffice
> > /usr/bin/openoffice: line 7: my: command not found
> > /usr/bin/openoffice: line 9: my: command not found
> > /usr/bin/openoffice: line 11: my: command not found
> > /usr/bin/openoffice: openoffice: line 13: syntax error near unexpected
> > token `{'
> > /usr/bin/openoffice: openoffice: line 13: `if ($SystemInstallDir =~ /^@/)
> > {'
> > dchroot: Child exited non-zero.
> > dchroot: Operation failed.
> >
> >
> > Could you give me any help?
>
> Which version of dchroot are you using?
orca at andromeda:~$ dpkg --list |grep dchroot
ii dchroot 0.11 Execute commands under different root
filesy
>
> /usr/bin/openoffice is a perl script. It looks like what gets run
> here is a shell, which obviously can't read perl scripts.
>
> Try running with "strace -f -ff -F -o /tmp/dchroot.log dchroot -c etch
> -d openoffice" (as root), and then check all the logfiles to see what
> gets run. tar them up and mail them to me if you want me to take a
> look.
andromeda:/tmp# strace -f -ff -F -o /tmp/dchroot.log dchroot -c etch -d
openoffice
(etch) openoffice
/usr/bin/openoffice: line 7: my: command not found
/usr/bin/openoffice: line 9: my: command not found
/usr/bin/openoffice: line 11: my: command not found
/usr/bin/openoffice: openoffice: line 13: syntax error near unexpected
token `{'
/usr/bin/openoffice: openoffice: line 13: `if ($SystemInstallDir =~ /^@/)
{'
dchroot: Child exited non-zero.
dchroot: Operation failed.
The log files follow attached. Thanks a lot for any help!
>
>
> Regards,
> Roger
>
>
--
###############################################
PROF. MAURICIO O. CALVAO
Federal University of Rio de Janeiro
Institute of Physics, P. O. Box 68528
CEP 21941-972 Rio de Janeiro - RJ
Brazil
Home page: http://www.if.ufrj.br/~orca/
E-mail: orca at if.ufrj.br
Phone: (55)(21)2562-7483
###############################################
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dchroot_log.tar
Type: application/x-tar
Size: 71680 bytes
Desc:
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060727/d8b14ae4/dchroot_log-0001.tar
More information about the Buildd-tools-devel
mailing list