Bug#744879: FTBFS when building with compiler optimization disabled

Sebastian Ramacher sramacher at debian.org
Tue Apr 15 19:38:41 UTC 2014


Control: tags -1 + confirmed

On 2014-03-15 00:35:02, Bill Blough wrote:
> Package: vlc
> Version: 2.1.2-2+b3
> Severity: normal
> 
> Building with the following command fails -
> 
> DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source vlc
> 
> 
> A tail of the build log shows:
> 
> .../../doltlibtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -DMODULE_NAME=$(p="libdeinterlace_plugin_la-algo_yadif.lo"; p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}") -DMODULE_NAME_IS_$(p="libdeinterlace_plugin_la-algo_yadif.lo"; p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}") -DMODULE_STRING=\"$(p="libdeinterlace_plugin_la-algo_yadif.lo"; p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}")\" -D__PLUGIN__ -I../../include -I../../include   -O2  -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -c -o libdeinterlace_plugin_la-algo_yadif.lo `test -f 'deinterlace/algo_yadif.c' || echo './'`deinterlace/algo_yadif.c
> In file included from deinterlace/algo_yadif.c:26:0:
> .../../config.h:789:0: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
>  # pragma STDC FENV_ACCESS OFF
>  ^
> .../../config.h:790:0: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
>  # pragma STDC FP_CONTRACT ON
>  ^
> In file included from deinterlace/yadif.h:22:0,
>                  from deinterlace/algo_yadif.c:48:
> .../../config.h:789:0: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
>  # pragma STDC FENV_ACCESS OFF
>  ^
> .../../config.h:790:0: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
>  # pragma STDC FP_CONTRACT ON
>  ^
> deinterlace/algo_yadif.c: In function ‘RenderYadif’:
> deinterlace/algo_yadif.c:129:20: warning: assignment from incompatible pointer type [enabled by default]
>              filter = yadif_filter_line_c_16bit;
>                     ^
> In file included from deinterlace/yadif.h:49:0,
>                  from deinterlace/algo_yadif.c:48:
> deinterlace/yadif_template.h: In function ‘yadif_filter_line_ssse3’:
> deinterlace/yadif_template.h:134:9: error: ‘asm’ operand has impossible constraints
>          __asm__ volatile(\
>          ^
> deinterlace/yadif_template.h:256:9: note: in expansion of macro ‘FILTER’
>          FILTER
>          ^
> deinterlace/yadif_template.h:134:9: error: ‘asm’ operand has impossible constraints
>          __asm__ volatile(\
>          ^
> deinterlace/yadif_template.h:262:9: note: in expansion of macro ‘FILTER’
>          FILTER
>          ^
> make[5]: *** [libdeinterlace_plugin_la-algo_yadif.lo] Error 1
> make[5]: Leaving directory `/home/bblough/src/vlc-2.1.2/modules/video_filter'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory `/home/bblough/src/vlc-2.1.2/modules/video_filter'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/bblough/src/vlc-2.1.2/modules'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/bblough/src/vlc-2.1.2'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/bblough/src/vlc-2.1.2'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> Build command 'cd vlc-2.1.2 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed

Indeed, on i386 it fails to build with noopt and nostrip. But at least
on amd64 is builds just fine with these options set.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140415/acade03e/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list