Your message dated Sat, 4 Sep 2010 15:07:43 -0400
with message-id <[email protected]>
and subject line Re: Bug#593954: devscripts: [debuild] build stops with "cannot
stat" - but files are there
has caused the Debian Bug report #593954,
regarding devscripts: [debuild] build stops with "cannot stat" - but files are
there
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
593954: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593954
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.10.66
Severity: normal
I set up a new squeeze-amd64 system and tried to debuild -us -uc ta-lib ( which
is sadly and incomprehensibly not yet part of Debian
but Debian source packages can be retrieved here:
http://www.zwets.com/debs/unstable/ ).
The build fails. The last lines of the log are:
cp -a /tmp/ta-lib-0.4.0/debian/examples/ta_regtest/* \
/tmp/ta-lib-0.4.0/src/tools/ta_regtest/*.{c,h} \
/tmp/ta-lib-0.4.0/src/tools/ta_regtest/ta_test_func \
/tmp/ta-lib-0.4.0/src/ta_common/ta_{global,memory}.h \
/tmp/ta-lib-0.4.0/src/ta_func/ta_utility.h \
/tmp/ta-lib-0.4.0/debian/tmp/examples/ta_regtest
cp: cannot stat `/tmp/ta-lib-0.4.0/src/tools/ta_regtest/*.{c,h}': No such file
or directory
cp: cannot stat `/tmp/ta-lib-0.4.0/src/ta_common/ta_{global,memory}.h': No such
file or directory
make: *** [install-examples] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
BUT: The files exist!
Executing the command manually works fine. Doing all the rest of the steps
(dh_testdir, dh_testroot....)
manually yields working *_amd64.deb packages.
The very same source package builds without any errors on a lenny-i386 box,
so it does not seem to be a problem of the source package itself.
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
Not present
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii dpkg-dev 1.15.7.2 Debian package development tools
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii perl 5.10.1-14 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.12-1 Delayed job execution and batch pr
ii bsd-mailx [mailx] 8.1.2-0.20100314cvs-1 simple mail user agent
ii dctrl-tools 2.14 Command-line tools to process Debi
ii debian-keyring [d 2010.06.08 GnuPG (and obsolete PGP) keys of D
ii dput 0.9.6.1 Debian package upload tool
ii epiphany-browser 2.30.2-3 Intuitive GNOME web browser
ii equivs 2.0.8 Circumvent Debian package dependen
ii fakeroot 1.14.4-1 Gives a fake root environment
ii git [git-core] 1:1.7.1-1.1 fast, scalable, distributed revisi
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii iceweasel [www-br 3.5.11-1 Web browser based on Firefox
ii konqueror [www-br 4:4.4.5-1 advanced file manager, web browser
ii libauthen-sasl-pe 2.1500-1 Authen::SASL - SASL Authentication
ii libcrypt-ssleay-p 0.57-2 Support for https protocol in LWP
ii libjson-perl 2.21-1 Perl module to parse and convert t
ii libparse-debcontr 2.005-2 Easy OO parsing of Debian control-
ii libsoap-lite-perl 0.712-1 Perl implementation of a SOAP clie
ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.54-1 module to manipulate and access UR
ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar
ii libyaml-syck-perl 1.12-1 Perl module providing a fast, ligh
ii lintian 2.4.3 Debian package checker
ii lsb-release 3.2-23.1 Linux Standard Base version report
ii lzma 4.43-14 Compression method of 7z format in
ii man-db 2.5.7-3 on-line manual pager
ii openssh-client [s 1:5.5p1-4 secure shell (SSH) client, for sec
ii patch 2.6-2 Apply a diff file to an original
ii patchutils 0.3.1-2 Utilities to work with patches
ii sensible-utils 0.0.4 Utilities for sensible alternative
ii strace 4.5.20-2 A system call tracer
ii unzip 6.0-4 De-archiver for .zip files
ii w3m [www-browser] 0.5.2-9 WWW browsable pager with excellent
ii wdiff 0.6.3-1 Compares two files word by word
ii wget 1.12-2 retrieves files from the web
ii xz-utils 4.999.9beta+20100713-1 XZ-format compression utilities
Versions of packages devscripts suggests:
ii build-essential 11.5 Informational list of build-essent
pn cvs-buildpackage <none> (no description available)
pn devscripts-el <none> (no description available)
pn gnuplot <none> (no description available)
pn libfile-desktopentry-perl <none> (no description available)
pn libnet-smtp-ssl-perl <none> (no description available)
ii mutt 1.5.20-9 text-based mailreader supporting M
pn svn-buildpackage <none> (no description available)
ii w3m 0.5.2-9 WWW browsable pager with excellent
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sun, Aug 22, 2010 at 05:40:26PM +0200, Dr. Oliver Muth wrote:
> I set up a new squeeze-amd64 system and tried to debuild -us -uc ta-lib (
> which is sadly and incomprehensibly not yet part of Debian
> but Debian source packages can be retrieved here:
> http://www.zwets.com/debs/unstable/ ).
> The build fails. The last lines of the log are:
>
> cp -a /tmp/ta-lib-0.4.0/debian/examples/ta_regtest/* \
> /tmp/ta-lib-0.4.0/src/tools/ta_regtest/*.{c,h} \
> /tmp/ta-lib-0.4.0/src/tools/ta_regtest/ta_test_func \
> /tmp/ta-lib-0.4.0/src/ta_common/ta_{global,memory}.h \
> /tmp/ta-lib-0.4.0/src/ta_func/ta_utility.h \
> /tmp/ta-lib-0.4.0/debian/tmp/examples/ta_regtest
> cp: cannot stat `/tmp/ta-lib-0.4.0/src/tools/ta_regtest/*.{c,h}': No such
> file or directory
> cp: cannot stat `/tmp/ta-lib-0.4.0/src/ta_common/ta_{global,memory}.h': No
> such file or directory
> make: *** [install-examples] Error 1
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status
> 2
The "{c,h}" construct is a bashism and Squeeze uses dash as sh by
default. So you need to change your debian/rules to either drop the
bashisms or add "SHELL=/bin/bash".
--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>
signature.asc
Description: Digital signature
--- End Message ---