You are not logged in.

#1 2019-10-16 14:00:48

Xwang
Member
Registered: 2012-05-14
Posts: 353

[SOLVED] Differences between repository pkgs and locally compiled one

I've just compiled on my machine a package from ABS and I've seen that the binary files differ from the same package taken from the repository.
Is it normal (I expected that the same PKGBUILD would have given the same binaries regardless where it is compiled)?
Did I make a mistake or forget anything?

Last edited by Xwang (2019-10-16 16:25:47)


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#2 2019-10-16 14:04:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [SOLVED] Differences between repository pkgs and locally compiled one

Differs?  Checksums?  You have provided no details.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2019-10-16 14:07:28

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: [SOLVED] Differences between repository pkgs and locally compiled one

graysky wrote:

Differs?  Checksums?  You have provided no details.

I have checked both md5sum and comparing files with meld.


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#4 2019-10-16 14:21:33

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: [SOLVED] Differences between repository pkgs and locally compiled one

Does reproducible-builds.org agree the package is not reproducible?

Offline

#5 2019-10-16 14:27:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: [SOLVED] Differences between repository pkgs and locally compiled one

If you aren't building from a clean chroot there are load of things that could implicitly be included or omitted based on information from your system. Build from a clean chroot as a minimum requirement for any chance of this being reproducible: https://wiki.archlinux.org/index.php/De … ean_chroot

You might also rather be interested in: https://wiki.archlinux.org/index.php/De … ibleBuilds

Offline

#6 2019-10-16 15:44:26

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: [SOLVED] Differences between repository pkgs and locally compiled one

V1del wrote:

If you aren't building from a clean chroot there are load of things that could implicitly be included or omitted based on information from your system. Build from a clean chroot as a minimum requirement for any chance of this being reproducible: https://wiki.archlinux.org/index.php/De … ean_chroot

You might also rather be interested in: https://wiki.archlinux.org/index.php/De … ibleBuilds

Building in a clean chroot following the "Convenience way" as described here https://wiki.archlinux.org/index.php/De … ean_chroot has solved the issue.
Thank you very much!


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#7 2019-10-16 16:23:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: [SOLVED] Differences between repository pkgs and locally compiled one

Please mark as [SOLVED] by editing the title in your first post (You might have to shorten it a bit to fit the [SOLVED])

Offline

Board footer

Powered by FluxBB