xpra icon
Bug tracker and wiki

Opened 5 months ago

Last modified 3 weeks ago

#1787 new task

2.4 moduleset updates

Reported by: Antoine Martin Owned by: Smo
Priority: major Milestone: 2.4
Component: platforms Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

Follow up from #1678.

Log URL: log/xpra/trunk/osx

Change History (9)

comment:1 Changed 5 months ago by Antoine Martin

Description: modified (diff)
Status: newassigned

comment:2 Changed 3 months ago by Antoine Martin

Milestone: 3.02.4
Summary: 3.0 moduleset updates2.4 moduleset updates
Version: 2.2.xtrunk

comment:3 Changed 3 months ago by Antoine Martin

Updated:

Last edited 3 months ago by Antoine Martin (previous) (diff)

comment:4 Changed 3 months ago by Antoine Martin

comment:5 Changed 3 months ago by Antoine Martin

Description: modified (diff)

Updated:

Last edited 2 months ago by Antoine Martin (previous) (diff)

comment:6 Changed 8 weeks ago by Antoine Martin

Owner: changed from Antoine Martin to Smo
Status: assignednew

r19672 updates to ffmpeg 4.0.1 and I now hit a problem during packaging:

calling 'gtk-mac-bundler Xpra.bundle' in /Users/osx/Xpra-svn/trunk/osx
Cannot find source to copy: /Users/osx/gtk/inst/_jhbuild/root-ffmpeg/Users/osx/gtk/inst/lib/libavcodec.58.dylib
ERROR: gtk-mac-bundler failed

That's because the library dependency is wrong on all the ffmpeg libraries, ie:

$ otool -L image/.Launcher.app/Contents/Resources/lib/libavformat.58.12.100.dylib
image/.Launcher.app/Contents/Resources/lib/libavformat.58.12.100.dylib:
        /Users/gtk3/gtk/inst/_jhbuild/root-ffmpeg/Users/gtk3/gtk/inst/lib/libavformat.58.dylib (compatibility version 58.0.0, current version 58.12.100)
        /Users/gtk3/gtk/inst/_jhbuild/root-ffmpeg/Users/gtk3/gtk/inst/lib/libavcodec.58.dylib (compatibility version 58.0.0, current version 58.18.100)
        /Users/gtk3/gtk/inst/_jhbuild/root-ffmpeg/Users/gtk3/gtk/inst/lib/libavutil.56.dylib (compatibility version 56.0.0, current version 56.14.100)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
        /Users/gtk3/gtk/inst/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
        /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
        /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox (compatibility version 1.0.0, current version 1.0.0)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1256.14.0)
        /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia (compatibility version 1.0.0, current version 1.0.0)
        /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (compatibility version 1.2.0, current version 1.5.0)
        /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 728.6.0)

And this is not caused by the packaging scripts themselves but this is just how the library is installed on the system by jhbuild:

$ otool -L /Users/gtk3/gtk/inst/lib/libswscale.5.1.100.dylib 
/Users/gtk3/gtk/inst/lib/libswscale.5.1.100.dylib:
	/Users/gtk3/gtk/inst/_jhbuild/root-ffmpeg/Users/gtk3/gtk/inst/lib/libswscale.5.dylib (compatibility version 5.0.0, current version 5.1.100)
	/Users/gtk3/gtk/inst/_jhbuild/root-ffmpeg/Users/gtk3/gtk/inst/lib/libavutil.56.dylib (compatibility version 56.0.0, current version 56.14.100)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
	/System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1256.14.0)
	/System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (compatibility version 1.2.0, current version 1.5.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 728.6.0)

Where to go from here?

  • report upstream?
  • diff 4.0 and 4.0.1 to find the buggy commit?
  • patch it up using install_name_tool (tedious), ie:
    install_name_tool
        -change /Users/gtk3/gtk/inst/_jhbuild/root-ffmpeg/Users/gtk3/gtk/inst/lib/libavutil.56.dylib
        /Users/gtk3/gtk/inst/lib/libavutil.56.dylib
        /Users/gtk3/gtk/inst/lib/libswscale.5.1.100.dylib
    

@smo: ideas?

comment:7 Changed 7 weeks ago by Antoine Martin

I've downgraded ffmpeg to 4.0 by hand and packaging is working again.

comment:8 Changed 7 weeks ago by Antoine Martin

  • r19775 updates to python 3.6.6, but the build steps get stuck in a loop! Ideas?
  • r19807: pyobjc 4.2.2 and pillow 5.2.0
  • r19811: python-lz4 2.0.1
  • r19871: python-lz4 2.0.2
Last edited 5 weeks ago by Antoine Martin (previous) (diff)

comment:9 Changed 3 weeks ago by Antoine Martin

The GTK3 build issues I have seen seem to be caused by gtk 3.22.28: symbol not found (missing GDK_AVAILABLE_IN_ALL) and updating the GTK3 version from gtk-osx upstream should fix that.

paramiko has a compatibility problem with gssapi:paramiko 2.4.1 fails when current version of gssapi is installed so we disable gssapi: r19964.

Last edited 3 weeks ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.