Re: rpmbuild on sles 11 sp4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/23/2016 04:11 PM, Kaleb KEITHLEY wrote:
> On 02/23/2016 03:18 PM, Dan Castelhano wrote:
>> Hi,
>>
>> I'm getting the error below when trying to build rpms on sles 11 sp4
>> (64bit).
>>
>> Has anyone successfully compiled gluster on sles 11 and/or know how to
>> fix this rpmbuild error? I get the same error with 3.5.7 and 3.6.7.
> 
> Gluster's official community packages for SLES 11sp4 are in the SuSE
> Build System repos at [1].
> 
> Yes, the SuSE packages (and the spec file used to build them) are
> different than the Fedora/RHEL/CentOS packages that are built with the
> spec file in the source three. The spec file(s) used for [1] are based
> on the spec file(s) that SuSE uses when they build GlusterFS for their
> own zipper repos.
> 
> These spec files are in the github repo at [2].
> 
> If you're determined to use (or stuck using) SuSE, I recommend using
> these, because a) they're known to work, and b) they're a better match
> for SuSE's GlusterFS packages.
> 

After that, if you're still determined to build Fedora-style RPMs on
SuSE, you can probably find useful hints in the spec file inside the
src.rpm at [1].

HTH,


[1]
http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.1/SLES11sp3/glusterfs-3.6.1-1.src.rpm

--

Kaleb




> 
> 
> [1]
> http://download.opensuse.org/repositories/home:/kkeithleatredhat:/SLES11-3.6/SLE_11_SP4/
> [2] https://github.com/gluster/glusterfs-suse
> 
>>
>> rpmbuild commands used:
>> "rpmbuild -ba glusterfs.spec" and "rpmbuild -ba glusterfs.spec --without bd"
>>
>>
>> Thanks,
>> Dan
>>
>> Processing files: glusterfs-server-3.6.8-0.0
>> error: File not found:
>> /var/tmp/glusterfs-3.6.8-0.0-CDwT09/usr/com/glusterd/groups
>> error: File not found:
>> /var/tmp/glusterfs-3.6.8-0.0-CDwT09/usr/com/glusterd/groups/virt
>> Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4296
>> + umask 022
>> + cd /usr/src/packages/BUILD
>> + cd glusterfs-3.6.8
>> +
>> DOCDIR=/var/tmp/glusterfs-3.6.8-0.0-CDwT09/usr/share/doc/packages/glusterfs-server
>> + export DOCDIR
>> + rm -rf
>> /var/tmp/glusterfs-3.6.8-0.0-CDwT09/usr/share/doc/packages/glusterfs-server
>> + /bin/mkdir -p
>> /var/tmp/glusterfs-3.6.8-0.0-CDwT09/usr/share/doc/packages/glusterfs-server
>> + cp -pr extras/clear_xattrs.sh
>> /var/tmp/glusterfs-3.6.8-0.0-CDwT09/usr/share/doc/packages/glusterfs-server
>> + exit 0
>> Checking for unpackaged file(s): /usr/lib/rpm/check-files
>> /var/tmp/glusterfs-3.6.8-0.0-CDwT09
>> error: Installed (but unpackaged) file(s) found:
>>    /usr/local/lib64/python2.6/site-packages/gluster/__init__.py
>>    /usr/local/lib64/python2.6/site-packages/gluster/__init__.pyc
>>   
>> /usr/local/lib64/python2.6/site-packages/glusterfs_glupy-3.6.8-py2.6.egg-info
>>    /usr/share/doc/glusterfs/benchmarking/README
>>    /usr/share/doc/glusterfs/benchmarking/glfs-bm.c
>>    /usr/share/doc/glusterfs/benchmarking/launch-script.sh
>>    /usr/share/doc/glusterfs/benchmarking/local-script.sh
>>    /usr/share/doc/glusterfs/benchmarking/rdd.c
>>    /usr/share/doc/glusterfs/glusterfs-mode.el
>>    /usr/share/doc/glusterfs/glusterfs.vim
>>    /var/lib/glusterd/groups/virt
>>
>>
>> RPM build errors:
>>     File not found by glob:
>> /var/tmp/glusterfs-3.6.8-0.0-CDwT09/usr/lib64/python2.6/site-packages/glusterfs_glupy*.egg-info
>>     File not found:
>> /var/tmp/glusterfs-3.6.8-0.0-CDwT09/usr/com/glusterd/groups
>>     File not found:
>> /var/tmp/glusterfs-3.6.8-0.0-CDwT09/usr/com/glusterd/groups/virt
>>     Installed (but unpackaged) file(s) found:
>>    /usr/local/lib64/python2.6/site-packages/gluster/__init__.py
>>    /usr/local/lib64/python2.6/site-packages/gluster/__init__.pyc
>>   
>> /usr/local/lib64/python2.6/site-packages/glusterfs_glupy-3.6.8-py2.6.egg-info
>>    /usr/share/doc/glusterfs/benchmarking/README
>>    /usr/share/doc/glusterfs/benchmarking/glfs-bm.c
>>    /usr/share/doc/glusterfs/benchmarking/launch-script.sh
>>    /usr/share/doc/glusterfs/benchmarking/local-script.sh
>>    /usr/share/doc/glusterfs/benchmarking/rdd.c
>>    /usr/share/doc/glusterfs/glusterfs-mode.el
>>    /usr/share/doc/glusterfs/glusterfs.vim
>>    /var/lib/glusterd/groups/virt
>>
>>
>>
>>
>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users@xxxxxxxxxxx
>> http://www.gluster.org/mailman/listinfo/gluster-users
>>
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users@xxxxxxxxxxx
> http://www.gluster.org/mailman/listinfo/gluster-users
> 

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux