Bug#812658: astyle: FTBFS - mv: cannot stat 'bin/astyled': No such file or directory

2016-01-25 Thread Matteo Cypriani
Control: tags -1 + patch pending

Hi Michael,

On Mon, 25 Jan 2016 17:55:54 +, Michael Tautschnig 
wrote:
> During a rebuild of all Debian packages in a clean sid chroot (using
> cowbuilder and pbuilder) the build failed with the following error.
> […]

Thanks for your report. This happens only when DEB_BUILD_OPTIONS=nostrip.
The attached patch will fix the problem. I am currently working on
packaging the last upstream version, so the patch will be integrated in
that version.

Cheers,
  Matteo
diff --git a/debian/rules b/debian/rules
index 752e8b0..48b1117 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ CFLAGS += $(CPPFLAGS)
 
 override_dh_auto_build:
dh_auto_build -Smakefile -- -C build/gcc $(BUILD_TARGET) shared java
-   [ "$(BUILD_TARGET)" = "astyle" ] || mv bin/$(BUILD_TARGET) bin/astyle
+   [ "$(BUILD_TARGET)" = "astyle" ] || mv build/gcc/bin/$(BUILD_TARGET) build/gcc/bin/astyle
 
 override_dh_auto_clean:
dh_auto_clean


pgpFmPvf1mxKX.pgp
Description: PGP signature


Processed: Re: Bug#812658: astyle: FTBFS - mv: cannot stat 'bin/astyled': No such file or directory

2016-01-25 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + patch pending
Bug #812658 [astyle] astyle: FTBFS - mv: cannot stat 'bin/astyled': No such 
file or directory
Added tag(s) pending and patch.

-- 
812658: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812658
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#812658: astyle: FTBFS - mv: cannot stat 'bin/astyled': No such file or directory

2016-01-25 Thread Michael Tautschnig
Package: astyle
Version: 2.04-1
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
dh binary
   dh_testdir
   dh_update_autotools_config
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-astyle/astyle-2.04'
dh_auto_build -Smakefile -- -C build/gcc astyled shared java
make -j1 -C build/gcc astyled shared java
make[2]: Entering directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-astyle/astyle-2.04/build/gcc'
g++ -g -W -Wall -fno-rtti -fno-exceptions -g -O0 -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -c -o obj/astyle_main_d.o 
../../src/astyle_main.cpp
g++ -g -W -Wall -fno-rtti -fno-exceptions -g -O0 -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -c -o obj/ASBeautifier_d.o 
../../src/ASBeautifier.cpp
g++ -g -W -Wall -fno-rtti -fno-exceptions -g -O0 -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -c -o obj/ASFormatter_d.o 
../../src/ASFormatter.cpp
g++ -g -W -Wall -fno-rtti -fno-exceptions -g -O0 -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -c -o obj/ASEnhancer_d.o 
../../src/ASEnhancer.cpp
g++ -g -W -Wall -fno-rtti -fno-exceptions -g -O0 -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -c -o obj/ASLocalizer_d.o 
../../src/ASLocalizer.cpp
g++ -g -W -Wall -fno-rtti -fno-exceptions -g -O0 -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -c -o obj/ASResource_d.o 
../../src/ASResource.cpp
g++ -Wl,-z,relro -Wl,--as-needed -o bin/astyled obj/astyle_main_d.o 
obj/ASBeautifier_d.o obj/ASFormatter_d.o obj/ASEnhancer_d.o obj/ASLocalizer_d.o 
obj/ASResource_d.o

g++ -DASTYLE_LIB -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -c -o 
obj/astyle_main_s.o ../../src/astyle_main.cpp
g++ -DASTYLE_LIB -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -c -o 
obj/ASBeautifier_s.o ../../src/ASBeautifier.cpp
g++ -DASTYLE_LIB -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -c -o 
obj/ASFormatter_s.o ../../src/ASFormatter.cpp
g++ -DASTYLE_LIB -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -c -o 
obj/ASEnhancer_s.o ../../src/ASEnhancer.cpp
g++ -DASTYLE_LIB -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -c -o 
obj/ASLocalizer_s.o ../../src/ASLocalizer.cpp
g++ -DASTYLE_LIB -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -c -o 
obj/ASResource_s.o ../../src/ASResource.cpp
g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-soname,libastyle.so.0debian0 -o 
bin/libastyle.so obj/astyle_main_s.o obj/ASBeautifier_s.o obj/ASFormatter_s.o 
obj/ASEnhancer_s.o obj/ASLocalizer_s.o obj/ASResource_s.o

g++ -DASTYLE_JNI -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-I/usr/lib/jvm/default-java/include -c -o obj/astyle_main_sj.o 
../../src/astyle_main.cpp
g++ -DASTYLE_JNI -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-I/usr/lib/jvm/default-java/include -c -o obj/ASBeautifier_sj.o 
../../src/ASBeautifier.cpp
g++ -DASTYLE_JNI -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-I/usr/lib/jvm/default-java/include -c -o obj/ASFormatter_sj.o 
../../src/ASFormatter.cpp
g++ -DASTYLE_JNI -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-I/usr/lib/jvm/default-java/include -c -o obj/ASEnhancer_sj.o 
../../src/ASEnhancer.cpp
g++ -DASTYLE_JNI -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-I/usr/lib/jvm/default-java/include -c -o obj/ASLocalizer_sj.o 
../../src/ASLocalizer.cpp
g++ -DASTYLE_JNI -fPIC -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -g -O0 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-I/usr/lib/jvm/default-java/include -c -o obj/ASResource_sj.o 
../../src/ASResource.cpp
g++ -shared -Wl,-z,relro -Wl,--as-needed -o bin/libastylej.so 
obj/astyle_main_sj.o obj/ASBeautifier_sj.o obj/ASFormatter_sj.o 
obj/ASEnhancer_sj.o obj/ASLocalizer_sj.o obj/ASResource_sj.o

make[2]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-astyle/astyle-2.04/build/gcc'
[ "astyled" = "astyle" ] || mv bin/astyled bin/astyle
mv