Opened 7 years ago

Last modified 7 years ago

#55009 closed defect

gstreamer1-gst-plugins-bad @1.12.3: fatal error: 'openjpeg-2.2/openjpeg.h' file not found — at Version 1

Reported by: rbdavis (Roger Davis) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gstreamer1-gst-plugins-bad

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

I have two 10.12.6 systems, both with Xcode 9.0 (core and command-line tools). When doing 'port upgrade outdated', one fails on gstreamer1-gst-plugins-bad-1.12.3_0 and the other succeeds. The failing system is complaining about some inconsistency between a QuartzCore library and its stub file. Both the library and the stub file appear identical on both systems.

Here are the error messages from the end of the logfile:

:info:build libtool: link: /usr/bin/clang  -o .libs/libgstopengl.so -bundle  .libs/libgstopengl_la-gstopengl.o .... [ very long command ]
:info:build ld: warning: text-based stub file /System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd and library file /System/Library/Frameworks//QuartzCore.framework/QuartzCore are out of sync. Falling back to library file for linking.
:info:build ld: warning: text-based stub file /System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd and library file /System/Library/Frameworks//QuartzCore.framework/QuartzCore are out of sync. Falling back to library file for linking.
:info:build libtool: link: ( cd ".libs" && rm -f "libgstopengl.la" && ln -s "../libgstopengl.la" "libgstopengl.la" )
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1-gst-plugins-bad/gstreamer1-gst-plugins-bad/work/gst-plugins-bad-1.12.3/ext/gl'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1-gst-plugins-bad/gstreamer1-gst-plugins-bad/work/gst-plugins-bad-1.12.3/ext'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1-gst-plugins-bad/gstreamer1-gst-plugins-bad/work/gst-plugins-bad-1.12.3'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1-gst-plugins-bad/gstreamer1-gst-plugins-bad/work/gst-plugins-bad-1.12.3'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1-gst-plugins-bad/gstreamer1-gst-plugins-bad/work/gst-plugins-bad-1.12.3" && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64"
:info:build Exit code: 2
:error:build Failed to build gstreamer1-gst-plugins-bad: command execution failed
:debug:build Error code: CHILDSTATUS 40139 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1-gst-plugins-bad/gstreamer1-gst-plugins-bad/main.log for details.

Anyone have any idea why my build fails on one system but not the other?

Thanks!

Change History (2)

Changed 7 years ago by rbdavis (Roger Davis)

Attachment: main.log added

main.log

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

Description: modified (diff)
Port: gstreamer1-gst-plugins-bad added
Summary: gstreamer1-gst-plugins-bad 1.12.3 build fails on Sierra 10.12.6 with Xcode 9.0gstreamer1-gst-plugins-bad @1.12.3: fatal error: 'openjpeg-2.2/openjpeg.h' file not found

The log shows the real error is:

:info:build In file included from gstopenjpegdec.c:27:
:info:build In file included from ./gstopenjpegdec.h:29:
:info:build ./gstopenjpeg.h:42:12: fatal error: 'openjpeg-2.2/openjpeg.h' file not found
:info:build #  include <openjpeg-2.2/openjpeg.h>
:info:build            ^~~~~~~~~~~~~~~~~~~~~~~~~

So it looks like the problems are that even though gstreamer1-gst-plugins-bad declares a dependency on openjpeg15, it actually uses openjpeg, and openjpeg was updated from 2.2 to 2.3 today, and gstreamer1-gst-plugins-bad does not support openjpeg 2.3.

Note: See TracTickets for help on using tickets.