Foreman Discovery 4.1 is ready

Hi Dominic
Any suggestion on getting over with this build error

··· On Saturday, January 23, 2016 at 9:10:57 PM UTC-8, arunsri...@ebay.com wrote: > > Made some progress > Added these to the config file > [percona-release-$basearch] > name = Percona-Release YUM repository - $basearch > baseurl = http://repo.percona.com/release/$releasever/RPMS/$basearch > enabled = 1 > gpgcheck = 1 > > > Now i see its pulling the percona package but errors here during the buid > RROR: Error installing /builddir/build/SOURCES/mysql2-0.3.19.gem: > ERROR: Failed to build gem native extension. > > /opt/rh/ruby193/root/usr/bin/ruby extconf.rb > checking for ruby/thread.h... no > checking for rb_thread_blocking_region()... yes > > ▽ > checking for rb_wait_for_single_fd()... yes > checking for rb_hash_dup()... yes > checking for rb_intern3()... yes > ----- > Using mysql_config at /usr/bin/mysql_config > ----- > checking for mysql.h... yes > checking for errmsg.h... yes > checking for mysqld_error.h... yes > ----- > Don't know how to set rpath on your system, if MySQL libraries are not in > path mysql2 may not load > ----- > ----- > Setting libpath to /usr/lib64 > ----- > creating Makefile > gcc -shared -o mysql2.so client.o infile.o mysql2_ext.o result.o -L. > -L/opt/rh/ruby193/root/usr/lib64 -L/usr/lib64 -L. -Wl,-z,relro -rdynamic > -Wl,-export-dynamic -m64 -lruby -L/usr/lib64 -lmysqlclienlpthread -lm > -lrt -lssl -lcrypto -ldl -lpthread -lrt -ldl -lcrypt -lm -lc > /usr/bin/ld: cannot find -lmysqlclient > collect2: error: ld returned 1 exit status > make: *** [mysql2.so] Error 1 > > On Saturday, January 23, 2016 at 6:20:07 PM UTC-8, arunsri...@ebay.com > wrote: >> >> Hi Dominic >> Thanks for your support. I was able to create the package and install >> it. >> >> However i still see this error >> >> Incorrect MySQL client library version! This gem was compiled for >> 5.5.44-MariaDB but the client library is 5.6.27-76.0. >> >> I have attached the root.log and config file to the post >> >> I added this line in the config file >> [percona-release] >> baseurl=http://repo.percona.com/release/5Server/SRPMS/ >> >> >> so it'll use the percona source, I still see its looking for maria db >> >> DEBUG util.py:393: Repository 'percona-release' is missing name in >> configuration, using id >> DEBUG util.py:393: Getting requirements for >> tfm-rubygem-mysql2-0.3.19-2.el7.centos.src >> DEBUG util.py:393: --> Already installed : >> scl-utils-build-20130529-17.el7_1.x86_64 >> DEBUG util.py:393: --> ruby193-ruby-1.9.3.484-49.el7.centos.x86_64 >> DEBUG util.py:393: --> ruby193-rubygems-1.8.23-49.el7.centos.noarch >> DEBUG util.py:393: --> >> ruby193-rubygems-devel-1.8.23-49.el7.centos.noarch >> DEBUG util.py:393: --> ruby193-ruby-devel-1.9.3.484-49.el7.centos.x86_64 >> DEBUG util.py:393: --> 1:mariadb-devel-5.5.44-2.el7.centos.x86_64 >> >> Can u please let me know >> >> >> >> On Saturday, January 23, 2016 at 3:37:13 PM UTC-8, Dominic Cleal wrote: >>> >>> No, ruby22 is used by 1.11/develop. It looks like you'll also need to >>> edit the URL to the Foreman repos in the mock configuration file. >>> >>> The file (even for rpm/1.10) points at the yum.theforeman.org/nightly >>> repo, so change this to /releases/1.10 and hopefully that will work to >>> build against ruby193. >>> >>> -- >>> Dominic Cleal >>> dom...@cleal.org >>> >>> On 23 January 2016 19:00:10 GMT+00:00, arunsri...@ebay.com wrote: >>>> >>>> Hi Dominic >>>> I had to add the following to successfully generate the rpm >>>> >>>> [scl-ruby] >>>> name=scl-ruby >>>> baseurl= >>>> https://www.softwarecollections.org/repos/rhscl/rh-ruby22/epel-7-x86_64/ >>>> >>>> >>>> however the box does not have ruby22 rpm and hence when installing it >>>> get the error >>>> rh-ruby22-ruby >= 1.8.6 is needed by >>>> tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64 >>>> rh-ruby22-rubygems >= 1.8.10 is needed by >>>> tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64 >>>> >>>> I tried installing these rpm's but it has other dependencies, does >>>> foreman 1.10 require ruby22 >>>> >>>> thx >>>> >>>> >>>> >>>> On Friday, January 22, 2016 at 7:20:53 PM UTC-8, arunsri...@ebay.com >>>> wrote: >>>>> >>>>> Hi Domic >>>>> >>>>> It seems to give me this error while building it >>>>> >>>>> I am using this file >>>>> >>>>> >>>>> https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/1.10/mock/el7-scl.cfg >>>>> tart: yum install >>>>> Error: Package: tfm-build-2.0-2.el7.x86_64 (foreman) >>>>> Requires: rh-ruby22-scldevel >>>>> Error: Package: tfm-runtime-2.0-2.el7.x86_64 (foreman) >>>>> Requires: rh-ruby22-runtime >>>>> You could try using --skip-broken to work around the problem >>>>> You could try running: rpm -Va --nofiles --nodigest >>>>> Error: Package: tfm-build-2.0-2.el7.x86_64 (foreman) >>>>> Requires: rh-ror41-scldevel >>>>> Error: Package: tfm-runtime-2.0-2.el7.x86_64 (foreman) >>>>> Requires: rh-ror41-runtime >>>>> >>>>> On Friday, January 22, 2016 at 12:02:01 AM UTC-8, Dominic Cleal wrote: >>>>>> >>>>>> That looks like it's for Foreman 1.11 (develop), you'll need to use >>>>>> the >>>>>> 1.10 config file from >>>>>> >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg. >>>>>> >>>>>> >>>>>> -- >>>>>> Dominic Cleal >>>>>> dom...@cleal.org >>>>>> >>>>>> On 22/01/16 07:17, arunsri...@ebay.com wrote: >>>>>> > Hi Dominic >>>>>> > I have built it with mock scl, was trying to install the package >>>>>> get >>>>>> > follwoing error >>>>>> > >>>>>> > [arun@spc02 result]$ sudo rpm -ivh >>>>>> > tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64.rpm >>>>>> > error: Failed dependencies: >>>>>> > rh-ruby22-ruby >= 1.8.6 is needed by >>>>>> > tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64 >>>>>> > rh-ruby22-rubygems >= 1.8.10 is needed by >>>>>> > tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64 >>>>>> > >>>>>> > On Thursday, January 21, 2016 at 5:26:17 AM UTC-8, Dominic Cleal >>>>>> wrote: >>>>>> > >>>>>> > Did you use the SCL config rather than the non-SCL config as >>>>>> per my >>>>>> > reply? If you still use the el7-nonscl.cfg file in the mock >>>>>> command >>>>>> > then yes, it'll build a non-SCL version under /usr. >>>>>> > >>>>>> > tfm-build is installed by the el7-scl.cfg config >>>>>> > ( >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/1.10/mock/el7-scl.cfg#L4 >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/1.10/mock/el7-scl.cfg#L4>) >>>>>> >>>>>> > >>>>>> > and is available from our repos >>>>>> > (http://yum.theforeman.org/releases/1.10/el7/x86_64/ >>>>>> > ). I can >>>>>> only >>>>>> > assume you're still using the non-SCL config. >>>>>> > >>>>>> > If it's still failing to build with the el7-scl config, then >>>>>> please >>>>>> > share the logs from the results directory - upload them, >>>>>> perhaps to a >>>>>> > pastebin. >>>>>> > >>>>>> > -- >>>>>> > Dominic Cleal >>>>>> > dom...@cleal.org >>>>>> > >>>>>> > On 21/01/16 13:21, arunsri...@ebay.com wrote: >>>>>> > > Thanks Dominic >>>>>> > > >>>>>> > > However how do i get it build under /opt/theforeman ... path, >>>>>> it >>>>>> > builds >>>>>> > > under /user/gems ... >>>>>> > > You had mentioned build it using tfm-build, how do i do that, >>>>>> don >>>>>> > tseem >>>>>> > > to have tfm-build and wasnt able to download it. >>>>>> > > Thx >>>>>> > > On Thursday, January 21, 2016 at 12:02:37 AM UTC-8, Dominic >>>>>> Cleal >>>>>> > wrote: >>>>>> > > >>>>>> > > On 20/01/16 21:17, arunsri...@ebay.com >>>>>> wrote: >>>>>> > > > Hi Domnic >>>>>> > > > These are the steps i followed to build the rpm >>>>>> > > > >>>>>> > > > 1. downloaded tfm-rubygem-mysql2-0.3.19-2.el7.src.rpm >>>>>> > > > 2. Downloaded the el7-scl.cfg >>>>>> > > > >>>>>> > > >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg> >>>>>> >>>>>> > >>>>>> > > >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>>> >>>>>> >>>>>> > >>>>>> > > and el7-nonscl.cfg >>>>>> > > > >>>>>> > > >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg> >>>>>> >>>>>> > >>>>>> > > >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>>> >>>>>> >>>>>> > >>>>>> > > >>>>>> > > > files >>>>>> > > >>>>>> > > These have changed recently for 1.11 (it's the develop >>>>>> branch) so >>>>>> > > you'll >>>>>> > > want to use these instead for 1.10, else you'll get >>>>>> packages >>>>>> > that won't >>>>>> > > work: >>>>>> > > >>>>>> > >>>>>> https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock> >>>>>> > > >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock >>>>>> > < >>>>>> https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock>> >>>>>> > > >>>>>> > > > 3. /usr/bin/mock -r /etc/mock/foreman-nonscl.cfg >>>>>> rebuild >>>>>> > > > tfm-rubygem-mysql2-0.3.19-2.el7.src.rpm >>>>>> > > >>>>>> > > Ah, you need to use the SCL mock config here, not the >>>>>> "nonscl" >>>>>> > file, >>>>>> > > i.e. el7-scl.cfg. >>>>>> > > >>>>>> > > Another thought, you'll need to edit the file and add the >>>>>> > Percona yum >>>>>> > > repository to the list in the config. Hopefully as the >>>>>> spec >>>>>> > depends on >>>>>> > > "mysql-devel", it'll install the right one (if not, edit >>>>>> it). >>>>>> > > >>>>>> > > Cheers, >>>>>> > > >>>>>> > > -- >>>>>> > > Dominic Cleal >>>>>> > > dom...@cleal.org >>>>>> > > >>>>>> > > -- >>>>>> > > You received this message because you are subscribed to the >>>>>> Google >>>>>> > > Groups "Foreman users" group. >>>>>> > > To unsubscribe from this group and stop receiving emails from >>>>>> it, >>>>>> > send >>>>>> > > an email to foreman-user...@googlegroups.com >>>>>> > > >>>>> >. >>>>>> > > To post to this group, send email to >>>>>> forema...@googlegroups.com >>>>>> > >>>>>> > > <mailto:forema...@googlegroups.com >. >>>>>> > > Visit this group at >>>>>> https://groups.google.com/group/foreman-users >>>>>> > . >>>>>> > > For more options, visit https://groups.google.com/d/optout >>>>>> > . >>>>>> > >>>>>> > -- >>>>>> > You received this message because you are subscribed to the Google >>>>>> > Groups "Foreman users" group. >>>>>> > To unsubscribe from this group and stop receiving emails from it, >>>>>> send >>>>>> > an email to foreman-user...@googlegroups.com >>>>>> > . >>>>>> > To post to this group, send email to forema...@googlegroups.com >>>>>> > . >>>>>> > Visit this group at https://groups.google.com/group/foreman-users. >>>>>> > For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>>>

No, it's probably related to replacing the MySQL library - you'll need
to figure it out why it's failing to link. I can't support Percona's
packages.

··· -- Dominic Cleal dominic@cleal.org

On 26/01/16 19:05, arunsrinivasan@ebay.com wrote:

Hi Dominic
Any suggestion on getting over with this build error

On Saturday, January 23, 2016 at 9:10:57 PM UTC-8, arunsri...@ebay.com > wrote:

Made some progress
Added these to the config file
[percona-release-$basearch]
name = Percona-Release YUM repository - $basearch
baseurl = http://repo.percona.com/release/$releasever/RPMS/$basearch
<http://repo.percona.com/release/$releasever/RPMS/$basearch>
enabled = 1
gpgcheck = 1


Now i see its pulling the percona package but errors here during the
buid
RROR:  Error installing /builddir/build/SOURCES/mysql2-0.3.19.gem:
ERROR: Failed to build gem native extension.

        /opt/rh/ruby193/root/usr/bin/ruby extconf.rb
checking for ruby/thread.h... no
checking for rb_thread_blocking_region()... yes

▽
checking for rb_wait_for_single_fd()... yes
checking for rb_hash_dup()... yes
checking for rb_intern3()... yes
-----
Using mysql_config at /usr/bin/mysql_config
-----
checking for mysql.h... yes
checking for errmsg.h... yes
checking for mysqld_error.h... yes
-----
Don't know how to set rpath on your system, if MySQL libraries are
not in path mysql2 may not load
-----
-----
Setting libpath to /usr/lib64
-----
creating Makefile
gcc -shared -o mysql2.so client.o infile.o mysql2_ext.o result.o -L.
-L/opt/rh/ruby193/root/usr/lib64 -L/usr/lib64 -L. -Wl,-z,relro
-rdynamic -Wl,-export-dynamic  -m64  -lruby -L/usr/lib64
-lmysqlclienlpthread -lm -lrt -lssl -lcrypto -ldl  -lpthread -lrt
-ldl -lcrypt -lm   -lc
/usr/bin/ld: cannot find -lmysqlclient
collect2: error: ld returned 1 exit status
make: *** [mysql2.so] Error 1

On Saturday, January 23, 2016 at 6:20:07 PM UTC-8, >     arunsri...@ebay.com wrote:

    Hi Dominic
      Thanks for your support. I was able to create the package and
    install it. 

    However i still see this error

    Incorrect MySQL client library version! This gem was compiled
    for 5.5.44-MariaDB but the client library is 5.6.27-76.0.

    I have attached the root.log and config file to the post

    I added this line in the config file
    [percona-release]
    baseurl=http://repo.percona.com/release/5Server/SRPMS/
    <http://repo.percona.com/release/5Server/SRPMS/>


    so it'll use the percona source, I still see its looking for
    maria db

    DEBUG util.py:393:  Repository 'percona-release' is missing name
    in configuration, using id
    DEBUG util.py:393:  Getting requirements for
    tfm-rubygem-mysql2-0.3.19-2.el7.centos.src
    DEBUG util.py:393:   --> Already installed :
    scl-utils-build-20130529-17.el7_1.x86_64
    DEBUG util.py:393:   --> ruby193-ruby-1.9.3.484-49.el7.centos.x86_64
    DEBUG util.py:393:   -->
    ruby193-rubygems-1.8.23-49.el7.centos.noarch
    DEBUG util.py:393:   -->
    ruby193-rubygems-devel-1.8.23-49.el7.centos.noarch
    DEBUG util.py:393:   -->
    ruby193-ruby-devel-1.9.3.484-49.el7.centos.x86_64
    DEBUG util.py:393:   --> 1:mariadb-devel-5.5.44-2.el7.centos.x86_64

    Can u please let me know



    On Saturday, January 23, 2016 at 3:37:13 PM UTC-8, Dominic Cleal >         wrote:

        No, ruby22 is used by 1.11/develop. It looks like you'll
        also need to edit the URL to the Foreman repos in the mock
        configuration file.

        The file (even for rpm/1.10) points at the
        yum.theforeman.org/nightly
        <http://yum.theforeman.org/nightly> repo, so change this to
        /releases/1.10 and hopefully that will work to build against
        ruby193.

        -- 
        Dominic Cleal
        dom...@cleal.org

        On 23 January 2016 19:00:10 GMT+00:00, arunsri...@ebay.com >             wrote:

            Hi Dominic
              I had to add the following to successfully generate
             the rpm

            [scl-ruby]
            name=scl-ruby
            baseurl=https://www.softwarecollections.org/repos/rhscl/rh-ruby22/epel-7-x86_64/
            <https://www.softwarecollections.org/repos/rhscl/rh-ruby22/epel-7-x86_64/>


            however the box does not have ruby22 rpm and hence when
            installing it get the error
            rh-ruby22-ruby >= 1.8.6 is needed by
            tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64
            rh-ruby22-rubygems >= 1.8.10 is needed by
            tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64

            I tried installing these rpm's but it has other
            dependencies, does foreman 1.10 require ruby22

            thx



            On Friday, January 22, 2016 at 7:20:53 PM UTC-8, >                 arunsri...@ebay.com wrote:

                Hi Domic

                It seems to give me this error while building it

                I am using this file

                https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/1.10/mock/el7-scl.cfg
                <https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/1.10/mock/el7-scl.cfg>
                tart: yum install
                Error: Package: tfm-build-2.0-2.el7.x86_64 (foreman)
                           Requires: rh-ruby22-scldevel
                Error: Package: tfm-runtime-2.0-2.el7.x86_64 (foreman)
                           Requires: rh-ruby22-runtime
                 You could try using --skip-broken to work around
                the problem
                 You could try running: rpm -Va --nofiles --nodigest
                Error: Package: tfm-build-2.0-2.el7.x86_64 (foreman)
                           Requires: rh-ror41-scldevel
                Error: Package: tfm-runtime-2.0-2.el7.x86_64 (foreman)
                           Requires: rh-ror41-runtime

                On Friday, January 22, 2016 at 12:02:01 AM UTC-8, >                     Dominic Cleal wrote:

                    That looks like it's for Foreman 1.11 (develop),
                    you'll need to use the
                    1.10 config file from
                    https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>.


                    -- 
                    Dominic Cleal
                    dom...@cleal.org

                    On 22/01/16 07:17, arunsri...@ebay.com wrote:
                    > Hi Dominic
                    >   I have built it with mock scl, was trying to
                    install the package get
                    > follwoing error
                    >
                    > [arun@spc02 result]$ sudo rpm  -ivh
                    > tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64.rpm
                    > error: Failed dependencies:
                    > rh-ruby22-ruby >= 1.8.6 is needed by
                    > tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64
                    > rh-ruby22-rubygems >= 1.8.10 is needed by
                    > tfm-rubygem-mysql2-0.3.19-2.el7.centos.x86_64
                    >
                    > On Thursday, January 21, 2016 at 5:26:17 AM >                         UTC-8, Dominic Cleal wrote:
                    >
                    >     Did you use the SCL config rather than the
                    non-SCL config as per my
                    >     reply?  If you still use the
                    el7-nonscl.cfg file in the mock command
                    >     then yes, it'll build a non-SCL version
                    under /usr.
                    >
                    >     tfm-build is installed by the el7-scl.cfg
                    config
                    >    
                    (https://github.com/theforeman/foreman-packaging/blob/rpm/1.10/mock/el7-scl.cfg#L4
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/1.10/mock/el7-scl.cfg#L4>

                    >    
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/1.10/mock/el7-scl.cfg#L4
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/1.10/mock/el7-scl.cfg#L4>>)

                    >
                    >     and is available from our repos
                    >    
                    (http://yum.theforeman.org/releases/1.10/el7/x86_64/
                    <http://yum.theforeman.org/releases/1.10/el7/x86_64/>

                    >    
                    <http://yum.theforeman.org/releases/1.10/el7/x86_64/
                    <http://yum.theforeman.org/releases/1.10/el7/x86_64/>>).
                     I can only
                    >     assume you're still using the non-SCL config.
                    >
                    >     If it's still failing to build with the
                    el7-scl config, then please
                    >     share the logs from the results directory
                     - upload them, perhaps to a
                    >     pastebin.
                    >
                    >     --
                    >     Dominic Cleal
                    >     dom...@cleal.org <javascript:>
                    >
                    >     On 21/01/16 13:21, arunsri...@ebay.com >                         <javascript:> wrote:
                    >     > Thanks Dominic
                    >     >
                    >     > However how do i get it build under
                    /opt/theforeman ... path, it
                    >     builds
                    >     > under /user/gems ...
                    >     > You had mentioned build it using
                    tfm-build, how do i do that, don
                    >     tseem
                    >     > to have tfm-build and wasnt able to
                    download it.
                    >     > Thx
                    >     > On Thursday, January 21, 2016 at >                         12:02:37 AM UTC-8, Dominic Cleal >                         >     wrote:
                    >     >
                    >     >     On 20/01/16 21:17, >                         arunsri...@ebay.com <javascript:> wrote:
                    >     >     > Hi Domnic
                    >     >     > These are the steps i followed to
                    build the rpm
                    >     >     >
                    >     >     > 1. downloaded
                    tfm-rubygem-mysql2-0.3.19-2.el7.src.rpm
                    >     >     > 2. Downloaded the el7-scl.cfg
                    >     >     >
                    >     >    
                    >    
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>

                    >    
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>>

                    >
                    >     >    
                    >    
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>

                    >    
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>>>>

                    >
                    >     >     and el7-nonscl.cfg
                    >     >     >
                    >     >    
                    >    
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>

                    >    
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>>

                    >
                    >     >    
                    >    
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>

                    >    
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg
                    <https://github.com/theforeman/foreman-packaging/blob/rpm/develop/mock/el7-scl.cfg>>>>

                    >
                    >     >
                    >     >     > files
                    >     >
                    >     >     These have changed recently for 1.11
                    (it's the develop branch) so
                    >     >     you'll
                    >     >     want to use these instead for 1.10,
                    else you'll get packages
                    >     that won't
                    >     >     work:
                    >     >    
                    >    
                    https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock
                    <https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock>

                    >    
                    <https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock
                    <https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock>>

                    >     >    
                    >    
                    <https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock
                    <https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock>

                    >    
                    <https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock
                    <https://github.com/theforeman/foreman-packaging/tree/rpm/1.10/mock>>>

                    >     >
                    >     >     > 3. /usr/bin/mock -r
                    /etc/mock/foreman-nonscl.cfg  rebuild
                    >     >     >
                    tfm-rubygem-mysql2-0.3.19-2.el7.src.rpm
                    >     >
                    >     >     Ah, you need to use the SCL mock
                    config here, not the "nonscl"
                    >     file,
                    >     >     i.e. el7-scl.cfg.
                    >     >
                    >     >     Another thought, you'll need to edit
                    the file and add the
                    >     Percona yum
                    >     >     repository to the list in the
                    config.  Hopefully as the spec
                    >     depends on
                    >     >     "mysql-devel", it'll install the
                    right one (if not, edit it).
                    >     >
                    >     >     Cheers,
                    >     >
                    >     >     --
                    >     >     Dominic Cleal
                    >     >     dom...@cleal.org <javascript:>
                    >     >
                    >     > --
                    >     > You received this message because you
                    are subscribed to the Google
                    >     > Groups "Foreman user