Chih-Hsuan Yen

Results 606 comments of Chih-Hsuan Yen
trafficstars

> 不止为何 lilac 似乎依然从 AUR 拉取 That's configured here: https://github.com/archlinuxcn/repo/blob/7b8e8c29f07cbdfa2c82c1bc982f1ac0e5a33499/archlinuxcn/fontweak/lilac.yaml#L9-L11

@ykelvis I guess you attemped to trigger the rebuild for all three packages in 13071dd24b08513deac4549efee988d61c542809? xfce4-soundmenu-plugin is actually not triggered as in #1163, xfce4-soundmenu-plugin is marked as unmanaged due to...

@VOID001 The package libgnomeui specifies a non-existent dependency gnome-vfs-nosmb https://github.com/archlinuxcn/repo/blob/f5356772200afc44c9d82fc2bcfdaa71ddb0de1f/archlinuxcn/libgnomeui/lilac.py#L14 And thus lilac is broken ``` [E 12-02 09:03:16.554 lilac:408] unexpected error Traceback (most recent call last): File "/home/lilydjwg/soft/lilac/lilac", line...

以前寫過一個從PKGBUILD求出不在官方源依賴的code https://gitlab.com/yan12125/package-builder/blob/master/package_builder/__init__.py#L180 用的是pyalpm跟XCPF。這段code還有處理多個build_prefix的部份,如果要移植到pre-commit,得改一下。

👍 👍 👍 👍 > 判断 .so 文件依赖 這和一般的provides判斷方式應該相同?

> If the dependency name appears to be a library (ends with .so), makepkg will try to find a binary that depends on the library in the built package and...

看了一下makepkg裡.so依賴的實作,需要打好的包裡的ELF檔案來決定依賴的.so版本。這個在靜態檢查的階段應該是無法實現。 Keyword: find_libdepends() in /usr/bin/makepkg

之前在Ubuntu 16.04 compile過pacman,沒啥問題,想來把pyalpm弄上CI應該也不難(

Here's something interesting, which may help this work: https://github.com/jelly/pacman-deb. PS. [jelly](https://www.archlinux.org/people/developers/#jelle) is a TU & Developer.

I tried a Docker-based approach. It works but runs for almost 3 minutes https://travis-ci.org/yan12125/repo/builds/621561412.