[Pkg-electronics-devel] Bug#556298: Bug#556298: pcb - FTBFS: chmod: cannot access `debian/pcb-common/usr/share/pcb/tools/MergePCBPS': No such file or directory

أحمد أحمد
Sun Nov 15 17:15:44 UTC 2009


On Sun, Nov 15, 2009 at 01:48:47PM +0100, Bastian Blank wrote:
> Source: pcb
> Version: 20091103-1
> Severity: serious
> 
> There was an error while trying to autobuild your package:
> 
> > sbuild (Debian sbuild) 0.58.2 (31 Jul 2009) on debian-31.osdl.marist.edu
> [...]
> > install build_lesstif/src/pcb debian/pcb-lesstif/usr/bin/pcb-lesstif
> > # Set executable bit for pcb tools:
> > chmod: cannot access `debian/pcb-common/usr/share/pcb/tools/MergePCBPS': No such file or directory
> > chmod a+x debian/pcb-common/usr/share/pcb/tools/MergePCBPS
> > make[1]: *** [override_dh_install] Error 1
> > make[1]: Leaving directory `/build/buildd-pcb_20091103-1-s390-dTNf1l/pcb-20091103'
> > make: *** [binary-arch] Error 2
> > dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2
---end quoted text---

Hello,

  I haven't ran into this when building with pbuilder, so I wonder is it 
  a problem with sbuild or what. But according to the build log [1], I 
  see that MergePCBPS was installed in debian/tmp/usr/share/pcb/tools/:

  /usr/bin/install -c -m 644 '../../tools/MergePCBPS' '/build/buildd-pcb_20091103-1-s390-dTNf1l/pcb-20091103/debian/tmp/usr/share/pcb/tools/MergePCBPS'

  Then it is supposed to be installed in pcb-common by the following 
  dh_install line:

  dh_install -Xusr/bin -Xusr/share/pcb- -Xusr/share/doc -Xexamples -Xtutorial -Xusr/share/info

  But it seems that in this sbuild environment, that dh_install line did 
  not work as expected !

  I wonder if this exclude '-Xusr/share/pcb-' is the reason ?

  [1] https://buildd.debian.org/fetch.cgi?pkg=pcb;ver=20091103-1;arch=s390;stamp=1258259121

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7





More information about the Pkg-electronics-devel mailing list