[MacPorts] #25815: libvpx 0.9.1_0 fails to build
MacPorts
noreply at macports.org
Sun Aug 1 17:09:22 PDT 2010
#25815: libvpx 0.9.1_0 fails to build
-------------------------------+--------------------------------------------
Reporter: manphiz@… | Owner: raimue@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: libvpx
-------------------------------+--------------------------------------------
Comment(by joerg@…):
Replying to [comment:20 ryandesign@…]:
> Please selfupdate and try again. I've modified the portfile to fix one
potential problem (if you've changed the default compiler using
`gcc_select`) (r70196) and made it print more debugging info (r70195) so
if it fails again, attach a new log so we can have a look.
No compiler problem, no portfile problem, just some automake crap added
upstream:
The build uses deps generated by gcc like this line
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libvpx/work/libvpx-0.9.1/vp8/common/header.h
}}}
this is changed with sed
{{{
sed -e 's;^\(.*\)\.o;vp8/common/generic/\1.c.o
vp8/common/generic/systemdependent.c.d;'
}}}
and becomes
{{{
vp8/common/generic/
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.c.o
vp8/common/generic/systemdependent.c.drg_release_ports_multimedia_libvpx/work/libvpx-0.9.1/vp8/common/header.h
}}}
I think you see the problem.
The source of evil is in build/make/configure.sh in the line
{{{
fmt_deps = sed -e 's;^\(.*\)\.o;\$(dir \$@)\1\$(suffix \$<).o \$@;' #hide
}}}
Just change this to
{{{
fmt_deps = sed -e 's;^\(.*\)\.oxxxxx;\$(dir \$@)\1\$(suffix \$<).o \$@;'
#hide
}}}
and the problem is gone.
--
Ticket URL: <http://trac.macports.org/ticket/25815#comment:26>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list