Bug 1384065 - amanda-3.3.9-3.fc26 FTBFS: File is not found: .../usr/sbin/activate-devpay
Summary: amanda-3.3.9-3.fc26 FTBFS: File is not found: .../usr/sbin/activate-devpay
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: amanda
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Josef Ridky
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-12 12:58 UTC by Jitka Plesnikova
Modified: 2016-10-20 08:43 UTC (History)
6 users (show)

Fixed In Version: amanda-3.4-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-20 08:43:04 UTC
Type: Bug


Attachments (Terms of Use)
fix of wrong config file (438 bytes, patch)
2016-10-13 11:44 UTC, Josef Ridky
no flags Details | Diff

Description Jitka Plesnikova 2016-10-12 12:58:59 UTC
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

Comment 1 Petr Pisar 2016-10-13 09:51:19 UTC
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.

Comment 2 Josef Ridky 2016-10-13 09:56:40 UTC
Thanks a lot.

Comment 3 Josef Ridky 2016-10-13 11:44:55 UTC
Created attachment 1210039 [details]
fix of wrong config file

Comment 4 Josef Ridky 2016-10-13 11:48:36 UTC
What do you think about patch from comment #3? With this patch I has been able to build this package in rawhide.

Comment 5 Petr Pisar 2016-10-13 13:32:28 UTC
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.

Comment 6 Josef Ridky 2016-10-20 08:43:04 UTC
This issue has been resolved in rawhide.

Related Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=16133497


Note You need to log in before you can comment on or make changes to this bug.