Red Hat Bugzilla – Bug 161087
Problem with configure probing for serial ports during build.
Last modified: 2007-11-30 17:07:18 EST
During a testbuild of minicom-2.00.0-19 in mock, the rebuild process
stops with the following error:
checking for default serial port device... configure: error: No suitable default
error: Bad exit status from /var/tmp/rpm-tmp.68348 (%build)
This bug is present in rawhide as well.
The problem stems from the fact that the configure script probes different
serial ports to see which one should be used by default.
This is problematic at best as it makes the build process unreproducible,
depending on the devices present on the buildhost.
A short discussion on #fedora-devel suggests the best way to deal with this
issue would be to pass /dev/modem or /dev/ttySx directly to the configure-script:
--enable-dfl-port=DEVFILE Set default /dev/.. modem device
(def: try common locations)
fixed in rawhide - minicom-2.1