Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common updates and optimizations #5492

Merged
merged 29 commits into from
Nov 17, 2022

Conversation

hgy59
Copy link
Contributor

@hgy59 hgy59 commented Nov 16, 2022

Description

All common updates, code optimizations and build optimizations from #5414.
For conveniance, to avoid triggering the build of too many packages and reach the 6h limit for github build actions in #5414.

Checklist

  • Build rule all-supported completed successfully
  • New installation of package completed successfully
  • Package upgrade completed successfully (Manually install the package again)
  • Package functionality was tested
  • Any needed documentation is updated/created

Type of change

  • Package updates

hgy59 added 25 commits November 16, 2022 05:56
- update cross/libtool
- disable static library to speedup the build
- update util-linux
- add code optimization
- remove patch for former version
- replace libicu by glib for unicode support
- disable tests to speedup the build
- update pango to v1.38.1 (required by libsrvg)
- add harfbuzz support
- fix prefix in libtool files
- build libcairo-gobject
- avoid test code to speedup the build
- update fribidi
- create optimized code
- add cross/libraw
- add cross/jasper
- create optimized code
- disable build of static libraries
- ensure libxml2 is used
- install headers
- add cross/jbigkit
- move libdrm specific PLIST_TRANSFORM cross/libdrm
- optimize generated code
- update to v1.2.4
- enable decoder
- cross/libwmf: workaround to find freetype build header
- cross/pango: libharbuzz is not supported with older gcc
- patch library runpath in some bin and lib files
@th0ma7
Copy link
Contributor

th0ma7 commented Nov 16, 2022

You're on fire @hgy59 !

- disable the build of freetype-config as it has wrong prefixes
- update configure args for freetype without freetype-config
@hgy59
Copy link
Contributor Author

hgy59 commented Nov 17, 2022

Analysis of the build results:

only arch-88f6281-6.1 completes before timeout and has the following errors:

  1. ffmpeg
    Wrong sha1sum for file x264-gitbfc87b7a330f75f5c9a21e56081e4b20344f139e.tar.gz (cannot reproduce locally)

  2. comskip
    Wrong sha1sum for file comskip-git84fcd7388394c95fc8a7e558642bbadb43134507.tar.gz (cannot reproduce locally)

  3. synocli-disk
    fails to download progsreiserfs (service temporary unabailable)

  4. tvheadend
    ERROR: Python gzip module not found (use --disable-zlib or --disable-bundle) (while ===> Configuring for tvheadend)

@th0ma7 we must have a look a tvheadend (probably related to the updated Dev Environment/Docker file)

@hgy59
Copy link
Contributor Author

hgy59 commented Nov 17, 2022

Analysis of build results of aborted builds

The builds timed out while building the package...

package arch(s)
octoprint evansport 7.0
plowshare x64-6.1
python310 hi3535-6.1
python38 armv7-6.1, armv7-7.0, comcerto2k-7.0, qoriq-6.1, x64-7.0
rdiff-backup evansport 6.1
salt-minion aarch64-7.0
synocli-net aarch64-6.1

Additional failures

  1. The chromaprint package fails for all supportd archs with
     CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
     Please set them or make sure they are set and tested correctly in the CMake files:
     FFMPEG_LIBAVCODEC_INCLUDE_DIRS
     FFMPEG_LIBAVFORMAT_INCLUDE_DIRS
     FFMPEG_LIBAVUTIL_INCLUDE_DIRS
    
    This is probably a follow up to ffmpeg (x264 checksum) failure.

@hgy59 hgy59 merged commit 76fc769 into SynoCommunity:master Nov 17, 2022
@hgy59 hgy59 deleted the updates_and_optimizations branch November 17, 2022 09:19
@hgy59 hgy59 mentioned this pull request Nov 17, 2022
@th0ma7
Copy link
Contributor

th0ma7 commented Nov 18, 2022

  1. ffmpeg
    Wrong sha1sum for file x264-gitbfc87b7a330f75f5c9a21e56081e4b20344f139e.tar.gz (cannot reproduce locally)
  2. comskip
    Wrong sha1sum for file comskip-git84fcd7388394c95fc8a7e558642bbadb43134507.tar.gz (cannot reproduce locally)

we must have a look a tvheadend (probably related to the updated Dev Environment/Docker file)

@hgy59 I may have found a workaround the sha1sum issue that seems only related to git download method. I've found out that we can you URL https://github.com/<project>/<bla>/archive/<git-hash>.tar.gz directly (a242233) Currently being tested for x264. If it works I'll give it a shot as well for comskip.

EDIT: Note that neither do I wasn't able to reproduce locally... so hopefully the workaround above will solve this.

@hgy59
Copy link
Contributor Author

hgy59 commented Nov 18, 2022

Hopefully it is not related to an outdated cache of downloaded (corrupt) files.

@hgy59 hgy59 mentioned this pull request Nov 19, 2022
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants