Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 18:45:56 -0400
From:      Michael Copeland <michael@kryptos-security.com>
To:        Justin Hibbits <chmeeedalf@gmail.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Building mplayer on 9.1-PRERELEASE host architecture "UNKNOWN"
Message-ID:  <CAKLtBCj_XhkeQJpB-HVjUquk2TMn=osCod3z1qszvD2At8uP5w@mail.gmail.com>
In-Reply-To: <20121006184309.0749c6d8@narn.knownspace>
References:  <CAKLtBChVNwE4C3j3=1uqn5i5xdcXxk7s7cnnvYWR9vniK3-9Wg@mail.gmail.com> <20121006172111.2d81b737@narn.knownspace> <CAKLtBCg6V2manBfxx2MgDytWJGqfmpzb4VdU6emih23=jT2VUw@mail.gmail.com> <20121006184309.0749c6d8@narn.knownspace>

next in thread | previous in thread | raw e-mail | index | archive | help
I sent it.

stated that simply running make install results in the architecture unknown
error.

for the fix section, i put this:

edit configure script in work/mplayer-export-2012-07-21


find section
# host's CPU/instruction set

patch section  macppc|ppc*|Power*) host_arch=ppc ;;

with            macppc|ppc*|Power*|powerpc) host_arch=ppc ;;



changing system var UNAME_m to ppc would also work, but this may break
other ports.




On Sat, Oct 6, 2012 at 6:43 PM, Justin Hibbits <chmeeedalf@gmail.com> wrote:

> On Sat, 6 Oct 2012 18:38:36 -0400
> Michael Copeland <michael@kryptos-security.com> wrote:
>
> > Sure, I'll be glad to do it. Is there a certain format to follow?
>
> Not really, you can look at other PRs if you want some ideas.  A patch
> to attach would be best, and set the category to ports since it's a
> bug in third-party software. You may also want to notify upstream, so it
> can be fixed in the original source.
>
> >
> > On Sat, Oct 6, 2012 at 5:21 PM, Justin Hibbits <chmeeedalf@gmail.com>
> > wrote:
> >
> > > On Sat, 6 Oct 2012 15:37:34 -0400
> > > Michael Copeland <michael@kryptos-security.com> wrote:
> > >
> > > > Configure script fails when detecting $host_arch.
> > > >
> > > > guilty part is:
> > > >
> > > >  # host's CPU/instruction set
> > > >   case "$(uname -m 2>&1)" in
> > > >
> > > >
> > >
> x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686)
> > > > host_arch=i386 ;;
> > > >       ia64) host_arch=ia64 ;;
> > > >       macppc|ppc*|Power*) host_arch=ppc ;;
> > > >
> > > >
> > > > uname -m gives us powerpc, this isn't here, so add it.
> > > >
> > > >
> > > >  # host's CPU/instruction set
> > > >   case "$(uname -m 2>&1)" in
> > > >
> > > >
> > >
> x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686)
> > > > host_arch=i386 ;;
> > > >       ia64) host_arch=ia64 ;;
> > > >       macppc|ppc*|Power*|powerpc) host_arch=ppc ;;
> > > >
> > > >
> > > > builds and installs now.
> > > > _______________________________________________
> > > > freebsd-ppc@freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> > > > To unsubscribe, send any mail to
> > > > "freebsd-ppc-unsubscribe@freebsd.org"
> > >
> > > Can you file a PR for this?  This way the ports team can see it and
> > > track it.
> > >
> > > - Justin
> > >
>
> - Justin
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKLtBCj_XhkeQJpB-HVjUquk2TMn=osCod3z1qszvD2At8uP5w>