Bug 1374357 - Unused configure options when building python3
Summary: Unused configure options when building python3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python3
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Charalampos Stratakis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-08 13:44 UTC by Petr Viktorin (pviktori)
Modified: 2016-09-17 00:57 UTC (History)
7 users (show)

Fixed In Version: python3-3.5.1-15.fc24 python3-3.5.2-4.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-17 00:57:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Viktorin (pviktori) 2016-09-08 13:44:38 UTC
When building the python3 RPM, there are the following warnings:

(debug build:)
configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-count-allocs, --with-call-profile

(normal build:)
configure: WARNING: unrecognized options: --disable-dependency-tracking

At least some of them are enabling patches that we already got rid of.


Example log: https://kojipkgs.fedoraproject.org//packages/python3/3.5.2/1.fc25/data/logs/x86_64/build.log

Comment 1 Charalampos Stratakis 2016-09-09 08:35:54 UTC
--with-count-allocs and --with-call-profile can be removed from the SPEC file since they are not used.

However the --disable-dependency-tracking is invoked by the rpm %configure macro used, which is defined in /usr/lib/rpm/macros.

Essentially the configure macro expands into that.

%configure \
  CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
  CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
  FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
  %{_configure} --host=%{_host} --build=%{_build} \\\
	--program-prefix=%{?_program_prefix} \\\
	--disable-dependency-tracking \\\
	--prefix=%{_prefix} \\\
	--exec-prefix=%{_exec_prefix} \\\
	--bindir=%{_bindir} \\\
	--sbindir=%{_sbindir} \\\
	--sysconfdir=%{_sysconfdir} \\\
	--datadir=%{_datadir} \\\
	--includedir=%{_includedir} \\\
	--libdir=%{_libdir} \\\
	--libexecdir=%{_libexecdir} \\\
	--localstatedir=%{_localstatedir} \\\
	--sharedstatedir=%{_sharedstatedir} \\\
	--mandir=%{_mandir} \\\
	--infodir=%{_infodir}

Comment 2 Fedora Update System 2016-09-12 16:18:40 UTC
python3-3.5.2-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e495d8af9a

Comment 3 Fedora Update System 2016-09-12 16:20:01 UTC
python3-3.5.1-15.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-80846dd659

Comment 4 Fedora Update System 2016-09-14 02:52:47 UTC
python3-3.5.1-15.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-80846dd659

Comment 5 Fedora Update System 2016-09-14 03:25:35 UTC
python3-3.5.2-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e495d8af9a

Comment 6 Fedora Update System 2016-09-14 14:08:27 UTC
python3-3.5.2-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d49f8ec161

Comment 7 Fedora Update System 2016-09-14 19:18:57 UTC
python3-3.5.1-15.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-09-16 01:25:25 UTC
python3-3.5.2-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d49f8ec161

Comment 9 Fedora Update System 2016-09-17 00:57:26 UTC
python3-3.5.2-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


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