/usr/bin/ftp in ftp-0.17-75.fc28.x86_64 has not been linked with the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config. It seems that the %build section in the RPM spec file does not attempt to inject LDFLAGS at all. See https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md for information on RPM macros and environment variables provided by the build environment.
Created attachment 1401260 [details] spec patch
(In reply to Jan Synacek from comment #1) > Created attachment 1401260 [details] > spec patch This seems problematic: + s,^LDFLAGS=.*$,LDFLAGS=\$(RPM_LD_FLAGS),; I think RPM_LD_FLAGS can contain commas (“-Wl,-z,now”), so I don't see how this can work reliably.
I think that it's working correctly: https://koji.fedoraproject.org/koji/taskinfo?taskID=25342138 I'm not able to explain it, though:)
(In reply to Jan Synacek from comment #3) > I'm not able to explain it, though:) The $ sign is escaped, so the literal "$(RPM_LD_FLAGS)" goes into the MCONFIG file. The variable is later turned into the correct flags.
(In reply to Jan Synacek from comment #4) > (In reply to Jan Synacek from comment #3) > > I'm not able to explain it, though:) > > The $ sign is escaped, so the literal "$(RPM_LD_FLAGS)" goes into the > MCONFIG file. The variable is later turned into the correct flags. Yes, I see it now as well. This should work reliably after all.
ftp-0.17-75.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2a86032f6e
ftp-0.17-76.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e026aa2225
ftp-0.17-75.fc27 has been pushed to the Fedora 27 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-2018-2a86032f6e
ftp-0.17-76.fc28 has been pushed to the Fedora 28 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-2018-e026aa2225
ftp-0.17-75.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
ftp-0.17-76.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.