[CentOS] Mock build php i386 from x86_64 issue
Jason Pyeron
jpyeron at pdinc.us
Wed Jul 7 17:44:59 UTC 2010
Nice, thanks
> -----Original Message-----
> From: centos-bounces at centos.org
> [mailto:centos-bounces at centos.org] On Behalf Of Ryan Wagoner
> Sent: Wednesday, July 07, 2010 13:40
> To: CentOS mailing list
> Subject: Re: [CentOS] Mock build php i386 from x86_64 issue
>
> I asked this question on the list a few months back. You need
> to use setarch to change to i386. Otherwise inside mock the
> arch command will return x86_64.
>
> setarch i386 mock mockargs
>
> Ryan
>
> On Wed, Jul 7, 2010 at 9:25 AM, Jason Pyeron <jpyeron at pdinc.us> wrote:
> > Maybe this shoul have been on the devel list, sorry if that is so.
> >
> >> -----Original Message-----
> >> From: centos-bounces at centos.org
> >> [mailto:centos-bounces at centos.org] On Behalf Of Rick Barnes
> >> Sent: Wednesday, July 07, 2010 7:45
> >> To: CentOS mailing list
> >> Subject: Re: [CentOS] Mock build php i386 from x86_64 issue
> >>
> >> On 07/07/2010 07:26 AM, Jason Pyeron wrote:
> >> > checking OpenSSL dir for SNMP... no
> >> > /usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64:
> >> command not
> >> > found
> >> > /usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64:
> >> command not
> >> > found
> >> > /usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64:
> >> command not
> >> > found
> >> > configure: error: Could not find the required paths. Please
> >> check your
> >> > net-snmp installation.
> >> > error: Bad exit status from /var/tmp/rpm-tmp.66050 (%build)
> >>
> >> Since you didn't really ask a question nor provide any further
> >> information, I will ask you the obvious question:
> >>
> >
> > I was just documenting an issue with a mock build.
> >
> >> Is net-snmp-devel installed like it asks for?
> >
> > That is the purpose of mock, and yes it was, but I was building an
> > i386 not an x86_64. The configure script was confused and
> the rpm src
> > / mock did not straiten it out. The bug is either in the php src /
> > .src.rpm or in the mock process.
> >
> >>
> >> $ yum whatprovides /usr/bin/net-snmp-config Loaded plugins:
> >> fastestmirror, priorities Reducing Extra Packages for Enterprise
> >> Linux 5 - x86_64 to included packages only Finished Excluding
> >> Packages from CentOS-5 - Extras Finished 0 packages
> excluded due to
> >> repository priority protections
> >> 1:net-snmp-devel-5.3.2.2-9.el5.i386 : The development
> environment for
> >> the NET-SNMP project.
> >> Repo : base
> >> Matched from:
> >> Filename : /usr/bin/net-snmp-config
> >>
> >>
> >>
> >> 1:net-snmp-devel-5.3.2.2-9.el5.x86_64 : The development
> environment
> >> for the NET-SNMP project.
> >> Repo : base
> >> Matched from:
> >> Filename : /usr/bin/net-snmp-config
> >>
> >> <snip>
> >> _______________________________________________
> >> CentOS mailing list
> >> CentOS at centos.org
> >> http://lists.centos.org/mailman/listinfo/centos
> >>
> >
> >
> >
> >
> > --
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > - -
> > - Jason Pyeron PD Inc. http://www.pdinc.us -
> > - Principal Consultant 10 West 24th Street #100 -
> > - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
> > - -
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > This message is copyright PD Inc, subject to license 20080407P00.
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.
More information about the CentOS
mailing list