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

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-07-15 12:48:19 UTC
Target Upstream Version:
Embargoed:


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.