[Debian-med-packaging] New version of phyml: Can't exec "gcc": No such file or directory

James Cowgill jcowgill at debian.org
Wed Aug 17 12:55:23 UTC 2016


Hi,

On 17/08/16 13:28, Andreas Tille wrote:
> when trying to build the latest version of phyml[1] in pbuilder as usual
> I get a very strange error which is possibly best summarised by grepping
> for gcc:
> 
> $ grep gcc phyml_3.2.20160530+dfsg-1_amd64.build | grep -v Depends | tail -n 8
> Preparing to unpack .../3-gcc-6-base_6.1.1-12_amd64.deb ...
> Unpacking gcc-6-base:amd64 (6.1.1-12) over (6.1.1-11) ...
> Setting up gcc-6-base:amd64 (6.1.1-12) ...
> Preparing to unpack .../libgcc1_1%3a6.1.1-12_amd64.deb ...
> Unpacking libgcc1:amd64 (1:6.1.1-12) over (1:6.1.1-11) ...
> Setting up libgcc1:amd64 (1:6.1.1-12) ...
> Can't exec "gcc": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 128.
> Can't exec "gcc": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 128.
> 
> Any explanation for this strange behaviour?

I think there might be something up with your pbuilder chroot. At least
the initial stages of the build work fine for me with sbuild (gcc errors
out later though).

Also I don't think you've given enough of the build log for anyone to
help you that well. The only thing I can think of is that gcc isn't in
the PATH at that point (either not installed or the PATH is clobbered
somewhere). Not having a "Setting up gcc-6" line appearing after the
"Setting up gcc-6-base" line also seems a little fishy to me.

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160817/613bcc9c/attachment.sig>


More information about the Debian-med-packaging mailing list