Subject: pkg/26966: /usr/pkgsrc/sysutils/cdrdao won't build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cdrdao.20.glisten@spamgourmet.com>
List: pkgsrc-bugs
Date: 09/15/2004 18:18:16
>Number: 26966
>Category: pkg
>Synopsis: make blows up in configure step
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 15 23:53:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Charlie Root
>Release: NetBSD 1.6.2_STABLE
>Organization:
The University of Chicago Library
>Environment:
System: NetBSD jfcl.lib.uchicago.edu 1.6.2_STABLE NetBSD 1.6.2_STABLE (JFCL) #1: Thu Jul 29 18:06:18 CDT 2004 root@test-keith:/usr/src/sys/arch/i386/compile/JFCL i386
Architecture: i386
Machine: i386
>Description:
# cd /usr/pkgsrc/sysutils/cdrdao
# make
===> do-fetch [cdrdao-1.1.9] ===> Checking for vulnerabilities in cdrdao-1.1.9
===> configure-message [cdrdao-1.1.9] ===> Configuring for cdrdao-1.1.9
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking build system type... i386-unknown-netbsdelf1.6.2.
checking host system type... i386--netbsdelf
checking for i386--netbsdelf-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
*** Error code 77
Stop.
make: stopped in /usr/pkgsrc/sysutils/cdrdao
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/sysutils/cdrdao
config.log blows up with this:
configure:2250: gcc -O2 -I/usr/pkg/include -I/usr/pkg/include -L../paranoia -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conft
est.c >&5
gcc: installation problem, cannot exec `-m': No such file or directory
configure:2253: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "cdrdao"
| #define PACKAGE_TARNAME "cdrdao"
| #define PACKAGE_VERSION "1.1.9"
| #define PACKAGE_STRING "cdrdao 1.1.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "cdrdao"
| #define VERSION "1.1.9"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
But this C snippet only blows up because of the directory named "specs" in work/cdrdao-1.1.9/. If I
mv specs FEH, and manually invoke the above gcc command line on the C snippet, it works.
# gcc -O2 -I/usr/pkg/include -I/usr/pkg/include -L../paranoia -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c
gcc: installation problem, cannot exec `-m': No such file or directory
# mv specs FEH
# gcc -O2 -I/usr/pkg/include -I/usr/pkg/include -L../paranoia -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c
# mv FEH specs
# gcc -O2 -I/usr/pkg/include -I/usr/pkg/include -L../paranoia -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c
gcc: installation problem, cannot exec `-m': No such file or directory
>How-To-Repeat:
make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: