Hi devel,
I'm looking for some help with this below which should be rather simple.
$ git clone https://git.centos.org/rpms/samba.git $ git checkout c8
$ sudo dnf builddep SPECS/samba.spec Last metadata expiration check: 0:03:40 ago on Thu 23 Apr 2020 14:13:34 BST. Package gawk-4.2.1-1.el8.x86_64 is already installed. Package gcc-8.3.1-4.5.el8.x86_64 is already installed. Package gnupg2-2.2.9-1.el8.x86_64 is already installed. Package gnutls-devel-3.6.8-8.el8.x86_64 is already installed. Package krb5-devel-1.17-9.el8.x86_64 is already installed. Package libldb-devel-1.5.4-2.el8.x86_64 is already installed. Package libtalloc-devel-2.1.16-3.el8.x86_64 is already installed. Package libtasn1-devel-4.13-3.el8.x86_64 is already installed. Package libtdb-devel-1.3.18-2.el8.x86_64 is already installed. Package libtevent-devel-0.9.39-2.el8.x86_64 is already installed. Package libuuid-devel-2.32.1-17.el8.x86_64 is already installed. Package libxslt-1.1.32-3.el8.x86_64 is already installed. Package ncurses-devel-6.1-7.20180224.el8.x86_64 is already installed. Package perl-Archive-Tar-2.30-1.el8.noarch is already installed. Package perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch is already installed. Package perl-Test-Simple-1:1.302135-1.el8.noarch is already installed. Package perl-interpreter-4:5.26.3-416.el8.x86_64 is already installed. Package python36-devel-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 is already installed. No matching package to install: 'python3-ldb-devel >= 1.5.4' No matching package to install: 'python3-talloc-devel >= 2.1.16' Package python3-tdb-1.3.18-2.el8.x86_64 is already installed. Package python3-tevent-0.9.39-2.el8.x86_64 is already installed. No matching package to install: 'quota-devel' Package readline-devel-7.0-10.el8.x86_64 is already installed. Package sed-4.5-1.el8.x86_64 is already installed. Package xz-5.2.4-3.el8.x86_64 is already installed. Package zlib-devel-1.2.11-10.el8.x86_64 is already installed. Not all dependencies satisfied Error: Some packages could not be found.
Missing packages are really missing or something wrong with Git's Samba?
many thanks, L.
On 23/04/2020 14:19, lejeczek via CentOS-devel wrote:
Hi devel,
I'm looking for some help with this below which should be rather simple.
$ git clone https://git.centos.org/rpms/samba.git $ git checkout c8
$ sudo dnf builddep SPECS/samba.spec Last metadata expiration check: 0:03:40 ago on Thu 23 Apr 2020 14:13:34 BST. Package gawk-4.2.1-1.el8.x86_64 is already installed. Package gcc-8.3.1-4.5.el8.x86_64 is already installed. Package gnupg2-2.2.9-1.el8.x86_64 is already installed. Package gnutls-devel-3.6.8-8.el8.x86_64 is already installed. Package krb5-devel-1.17-9.el8.x86_64 is already installed. Package libldb-devel-1.5.4-2.el8.x86_64 is already installed. Package libtalloc-devel-2.1.16-3.el8.x86_64 is already installed. Package libtasn1-devel-4.13-3.el8.x86_64 is already installed. Package libtdb-devel-1.3.18-2.el8.x86_64 is already installed. Package libtevent-devel-0.9.39-2.el8.x86_64 is already installed. Package libuuid-devel-2.32.1-17.el8.x86_64 is already installed. Package libxslt-1.1.32-3.el8.x86_64 is already installed. Package ncurses-devel-6.1-7.20180224.el8.x86_64 is already installed. Package perl-Archive-Tar-2.30-1.el8.noarch is already installed. Package perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch is already installed. Package perl-Test-Simple-1:1.302135-1.el8.noarch is already installed. Package perl-interpreter-4:5.26.3-416.el8.x86_64 is already installed. Package python36-devel-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 is already installed. No matching package to install: 'python3-ldb-devel >= 1.5.4' No matching package to install: 'python3-talloc-devel >= 2.1.16' Package python3-tdb-1.3.18-2.el8.x86_64 is already installed. Package python3-tevent-0.9.39-2.el8.x86_64 is already installed. No matching package to install: 'quota-devel' Package readline-devel-7.0-10.el8.x86_64 is already installed. Package sed-4.5-1.el8.x86_64 is already installed. Package xz-5.2.4-3.el8.x86_64 is already installed. Package zlib-devel-1.2.11-10.el8.x86_64 is already installed. Not all dependencies satisfied Error: Some packages could not be found.
Missing packages are really missing or something wrong with Git's Samba?
many thanks, L.
CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
And for c8s it seems even worse?? No tar sources get pulled in?
On 23/04/2020 15:13, lejeczek via CentOS-devel wrote:
Missing packages are really missing or something wrong with Git's Samba?
It would probably help if you read the wiki article on how to do this.
https://wiki.centos.org/Sources
Trevor
Am 23.04.20 um 16:25 schrieb Trevor Hemsley via CentOS-devel:
On 23/04/2020 15:13, lejeczek via CentOS-devel wrote:
Missing packages are really missing or something wrong with Git's Samba?
It would probably help if you read the wiki article on how to do this.
plus
https://lists.centos.org/pipermail/centos-devel/2020-March/036644.html
-- Leon
On Thu, 23 Apr 2020, Trevor Hemsley via CentOS-devel wrote:
It would probably help if you read the wiki article on how to do this.
That page has problems, and does not work as written. There is problem doing the lookaside, or such
The script seems also to already be +x, so the admonition to set is +x is not needed
[herrold@centos-8 ~]$ find centos-git-common -name get_sources.sh -a -exec ls -al {} ; -rwxrwxr-x. 1 herrold herrold 6456 Apr 23 12:06 centos-git-common/centos-git-common/get_sources.sh [herrold@centos-8 ~]$
-- Russ herrold
worked example of the defect as to samba : ==========================================
[herrold@centos-8 ~]$ mkdir centos-git-common [herrold@centos-8 ~]$ cd centos-git-common [herrold@centos-8 centos-git-common]$ git clone https://git.centos.org/centos-git-common.git Cloning into 'centos-git-common'... remote: Counting objects: 217, done. remote: Compressing objects: 100% (213/213), done. remote: Total 217 (delta 0), reused 217 (delta 0) Receiving objects: 100% (217/217), 131.34 KiB | 1.06 MiB/s, done. [herrold@centos-8 centos-git-common]$ find . -name get_sources.sh ./centos-git-common/get_sources.sh [herrold@centos-8 centos-git-common]$ ln -s ./centos-git-common/get_sources.sh ~/bin/ [herrold@centos-8 centos-git-common]$ git clone https://git.centos.org/rpms/samba.git Cloning into 'samba'... remote: Counting objects: 660, done. remote: Compressing objects: 100% (578/578), done. remote: Total 660 (delta 71), reused 611 (delta 39) Receiving objects: 100% (660/660), 1.48 MiB | 1.57 MiB/s, done. Resolving deltas: 100% (71/71), done. warning: remote HEAD refers to nonexistent ref, unable to checkout.
[herrold@centos-8 centos-git-common]$ ls -al samba total 24 drwxrwxr-x. 3 herrold herrold 4096 Apr 23 12:07 . drwxrwxr-x. 4 herrold herrold 4096 Apr 23 12:07 .. drwxrwxr-x. 7 herrold herrold 4096 Apr 23 12:07 .git [herrold@centos-8 centos-git-common]$
It looks like you skipped :
git checkout c7
On Thu, 2020-04-23 at 12:14 -0400, R P Herrold wrote:
On Thu, 23 Apr 2020, Trevor Hemsley via CentOS-devel wrote:
It would probably help if you read the wiki article on how to do this.
https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.centos.org_Sources...
That page has problems, and does not work as written. There is problem doing the lookaside, or such
The script seems also to already be +x, so the admonition to set is +x is not needed
[herrold@centos-8 ~]$ find centos-git-common -name get_sources.sh -a -exec ls -al {} ; -rwxrwxr-x. 1 herrold herrold 6456 Apr 23 12:06 centos-git- common/centos-git-common/get_sources.sh [herrold@centos-8 ~]$
-- Russ herrold
worked example of the defect as to samba :
[herrold@centos-8 ~]$ mkdir centos-git-common [herrold@centos-8 ~]$ cd centos-git-common [herrold@centos-8 centos-git-common]$ git clone https://urldefense.proofpoint.com/v2/url?u=https-3A__git.centos.org_centos-2...
Cloning into 'centos-git-common'... remote: Counting objects: 217, done. remote: Compressing objects: 100% (213/213), done. remote: Total 217 (delta 0), reused 217 (delta 0) Receiving objects: 100% (217/217), 131.34 KiB | 1.06 MiB/s, done. [herrold@centos-8 centos-git-common]$ find . -name get_sources.sh ./centos-git-common/get_sources.sh [herrold@centos-8 centos-git-common]$ ln -s ./centos-git- common/get_sources.sh ~/bin/ [herrold@centos-8 centos-git-common]$ git clone https://urldefense.proofpoint.com/v2/url?u=https-3A__git.centos.org_rpms_sam...
Cloning into 'samba'... remote: Counting objects: 660, done. remote: Compressing objects: 100% (578/578), done. remote: Total 660 (delta 71), reused 611 (delta 39) Receiving objects: 100% (660/660), 1.48 MiB | 1.57 MiB/s, done. Resolving deltas: 100% (71/71), done. warning: remote HEAD refers to nonexistent ref, unable to checkout.
[herrold@centos-8 centos-git-common]$ ls -al samba total 24 drwxrwxr-x. 3 herrold herrold 4096 Apr 23 12:07 . drwxrwxr-x. 4 herrold herrold 4096 Apr 23 12:07 .. drwxrwxr-x. 7 herrold herrold 4096 Apr 23 12:07 .git [herrold@centos-8 centos-git-common]$
CentOS-devel mailing list CentOS-devel@centos.org https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailma...
On Thu, 23 Apr 2020, Patrick Riehecky wrote:
It looks like you skipped :
git checkout c7
Thank you, Patrick
Perhaps I mis-understand the earlier indicated error at the stop point for me in my earlier post. I had considered your approach, but do not see that this solves the issue by slavishly following the webpage:
lynx -dump https://wiki.centos.org/Sources > ~/centos-git-common.Sources-20200423.txt
That lynx -dump of the relevant part is:
Assume we want to work with the CentOS kernel sources.
[user@host ~]$ git clone https://git.centos.org/rpms/kernel.git ; cd kernel # let's work on the centos7 kernel [user@host kernel]$ git checkout c7 # download binary files [user@host kernel]$ ~/bin/get_sources.sh # switch to the local tree to edit [user@host kernel]$ git checkout -b my-kernel # make edits to SPEC file, etc [user@host kernel]$ git commit -m'my local changes' -a # ensure we can create a srpm [user@host kernel]$ rpmbuild --nodeps --define "%_topdir `pwd`" -bs SPECS/kernel.spec # if that works, [user@host kernel]$ rpmbuild --define "%_topdir `pwd`" -ba SPECS/kernel.spec
(excerpt ends)
Continuing with the later matter does not help, as the path to the tarball file is munged, and so failing to attain the desired result: # ensure we can create a srpm
## RPH, demonstrating: removing the prior fail, and following ## the webpage
[herrold@centos-8 centos-git-common]$ rm -rf samba [herrold@centos-8 centos-git-common]$ ls Sources-20200423.txt centos-git-common [herrold@centos-8 centos-git-common]$ git clone https://git.centos.org/rpms/samba.git Cloning into 'samba'... remote: Counting objects: 660, done. remote: Compressing objects: 100% (578/578), done. remote: Total 660 (delta 70), reused 612 (delta 39) Receiving objects: 100% (660/660), 1.50 MiB | 1.12 MiB/s, done. Resolving deltas: 100% (70/70), done. warning: remote HEAD refers to nonexistent ref, unable to checkout.
[herrold@centos-8 centos-git-common]$ cd samba [herrold@centos-8 samba]$ ls -al total 24 drwxrwxr-x. 3 herrold herrold 4096 Apr 23 14:48 . drwxrwxr-x. 4 herrold herrold 4096 Apr 23 14:48 .. drwxrwxr-x. 7 herrold herrold 4096 Apr 23 14:48 .git [herrold@centos-8 samba]$ git checkout c8 Checking out files: 100% (16/16), done. Branch 'c8' set up to track remote branch 'c8' from 'origin'. Switched to a new branch 'c8' [herrold@centos-8 samba]$ ~/bin/get_sources.sh Retrieving https://git.centos.org/sources/samba/c8/6bf33724c18b74427453f0e3fc0180f84ff6... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1275 100 1275 0 0 4194 0 --:--:-- --:--:-- --:--:-- 4194 Retrieving https://git.centos.org/sources/samba/c8/c24e15add96d79950552f0ffbb44234e4142... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11.3M 100 11.3M 0 0 1284k 0 0:00:09 0:00:09 --:--:-- 1387k [herrold@centos-8 samba]$ git checkout -b my-samba Switched to a new branch 'my-samba' [herrold@centos-8 samba]$ find . -name samba.spec ./SPECS/samba.spec #### #### a minimal comment at EOF of the .spec #### [herrold@centos-8 samba]$ echo "##" >> ./SPECS/samba.spec
[herrold@centos-8 samba]$ git commit -m'my local changes' -a [my-samba e323844] my local changes 1 file changed, 1 insertion(+)
#### confirm it is there #### [herrold@centos-8 samba]$ git log --after=yesterday --full-history --patch commit e32384460854ecc360201cec4503078aa6199b06 (HEAD -> my-samba) Author: R P Herrold herrold@owlriver.com Date: Thu Apr 23 14:50:45 2020 -0400
my local changes
diff --git a/SPECS/samba.spec b/SPECS/samba.spec index 65b987e..e6ea97f 100644 --- a/SPECS/samba.spec +++ b/SPECS/samba.spec @@ -5693,3 +5693,4 @@ fi - Added smbadduser command (missed from all previous RPMs) - Doooh! - Added smbuser file and smb.conf file updates for username map
+##
### at this point, either version should be able to attain a new SRPM .. it does not
[herrold@centos-8 samba]$ rpmbuild --nodeps --define "%_topdir `pwd`" -bs SPECS/samba.spec error: Bad source: /home/herrold/centos-git-common/samba/SOURCES/samba/samba-4.10.4.tar.xz: No such file or directory [herrold@centos-8 samba]$
#### Note the addition of the extra 'samba/' in the path
the tarball is there, but something is munging the correct path to it
[herrold@centos-8 samba]$ find -name samba-4.10.4.tar.xz ./SOURCES/samba-4.10.4.tar.xz [herrold@centos-8 samba]$
I do not live and breathe CentOS' approaches any more, but the somewhat snotty remark earlier in this thread to consult the web page seems not to work
-- Russ herrold
On 23/04/2020 20:06, R P Herrold wrote:
<snip>
### at this point, either version should be able to attain a new SRPM .. it does not
[herrold@centos-8 samba]$ rpmbuild --nodeps --define "%_topdir `pwd`" -bs SPECS/samba.spec error: Bad source: /home/herrold/centos-git-common/samba/SOURCES/samba/samba-4.10.4.tar.xz: No such file or directory [herrold@centos-8 samba]$
#### Note the addition of the extra 'samba/' in the path
the tarball is there, but something is munging the correct path to it
[herrold@centos-8 samba]$ find -name samba-4.10.4.tar.xz ./SOURCES/samba-4.10.4.tar.xz [herrold@centos-8 samba]$
I do not live and breathe CentOS' approaches any more, but the somewhat snotty remark earlier in this thread to consult the web page seems not to work
I'm unable to spot where you are going wrong (other than your attitude), but following the documentation works fine for me so I personally welcomed the well informed pointer to the current documentation.
Hopefully you have not put off other potential helpers who may be able to offer more solution focused advice other than it works for me.
I'm running into some formatting issues which make following bits of this somewhat tricky....
I've attached a shell script that works on my system to download and rebuild the CentOS8 sources for samba.
I hope this helps.
Pat
On Thu, 2020-04-23 at 15:06 -0400, R P Herrold wrote:
On Thu, 23 Apr 2020, Patrick Riehecky wrote:
It looks like you skipped :
git checkout c7
Thank you, Patrick
Perhaps I mis-understand the earlier indicated error at the stop point for me in my earlier post. I had considered your approach, but do not see that this solves the issue by slavishly following the webpage:
lynx -dump https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.centos.org_Sources...
~/centos-git-common.Sources-20200423.txt
That lynx -dump of the relevant part is:
Assume we want to work with the CentOS kernel sources.
[user@host ~]$ git clone https://urldefense.proofpoint.com/v2/url?u=https-3A__git.centos.org_rpms_ker... ; cd kernel # let's work on the centos7 kernel [user@host kernel]$ git checkout c7 # download binary files [user@host kernel]$ ~/bin/get_sources.sh # switch to the local tree to edit [user@host kernel]$ git checkout -b my-kernel # make edits to SPEC file, etc [user@host kernel]$ git commit -m'my local changes' -a # ensure we can create a srpm [user@host kernel]$ rpmbuild --nodeps --define "%_topdir `pwd`" -bs SPECS/kernel.spec # if that works, [user@host kernel]$ rpmbuild --define "%_topdir `pwd`" -ba SPECS/kernel.spec
(excerpt ends)
Continuing with the later matter does not help, as the path to the tarball file is munged, and so failing to attain the desired result: # ensure we can create a srpm
## RPH, demonstrating: removing the prior fail, and following ## the webpage
[herrold@centos-8 centos-git-common]$ rm -rf samba [herrold@centos-8 centos-git-common]$ ls Sources-20200423.txt centos-git-common [herrold@centos-8 centos-git-common]$ git clone https://urldefense.proofpoint.com/v2/url?u=https-3A__git.centos.org_rpms_sam...
Cloning into 'samba'... remote: Counting objects: 660, done. remote: Compressing objects: 100% (578/578), done. remote: Total 660 (delta 70), reused 612 (delta 39) Receiving objects: 100% (660/660), 1.50 MiB | 1.12 MiB/s, done. Resolving deltas: 100% (70/70), done. warning: remote HEAD refers to nonexistent ref, unable to checkout.
[herrold@centos-8 centos-git-common]$ cd samba [herrold@centos-8 samba]$ ls -al total 24 drwxrwxr-x. 3 herrold herrold 4096 Apr 23 14:48 . drwxrwxr-x. 4 herrold herrold 4096 Apr 23 14:48 .. drwxrwxr-x. 7 herrold herrold 4096 Apr 23 14:48 .git [herrold@centos-8 samba]$ git checkout c8 Checking out files: 100% (16/16), done. Branch 'c8' set up to track remote branch 'c8' from 'origin'. Switched to a new branch 'c8' [herrold@centos-8 samba]$ ~/bin/get_sources.sh Retrieving https://urldefense.proofpoint.com/v2/url?u=https-3A__git.centos.org_sources_... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1275 100 1275 0 0 4194 0 --:--:-- --:--:-- --:--:-- 4194 Retrieving https://urldefense.proofpoint.com/v2/url?u=https-3A__git.centos.org_sources_... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11.3M 100 11.3M 0 0 1284k 0 0:00:09 0:00:09 --:--:-- 1387k [herrold@centos-8 samba]$ git checkout -b my-samba Switched to a new branch 'my-samba' [herrold@centos-8 samba]$ find . -name samba.spec ./SPECS/samba.spec #### #### a minimal comment at EOF of the .spec #### [herrold@centos-8 samba]$ echo "##" >> ./SPECS/samba.spec
[herrold@centos-8 samba]$ git commit -m'my local changes' -a [my-samba e323844] my local changes 1 file changed, 1 insertion(+)
#### confirm it is there #### [herrold@centos-8 samba]$ git log --after=yesterday --full-history -- patch commit e32384460854ecc360201cec4503078aa6199b06 (HEAD -> my-samba) Author: R P Herrold herrold@owlriver.com Date: Thu Apr 23 14:50:45 2020 -0400
my local changes
diff --git a/SPECS/samba.spec b/SPECS/samba.spec index 65b987e..e6ea97f 100644 --- a/SPECS/samba.spec +++ b/SPECS/samba.spec @@ -5693,3 +5693,4 @@ fi
- Added smbadduser command (missed from all previous RPMs) -
Doooh!
- Added smbuser file and smb.conf file updates for username
map
+##
### at this point, either version should be able to attain a new SRPM .. it does not
[herrold@centos-8 samba]$ rpmbuild --nodeps --define "%_topdir `pwd`" -bs SPECS/samba.spec error: Bad source: /home/herrold/centos-git- common/samba/SOURCES/samba/samba-4.10.4.tar.xz: No such file or directory [herrold@centos-8 samba]$
#### Note the addition of the extra 'samba/' in the path
the tarball is there, but something is munging the correct path to it
[herrold@centos-8 samba]$ find -name samba-4.10.4.tar.xz ./SOURCES/samba-4.10.4.tar.xz [herrold@centos-8 samba]$
I do not live and breathe CentOS' approaches any more, but the somewhat snotty remark earlier in this thread to consult the web page seems not to work
-- Russ herrold _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailma...
So long as you checkout the correct branch I've been able to build c7, c8, c8s on CentOS 8, CentOS 8 Stream, and Fedora 32 hosts with the commands in that script.
Pat
On Fri, 2020-04-24 at 19:21 +0100, lejeczek via CentOS-devel wrote:
On 24/04/2020 17:52, Patrick Riehecky wrote:
I've attached a shell script that works on my system to download and rebuild the CentOS8 sources for samba.
Have you tried it on C8 Steam by any chance?
CentOS-devel mailing list CentOS-devel@centos.org https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailma...
On 24/04/2020 19:25, Patrick Riehecky wrote:
So long as you checkout the correct branch I've been able to build c7, c8, c8s on CentOS 8, CentOS 8 Stream, and Fedora 32 hosts with the commands in that script.
Pat
On Fri, 2020-04-24 at 19:21 +0100, lejeczek via CentOS-devel wrote:
On 24/04/2020 17:52, Patrick Riehecky wrote:
I've attached a shell script that works on my system to download and rebuild the CentOS8 sources for samba.
Have you tried it on C8 Steam by any chance?
CentOS-devel mailing list CentOS-devel@centos.org https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailma...
My build host is a c8Stream and I tried Samba from both c8 & c8s repos. Without --nodeps build won't even start, chokes on:
$ rpmbuild --define "%_topdir `pwd`" -bb SPECS/samba.spec error: Failed build dependencies: e2fsprogs-devel is needed by samba-0:4.10.4-101.el8.x86_64 libaio-devel is needed by samba-0:4.10.4-101.el8.x86_64 python3-ldb-devel >= 1.5.4 is needed by samba-0:4.10.4-101.el8.x86_64 python3-talloc-devel >= 2.1.16 is needed by samba-0:4.10.4-101.el8.x86_64 quota-devel is needed by samba-0:4.10.4-101.el8.x86_64
and with --nodeps still fails, only further down the build: ... Checking for program 'python' : /usr/bin/python3 Checking for python version >= 2.4.2 : 3.6.8 python headers : using cache Checking for system pyldb-util.cpython-36m-x86_64-linux-gnu (>=1.5.4 <=1.5.999) : not found ERROR: Use of system library ldb depends on missing system library/libraries ['pyldb-util.cpython-36m-x86_64-linux-gnu']
On Fri, 2020-04-24 at 20:09 +0100, lejeczek via CentOS-devel wrote:
On 24/04/2020 19:25, Patrick Riehecky wrote:
So long as you checkout the correct branch I've been able to build c7, c8, c8s on CentOS 8, CentOS 8 Stream, and Fedora 32 hosts with the commands in that script.
Pat
On Fri, 2020-04-24 at 19:21 +0100, lejeczek via CentOS-devel wrote:
On 24/04/2020 17:52, Patrick Riehecky wrote:
I've attached a shell script that works on my system to download and rebuild the CentOS8 sources for samba.
Have you tried it on C8 Steam by any chance?
CentOS-devel mailing list CentOS-devel@centos.org https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailma...
My build host is a c8Stream and I tried Samba from both c8 & c8s repos. Without --nodeps build won't even start, chokes on:
$ rpmbuild --define "%_topdir `pwd`" -bb SPECS/samba.spec error: Failed build dependencies: e2fsprogs-devel is needed by samba-0:4.10.4-101.el8.x86_64 libaio-devel is needed by samba-0:4.10.4-101.el8.x86_64 python3-ldb-devel >= 1.5.4 is needed by samba-0:4.10.4-101.el8.x86_64 python3-talloc-devel >= 2.1.16 is needed by samba-0:4.10.4-101.el8.x86_64 quota-devel is needed by samba-0:4.10.4-101.el8.x86_64
I'd recommend :
sudo yum install e2fsprogs-devel libaio-devel python3-ldb-devel python3-talloc-devel quota-devel
Pat
On 24/04/2020 20:15, Patrick Riehecky wrote:
On Fri, 2020-04-24 at 20:09 +0100, lejeczek via CentOS-devel wrote:
On 24/04/2020 19:25, Patrick Riehecky wrote:
So long as you checkout the correct branch I've been able to build c7, c8, c8s on CentOS 8, CentOS 8 Stream, and Fedora 32 hosts with the commands in that script.
Pat
On Fri, 2020-04-24 at 19:21 +0100, lejeczek via CentOS-devel wrote:
On 24/04/2020 17:52, Patrick Riehecky wrote:
I've attached a shell script that works on my system to download and rebuild the CentOS8 sources for samba.
Have you tried it on C8 Steam by any chance?
CentOS-devel mailing list CentOS-devel@centos.org https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailma...
My build host is a c8Stream and I tried Samba from both c8 & c8s repos. Without --nodeps build won't even start, chokes on:
$ rpmbuild --define "%_topdir `pwd`" -bb SPECS/samba.spec error: Failed build dependencies: e2fsprogs-devel is needed by samba-0:4.10.4-101.el8.x86_64 libaio-devel is needed by samba-0:4.10.4-101.el8.x86_64 python3-ldb-devel >= 1.5.4 is needed by samba-0:4.10.4-101.el8.x86_64 python3-talloc-devel >= 2.1.16 is needed by samba-0:4.10.4-101.el8.x86_64 quota-devel is needed by samba-0:4.10.4-101.el8.x86_64
I'd recommend :
sudo yum install e2fsprogs-devel libaio-devel python3-ldb-devel python3-talloc-devel quota-devel
Pat
And have you tried yourself what you recommend?
On Sat, Apr 25, 2020 at 7:27 AM lejeczek via CentOS-devel centos-devel@centos.org wrote:
On 24/04/2020 20:15, Patrick Riehecky wrote:
On Fri, 2020-04-24 at 20:09 +0100, lejeczek via CentOS-devel wrote:
On 24/04/2020 19:25, Patrick Riehecky wrote:
So long as you checkout the correct branch I've been able to build c7, c8, c8s on CentOS 8, CentOS 8 Stream, and Fedora 32 hosts with the commands in that script.
Pat
On Fri, 2020-04-24 at 19:21 +0100, lejeczek via CentOS-devel wrote:
On 24/04/2020 17:52, Patrick Riehecky wrote:
I've attached a shell script that works on my system to download and rebuild the CentOS8 sources for samba.
Have you tried it on C8 Steam by any chance?
CentOS-devel mailing list CentOS-devel@centos.org https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailma...
My build host is a c8Stream and I tried Samba from both c8 & c8s repos. Without --nodeps build won't even start, chokes on:
$ rpmbuild --define "%_topdir `pwd`" -bb SPECS/samba.spec error: Failed build dependencies: e2fsprogs-devel is needed by samba-0:4.10.4-101.el8.x86_64 libaio-devel is needed by samba-0:4.10.4-101.el8.x86_64 python3-ldb-devel >= 1.5.4 is needed by samba-0:4.10.4-101.el8.x86_64 python3-talloc-devel >= 2.1.16 is needed by samba-0:4.10.4-101.el8.x86_64 quota-devel is needed by samba-0:4.10.4-101.el8.x86_64
I'd recommend :
sudo yum install e2fsprogs-devel libaio-devel python3-ldb-devel python3-talloc-devel quota-devel
Pat
And have you tried yourself what you recommend?
Ahhh!!! You're on CentOS 8! You need to activate the new "Devel" repo in /etc/yum.repos.d, Red Hat, upstream, elected not to publish the "quota-devel" binariy RPM, which you can rebuild it yourself from the quota SRPM and which CentOS is sanely putting in a new channel to provide it somewhat separately from Red Hat's deliberately emasculated channel. This move is costing RHEL subscriptions which are migrating to CentOS to avoid dealing with this.
I'm unhappy with this decision, and expressed it to Red Hat with my RHEL subscriptions, combined with the "modularity" interweaving of packages like the pretend version of python3-devel being renamed and mishandled as a modular "platform" package, It's combining with the excessive and misaligned "multiple repos" to make RHEL 8 and CentOS 8 much more difficult upgrades with features that were *not* tested in Fedora.
On Fri, Apr 24, 2020 at 2:21 PM lejeczek via CentOS-devel centos-devel@centos.org wrote:
On 24/04/2020 17:52, Patrick Riehecky wrote:
I've attached a shell script that works on my system to download and rebuild the CentOS8 sources for samba.
Have you tried it on C8 Steam by any chance?
I've been publishing my RPM building suite at https:///github.com/nkadel/sambarepo/, with full AD compatibility enabled on CentOS 8 and 7, since.... well, I started the repo in 2013.
On 23/04/2020 14:19, lejeczek via CentOS-devel wrote:
Hi devel,
I'm looking for some help with this below which should be rather simple.
$ git clone https://git.centos.org/rpms/samba.git $ git checkout c8
$ sudo dnf builddep SPECS/samba.spec Last metadata expiration check: 0:03:40 ago on Thu 23 Apr 2020 14:13:34 BST. Package gawk-4.2.1-1.el8.x86_64 is already installed. Package gcc-8.3.1-4.5.el8.x86_64 is already installed. Package gnupg2-2.2.9-1.el8.x86_64 is already installed. Package gnutls-devel-3.6.8-8.el8.x86_64 is already installed. Package krb5-devel-1.17-9.el8.x86_64 is already installed. Package libldb-devel-1.5.4-2.el8.x86_64 is already installed. Package libtalloc-devel-2.1.16-3.el8.x86_64 is already installed. Package libtasn1-devel-4.13-3.el8.x86_64 is already installed. Package libtdb-devel-1.3.18-2.el8.x86_64 is already installed. Package libtevent-devel-0.9.39-2.el8.x86_64 is already installed. Package libuuid-devel-2.32.1-17.el8.x86_64 is already installed. Package libxslt-1.1.32-3.el8.x86_64 is already installed. Package ncurses-devel-6.1-7.20180224.el8.x86_64 is already installed. Package perl-Archive-Tar-2.30-1.el8.noarch is already installed. Package perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch is already installed. Package perl-Test-Simple-1:1.302135-1.el8.noarch is already installed. Package perl-interpreter-4:5.26.3-416.el8.x86_64 is already installed. Package python36-devel-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 is already installed. No matching package to install: 'python3-ldb-devel >= 1.5.4' No matching package to install: 'python3-talloc-devel >= 2.1.16' Package python3-tdb-1.3.18-2.el8.x86_64 is already installed. Package python3-tevent-0.9.39-2.el8.x86_64 is already installed. No matching package to install: 'quota-devel' Package readline-devel-7.0-10.el8.x86_64 is already installed. Package sed-4.5-1.el8.x86_64 is already installed. Package xz-5.2.4-3.el8.x86_64 is already installed. Package zlib-devel-1.2.11-10.el8.x86_64 is already installed. Not all dependencies satisfied Error: Some packages could not be found.
Missing packages are really missing or something wrong with Git's Samba?
many thanks, L.
CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
Has anybody tried rpmbuild? I come across below and build fails:
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : not found A local copy of the docbook.xsl wasn't found on your system consider installing package like docbook-xsl Checking for python version >= 3.4.0 : 3.6.8 python headers : using cache Checking linker accepts -Wl,-no-undefined : yes Checking linker accepts ['-undefined', 'dynamic_lookup'] : no Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : not found A local copy of the docbook.xsl wasn't found on your system consider installing package like docbook-xsl Checking for header sys/auxv.h : yes Checking for getauxval : ok Checking linker accepts -Wl,-no-undefined : yes Checking linker accepts ['-undefined', 'dynamic_lookup'] : no Checking for python version >= 3.4.0 : 3.6.8 python headers : using cache Checking for system talloc (>=2.2.0) : yes Checking for system pytalloc-util.cpython-36m-x86_64-linux-gnu (>=2.2.0) : not found Checking for system tevent (>=0.10.0) : yes Checking for epoll_create : ok Checking value of NSIG : 65 Checking value of _NSIG : 65 Checking value of SIGRTMAX : 64 Checking value of SIGRTMIN : 34 Checking for python version >= 3.4.0 : 3.6.8 python headers : using cache Checking linker accepts -Wl,-no-undefined : yes Checking linker accepts ['-undefined', 'dynamic_lookup'] : no Checking for program 'xsltproc' : /usr/bin/xsltproc Checking for python version >= 3.4.0 : 3.6.8 python headers : using cache Checking for system pyldb-util.cpython-36m-x86_64-linux-gnu (>=2.0.7 <=2.0.999) : not found ERROR: Use of system library ldb depends on missing system library/libraries ['pyldb-util.cpython-36m-x86_64-linux-gnu']
On 23/04/2020 14:19, lejeczek via CentOS-devel wrote:
Hi devel,
I'm looking for some help with this below which should be rather simple.
$ git clone https://git.centos.org/rpms/samba.git $ git checkout c8
$ sudo dnf builddep SPECS/samba.spec Last metadata expiration check: 0:03:40 ago on Thu 23 Apr 2020 14:13:34 BST. Package gawk-4.2.1-1.el8.x86_64 is already installed. Package gcc-8.3.1-4.5.el8.x86_64 is already installed. Package gnupg2-2.2.9-1.el8.x86_64 is already installed. Package gnutls-devel-3.6.8-8.el8.x86_64 is already installed. Package krb5-devel-1.17-9.el8.x86_64 is already installed. Package libldb-devel-1.5.4-2.el8.x86_64 is already installed. Package libtalloc-devel-2.1.16-3.el8.x86_64 is already installed. Package libtasn1-devel-4.13-3.el8.x86_64 is already installed. Package libtdb-devel-1.3.18-2.el8.x86_64 is already installed. Package libtevent-devel-0.9.39-2.el8.x86_64 is already installed. Package libuuid-devel-2.32.1-17.el8.x86_64 is already installed. Package libxslt-1.1.32-3.el8.x86_64 is already installed. Package ncurses-devel-6.1-7.20180224.el8.x86_64 is already installed. Package perl-Archive-Tar-2.30-1.el8.noarch is already installed. Package perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch is already installed. Package perl-Test-Simple-1:1.302135-1.el8.noarch is already installed. Package perl-interpreter-4:5.26.3-416.el8.x86_64 is already installed. Package python36-devel-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 is already installed. No matching package to install: 'python3-ldb-devel >= 1.5.4' No matching package to install: 'python3-talloc-devel >= 2.1.16' Package python3-tdb-1.3.18-2.el8.x86_64 is already installed. Package python3-tevent-0.9.39-2.el8.x86_64 is already installed. No matching package to install: 'quota-devel' Package readline-devel-7.0-10.el8.x86_64 is already installed. Package sed-4.5-1.el8.x86_64 is already installed. Package xz-5.2.4-3.el8.x86_64 is already installed. Package zlib-devel-1.2.11-10.el8.x86_64 is already installed. Not all dependencies satisfied Error: Some packages could not be found.
Missing packages are really missing or something wrong with Git's Samba?
many thanks, L.
CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : not found A local copy of the docbook.xsl wasn't found on your system consider installing package like docbook-xsl Checking for python version >= 3.4.0 : 3.6.8 python headers : using cache Checking linker accepts -Wl,-no-undefined : yes Checking linker accepts ['-undefined', 'dynamic_lookup'] : no Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : not found A local copy of the docbook.xsl wasn't found on your system consider installing package like docbook-xsl Checking for header sys/auxv.h : yes Checking for getauxval : ok Checking linker accepts -Wl,-no-undefined : yes Checking linker accepts ['-undefined', 'dynamic_lookup'] : no Checking for python version >= 3.4.0 : 3.6.8 python headers : using cache Checking for system talloc (>=2.2.0) : yes Checking for system pytalloc-util.cpython-36m-x86_64-linux-gnu (>=2.2.0) : not found Checking for system tevent (>=0.10.0) : yes Checking for epoll_create : ok Checking value of NSIG : 65 Checking value of _NSIG : 65 Checking value of SIGRTMAX : 64 Checking value of SIGRTMIN : 34 Checking for python version >= 3.4.0 : 3.6.8 python headers : using cache Checking linker accepts -Wl,-no-undefined : yes Checking linker accepts ['-undefined', 'dynamic_lookup'] : no Checking for program 'xsltproc' : /usr/bin/xsltproc Checking for python version >= 3.4.0 : 3.6.8 python headers : using cache Checking for system pyldb-util.cpython-36m-x86_64-linux-gnu (>=2.0.7 <=2.0.999) : not found ERROR: Use of system library ldb depends on missing system library/libraries ['pyldb-util.cpython-36m-x86_64-linux-gnu']
(how badly this mailman formats html messages. Is that only me?)