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]? [1] $ rpmbuild -ba syslinux.spec ... $ rpmbuild -ba --target=i686 syslinux.spec ... $ find -name syslinux*.rpm ./SRPMS/syslinux-6.02-4.fc21.src.rpm ./RPMS/noarch/syslinux-tftpboot-6.02-4.fc21.noarch.rpm ./RPMS/noarch/syslinux-extlinux-nonlinux-6.02-4.fc21.noarch.rpm ./RPMS/noarch/syslinux-nonlinux-6.02-4.fc21.noarch.rpm ./RPMS/i686/syslinux-extlinux-6.02-4.fc21.i686.rpm ./RPMS/i686/syslinux-devel-6.02-4.fc21.i686.rpm ./RPMS/i686/syslinux-6.02-4.fc21.i686.rpm ./RPMS/i686/syslinux-perl-6.02-4.fc21.i686.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 # yum install $(find -name syslinux*.rpm) Loaded plugins: langpacks Examining ./SRPMS/syslinux-6.02-4.fc21.src.rpm: syslinux-6.02-4.fc21.src Cannot add package ./SRPMS/syslinux-6.02-4.fc21.src.rpm to transaction. Not a compatible architecture: src Examining ./RPMS/noarch/syslinux-tftpboot-6.02-4.fc21.noarch.rpm: syslinux-tftpboot-6.02-4.fc21.noarch Marking ./RPMS/noarch/syslinux-tftpboot-6.02-4.fc21.noarch.rpm to be installed Examining ./RPMS/noarch/syslinux-extlinux-nonlinux-6.02-4.fc21.noarch.rpm: syslinux-extlinux-nonlinux-6.02-4.fc21.noarch Marking ./RPMS/noarch/syslinux-extlinux-nonlinux-6.02-4.fc21.noarch.rpm to be installed Examining ./RPMS/noarch/syslinux-nonlinux-6.02-4.fc21.noarch.rpm: syslinux-nonlinux-6.02-4.fc21.noarch Marking ./RPMS/noarch/syslinux-nonlinux-6.02-4.fc21.noarch.rpm to be installed Examining ./RPMS/i686/syslinux-extlinux-6.02-4.fc21.i686.rpm: syslinux-extlinux-6.02-4.fc21.i686 Examining ./RPMS/i686/syslinux-devel-6.02-4.fc21.i686.rpm: syslinux-devel-6.02-4.fc21.i686 Examining ./RPMS/i686/syslinux-6.02-4.fc21.i686.rpm: syslinux-6.02-4.fc21.i686 Examining ./RPMS/i686/syslinux-perl-6.02-4.fc21.i686.rpm: syslinux-perl-6.02-4.fc21.i686 Examining ./RPMS/x86_64/syslinux-perl-6.02-4.fc21.x86_64.rpm: syslinux-perl-6.02-4.fc21.x86_64 Marking ./RPMS/x86_64/syslinux-perl-6.02-4.fc21.x86_64.rpm to be installed Examining ./RPMS/x86_64/syslinux-6.02-4.fc21.x86_64.rpm: syslinux-6.02-4.fc21.x86_64 Marking ./RPMS/x86_64/syslinux-6.02-4.fc21.x86_64.rpm to be installed Examining ./RPMS/x86_64/syslinux-devel-6.02-4.fc21.x86_64.rpm: syslinux-devel-6.02-4.fc21.x86_64 Marking ./RPMS/x86_64/syslinux-devel-6.02-4.fc21.x86_64.rpm to be installed Examining ./RPMS/x86_64/syslinux-extlinux-6.02-4.fc21.x86_64.rpm: syslinux-extlinux-6.02-4.fc21.x86_64 Marking ./RPMS/x86_64/syslinux-extlinux-6.02-4.fc21.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package syslinux.x86_64 0:6.02-4.fc21 will be installed ---> Package syslinux-devel.x86_64 0:6.02-4.fc21 will be installed ---> Package syslinux-extlinux.x86_64 0:6.02-4.fc21 will be installed ---> Package syslinux-extlinux-nonlinux.noarch 0:6.02-4.fc21 will be installed ---> Package syslinux-nonlinux.noarch 0:6.02-4.fc21 will be installed ---> Package syslinux-perl.x86_64 0:6.02-4.fc21 will be installed ---> Package syslinux-tftpboot.noarch 0:6.02-4.fc21 will be installed --> Finished Dependency Resolution Dependencies Resolved =========================================================================================================================== Package Arch Version Repository Size =========================================================================================================================== Installing: syslinux x86_64 6.02-4.fc21 /syslinux-6.02-4.fc21.x86_64 1.0 M syslinux-devel x86_64 6.02-4.fc21 /syslinux-devel-6.02-4.fc21.x86_64 744 k syslinux-extlinux x86_64 6.02-4.fc21 /syslinux-extlinux-6.02-4.fc21.x86_64 209 k syslinux-extlinux-nonlinux noarch 6.02-4.fc21 /syslinux-extlinux-nonlinux-6.02-4.fc21.noarch 944 k syslinux-nonlinux noarch 6.02-4.fc21 /syslinux-nonlinux-6.02-4.fc21.noarch 1.9 M syslinux-perl x86_64 6.02-4.fc21 /syslinux-perl-6.02-4.fc21.x86_64 51 k syslinux-tftpboot noarch 6.02-4.fc21 /syslinux-tftpboot-6.02-4.fc21.noarch 1.1 M Transaction Summary =========================================================================================================================== Install 7 Packages Total size: 6.0 M Installed size: 6.0 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction check error: file /usr/share/syslinux/syslinux64.exe conflicts between attempted installs of syslinux-6.02-4.fc21.x86_64 and syslinux-nonlinux-6.02-4.fc21.noarch Error Summary ------------- [2] $ ls -1 ./RPMS/noarch-built-on-i686 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 # yum install $(ls ./RPMS/x86_64/syslinux*.rpm) $(ls ./RPMS/noarch-built-on-i686/syslinux*.rpm) Loaded plugins: langpacks Examining ./RPMS/x86_64/syslinux-6.02-4.fc21.x86_64.rpm: syslinux-6.02-4.fc21.x86_64 Marking ./RPMS/x86_64/syslinux-6.02-4.fc21.x86_64.rpm to be installed Examining ./RPMS/x86_64/syslinux-devel-6.02-4.fc21.x86_64.rpm: syslinux-devel-6.02-4.fc21.x86_64 Marking ./RPMS/x86_64/syslinux-devel-6.02-4.fc21.x86_64.rpm to be installed Examining ./RPMS/x86_64/syslinux-extlinux-6.02-4.fc21.x86_64.rpm: syslinux-extlinux-6.02-4.fc21.x86_64 Marking ./RPMS/x86_64/syslinux-extlinux-6.02-4.fc21.x86_64.rpm to be installed Examining ./RPMS/x86_64/syslinux-perl-6.02-4.fc21.x86_64.rpm: syslinux-perl-6.02-4.fc21.x86_64 Marking ./RPMS/x86_64/syslinux-perl-6.02-4.fc21.x86_64.rpm to be installed Examining ./RPMS/noarch-built-on-i686/syslinux-extlinux-nonlinux-6.02-4.fc21.noarch.rpm: syslinux-extlinux-nonlinux-6.02-4.fc21.noarch Marking ./RPMS/noarch-built-on-i686/syslinux-extlinux-nonlinux-6.02-4.fc21.noarch.rpm to be installed Examining ./RPMS/noarch-built-on-i686/syslinux-nonlinux-6.02-4.fc21.noarch.rpm: syslinux-nonlinux-6.02-4.fc21.noarch Marking ./RPMS/noarch-built-on-i686/syslinux-nonlinux-6.02-4.fc21.noarch.rpm to be installed Examining ./RPMS/noarch-built-on-i686/syslinux-tftpboot-6.02-4.fc21.noarch.rpm: syslinux-tftpboot-6.02-4.fc21.noarch Marking ./RPMS/noarch-built-on-i686/syslinux-tftpboot-6.02-4.fc21.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package syslinux.x86_64 0:6.02-4.fc21 will be installed ---> Package syslinux-devel.x86_64 0:6.02-4.fc21 will be installed ---> Package syslinux-extlinux.x86_64 0:6.02-4.fc21 will be installed ---> Package syslinux-extlinux-nonlinux.noarch 0:6.02-4.fc21 will be installed ---> Package syslinux-nonlinux.noarch 0:6.02-4.fc21 will be installed ---> Package syslinux-perl.x86_64 0:6.02-4.fc21 will be installed ---> Package syslinux-tftpboot.noarch 0:6.02-4.fc21 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================== Package Arch Version Repository Size ================================================================================================================================================== Installing: syslinux x86_64 6.02-4.fc21 /syslinux-6.02-4.fc21.x86_64 1.0 M syslinux-devel x86_64 6.02-4.fc21 /syslinux-devel-6.02-4.fc21.x86_64 744 k syslinux-extlinux x86_64 6.02-4.fc21 /syslinux-extlinux-6.02-4.fc21.x86_64 209 k syslinux-extlinux-nonlinux noarch 6.02-4.fc21 /syslinux-extlinux-nonlinux-6.02-4.fc21.noarch 944 k syslinux-nonlinux noarch 6.02-4.fc21 /syslinux-nonlinux-6.02-4.fc21.noarch 1.9 M syslinux-perl x86_64 6.02-4.fc21 /syslinux-perl-6.02-4.fc21.x86_64 51 k syslinux-tftpboot noarch 6.02-4.fc21 /syslinux-tftpboot-6.02-4.fc21.noarch 1.1 M Transaction Summary ================================================================================================================================================== Install 7 Packages Total size: 6.0 M Installed size: 6.0 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction check error: file /usr/share/syslinux/syslinux64.exe conflicts between attempted installs of syslinux-6.02-4.fc21.x86_64 and syslinux-nonlinux-6.02-4.fc21.noarch Error Summary ------------- [3] $ rpm -qlp x86_64/syslinux-6.02-4.fc21.x86_64.rpm | grep syslinux64.exe /usr/share/syslinux/syslinux64.exe $ rpm -qlp noarch/syslinux-nonlinux-6.02-4.fc21.noarch.rpm | grep syslinux64.exe /usr/share/syslinux/syslinux64.exe $ rpm -qlp noarch-built-on-i686/syslinux-nonlinux-6.02-4.fc21.noarch.rpm | grep syslinux64.exe /usr/share/syslinux/syslinux64.exe [4] $ repoquery -l syslinux-6.02-4.fc21.x86_64 | grep syslinux64.exe /usr/share/syslinux/syslinux64.exe $ repoquery -l syslinux-nonlinux-6.02-4.fc21.noarch | grep syslinux64.exe [5] Why is that the 'syslinux64.exe' is in the locally built package i.e. 'syslinux-nonlinux' but not in the remote 'syslinux-nonlinux' package!? poma -- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test