Closed RobertCNelson closed 6 years ago
Looks like rc/pthread_helpers.h never got pushed...
voodoo@hades:/opt/github/Robotics_Cape_Installer$ find . | grep pthread ./examples/src/rc_test_pthread.c ./library/include/rc/pthread.h ./library/src/pthread.c
Full Build:
+------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- dpkg-source: warning: extracting unsigned source package (roboticscape_0.4.0-git20180411-0rcnee0~buster+20180411.dsc) dpkg-source: info: extracting roboticscape in /<<PKGBUILDDIR>> dpkg-source: info: unpacking roboticscape_0.4.0-git20180411-0rcnee0~buster+20180411.tar.gz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SCHROOT_ALIAS_NAME=buster-armhf-sbuild SCHROOT_CHROOT_NAME=buster-armhf-sbuild SCHROOT_COMMAND=env SCHROOT_GID=0 SCHROOT_GROUP=root SCHROOT_SESSION_ID=buster-armhf-sbuild-a665d780-63d5-4a4e-8b1c-abf777566cf4 SCHROOT_UID=0 SCHROOT_USER=root SHELL=/bin/sh USER=root dpkg-buildpackage ----------------- dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: info: source package roboticscape dpkg-buildpackage: info: source version 0.4.0-git20180411-0rcnee0~buster+20180411 dpkg-buildpackage: info: source distribution buster dpkg-buildpackage: info: source changed by Robert Nelson <robertcnelson@gmail.com> dpkg-source --before-build roboticscape-0.4.0-git20180411 dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh clean dh_auto_clean make -j1 clean make[1]: Entering directory '/<<PKGBUILDDIR>>' make[2]: Entering directory '/<<PKGBUILDDIR>>/pru_firmware' PRU Firmware Cleanup Complete make[2]: Leaving directory '/<<PKGBUILDDIR>>/pru_firmware' make[2]: Entering directory '/<<PKGBUILDDIR>>/library' Library Clean Complete make[2]: Leaving directory '/<<PKGBUILDDIR>>/library' make[2]: Entering directory '/<<PKGBUILDDIR>>/examples' Examples Clean Complete make[2]: Leaving directory '/<<PKGBUILDDIR>>/examples' make[2]: Entering directory '/<<PKGBUILDDIR>>/services/rc_battery_monitor' rc_battery_monitor Service Clean Complete make[2]: Leaving directory '/<<PKGBUILDDIR>>/services/rc_battery_monitor' make[2]: Entering directory '/<<PKGBUILDDIR>>/services/roboticscape' roboticscape Service Clean Complete make[2]: Leaving directory '/<<PKGBUILDDIR>>/services/roboticscape' make[2]: Entering directory '/<<PKGBUILDDIR>>/rc_project_template' rc_project_template Clean Complete make[2]: Leaving directory '/<<PKGBUILDDIR>>/rc_project_template' All Directories Cleaned make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean dpkg-source -b roboticscape-0.4.0-git20180411 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: info: using source format '1.0' dpkg-source: info: building roboticscape in roboticscape_0.4.0-git20180411-0rcnee0~buster+20180411.tar.gz dpkg-source: info: building roboticscape in roboticscape_0.4.0-git20180411-0rcnee0~buster+20180411.dsc debian/rules build dh build dh_update_autotools_config dh_auto_configure dh_auto_build make -j1 make[1]: Entering directory '/<<PKGBUILDDIR>>' CC src/main_pru0.c CC src/pru0-encoder.asm LD bin/main_pru0.object bin/pru0-encoder.object CC src/main_pru1.c CC src/pru1-servo.asm LD bin/main_pru1.object bin/pru1-servo.object Generated: bin/am335x-pru0-rc-encoder-fw bin/am335x-pru1-rc-servo-fw made: build/model.o made: build/motor.o made: build/dsm.o made: build/button.o made: build/math/other.o made: build/math/polynomial.o made: build/math/matrix.o made: build/math/vector.o made: build/math/filter.o made: build/math/ring_buffer.o made: build/math/quaternion.o made: build/math/mult_accumulate.o made: build/math/algebra.o made: build/version.o made: build/pinmux.o made: build/led.o made: build/bmp/bmp.o made: build/pthread.o made: build/cpu.o made: build/time.o made: build/pru/encoder_pru.o made: build/pru/pru.o made: build/pru/servo.o made: build/start_stop.o made: build/io/spi.o made: build/io/i2c.o made: build/io/uart.o made: build/io/adc.o made: build/io/gpio.o made: build/io/encoder_eqep.o made: build/io/pwm.o made: build/mavlink_udp.o made: build/mpu/mpu.o Done making lib/libroboticscape.so made: bin/rc_test_motors made: bin/rc_test_encoders_eqep made: bin/rc_test_time made: bin/rc_test_servo made: bin/rc_uart_loopback made: bin/rc_test_escs made: bin/rc_calibrate_mag made: bin/rc_test_encoders_pru made: bin/rc_test_buttons made: bin/rc_test_filters made: bin/rc_bind_dsm made: bin/rc_test_polynomial made: bin/rc_test_dmp made: bin/rc_blink made: bin/rc_model made: bin/rc_test_bmp made: bin/rc_test_adc made: bin/rc_calibrate_accel made: bin/rc_test_algebra made: bin/rc_test_mpu made: bin/rc_test_dmp_tap made: bin/rc_kill made: bin/rc_test_led made: bin/rc_benchmark_algebra made: bin/rc_test_mavlink made: bin/rc_test_matrix made: bin/rc_version made: bin/rc_balance made: bin/rc_test_vector made: bin/rc_calibrate_gyro made: bin/rc_cpu src/rc_test_pthread.c:26:10: fatal error: rc/pthread_helpers.h: No such file or directory #include <rc/pthread_helpers.h> ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Makefile:61: recipe for target 'bin/rc_test_pthread' failed make[2]: *** [bin/rc_test_pthread] Error 1 Makefile:11: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: make -j1 returned exit code 2 debian/rules:3: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2018-04-11T18:36:01Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<<BUILDDIR>> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: armhf Build Type: full Build-Space: 7012 Build-Time: 27 Distribution: buster Fail-Stage: build Host Architecture: armhf Install-Time: 75 Job: roboticscape_0.4.0-git20180411-0rcnee0~buster+20180411.dsc Machine Architecture: armhf Package: roboticscape Package-Time: 141 Source-Version: 0.4.0-git20180411-0rcnee0~buster+20180411 Space: 7012 Status: attempted Version: 0.4.0-git20180411-0rcnee0~buster+20180411 -------------------------------------------------------------------------------- Finished at 2018-04-11T18:36:01Z Build needed 00:02:21, 7012k disk space E: Build failure (dpkg-buildpackage died)
thanks!! old headers still floating in my FS hid this from me. fixed in 80f9f3fc97ca717b8bc71d6b52618b98dca97e7b
Looks like rc/pthread_helpers.h never got pushed...
Full Build: