SCIENTIFIC-LINUX-DEVEL Archives

January 2018

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Pat Riehecky <[log in to unmask]>
Reply To:
Pat Riehecky <[log in to unmask]>
Date:
Tue, 2 Jan 2018 09:48:06 -0600
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (1619 bytes) , sl7-i686.cfg (1150 bytes)
There are a number of unpublished build-deps for the 32bit build root.

The attached mock config is a sanitized version of what we use for SL7 
on our internal koji.

You may be able to satisfy them via x86_64 and cross compile for i686.

Pat

On 01/02/2018 09:27 AM, aleksander.baranowski wrote:
> Hi,
> I'm patching PackageKit url's with changed not-rhel.patch
>
> Scientific src.rpm:
> http://ftp.scientificlinux.org/linux/scientific/7.4/SRPMS/SL/PackageKit-1.1.5-1.sl7.src.rpm
>
> Bests,
> Alex
>
> On 01/02/2018 04:07 PM, Pat Riehecky wrote:
>>
>> On 01/02/2018 08:48 AM, aleksander.baranowski wrote:
>>> Hello,
>>>
>>> I'm trying to rebuild some package for SL7. Package in original has both
>>> (64 and i686) arch. Some systems has i686 version already installed. I
>>> rebuild package with my patches, but rebuild is x86_64 arch only :(. So
>>> during update there is broken dependencies problem (src.rpm build also
>>> noarch packages).
>>>
>>> I'm mostly building packages with epel mock + custom repo, but I also
>>> tried to build on "normal" host - every time with same results.
>>>
>>> I know that there was sl-mock-config project on bitbucket but link is
>>> dead :(.
>>>
>>>   From build time of x86_64 and i686 packages I deducted that they are
>>> built separately.
>>>
>>> Any information about correct flow for building x86_64 with/and i686
>>> version of packages would be appreciated.
>>>
>>> Bests,
>>> Alex
>> Hello,
>>
>> What package are you trying to rebuild?  For SL7 we are building i686
>> and x86_64 packages with koji.
>>
>> Pat
>>

-- 
Pat Riehecky

Fermi National Accelerator Laboratory
www.fnal.gov
www.scientificlinux.org




# # For manual mock runs # config_opts['chroothome'] = '/builddir' config_opts['use_host_resolv'] = True config_opts['basedir'] = '/var/lib/mock' config_opts['rpmbuild_timeout'] = 86400 config_opts['target_arch'] = 'i686' config_opts['root'] = 'sl7x-i686' config_opts['yum.conf'] = '''[main] cachedir=/var/cache/yum debuglevel=1 logfile=/var/log/yum.log reposdir=/dev/null retries=20 obsoletes=1 assumeyes=1 # repos [sl7] name=sl7 baseurl=http://ftp.scientificlinux.org/linux/scientific/7x/x86_64/os/ ''' config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' config_opts['plugin_conf']['root_cache_enable'] = True config_opts['plugin_conf']['yum_cache_enable'] = True config_opts['plugin_conf']['ccache_enable'] = False config_opts['macros']['%_host'] = 'i686-redhat-linux-gnu' config_opts['macros']['%_host_cpu'] = 'i686' config_opts['macros']['%vendor'] = 'Scientific Linux' config_opts['macros']['%distribution'] = 'Scientific Linux' config_opts['macros']['%_topdir'] = '/builddir/build' config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' config_opts['macros']['%packager'] = 'Scientific Linux'

ATOM RSS1 RSS2