Bug 161087 - Problem with configure probing for serial ports during build.
Summary: Problem with configure probing for serial ports during build.
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: minicom
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Martin Stransky
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2005-06-20 14:57 UTC by Andreas Thienemann
Modified: 2007-11-30 22:07 UTC (History)
0 users

Clone Of:
Last Closed: 2005-07-15 12:48:19 UTC

Attachments (Terms of Use)

Description Andreas Thienemann 2005-06-20 14:57:42 UTC
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
serial port
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)

Comment 1 Martin Stransky 2005-07-15 12:48:19 UTC
fixed in rawhide - minicom-2.1

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