From: "Stephen C. Biggs" <s_c_biggs@bigfoot.com>
To: cygwin <cygwin@cygwin.com>
Subject: Bogus hostname forcing in RedHat source RPMS
Date: Sun, 17 Dec 2000 17:39:00 -0000 [thread overview]
Message-ID: <3A3CFA31.25027.A25338@localhost> (raw)
Trying to install (rpm --rebuild) libtool from source rpm downloaded
from ftp.redhat.com bombs because it looks like the SPEC file is
trying to force an invalid host type (i386-pc-cygwin_nt-4.0 when it
SHOULD be i686-pc-cygwin) if it sees CYGWIN.
Going to the source directory of the installed code and running
./configure (with everything but the hostname) and make/make
install works just fine.
This seems to be the case for all of the source rpms (?) (I tried two,
libtool and grep).
I really know nothing about how to use RPM except for the basic
stuff, so if there is a way to override this host name forcing, please
advise.
This is a real shame, if there is no way to override the bogus
hostname, because, with my port for RPM 4.0, cygwin users can
rebuild and use almost all of the nifty Linux tools that redhat has.
Output from my attempt.
$ rpm --rebuild libtool-1.3.5-8.src.rpm
Installing libtool-1.3.5-8.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.70003
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf libtool-1.3.5
+ /bin/gzip -dc /usr/src/redhat/SOURCES/libtool-1.3.5.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd libtool-1.3.5
+ /bin/id -u
+ [ 500 = 0 ]
+ /bin/id -u
+ [ 500 = 0 ]
+ /bin/chmod -Rf a+r,g-w,o-w .
+ echo Patch #1 (libtool-1.2f-cache.patch):
Patch #1 (libtool-1.2f-cache.patch):
+ patch -p1 -s
+ echo Patch #2 (libtool-1.3.5-mktemp.patch):
Patch #2 (libtool-1.3.5-mktemp.patch):
+ patch -p1 -s
+ echo Patch #3 (libtool-1.3.5-nonneg.patch):
Patch #3 (libtool-1.3.5-nonneg.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.56589
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd libtool-1.3.5
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ export CFLAGS
+ CXXFLAGS=-O2 -march=i386 -mcpu=i686
+ export CXXFLAGS
+ FFLAGS=-O2 -march=i386 -mcpu=i686
+ export FFLAGS
+ [ -f configure.in ]
+ /bin/true --copy --force
+ ./configure i386-pc-cygwin_nt-4.0 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/usr/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/usr/var --shareds
tatedir=/usr/com --mandir=/usr/man --
infodir=/usr/info
configure: warning: i386-pc-cygwin_nt-4.0: invalid host type
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=i386 -mcpu=i686 ) works... yes
checking whether the C compiler (gcc -O2 -march=i386 -mcpu=i686 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking host system type... Invalid configuration `i386-pc-cygwin_nt-4.0': machine `i386-pc-cygwin_nt' not recognized
checking build system type... Invalid configuration `i386-pc-cygwin_nt-4.0': machine `i386-pc-cygwin_nt' not recognized
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating tests/Makefile
configuring in libltdl
running /bin/sh ./configure i386-pc-cygwin_nt-4.0 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/usr/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/us
r/var --sharedstatedir=/usr/com --mandir=/u
configure: warning: i386-pc-cygwin_nt-4.0: invalid host type
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O2 -march=i386 -mcpu=i686 ) works... yes
checking whether the C compiler (gcc -O2 -march=i386 -mcpu=i686 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for working const... yes
checking for inline... inline
checking host system type... Invalid configuration `i386-pc-cygwin_nt-4.0': machine `i386-pc-cygwin_nt' not recognized
checking build system type... Invalid configuration `i386-pc-cygwin_nt-4.0': machine `i386-pc-cygwin_nt' not recognized
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache .././config.cache
loading cache .././config.cache within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
configure: error: ./configure failed for libltdl
Bad exit status from /var/tmp/rpm-tmp.87149 (%build)
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2000-12-17 17:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-17 17:39 Stephen C. Biggs [this message]
2000-12-17 18:00 ` Charles S. Wilson
2000-12-17 18:37 ` Stephen C. Biggs
2000-12-18 1:28 Evan McLean
2000-12-18 21:10 ` Stephen C. Biggs
2000-12-18 5:57 Earnie Boyd
2000-12-18 21:09 ` Stephen C. Biggs
2000-12-18 6:14 Earnie Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A3CFA31.25027.A25338@localhost \
--to=s_c_biggs@bigfoot.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).