tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgsrc/lang/erlang fails on NetBSD 10



Hi,

Is this a simple fix? pkgsrc from today (25-Dec-2023), NetBSD 10.0_RC1 from 2-December-2023:

=== Running configure in /usr/pkgsrc/lang/erlang/work/otp-OTP-26.2.1/erts === ./configure '--with-ssl=/usr' '--enable-threads' '--enable-kernel-poll' '--without-javac' '--without-odbc' '--without-dynamic-trace' '--prefix=/usr/local' '--mandir=/usr/local/man' '--enable-option-checking=yes' CFLAGS='-O2 -DMMAP_MAP_FIXED -D_NETBSD_SOURCE -I/usr/include' LDFLAGS='-Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/local/lib' --disable-option-checking --cache-file=/dev/null --srcdir="/usr/pkgsrc/lang/erlang/work/otp-OTP-26.2.1/erts"
checking build system type... x86_64-unknown-netbsd10.0
checking host system type... x86_64-unknown-netbsd10.0
checking target system type... x86_64-unknown-netbsd10.0
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/usr/pkgsrc/lang/erlang/work/otp-OTP-26.2.1/erts':
configure: error: C compiler cannot create executables
See `config.log' for more details
ERROR: /usr/pkgsrc/lang/erlang/work/otp-OTP-26.2.1/erts/configure failed!
kill: pgrp -4824: No such process
*** Error code 1

from config.log:

configure:3780: gcc -O2 -DMMAP_MAP_FIXED -D_NETBSD_SOURCE -I/usr/include -I/usr/include -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/local/lib conftest.c >&5
gcc: Invalid transform rule: l:termcap:
configure:3784: $? = 255
configure:3824: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main (void)
| {
|
|   ;
|   return 0;
| }
configure:3829: error: in `/usr/pkgsrc/lang/erlang/work/otp-OTP-26.2.1/lib/crypto':
configure:3832: error: C compiler cannot create executables
See `config.log' for more details

I haven't a clue what's going on here :(

Thanks,
John


Home | Main Index | Thread Index | Old Index