pkgsrc-Bugs archive

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

Re: pkg/58334 (emulators/qemu: building from pkgsrc fails due to extra files not found in PLIST)



Hello,

I'm running current pkgsrc and I do have sysutils/dtb installed.

>From `make configure` here is the summary section for dtc:

  Subprojects
    berkeley-softfloat-3                         : YES
    berkeley-testfloat-3                         : YES
    dtc                                          : YES
    keycodemapdb                                 : YES

And here is the dtc subproject output:

Executing subproject dtc

dtc| Project name: dtc
dtc| Project version: 1.6.0
dtc| C compiler for the host machine: gcc -m64 -mcx16 (gcc 10.5.0 "gcc (nb3 20231008) 10.5
.0")
dtc| C linker for the host machine: gcc -m64 -mcx16 ld.bfd 2.34
dtc| Compiler for C supports arguments -Wpointer-arith: YES
dtc| Compiler for C supports arguments -Wcast-qual: YES
dtc| Compiler for C supports arguments -Wnested-externs: YES (cached)
dtc| Compiler for C supports arguments -Wstrict-prototypes: YES (cached)
dtc| Compiler for C supports arguments -Wmissing-prototypes: YES (cached)
dtc| Compiler for C supports arguments -Wredundant-decls: YES (cached)
dtc| Compiler for C supports arguments -Wshadow: YES
dtc| Dependency yaml-0.1 skipped: feature yaml disabled
dtc| Run-time dependency valgrind found: NO (tried pkgconfig)
dtc| Program python found: NO (disabled by: python )
dtc| Program swig skipped: feature python disabled
dtc| Compiler for C supports link arguments -Wl,--version-script=/usr/pkgsrc/emulators/qem
u/work/qemu-9.0.0/subprojects/dtc/libfdt/version.lds: YES
dtc| Build targets in project: 3
dtc| Subproject dtc finished

The config.log file is attached.

-- Erik
# QEMU configure log Mon Jun 10 12:24:50 EDT 2024
# Configured with: '/usr/pkgsrc/emulators/qemu/work/qemu-9.0.0/configure' '--disable-jack' '--disable-debug-info' '--disable-gtk' '--enable-opengl' '--enable-sdl' '--disable-virtfs' '--enable-spice' '--enable-libiscsi' '--prefix=/usr/pkg' '--interp-prefix=/usr/pkg/share/qemu' '--sysconfdir=/usr/pkg/etc/qemu' '--python=/usr/pkg/bin/python3.11' '--smbd=/usr/pkg/sbin/smbd' '--mandir=/usr/pkg/man' '--enable-curses' '--enable-docs' '--enable-stack-protector' '--disable-bsd-user' '--enable-plugins'

#
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __linux__ not defined
    2 | #error __linux__ not defined
      |  ^~~~~
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error _WIN32 not defined
    2 | #error _WIN32 not defined
      |  ^~~~~
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __OpenBSD__ not defined
    2 | #error __OpenBSD__ not defined
      |  ^~~~~
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __sun__ not defined
    2 | #error __sun__ not defined
      |  ^~~~~
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __HAIKU__ not defined
    2 | #error __HAIKU__ not defined
      |  ^~~~~
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __FreeBSD__ not defined
    2 | #error __FreeBSD__ not defined
      |  ^~~~~
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __FreeBSD_kernel__ not defined
    2 | #error __FreeBSD_kernel__ not defined
      |  ^~~~~
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __DragonFly__ not defined
    2 | #error __DragonFly__ not defined
      |  ^~~~~
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __i386__ not defined
    2 | #error __i386__ not defined
      |  ^~~~~
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __ILP32__ not defined
    2 | #error __ILP32__ not defined
      |  ^~~~~
gcc -m64 -mcx16 -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -Werror -fPIE -DPIE -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -L/usr/pkg/lib -Wl,-zrelro -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pie
gcc -m64 -mcx16 -I/usr/pkg/include -L/usr/pkg/lib -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/krb5 -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -L/usr/pkg/lib -Wl,-zrelro -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
config-temp/qemu-conf.c:2:3: error: #error LITTLE
    2 | # error LITTLE
      |   ^~~~~
gcc -m32 -o config-temp/qemu-conf.o -c config-temp/qemu-conf.c
gcc -m32 -r -nostdlib -o config-temp/qemu-conf2.o config-temp/qemu-conf.o -lgcc
ld: -r and -pie may not be used together
gcc -m32 -o config-temp/qemu-conf.o -c config-temp/qemu-conf.c
gcc -m32 -r -nostdlib -o config-temp/qemu-conf2.o config-temp/qemu-conf.o -lgcc
ld: -r and -pie may not be used together
gcc -m64 -o config-temp/qemu-conf.o -c config-temp/qemu-conf.c
gcc -m64 -r -nostdlib -o config-temp/qemu-conf2.o config-temp/qemu-conf.o -lgcc
ld: -r and -pie may not be used together


Home | Main Index | Thread Index | Old Index