Bug 13201 - rhel packaging scripts are broken
Summary: rhel packaging scripts are broken
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.7.1
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-03 07:35 UTC by Eero Volotinen
Modified: 2018-01-03 07:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eero Volotinen 2018-01-03 07:35:23 UTC
Hi,

Tried to produce rpm packages on latest centos 7 using latest version of samba,
but looks like packaging scrips for rhel/centos are broken? 

/root/samba-4.6.12/packaging/RHEL

[root@localhost RHEL]# sh ./makerpms.git.sh 
Supported RPM version [4.11.3]
~/samba-4.6.12/source3 ~/samba-4.6.12/packaging/RHEL
./makerpms.git.sh: line 57: ./script/mkversion.sh: No such file or directory
~/samba-4.6.12/packaging/RHEL
Error creating version.h

sh ./makerpms.sh.tmpl 
Supported RPM version [4.11.3]
~/samba-4.6.12/packaging/RHEL ~/samba-4.6.12/packaging/RHEL
~/samba-4.6.12/packaging/RHEL
~/samba-4.6.12/packaging/RHEL ~/samba-4.6.12/packaging/RHEL
chown: cannot access ‘samba-PVERSIONPREVISION’: No such file or directory
ln: failed to create symbolic link ‘samba-PVERSION’: File exists

and

/root/samba-4.6.12/packaging/RHEL-CTDB

[root@localhost RHEL-CTDB]# ./configure.rpm 
./configure.rpm: line 20: ccache: command not found
./configure.rpm: line 33: ./autogen.sh: No such file or directory
./configure.rpm: line 35: ./configure: No such file or directory
make: *** No rule to make target `showlayout'.  Stop.

[root@localhost RHEL-CTDB]# ./makerpms.sh 
Supported RPM version [4.11.3]
~/samba-4.6.12/source3 ~/samba-4.6.12/packaging/RHEL-CTDB
./makespec.sh: line 17: ./script/mkversion.sh: No such file or directory
~/samba-4.6.12/packaging/RHEL-CTDB
Error creating version.h

Looks like at least script/mkversion.sh file is missing?
Comment 1 Karolin Seeger 2018-01-03 07:59:39 UTC
Hi,

I might be wrong, but it looks like not being supported any longer.
The whole RHEL dir has been removed in master. The version you are trying to use is based on the old autoconf build system and needs to be adapted to the waf build system. I guess that nobody wanted to spend effort in the conversion and therefore, it has been removed.

Closing out bug report as won't fix.

Please feel free to re-open if you do not agree.