Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
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

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

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.