Opened 5 years ago
Last modified 3 years ago
#59941 assigned defect
ffmpeg @4.2.2: error: unknown type name 'u_long'; did you mean 'long'?
Reported by: | sclsj | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
Port: | ffmpeg |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
port install ffmpeg Portfile changed since last build; discarding previous state. ---> Computing dependencies for ffmpeg ---> Fetching archive for ffmpeg ---> Attempting to fetch ffmpeg-4.2.2_0+gpl2.darwin_17.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/ffmpeg ---> Attempting to fetch ffmpeg-4.2.2_0+gpl2.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/ffmpeg ---> Attempting to fetch ffmpeg-4.2.2_0+gpl2.darwin_17.x86_64.tbz2 from http://nue.de.packages.macports.org/ffmpeg ---> Fetching distfiles for ffmpeg ---> Attempting to fetch ffmpeg-4.2.2.tar.xz from https://pek.cn.distfiles.macports.org/macports/distfiles/ffmpeg ---> Verifying checksums for ffmpeg ---> Extracting ffmpeg ---> Applying patches to ffmpeg ---> Configuring ffmpeg ---> Building ffmpeg Error: Failed to build ffmpeg: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port ffmpeg failed
Attachments (1)
Change History (5)
Changed 5 years ago by sclsj
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu added |
---|---|
Description: | modified (diff) |
Owner: | set to dbevans |
Status: | new → assigned |
Summary: | FFmpeg 4.2.2 on MacPorts 2.6.2 failed to build → fmpeg @4.2.2: error: unknown type name 'u_long'; did you mean 'long'? |
Remember to use WikiFormatting when writing in Trac.
There are seven separate build attempts in the attached main.log, but the problem appears to be:
:info:build In file included from libavutil/cpu.c:44: :info:build In file included from /usr/include/sys/sysctl.h:83: :info:build /usr/include/sys/ucred.h:91:2: error: unknown type name 'u_long'; did you mean 'long'? :info:build u_long cr_ref; /* reference count */ :info:build ^ :info:build /usr/include/sys/ucred.h:133:9: error: unknown type name 'u_int' :info:build u_int cr_version; /* structure layout version */ :info:build ^ :info:build In file included from libavutil/cpu.c:44: :info:build In file included from /usr/include/sys/sysctl.h:84: :info:build /usr/include/sys/proc.h:113:2: error: unknown type name 'u_int' :info:build u_int p_estcpu; /* Time averaged value of p_cpticks. */ :info:build ^ :info:build /usr/include/sys/proc.h:118:2: error: unknown type name 'u_int' :info:build u_int p_swtime; /* Time swapped in or out. */ :info:build ^ :info:build /usr/include/sys/proc.h:119:2: error: unknown type name 'u_int' :info:build u_int p_slptime; /* Time since last blocked. */ :info:build ^ :info:build /usr/include/sys/proc.h:133:2: error: unknown type name 'u_char'; did you mean 'char'? :info:build u_char p_priority; /* Process priority. */ :info:build ^ :info:build /usr/include/sys/proc.h:134:2: error: unknown type name 'u_char'; did you mean 'char'? :info:build u_char p_usrpri; /* User-priority based on p_cpu and p_nice. */ :info:build ^ :info:build /usr/include/sys/proc.h:139:2: error: unknown type name 'u_short'; did you mean 'short'? :info:build u_short p_xstat; /* Exit status for wait; also stop signal. */ :info:build ^ :info:build /usr/include/sys/proc.h:140:2: error: unknown type name 'u_short'; did you mean 'short'? :info:build u_short p_acflag; /* Accounting flags. */ :info:build ^ :info:build 9 errors generated. :info:build gmake: *** [ffbuild/common.mak:59: libavutil/cpu.o] Error 1
comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)
Is this still an issue with the latest ffmpeg release (4.4.0)?
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Owner: | changed from dbevans to jeremyhu |
---|
Reassign ffmpeg-related tickets to Jeremy
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | fmpeg @4.2.2: error: unknown type name 'u_long'; did you mean 'long'? → ffmpeg @4.2.2: error: unknown type name 'u_long'; did you mean 'long'? |
---|
Note: See
TracTickets for help on using
tickets.
Build log