Hi,
I have rebuilt samba3x SRPM in Centos 5.5. The resultings RPM's are nearly in triple size of the original RPMs. I have installed and checked the binary files are stripped. What can result in such difference in RPM sizes?
I have not changed anything on built and install sections of spec file.
Regards,
Some files and sizes in original samba3x rpm:
-rwxr-xr-x 1 root root 17904 Mar 31 2010 recycle.so -rwxr-xr-x 1 root root 18156 Mar 31 2010 shadow_copy2.so -rwxr-xr-x 1 root root 9668 Mar 31 2010 shadow_copy.so -rwxr-xr-x 1 root root 13844 Mar 31 2010 smb_traffic_analyzer.so -rwxr-xr-x 1 root root 13796 Mar 31 2010 streams_depot.so -rwxr-xr-x 1 root root 17984 Mar 31 2010 streams_xattr.so -rwxr-xr-x 1 root root 5560 Mar 31 2010 syncops.so -rwxr-xr-x 1 root root 17744 Mar 31 2010 xattr_tdb.so -rwxr-xr-x 1 root root 22052 Mar 31 2010 /usr/lib/samba/vfs/acl_tdb.so -rwxr-xr-x 1 root root 17920 Mar 31 2010 /usr/lib/samba/vfs/acl_xattr.so -rwxr-xr-x 1 root root 9668 Mar 31 2010 /usr/lib/samba/vfs/audit.so -rwxr-xr-x 1 root root 14060 Mar 31 2010 /usr/lib/samba/vfs/cap.so -rwxr-xr-x 1 root root 5448 Mar 31 2010 /usr/lib/samba/vfs/default_quota.so -rwxr-xr-x 1 root root 5512 Mar 31 2010 /usr/lib/samba/vfs/dirsort.so -rwxr-xr-x 1 root root 9600 Mar 31 2010 /usr/lib/samba/vfs/expand_msdfs.so -rwxr-xr-x 1 root root 13832 Mar 31 2010 /usr/lib/samba/vfs/extd_audit.so -rwxr-xr-x 1 root root 5444 Mar 31 2010 /usr/lib/samba/vfs/fake_perms.so -rwxr-xr-x 1 root root 9644 Mar 31 2010 /usr/lib/samba/vfs/fileid.so -rwxr-xr-x 1 root root 31312 Mar 31 2010 /usr/lib/samba/vfs/full_audit.so -rwxr-xr-x 1 root root 9696 Mar 31 2010 /usr/lib/samba/vfs/netatalk.so -rwxr-xr-x 1 root root 9636 Mar 31 2010 /usr/lib/samba/vfs/preopen.so -rwxr-xr-x 1 root root 9584 Mar 31 2010 /usr/lib/samba/vfs/readahead.so -rwxr-xr-x 1 root root 17752 Mar 31 2010 /usr/lib/samba/vfs/readonly.so -rwxr-xr-x 1 root root 17904 Mar 31 2010 /usr/lib/samba/vfs/recycle.so -rwxr-xr-x 1 root root 9668 Mar 31 2010 /usr/lib/samba/vfs/shadow_copy.so -rwxr-xr-x 1 root root 18156 Mar 31 2010 /usr/lib/samba/vfs/shadow_copy2.so -rwxr-xr-x 1 root root 13844 Mar 31 2010 /usr/lib/samba/vfs/smb_traffic_analyzer.so -rwxr-xr-x 1 root root 13796 Mar 31 2010 /usr/lib/samba/vfs/streams_depot.so -rwxr-xr-x 1 root root 17984 Mar 31 2010 /usr/lib/samba/vfs/streams_xattr.so -rwxr-xr-x 1 root root 5560 Mar 31 2010 /usr/lib/samba/vfs/syncops.so -rwxr-xr-x 1 root root 17744 Mar 31 2010 /usr/lib/samba/vfs/xattr_tdb.so -rwxr-xr-x 1 root root 2502552 Mar 31 2010 /usr/sbin/nmbd -rwxr-xr-x 1 root root 6807276 Mar 31 2010 /usr/sbin/smbd
Some files and sizes in mine samba3x rpm:
-rwxr-xr-x 1 root root 62018 Nov 26 14:50 recycle.so -rwxr-xr-x 1 root root 72876 Nov 26 14:50 shadow_copy2.so -rwxr-xr-x 1 root root 44528 Nov 26 14:50 shadow_copy.so -rwxr-xr-x 1 root root 54391 Nov 26 14:50 smb_traffic_analyzer.so -rwxr-xr-x 1 root root 56096 Nov 26 14:50 streams_depot.so -rwxr-xr-x 1 root root 63394 Nov 26 14:50 streams_xattr.so -rwxr-xr-x 1 root root 42007 Nov 26 14:50 syncops.so -rwxr-xr-x 1 root root 63989 Nov 26 14:50 xattr_tdb.so -rwxr-xr-x 1 root root 68818 Nov 26 14:50 /usr/lib/samba/vfs/acl_tdb.so -rwxr-xr-x 1 root root 60184 Nov 26 14:50 /usr/lib/samba/vfs/acl_xattr.so -rwxr-xr-x 1 root root 46167 Nov 26 14:50 /usr/lib/samba/vfs/audit.so -rwxr-xr-x 1 root root 60597 Nov 26 14:50 /usr/lib/samba/vfs/cap.so -rwxr-xr-x 1 root root 37894 Nov 26 14:50 /usr/lib/samba/vfs/default_quota.so -rwxr-xr-x 1 root root 40378 Nov 26 14:50 /usr/lib/samba/vfs/dirsort.so -rwxr-xr-x 1 root root 44448 Nov 26 14:50 /usr/lib/samba/vfs/expand_msdfs.so -rwxr-xr-x 1 root root 51756 Nov 26 14:50 /usr/lib/samba/vfs/extd_audit.so -rwxr-xr-x 1 root root 37428 Nov 26 14:50 /usr/lib/samba/vfs/fake_perms.so -rwxr-xr-x 1 root root 46429 Nov 26 14:50 /usr/lib/samba/vfs/fileid.so -rwxr-xr-x 1 root root 95070 Nov 26 14:50 /usr/lib/samba/vfs/full_audit.so -rwxr-xr-x 1 root root 48276 Nov 26 14:50 /usr/lib/samba/vfs/netatalk.so -rwxr-xr-x 1 root root 48882 Nov 26 14:50 /usr/lib/samba/vfs/preopen.so -rwxr-xr-x 1 root root 43154 Nov 26 14:50 /usr/lib/samba/vfs/readahead.so -rwxr-xr-x 1 root root 62346 Nov 26 14:50 /usr/lib/samba/vfs/readonly.so -rwxr-xr-x 1 root root 62018 Nov 26 14:50 /usr/lib/samba/vfs/recycle.so -rwxr-xr-x 1 root root 44528 Nov 26 14:50 /usr/lib/samba/vfs/shadow_copy.so -rwxr-xr-x 1 root root 72876 Nov 26 14:50 /usr/lib/samba/vfs/shadow_copy2.so -rwxr-xr-x 1 root root 54391 Nov 26 14:50 /usr/lib/samba/vfs/smb_traffic_analyzer.so -rwxr-xr-x 1 root root 56096 Nov 26 14:50 /usr/lib/samba/vfs/streams_depot.so -rwxr-xr-x 1 root root 63394 Nov 26 14:50 /usr/lib/samba/vfs/streams_xattr.so -rwxr-xr-x 1 root root 42007 Nov 26 14:50 /usr/lib/samba/vfs/syncops.so -rwxr-xr-x 1 root root 63989 Nov 26 14:50 /usr/lib/samba/vfs/xattr_tdb.so -rwxr-xr-x 1 root root 6293564 Nov 26 14:50 /usr/sbin/nmbd -rwxr-xr-x 1 root root 18057363 Nov 26 14:50 /usr/sbin/smbd
-- Oguz YILMAZ
On Monday, November 29, 2010 04:15 AM, Oguz Yilmaz wrote:
Hi,
I have rebuilt samba3x SRPM in Centos 5.5. The resultings RPM's are nearly in triple size of the original RPMs. I have installed and checked the binary files are stripped. What can result in such difference in RPM sizes?
Maybe if you supply the changes you made to configure and someone might want to take a guess/look. Unless you think we are all psychic or have crystal balls that work or something.
From: Oguz Yilmaz oguzyilmazlist@gmail.com
I have rebuilt samba3x SRPM in Centos 5.5. The resultings RPM's are nearly in triple size of the original RPMs. I have installed and checked the binary files
are stripped. What can result in such difference in RPM sizes? I have not changed anything on built and install sections of spec file.
Maybe debuging symbols... Maybe try ldd and check if there are differences...
JD
I thought, I have just recompiled by rpmbuild -ba samba3x.spec. However I have recognized libcap.so.2 has included instead of libcap.so.1 on my build system. This is the main difference between ldd outputs of smbd binaries. I will check further.
Regards,
-- Oguz YILMAZ
On Mon, Nov 29, 2010 at 1:25 PM, John Doe jdmls@yahoo.com wrote:
From: Oguz Yilmaz oguzyilmazlist@gmail.com
I have rebuilt samba3x SRPM in Centos 5.5. The resultings RPM's are nearly
in
triple size of the original RPMs. I have installed and checked the binary
files
are stripped. What can result in such difference in RPM sizes? I have not changed anything on built and install sections of spec file.
Maybe debuging symbols... Maybe try ldd and check if there are differences...
JD
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos