freeipa

FreeIPA is an integrated Identity and Authentication solution for Linux/UNIX networked environments.  |  http://www.freeipa.org/

#5873 Build warning: automake possible forward-incompatibility without 'subdir-objects'

Created a year ago by mbasti
Modified 7 months ago

ipa-kdb/Makefile.am:5: warning: source file '$(KRB5_UTIL_DIR)/ipa_krb5.c' is in a subdirectory,
ipa-kdb/Makefile.am:5: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
ipa-kdb/Makefile.am:5: warning: source file '$(KRB5_UTIL_DIR)/ipa_pwd.c' is in a subdirectory,
ipa-kdb/Makefile.am:5: but option 'subdir-objects' is disabled
ipa-kdb/Makefile.am:63: warning: source file 'tests/ipa_kdb_tests.c' is in a subdirectory,
ipa-kdb/Makefile.am:63: but option 'subdir-objects' is disabled
ipa-sam/Makefile.am:10: warning: source file '$(KRB5_UTIL_DIR)/ipa_krb5.c' is in a subdirectory,
ipa-sam/Makefile.am:10: but option 'subdir-objects' is disabled
ipa-sam/Makefile.am:10: warning: source file '$(KRB5_UTIL_DIR)/ipa_pwd_ntlm.c' is in a subdirectory,
ipa-sam/Makefile.am:10: but option 'subdir-objects' is disabled
ipa-slapi-plugins/ipa-pwd-extop/Makefile.am:6: warning: source file '$(KRB5_UTIL_DIR)/ipa_krb5.c' is in a subdirectory,
ipa-slapi-plugins/ipa-pwd-extop/Makefile.am:6: but option 'subdir-objects' is disabled
ipa-slapi-plugins/ipa-pwd-extop/Makefile.am:6: warning: source file '$(KRB5_UTIL_DIR)/ipa_pwd.c' is in a subdirectory,
ipa-slapi-plugins/ipa-pwd-extop/Makefile.am:6: but option 'subdir-objects' is disabled
ipa-slapi-plugins/ipa-pwd-extop/Makefile.am:6: warning: source file '$(KRB5_UTIL_DIR)/ipa_pwd_ntlm.c' is in a subdirectory,
ipa-slapi-plugins/ipa-pwd-extop/Makefile.am:6: but option 'subdir-objects' is disabled

We should enable 'subdir-objects'

I tried to fix this but found that it wasn't quite as 'easyfix' as I was expecting. I wrote up a description of what I tried here: http://blog.benjaminlipton.com/2016/06/14/automake.html. I'm not sure my conclusions in that post are correct, but hopefully it can be a starting point for the next person who looks at this.

This ticket is out of scope of 4.4.0 release. Moving to 4.4.1. Note that 4.4.1 needs to be triaged, therefore not everything will be implemented.

moving out tickets not implemented in 4.4.1

4.4.2 is a stabilization milestone. If this bug is important stabilization bug then please put it to NEEDS TRIAGE milestone for retriage.

7 months ago

Metadata Update from @mbasti:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.5 backlog

Login to comment on this ticket.

defect

IPA

0

easyfix

no

0

cancel