[buildd-tools-devel] sbuild --verbose --debug
Geert Stappers
stappers at stappers.nl
Fri May 26 20:09:46 UTC 2017
On Wed, May 24, 2017 at 08:39:45AM +0200, Geert Stappers wrote:
> On Sun, May 21, 2017 at 10:10:08AM +0200, Geert Stappers wrote:
> >
> > Hello sbuild people,
>
> Your insights are appriciated.
>
>
> > Currently for me there is no different in output
> > between
> > sbuild
> > and
> > sbuild --verbose --debug
> >
> > Neither I can't find log files that --verbose promised to create.
> >
> > How do I get additional output?
> >
>
> sbuild manual page has "--nolog"
>
> -n, --nolog
> Do not create a package log file in the $log_dir
> directory and no build log file, but print everything
> to stdout. Also do not send any log mails. This com-
> mand line option sets the NOLOG configuration vari-
> able. See sbuild.conf(5) for more information.
>
> To me it seems that that option is active.
>
> Setting $log_dir to /home/stappers/logs in /etc/sbuild.conf
> didn't get me the wanted logging. Help.
>
>
> > My actual problem:
> > `quilt push -a ; quilt pop -a` works fine.
> > Upon running `sbuild --verbose --debug` I get:
> >
> > clean:
> >
> > BUILD SUCCESSFUL
> > Total time: 0 seconds
> > rm -f debian/permission-checker/*.class
> > dh_clean
> > make[1]: Leaving directory '/home/stappers/src/arduino'
> > dpkg-source: info: using source format '3.0 (quilt)'
> > dpkg-source: info: applying remove_update_warning.patch
> > dpkg-source: info: applying install_jar_links.patch
> > dpkg-source: info: applying wrapper_for_deb.patch
> > dpkg-source: info: applying remove_copying_binaries.patch
> > dpkg-source: info: applying permission_fix.patch
> > dpkg-source: info: applying gcc47_avr.patch
> > dpkg-source: info: applying no-caller-saves.patch
> > dpkg-source: info: applying Adafruit_GFX.patch
> > dpkg-source: info: applying const_progmem.patch
> > dpkg-source: info: applying depricated_typedef_support.patch
> > dpkg-source: info: applying roboIRread.patch
>
> all patches cleanly applied
>
> > dpkg-source: info: building arduino using existing ./arduino_1.8.2+dfsg.orig.tar.gz
>
> start of building
>
> > can't find file to patch at input line 9
>
> first error about patching, but the patching was allready done
>
>
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |Description: patch to work with libc 1.8.0 and gcc 4.7
>
> That patch is half in the patch series
>
>
> > |Bug: http://andybrown.me.uk/wk/2012/04/28/avr-gcc-4-7-0-and-avr-libc-1-8-0-compiled-for-windows/
> > |Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677294
> > |Author: Andy Brown <http://andybrown.me.uk/wk/>
> > |Index: arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp
> > |===================================================================
> > |--- arduino.orig/hardware/arduino/cores/arduino/HardwareSerial.cpp
> > |+++ arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp
> > --------------------------
> > No file to patch. Skipping patch.
> > 1 out of 1 hunk ignored
> > can't find file to patch at input line 19
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |Index: arduino/hardware/arduino/cores/arduino/IPAddress.cpp
> > |===================================================================
> > |--- arduino.orig/hardware/arduino/cores/arduino/IPAddress.cpp
> > |+++ arduino/hardware/arduino/cores/arduino/IPAddress.cpp
> > --------------------------
> > No file to patch. Skipping patch.
> > 2 out of 2 hunks ignored
> > can't find file to patch at input line 89
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |Index: arduino/hardware/arduino/cores/arduino/IPAddress.h
> > |===================================================================
> > |--- arduino.orig/hardware/arduino/cores/arduino/IPAddress.h
> > |+++ arduino/hardware/arduino/cores/arduino/IPAddress.h
> > --------------------------
> > No file to patch. Skipping patch.
> > 2 out of 2 hunks ignored
> > can't find file to patch at input line 130
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |Index: arduino/hardware/arduino/cores/arduino/Print.cpp
> > |===================================================================
> > |--- arduino.orig/hardware/arduino/cores/arduino/Print.cpp
> > |+++ arduino/hardware/arduino/cores/arduino/Print.cpp
> > --------------------------
> > No file to patch. Skipping patch.
> > 1 out of 1 hunk ignored
> > can't find file to patch at input line 143
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |Index: arduino/libraries/Ethernet/Ethernet.cpp
> > |===================================================================
> > |--- arduino.orig/libraries/Ethernet/Ethernet.cpp
> > |+++ arduino/libraries/Ethernet/Ethernet.cpp
> > --------------------------
> > No file to patch. Skipping patch.
> > 1 out of 1 hunk ignored
> > dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
> > dpkg-source: info: if patch 'gcc47_avr.patch' is correctly applied by quilt, use 'quilt refresh' to update it
> > dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/gcc47_avr.patch/ --reject-file=- < arduino.orig.vomslx/debian/patches/gcc47_avr.patch gave error exit status 1
> > E: Failed to package source directory /home/stappers/src/arduino
> > D: Error main(): Failed to package source directory /home/stappers/src/arduinostappers at paddy:~/src/arduino
> > $
> >
>
Meanwhile I learnt that the error occures during `dpkg-source`.
At that point seems "sbuild logging" not yet activated.
Groeten
Geert Stappers
--
Leven en laten leven
More information about the Buildd-tools-devel
mailing list