Hide Forgot
Description of problem: Package amanda fails to build from source in Fedora Rawhide. It failed with following error: error: File not found: /builddir/build/BUILDROOT/amanda-3.3.9-3.fc26.x86_64/usr/sbin/activate-devpay RPM build errors: File not found: /builddir/build/BUILDROOT/amanda-3.3.9-3.fc26.x86_64/usr/sbin/activate-devpay Child return code was: 1 activate-devpay is not compiled. Dependency changes between last successful build and failing build openssl-devel 1:1.0.2j-1.fc26 > 1:1.1.0b-1.fc26 openssl-libs 1:1.0.2j-1.fc26 > 1:1.1.0b-1.fc26 compat-openssl10 > 1:1.0.2j-2.fc26 perl-parent 1:0.234-365.fc25 > 1:0.236-1.fc26 filesystem 3.2-37.fc24 > 3.2-38.fc26 kernel-headers 4.9.0-0.rc0.git4.1.... > 4.9.0-0.rc0.git5.2.... xkeyboard-config 2.18-1.fc25 > 2.19-1.fc26 perl-HTTP-Tiny 0.068-1.fc26 > 0.070-1.fc26 Additional info: This package is tracked by Koschei. See: http://apps.fedoraproject.org/koschei/package/amanda
The activate-devpay program is built by device-src/Makefile.am: if WANT_S3_DEVICE sbin_PROGRAMS += activate-devpay activate_devpay_LDADD = \ ../gnulib/libgnu.la activate_devpay_SOURCES = activate-devpay.c endif WANT_S3_DEVICE is a configure variable set in config/amanda/s3-device.m4 script. You should explicitly enable (or disable) this feature by adding --enable-s3-device option to configure in order to guarantee reproducible build. Without it the autodetection disables it because the `test x"$HAVE_CURL" = x"yes" -a x"$HAVE_HMAC" = x"yes"' condition is not met.
Thanks a lot.
Created attachment 1210039 [details] fix of wrong config file
What do you think about patch from comment #3? With this patch I has been able to build this package in rawhide.
While it works for you, this will not be acceptable for upstream. The right place for fixing are the autotools macros to detect HMAC availability correctly with old and new OpenSSL.
This issue has been resolved in rawhide. Related Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=16133497