[Bug 271123] multimedia/mlt7 does not build on current 1400086

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 28 19:02:26 BST 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271123

            Bug ID: 271123
           Summary: multimedia/mlt7 does not build on current 1400086
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: pr at aoek.com
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org
 Attachment #241832 text/plain
         mime type:

Created attachment 241832
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241832&action=edit
Workaround to fix clang15 build of multimedia/mlt7

Error message when poudriere building multimedia/mlt7 on current 1400086:
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/src/VBox/Devices/PC/ipxe/src/core/settings.c:289:8:
error: fields must have a constant size: 'variable length array in structure'
extension will never be supported
                char name[ strlen ( name ) + 1 /* NUL */ ];
                     ^
11 warnings and 1 error generated.
kmk: ***
[/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/out/freebsd.amd64/release/obj/iPxeBaseBin/src/core/settings.o]
Error 1
The failing command:
@clang14 -m32 -c -O2 -fno-pie -fcommon -ffreestanding -ffunction-sections
-march=i386 -fomit-frame-pointer -fstrength-reduce -falign-jumps=1
-falign-loops=1 -Os -falign-functions=1 -mstack-alignment=2 -mregparm=3 -mrtd
-freg-struct-return -fshort-wchar -Ui386 -Ulinux -include compiler.h -Wall -W
-Wformat-nonliteral -fno-stack-protector -fno-dwarf2-cfi-asm -Wno-address
-I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/src/VBox/Devices/PC/ipxe/src
-I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/src/VBox/Devices/PC/ipxe/src/include
-I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/src/VBox/Devices/PC/ipxe/src/arch/x86/include
-I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/src/VBox/Devices/PC/ipxe/src/arch/i386/include
-I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/src/VBox/Devices/PC/ipxe/src/arch/i386/include/pcbios
-I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/include
-I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/out/freebsd.amd64/release
-DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_FREEBSD -D__FREEBSD__
-DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING
-DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\"
-DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\"
-DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\"
-DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DARCH=i386
-DPLATFORM=pcbios -DVERSION_MAJOR=1 -DVERSION_MINOR=0 -DVERSION_PATCH=0
-DVERSION=\"1.0.0+\" -D_build_id=0xaffeaffe -DOBJECT=settings
-Wp,-MD,/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/out/freebsd.amd64/release/obj/iPxeBaseBin/src/core/settings.o.dep
-Wp,-MT,/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/out/freebsd.amd64/release/obj/iPxeBaseBin/src/core/settings.o
-Wp,-MP -o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/out/freebsd.amd64/release/obj/iPxeBaseBin/src/core/settings.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/src/VBox/Devices/PC/ipxe/src/core/settings.c
*** Error code 2

Stop.
make: stopped in /usr/ports/emulators/virtualbox-ose
=>> Cleaning up wrkdir
===>  Cleaning for virtualbox-ose-6.1.44_1
build of emulators/virtualbox-ose | virtualbox-ose-6.1.44_1 ended at Thu Apr 27
20:12:53 CEST 2023
build time: 00:14:24
!!! build failure encountered !!!

Attached workaround.

The issue has already been fixed upstream, the fix works for clang15 builds
until the next release.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list