| Summary: | multimedia/mpeg4ip does not compile on amd64 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Tim J. Robbins <tim> |
| Component: | Individual Port(s) | Assignee: | Michael Johnson <ahze> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Tim J. Robbins
2004-03-29 10:40:15 UTC
State Changed From-To: open->analyzed Over to Maintainer. A patch for this problem can be found here: http://people.freebsd.org/~arved/stuff/patch-lib::rtp::inet_ntop.c But the build fails later with: cc -shared mpeg4_audio_config.lo mpeg4_sdp.lo -Wl,--whole-archive ../../../lib/bitstream/.libs/libbitstream.a -Wl,--no-whole-archive -L/usr/local/lib ../../../lib/bitstream/.libs/libbitstream.a -lpthread -lc -Wl,-soname -Wl,libmp4util.so.0 -o .libs/libmp4util.so.0 /usr/bin/ld: ../../../lib/bitstream/.libs/libbitstream.a(bitstream.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC Responsible Changed From-To: freebsd-ports-bugs->lioux Responsible Changed From-To: lioux->freebsd-ports-bugs Unassign this PR; lioux is clearly not interested in maintaining the mpeg4ip port. On Thu, Jun 17, 2004 at 02:08:19PM +0000, Tim J. Robbins wrote:
> Synopsis: multimedia/mpeg4ip does not compile on amd64
Here is a (fairly crude) patch that makes it compile and mostly work
on amd64:
--- Makefile.old Fri Jun 18 00:14:12 2004
+++ Makefile Fri Jun 18 00:15:02 2004
@@ -121,6 +121,8 @@
@${REINPLACE_CMD} -e 's|use_mpeg4ip_xvid=false|use_mpeg4ip_xvid=true|g' \
-e 's|#define HAVE_XVID_H 1||g' \
${WRKSRC}/configure
+# Remove bogus -static flags
+ @${FIND} . -name Makefile.in -exec ${GREP} -q 'la_LDFLAGS.*=.*-static' {} \; -exec ${REINPLACE_CMD} '/la_LDFLAGS.*=.*-static/d' {} \;
.if ${ARCH} != "i386"
# emms opcode should be noop in non-i386 non-MMX ARCH
It looks like the amd64 problems may be fixed in mpeg4ip 1.1. Please update the port. Responsible Changed From-To: freebsd-ports-bugs->lioux Over to maintainer. State Changed From-To: analyzed->closed Should be fixed with commit of 2004-07-18 17:59:33 UTC. State Changed From-To: closed->open Mea culpa. kris has noted in his followup to ports/69043, which I mistakenly assumed would fix the problem, that the fix in this PR is the preferred one and the fix in 69043 is questionable. This was my mistake and I apologize. Responsible Changed From-To: lioux->ahze Over to maintainer State Changed From-To: open->feedback Is this still a problem on amd64 ? State Changed From-To: feedback->closed This shuold be fixed with 1.1. |