Opened 2 years ago

Last modified 3 months ago

#65465 new defect

gstreamer1-gst-plugins-bad @1.16.2_4+x11 build failure — at Version 2

Reported by: vpogrebi (Valeriy) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm64 Cc:
Port: gstreamer1-gst-plugins-bad

Description (last modified by ryandesign (Ryan Carsten Schmidt))

webkit2-gtk port install fails on

Command: sudo port install webkit2-gtk
OS: macOS Monterey v12.4

Output:

--->  Computing dependencies for webkit2-gtk
The following dependencies will be installed: 
 aalib
 double-conversion
 fftw-3-single
 gstreamer1-gst-plugins-bad
 gstreamer1-gst-plugins-good
 hyphen
 libcaca
 libdv
 libshout2
 mpg123
 pcre2
 pulseaudio
 qt5-qtbase
 qt5-qtdeclarative
 qt5-qtmacextras
 qt5-qtsvg
 speexDSP
 taglib
 twolame
 wavpack
 woff2
Continue? [Y/n]: Y
--->  Fetching archive for gstreamer1-gst-plugins-bad
--->  Attempting to fetch gstreamer1-gst-plugins-bad-1.16.2_4+x11.darwin_21.arm64.tbz2 from https://packages.macports.org/gstreamer1-gst-plugins-bad
--->  Attempting to fetch gstreamer1-gst-plugins-bad-1.16.2_4+x11.darwin_21.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gstreamer1-gst-plugins-bad
--->  Attempting to fetch gstreamer1-gst-plugins-bad-1.16.2_4+x11.darwin_21.arm64.tbz2 from https://ema.uk.packages.macports.org/gstreamer1-gst-plugins-bad
--->  Building gstreamer1-gst-plugins-bad
Error: Failed to build gstreamer1-gst-plugins-bad: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gstreamer1-gst-plugins-bad/gstreamer1-gst-plugins-bad/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port webkit2-gtk failed

Change History (3)

Changed 2 years ago by vpogrebi (Valeriy)

Attachment: main.log added

gstreamer1-gst-plugins-bad/main.log

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: gstreamer1-gst-plugins-bad added
Summary: webkit2-gtk Mac port issuegstreamer1-gst-plugins-bad @1.16.2_4+x11 build failure

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: arm64 added

I see you're building for arm64 and the error appears to be in assembly code; maybe it's trying to use Intel assembly code, which of course wouldn't work on arm64. I also see the port is quite outdated; maybe this issue is already fixed in the latest version. However we did have a successful build of this version of this port on the automated build system on Monterey on arm64 last time we tried which was in November, so it could be a problem introduced by an update of one of the dependencies. In any case, this port and the other gstreamer1 ports that it relates to have no maintainer; someone would have to volunteer to work on updating and/or fixing them.

In file included from yadif.c:70:
./yadif_template.c:237:5: error: unknown token in expression
    FILTER
    ^
./yadif_template.c:116:13: note: expanded from macro 'FILTER'
            "pxor      "MM"7, "MM"7 \n\t"\
            ^
<inline asm>:1:12: note: instantiated into assembly here
        pxor      %mm7, %mm7 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: invalid operand
    FILTER
    ^
./yadif_template.c:116:13: note: expanded from macro 'FILTER'
            "pxor      "MM"7, "MM"7 \n\t"\
            ^
<inline asm>:1:12: note: instantiated into assembly here
        pxor      %mm7, %mm7 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: expected ')' in parentheses expression
    FILTER
    ^
./yadif_template.c:116:39: note: expanded from macro 'FILTER'
            "pxor      "MM"7, "MM"7 \n\t"\
                                      ^
<inline asm>:2:17: note: instantiated into assembly here
        movd       (x16,x10), %mm0 
                       ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: invalid operand
    FILTER
    ^
./yadif_template.c:116:39: note: expanded from macro 'FILTER'
            "pxor      "MM"7, "MM"7 \n\t"\
                                      ^
<inline asm>:2:13: note: instantiated into assembly here
        movd       (x16,x10), %mm0 
                   ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: unknown token in expression
    FILTER
    ^
./yadif_template.c:117:13: note: expanded from macro 'FILTER'
            LOAD("(%[cur],%[mrefs])", MM"0") /* c = cur[x-refs] */\
            ^
./yadif_template.c:41:39: note: expanded from macro 'LOAD'
            MOV"       "mem", "dst" \n\t"\
                                      ^
<inline asm>:3:12: note: instantiated into assembly here
        punpcklbw %mm7, %mm0 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: invalid operand
    FILTER
    ^
./yadif_template.c:117:13: note: expanded from macro 'FILTER'
            LOAD("(%[cur],%[mrefs])", MM"0") /* c = cur[x-refs] */\
            ^
./yadif_template.c:41:39: note: expanded from macro 'LOAD'
            MOV"       "mem", "dst" \n\t"\
                                      ^
<inline asm>:3:12: note: instantiated into assembly here
        punpcklbw %mm7, %mm0 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: expected ')' in parentheses expression
    FILTER
    ^
./yadif_template.c:117:13: note: expanded from macro 'FILTER'
            LOAD("(%[cur],%[mrefs])", MM"0") /* c = cur[x-refs] */\
            ^
./yadif_template.c:42:39: note: expanded from macro 'LOAD'
            "punpcklbw "MM"7, "dst" \n\t"
                                      ^
<inline asm>:4:17: note: instantiated into assembly here
        movd       (x16,x9), %mm1 
                       ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: invalid operand
    FILTER
    ^
./yadif_template.c:117:13: note: expanded from macro 'FILTER'
            LOAD("(%[cur],%[mrefs])", MM"0") /* c = cur[x-refs] */\
            ^
./yadif_template.c:42:39: note: expanded from macro 'LOAD'
            "punpcklbw "MM"7, "dst" \n\t"
                                      ^
<inline asm>:4:13: note: instantiated into assembly here
        movd       (x16,x9), %mm1 
                   ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: unknown token in expression
    FILTER
    ^
./yadif_template.c:118:13: note: expanded from macro 'FILTER'
            LOAD("(%[cur],%[prefs])", MM"1") /* e = cur[x+refs] */\
            ^
./yadif_template.c:41:39: note: expanded from macro 'LOAD'
            MOV"       "mem", "dst" \n\t"\
                                      ^
<inline asm>:5:12: note: instantiated into assembly here
        punpcklbw %mm7, %mm1 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: invalid operand
    FILTER
    ^
./yadif_template.c:118:13: note: expanded from macro 'FILTER'
            LOAD("(%[cur],%[prefs])", MM"1") /* e = cur[x+refs] */\
            ^
./yadif_template.c:41:39: note: expanded from macro 'LOAD'
            MOV"       "mem", "dst" \n\t"\
                                      ^
<inline asm>:5:12: note: instantiated into assembly here
        punpcklbw %mm7, %mm1 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: unknown token in expression
    FILTER
    ^
./yadif_template.c:118:13: note: expanded from macro 'FILTER'
            LOAD("(%[cur],%[prefs])", MM"1") /* e = cur[x+refs] */\
            ^
./yadif_template.c:42:39: note: expanded from macro 'LOAD'
            "punpcklbw "MM"7, "dst" \n\t"
                                      ^
<inline asm>:6:20: note: instantiated into assembly here
        movd       (x15), %mm2 
                          ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: invalid operand
    FILTER
    ^
./yadif_template.c:118:13: note: expanded from macro 'FILTER'
            LOAD("(%[cur],%[prefs])", MM"1") /* e = cur[x+refs] */\
            ^
./yadif_template.c:42:39: note: expanded from macro 'LOAD'
mv -f .deps/libgstsiren_la-rmlt.Tpo .deps/libgstsiren_la-rmlt.Plo
            "punpcklbw "MM"7, "dst" \n\t"
                                      ^
<inline asm>:6:20: note: instantiated into assembly here
        movd       (x15), %mm2 
                          ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: unknown token in expression
    FILTER
    ^
./yadif_template.c:119:13: note: expanded from macro 'FILTER'
            LOAD("(%["prev2"])", MM"2") /* prev2[x] */\
            ^
./yadif_template.c:41:39: note: expanded from macro 'LOAD'
            MOV"       "mem", "dst" \n\t"\
                                      ^
<inline asm>:7:12: note: instantiated into assembly here
        punpcklbw %mm7, %mm2 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: invalid operand
    FILTER
    ^
./yadif_template.c:119:13: note: expanded from macro 'FILTER'
            LOAD("(%["prev2"])", MM"2") /* prev2[x] */\
            ^
./yadif_template.c:41:39: note: expanded from macro 'LOAD'
            MOV"       "mem", "dst" \n\t"\
                                      ^
<inline asm>:7:12: note: instantiated into assembly here
        punpcklbw %mm7, %mm2 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: unknown token in expression
    FILTER
    ^
./yadif_template.c:119:13: note: expanded from macro 'FILTER'
            LOAD("(%["prev2"])", MM"2") /* prev2[x] */\
            ^
./yadif_template.c:42:39: note: expanded from macro 'LOAD'
            "punpcklbw "MM"7, "dst" \n\t"
                                      ^
<inline asm>:8:20: note: instantiated into assembly here
        movd       (x16), %mm3 
                          ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: invalid operand
    FILTER
    ^
./yadif_template.c:119:13: note: expanded from macro 'FILTER'
            LOAD("(%["prev2"])", MM"2") /* prev2[x] */\
            ^
./yadif_template.c:42:39: note: expanded from macro 'LOAD'
            "punpcklbw "MM"7, "dst" \n\t"
                                      ^
<inline asm>:8:20: note: instantiated into assembly here
        movd       (x16), %mm3 
                          ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: unknown token in expression
    FILTER
    ^
./yadif_template.c:120:13: note: expanded from macro 'FILTER'
            LOAD("(%["next2"])", MM"3") /* next2[x] */\
            ^
./yadif_template.c:41:39: note: expanded from macro 'LOAD'
            MOV"       "mem", "dst" \n\t"\
                                      ^
<inline asm>:9:12: note: instantiated into assembly here
        punpcklbw %mm7, %mm3 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: invalid operand
    FILTER
    ^
./yadif_template.c:120:13: note: expanded from macro 'FILTER'
            LOAD("(%["next2"])", MM"3") /* next2[x] */\
            ^
./yadif_template.c:41:39: note: expanded from macro 'LOAD'
            MOV"       "mem", "dst" \n\t"\
                                      ^
<inline asm>:9:12: note: instantiated into assembly here
        punpcklbw %mm7, %mm3 
                  ^
In file included from yadif.c:70:
./yadif_template.c:237:5: error: unknown token in expression
    FILTER
    ^
./yadif_template.c:120:13: note: expanded from macro 'FILTER'
            LOAD("(%["next2"])", MM"3") /* next2[x] */\
            ^
./yadif_template.c:42:39: note: expanded from macro 'LOAD'
            "punpcklbw "MM"7, "dst" \n\t"
                                      ^
<inline asm>:10:12: note: instantiated into assembly here
        movq      %mm3, %mm4 
                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Note: See TracTickets for help on using tickets.