[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#832873: ghostscript: FTBFS: sjpx_openjpeg.c:605: undefined reference to `opj_image_destroy'



Source: ghostscript
Version: 9.19~dfsg-1
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20160728 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> gcc  -DHAVE_MKSTEMP -DHAVE_FILE64 -DHAVE_FSEEKO -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32 -DHAVE_BYTESWAP_H -DHAVE_STRERROR -DHAVE_ISNAN -DHAVE_ISINF -DHAVE_PREAD_PWRITE=1 -DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE -fPIC  -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DUSE_LIBPAPER -I/usr/include/x86_64-linux-gnu -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib/ghostscript/9.19\"  -I./soobj -I./base -I./devices  -DWHICH_CMS="lcms2" -o ./soobj/gsromfs0.o -c ./base/gsromfs0.c
> ./soobj/aux/echogs -w ./soobj/ldt.tr -n - gcc -Wl,-z,relro   -shared -Wl,-soname=libgs.so.9 -o ./sobin/libgs.so.9.19
> ./soobj/aux/echogs -a ./soobj/ldt.tr -n -s ./soobj/gsromfs0.o ./soobj/gs.o -s
> cat ./soobj/gsld.tr >> ./soobj/ldt.tr
> ./soobj/aux/echogs -a ./soobj/ldt.tr -s -  -lm -ldl  -lidn -lpaper -ltiff -rdynamic -lfontconfig -lfreetype -lfreetype -lopenjp2 -lpthread -lm
> if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
> XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
> PSI_FEATURE_DEVS= FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
> DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
> DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
> DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
> DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
> DEVICE_DEVS_EXTRA= \
> /bin/sh <./soobj/ldt.tr
> ./soobj/sjpx_openjpeg.o: In function `s_opjd_release':
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:605: undefined reference to `opj_image_destroy'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:609: undefined reference to `opj_stream_destroy'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:613: undefined reference to `opj_destroy_codec'
> ./soobj/sjpx_openjpeg.o: In function `s_opjd_set_codec_format':
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:119: undefined reference to `opj_set_default_decoder_parameters'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:122: undefined reference to `opj_create_decompress'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:127: undefined reference to `opj_set_error_handler'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:128: undefined reference to `opj_set_info_handler'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:129: undefined reference to `opj_set_warning_handler'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:136: undefined reference to `opj_setup_decoder'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:143: undefined reference to `opj_stream_default_create'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:150: undefined reference to `opj_stream_set_read_function'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:151: undefined reference to `opj_stream_set_skip_function'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:152: undefined reference to `opj_stream_set_seek_function'
> ./soobj/sjpx_openjpeg.o: In function `s_opjd_process':
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:563: undefined reference to `opj_stream_set_user_data'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:567: undefined reference to `opj_stream_set_user_data_length'
> ./soobj/sjpx_openjpeg.o: In function `decode_image':
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:242: undefined reference to `opj_read_header'
> /«PKGBUILDDIR»/./base/sjpx_openjpeg.c:249: undefined reference to `opj_decode'
> /usr/bin/ld: ./sobin/libgs.so.9.19: hidden symbol `opj_setup_decoder' isn't defined
> /usr/bin/ld: final link failed: Bad value
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/28/ghostscript_9.19~dfsg-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: