Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20537 - minicom ebuild fails: No suitable default serial port
Summary: minicom ebuild fails: No suitable default serial port
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-06 11:11 UTC by Sascha Silbe
Modified: 2003-08-25 04:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Minicom 2.1 ebuild (minicom-2.1.ebuild,999 bytes, text/plain)
2003-08-07 05:52 UTC, Bryan Østergaard (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2003-05-06 11:11:13 UTC
The new minicom ebuild fails because it cannot find a default serial port using the old names (/dev/ttyS*).
Please either fix it to look for the DevFS names, too, or use the --enable-dfl-port configure option.



Reproducible: Always
Steps to Reproduce:
1. emerge -u minicom
2.
3.

Actual Results:  
[...]
checking for getopt_long... yes
checking for long file names... yes
checking for com line lock directory... /var/lock
checking for default serial port device... configure: error: No suitable default serial port

!!! ERROR: net-dialup/minicom-2.00.0 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed




Expected Results:  
Use /dev/tts/0 as default serial port.



Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.19-cube-8 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/vice/etc:/usr/share/config:/usr/kde/3.1/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/afs/modload /etc/afs/C /etc/afs/afsws /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 libg++ gtkhtml gdbm berkdb libwww gtk cdr -3dfx 3dnow -aalib acl afs -alsa apm -arts avi -bonobo crypt -cups dga -directfb doc -dvd encode -esd -evo -fbcon -ggi gif -gnome -gnome-libs -gphoto2 -gpm guile -icc -icc-pgo imap imlib ipv6 -java jpeg kde kerberos lcms ldap -matrox maildir mbox mikmod mmx monitor -motif mozilla mpeg -mule mysql nas ncurses nls -odbc oggvorbis opengl oss pam -pcmcia -pda pdflib -perl png -pnp postgres python qt qtmt quicktime readline -ruby samba sasl sdl slang -slp -snmp socks5 spell ssl -static -svga -tcltk -tcpd tetex tiff truetype -voodoo3 X xml xml2 -xmms xv -zeo zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Sankara Krishnamoorthy 2003-05-06 12:53:28 UTC
checking for com line lock directory... /var/lock
checking for default serial port device... /dev/tty8
checking for default baud rate... 38400

tty8 is symlink to vc/8

[ebuild   R  ] net-dialup/minicom-2.00.0

I do not have a serial port.

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-ck6 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif java jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga guile sdl gpm tcpd pam ssl perl python esd imlib oggvorbis motif opengl cdr X gtk gtk2 gnome -alsa -qt -kde"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"




Comment 2 Graham Forest 2003-06-28 01:11:57 UTC
So long, and thanks for all the fish
Comment 3 rob holland (RETIRED) gentoo-dev 2003-07-15 04:45:10 UTC
Can you tell me if you still see this?
Comment 4 Sascha Silbe 2003-07-15 14:04:50 UTC
Yes, it still fails to build:

[...]
checking for com line lock directory... /var/lock
checking for default serial port device... configure: error: No suitable default serial port

!!! ERROR: net-dialup/minicom-2.00.0 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed


Comment 5 rob holland (RETIRED) gentoo-dev 2003-07-22 01:22:59 UTC
not sure what to do from here, handing back to bug-wranglers I'm afraid
Comment 6 Bryan Østergaard (RETIRED) gentoo-dev 2003-08-05 11:34:52 UTC
Minicom 2.1 solves this problem amongst others. I'll submit an updated ebuild once http://alioth.debian.org/projects/minicom/ is responding.

btw. alioth.debian.org/projects/minicom/ is the new homepage for minicom.
Comment 7 Bryan Østergaard (RETIRED) gentoo-dev 2003-08-07 05:52:13 UTC
Created attachment 15673 [details]
Minicom 2.1 ebuild

Bumped version to 2.1 and changed homepage + src_uri.

Sascha could you test this? The ebuild emerges succesfully but I don't have a
modem around anymore.

For those interested here's the diff:
--- minicom-2.00.0.ebuild	2003-07-09 18:55:39.000000000 +0200
+++ minicom-2.1.ebuild	2003-08-07 14:43:25.000000000 +0200
@@ -1,10 +1,10 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /home/cvsroot/gentoo-x86/net-dialup/minicom/minicom-2.00.0.ebuild,v

1.10 2003/07/09 16:55:39 weeve Exp $
+# $Header: $

 DESCRIPTION="Serial Communication Program"
-SRC_URI="http://www.netsonic.fi/~walker/${P}.src.tar.gz"
-HOMEPAGE="http://www.netsonic.fi/~walker/minicom.html"
+SRC_URI="http://alioth.debian.org/download.php/123/${P}.tar.gz"
+HOMEPAGE="http://alioth.debian.org/projects/minicom"

 SLOT="0"
 LICENSE="GPL-2"
@@ -24,7 +24,6 @@
	doins ${FILESDIR}/minirc.dfl

	dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
-
 }
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-08-24 06:00:00 UTC
2.1 is in cvs
Comment 9 Sascha Silbe 2003-08-24 12:50:31 UTC
>>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/minicom-2.1.tar.gz
--20:50:57--  http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/minicom-2.1.tar.gz
           => `/usr/portage/distfiles/minicom-2.1.tar.gz'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/minicom-2.1.tar.gz [following]
--20:50:58--  http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/minicom-2.1.tar.gz
           => `/usr/portage/distfiles/minicom-2.1.tar.gz'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
20:51:00 ERROR 404: Not Found.

>>> Downloading http://alioth.debian.org/download.php/123/minicom-2.1.tar.gz
--20:51:00--  http://alioth.debian.org/download.php/123/minicom-2.1.tar.gz
           => `/usr/portage/distfiles/minicom-2.1.tar.gz'
Resolving alioth.debian.org... done.
Connecting to alioth.debian.org[192.87.30.200]:80... connected.
HTTP request sent, awaiting response... 
Read error (Connection reset by peer) in headers.
Retrying.

[...]

--21:09:01--  http://alioth.debian.org/download.php/123/minicom-2.1.tar.gz
  (try: 5) => `/usr/portage/distfiles/minicom-2.1.tar.gz'
Connecting to alioth.debian.org[192.87.30.200]:80... connected.
HTTP request sent, awaiting response... 
Read error (Connection reset by peer) in headers.
Giving up.

!!! Couldn't download minicom-2.1.tar.gz. Aborting.

Comment 10 Sascha Silbe 2003-08-25 04:11:09 UTC
OK, 2.1 is on ibiblio.org now and works fine on both of my systems.
Thanks!