I have managed to compile a working DEB on x86_64. It appears the GCC
fortify source handling is getting in the way. I disabled it completely
with the CFLAG -D_FORTIFY_SOURCE=0. -D_FORTIFY_SOURCE=1 may work but I
didn't bother trying it. All I wanted was a working MP4Box.

I also added the CFLAG -D_GNU_SOURCE=1 although I don't know if that's
strictly required.

For anybody who wants to try this I'll provide brief details of what I
did (it may or may not be the correct way of doing things :) ).

apt-get build-deps gpac
apt-get source gpac
cd gpac-0.4.4
vim debian/rules
(edit the "CFLAGS = -Wall -g" line to read "CFLAGS = -D_GNU_SOURCE=1 
-D_FORTIFY_SOURCE=0 -Wall -g" and save the file)
debuild -us -uc -b
cd ..
dpkg -i *.deb

-- 
MP4Box buffer overflow detected
https://bugs.launchpad.net/bugs/273075
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to