Re: SYSLINUX 6 x86_64 - syslinux-nonlinux & syslinux64.exe

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

 



On 09.05.2014 15:51, Peter Jones wrote:
> On Fri, May 09, 2014 at 07:18:37AM +0200, poma wrote:
>> On 08.05.2014 16:05, Peter Jones wrote:
>>> On Thu, May 08, 2014 at 08:21:44AM +0200, poma wrote:
>>>>
>>>> $ rpmbuild -ba ./SPECS/syslinux.spec
>>>> ...
>>>>
>>>> $ find -name syslinux*.rpm
>>>> ./SRPMS/syslinux-6.02-4.fc21.src.rpm
>>>> ./RPMS/x86_64/syslinux-perl-6.02-4.fc21.x86_64.rpm
>>>> ./RPMS/x86_64/syslinux-6.02-4.fc21.x86_64.rpm
>>>> ./RPMS/x86_64/syslinux-devel-6.02-4.fc21.x86_64.rpm
>>>> ./RPMS/x86_64/syslinux-extlinux-6.02-4.fc21.x86_64.rpm
>>>>
>>>>
>>>> # rpm -ivh $(ls ./RPMS/x86_64/syslinux*.rpm)
>>>> error: Failed dependencies:
>>>> 	syslinux-nonlinux = 6.02-4.fc21 is needed by syslinux-6.02-4.fc21.x86_64
>>>> 	syslinux-extlinux-nonlinux = 6.02-4.fc21 is needed by syslinux-extlinux-6.02-4.fc21.x86_64
>>>>
>>>>
>>>> Peter, why these three noarches are not built on x86_64?
>>>> - syslinux-extlinux-nonlinux-6.02-4.fc21.noarch.rpm
>>>> - syslinux-nonlinux-6.02-4.fc21.noarch.rpm
>>>> - syslinux-tftpboot-6.02-4.fc21.noarch.rpm
>>>
>>> Because that'll result in a different 32-bit build on i686 vs x86_64.
>>> Get them from the i686 build.
>>>
>>
>> OK, can you explain this[5]?
> 
> I can't - can you reproduce this with mock build instead of just raw
> rpmbuild with the target set?  When I use mock or koji to build them, I
> get syslinux64.exe in one and syslinux.exe in the -nonlinux one.
> 
> That's still a (minor) packaging bug, but it shouldn't be a
> conflict.
> 

~~~~~~~~~~~~~~~~~~~~~~~
 x86_64 - mock rebuild 
~~~~~~~~~~~~~~~~~~~~~~~
$ mock -r fedora-rawhide-$(uname -i) syslinux-6.02-4.fc21.src.rpm
$ mock -r fedora-rawhide-i386 syslinux-6.02-4.fc21.src.rpm

~~~~~~~~~~
 syslinux 
~~~~~~~~~~
# rpm -qlp builddir/build/RPMS/syslinux-6.02-4.fc21.x86_64.rpm | grep exe
/usr/share/syslinux/syslinux64.exe

$ repoquery -l syslinux-6.02-4.fc21.x86_64 | grep exe
/usr/share/syslinux/syslinux64.exe

# rpm -qlp builddir/build/RPMS/syslinux-6.02-4.fc21.i686.rpm | grep exe
/usr/share/syslinux/syslinux.exe

$ repoquery --archlist=i686 -l syslinux-6.02-4.fc21.i686 | grep exe
/usr/share/syslinux/syslinux.exe

$ rpm -qf /usr/share/syslinux/syslinux64.exe 
syslinux-6.02-4.fc21.x86_64

~~~~~~~~~~~~~~~~~~~
 syslinux-nonlinux 
~~~~~~~~~~~~~~~~~~~
# rpm -qlp builddir/build/RPMS/syslinux-nonlinux-6.02-4.fc21.noarch.rpm | grep exe
/usr/share/syslinux/syslinux.exe

$ repoquery -l syslinux-nonlinux-6.02-4.fc21.noarch | grep exe
/usr/share/syslinux/syslinux.exe

$ rpm -qf /usr/share/syslinux/syslinux.exe
syslinux-nonlinux-6.02-4.fc21.noarch

~~~~~~~~~~~~~~~~~~~
 x86_64 - rpmbuild 
~~~~~~~~~~~~~~~~~~~
$ rpmbuild -ba rpmbuild/SPECS/syslinux.spec

$ rpm -qlp rpmbuild/RPMS/x86_64/syslinux-6.02-4.fc21.x86_64.rpm | grep exe
/usr/share/syslinux/syslinux64.exe

$ rpm -qlp rpmbuild/RPMS/noarch/syslinux-nonlinux-6.02-4.fc21.noarch.rpm | grep exe
/usr/share/syslinux/syslinux.exe
/usr/share/syslinux/syslinux64.exe

~~~~~~~~~~~~~~~~~
 ix86 - rpmbuild 
~~~~~~~~~~~~~~~~~
$ rpmbuild -ba rpmbuild/SPECS/syslinux.spec

$ rpm -qlp rpmbuild/RPMS/i686/syslinux-6.02-4.fc21.i686.rpm | grep exe
/usr/share/syslinux/syslinux.exe

$ rpm -qlp rpmbuild/RPMS/noarch/syslinux-nonlinux-6.02-4.fc21.noarch.rpm | grep exe
/usr/share/syslinux/syslinux.exe
/usr/share/syslinux/syslinux64.exe

$ rpm -qf /usr/share/syslinux/syslinux.exe
syslinux-nonlinux-6.02-4.fc21.noarch
syslinux-6.02-4.fc21.i686

How these two packages manage to install without problem, since both contain a file of the same name?

Whence the difference in the file handling between mock rebuild and vulgairs rpmbuild, in the first place?


poma


-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test





[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux