在安装 KDE4 或者任何与 Xine 相关的端口的过程中,失败并显示以下错误消息:
===> Applying FreeBSD patches for libxine-1.1.16.3_1 1 out of 1 hunks failed--saving rejects to src/combined/ffmpeg/Makefile.in.rej => Patch patch-src_combined_ffmpeg_Makefile.in failed to apply cleanly. => Patch(es) patch-config.rpath patch-configure patch-misc_Makefile.in patch-misc_libxine.pc.in patch-src:libffmpeg:libavcodec:h263.c patch-src:libffmpeg:libavcodec:mpeg12.c patch-src:libffmpeg:libavcodec:msmpeg4.c patch-src:xine-engine:xine_internal.h patch-src_audio_out_audio_oss_out.c applied cleanly. *** Error code 1 Stop in /usr/ports/multimedia/libxine. *** Error code 1
似乎由于某种原因,libxine 中 ffmpeg 的修补失败。
查看 freebsd.org 错误数据库,这是由于 libxine 中的 ffmpeg 不需要该补丁。
解决方案
- 删除 libxine 端口的补丁
cd /usr/ports/multimedia/libxine rm files/patch-src_combined_ffmpeg_Makefile.in
- 清理工作文件:
make clean
- 再次编译安装ports
make install clean
日期:2020-06-02 22:18:38 来源:oir作者:oir