Date: Sat, 06 Sep 2014 06:14:55 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 193362] New: print/tex-xdvik fails to build in clean system Message-ID: <bug-193362-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193362 Bug ID: 193362 Summary: print/tex-xdvik fails to build in clean system Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dinoex@FreeBSD.org FreeBSD 9.3-RELEASE / pkg-1.3.7 Fails to build as X11/extensions/XInput2.h is not found. The file is only in this location: /usr/local/include/X11/extensions/XInput2.h Please check. cd /usr/ports/print/tex-xdvik && make clean package ===> Fetching all distfiles required by tex-xdvik-22.87_1 for building ===> Extracting for tex-xdvik-22.87_1 => SHA256 Checksum OK for TeX/xdvik-22.87.tar.gz. ===> Patching for tex-xdvik-22.87_1 ===> Applying FreeBSD patches for tex-xdvik-22.87_1 ===> tex-xdvik-22.87_1 depends on file: /usr/local/share/texmf-dist/README - found ===> tex-xdvik-22.87_1 depends on executable: weave - found ===> tex-xdvik-22.87_1 depends on executable: gmake - found ===> tex-xdvik-22.87_1 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> tex-xdvik-22.87_1 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> tex-xdvik-22.87_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> tex-xdvik-22.87_1 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> tex-xdvik-22.87_1 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> tex-xdvik-22.87_1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> tex-xdvik-22.87_1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so.6.11.2) ===> tex-xdvik-22.87_1 depends on shared library: libpaper.so - found (/usr/local/lib/libpaper.so.1.1.2) ===> tex-xdvik-22.87_1 depends on shared library: libkpathsea.so - found (/usr/local/lib/libkpathsea.so.6.2.0) ===> tex-xdvik-22.87_1 depends on shared library: libiconv.so.3 - found (/usr/local/lib/libiconv.so.3) ===> tex-xdvik-22.87_1 depends on shared library: libXm.so - found (/usr/local/lib/libXm.so.2.0.1) ===> Configuring for tex-xdvik-22.87_1 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking for style of include used by gmake... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking build system type... amd64-portbld-freebsd9.3 checking host system type... amd64-portbld-freebsd9.3 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert amd64-portbld-freebsd9.3 file names to amd64-portbld-freebsd9.3 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd9.3 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether the compiler accepts prototypes... yes checking what warning flags to pass to the C compiler... -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd9.3 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking whether closedir returns void... no checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for pwd.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/param.h... (cached) yes checking for putenv... (cached) yes checking for strcasecmp... (cached) yes checking for strtol... (cached) yes checking for strstr... yes checking for getcwd... (cached) yes checking for getwd... (cached) yes checking for memcmp... (cached) yes checking for memcpy... (cached) yes checking for mkstemp... (cached) yes checking for mktemp... (cached) yes checking for strchr... yes checking for strrchr... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... (cached) yes checking for int64_t... (cached) yes checking for uint64_t... (cached) yes checking for struct stat.st_mtim... yes checking for library containing pow... -lm checking for pid_t... (cached) yes checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) yes checking for vprintf... (cached) yes checking for _doprnt... no checking for a working implementation of (v)snprintf()... yes checking for memicmp... no checking for working alloca.h... no checking for alloca... yes checking for preprocessor stringizing operator... yes checking for working memcmp... yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking return type of signal handlers... void checking whether byte ordering is bigendian... no checking for X... libraries /usr/local/lib, headers /usr/local/include checking whether -R must be followed by a space... no checking for gethostbyname... (cached) yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for whether setsid() is allowed within vfork()... yes checking size of unsigned long... 8 checking size of unsigned int... 4 checking size of unsigned short... 2 checking size of unsigned char... 1 checking for integer type to use in bitmaps... unsigned int, size = 4 checking for stropts.h and isastream()... no checking for certain old versions of Linux... no checking for poll.h and poll()... yes checking for XKB Bell extension... yes checking for XInput version 2.1 or higher... yes checking if linker supports multiple definitions and for required flags... -Xlinker --allow-multiple-definition checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for uint32_t... (cached) yes checking for ptrdiff_t... (cached) yes checking for mkstemp... (cached) yes checking for memcpy... (cached) yes checking for strerror... (cached) yes checking for waitpid... (cached) yes checking for sigaction... (cached) yes checking for strchr... (cached) yes checking for setenv... (cached) yes checking for fchdir... yes checking for getcwd... (cached) yes checking for getpwnam... yes checking for getuid... (cached) yes checking for getpwuid... yes checking for lstat... (cached) yes checking for ftruncate... yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for realpath... (cached) yes checking for netdb.h... (cached) yes checking sys/bsdtypes.h usability... no checking sys/bsdtypes.h presence... no checking for sys/bsdtypes.h... no checking for sys/param.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/fcntl.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking iconv.h usability... yes checking iconv.h presence... no configure: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: iconv.h: proceeding with the compiler's result checking for iconv.h... yes checking for library containing iconv... no checking for nl_langinfo... (cached) yes checking for langinfo.h... (cached) yes checking if nl_langinfo(CODESET) is working... yes checking X11/Intrinsic.h usability... yes checking X11/Intrinsic.h presence... yes checking for X11/Intrinsic.h... yes checking X11/IntrinsicI.h usability... yes checking X11/IntrinsicI.h presence... yes checking for X11/IntrinsicI.h... yes checking X11/Xosdefs.h usability... yes checking X11/Xosdefs.h presence... yes checking for X11/Xosdefs.h... yes checking X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking Xm/XpmP.h usability... yes checking Xm/XpmP.h presence... yes checking for Xm/XpmP.h... yes checking for X11/Xmu/Editres.h... yes checking for X11/Xmu/Xmu.h... yes checking for Xpm... libraries /usr/local/lib, headers in default path checking for XextCreateExtension in -lXext... yes checking for XpQueryVersion in -lXp... yes checking for Xaw headers... yes checking for SimpleClassPart.extension... yes checking for Motif... libraries /usr/local/lib, headers in default path checking if libXm requires libXp... yes checking for LessTif... yes configure: WARNING: LessTif header detected. ***************************************************************** * Warning: You are using LessTif instead of OpenMotif. * * Some GUI elements might be broken; please see the file * * * * texk/xdvik/LESSTIF-BUGS * * * * for more information. * ***************************************************************** checking whether to compile in panner (requires Xaw)... yes configure: creating ./config.lt config.lt: creating libtool checking if libkpathsea supports debugging... yes checking if <zlib.h> defines 'z_const'... yes checking for freetype-config... freetype-config checking whether kpathsea declares the kpse_enc_format... yes checking kpathsea/version.h usability... yes checking kpathsea/version.h presence... no configure: WARNING: kpathsea/version.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: kpathsea/version.h: proceeding with the compiler's result checking for kpathsea/version.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tests/Makefile config.status: creating xdvi config.status: creating c-auto.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in squeeze (/usr/obj/ports/usr/ports/print/tex-xdvik/work/xdvik-22.87/texk/xdvik/squeeze) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--enable-shared' '--datarootdir=/usr/local/share' '--with-xdvi-x-toolkit=motif' '--with-iconv' '--with-xpm' '--with-system-kpathsea' '--with-kpathsea-includes=/usr/local/include/kpathsea' '--with-kpathsea-libdir=/usr/local/lib' '--with-system-zlib' '--with-system-freetype2' '--with-system-libgs' '--with-default-gs-lib-path=/usr/local/lib' '--with-default-dvips-path=/usr/local/bin/dvips' '--with-default-ps2pdf-path=/usr/local/bin/ps2pdf' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd9.3' 'build_alias=amd64-portbld-freebsd9.3' 'CC=cc' 'CFLAGS=-O2 -pipe -I/usr/local/include -DHAVE_LIBPAPER -g -O0 -fno-strict-aliasing' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' --cache-file=/dev/null --srcdir=. configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking for style of include used by gmake... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether the compiler accepts prototypes... yes checking what warning flags to pass to the C compiler... -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking dependency style of cc... (cached) gcc3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands ===> Building for tex-xdvik-22.87_1 gmake all-recursive gmake[1]: Entering directory `/usr/obj/ports/usr/ports/print/tex-xdvik/work/xdvik-22.87/texk/xdvik' Making all in squeeze gmake[2]: Entering directory `/usr/obj/ports/usr/ports/print/tex-xdvik/work/xdvik-22.87/texk/xdvik/squeeze' depbase=`echo squeeze.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ cc -DPACKAGE_NAME=\"xdvik\ squeeze\" -DPACKAGE_TARNAME=\"xdvik-squeeze\" -DPACKAGE_VERSION=\"22.84.15\" -DPACKAGE_STRING=\"xdvik\ squeeze\ 22.84.15\" -DPACKAGE_BUGREPORT=\"tex-k@tug.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xdvik-squeeze\" -DVERSION=\"22.84.15\" -I. -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -DHAVE_LIBPAPER -g -O0 -fno-strict-aliasing -MT squeeze.o -MD -MP -MF $depbase.Tpo -c -o squeeze.o squeeze.c &&\ mv -f $depbase.Tpo $depbase.Po cc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -DHAVE_LIBPAPER -g -O0 -fno-strict-aliasing -o squeeze squeeze.o echo timestamp >stamp-squeeze gmake[2]: Leaving directory `/usr/obj/ports/usr/ports/print/tex-xdvik/work/xdvik-22.87/texk/xdvik/squeeze' Making all in . gmake[2]: Entering directory `/usr/obj/ports/usr/ports/print/tex-xdvik/work/xdvik-22.87/texk/xdvik' depbase=`echo browser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ cc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -I/usr/local/include/kpathsea -I/usr/local/include/freetype2 -I/usr/local/include -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -DHAVE_LIBPAPER -g -O0 -fno-strict-aliasing -MT browser.o -MD -MP -MF $depbase.Tpo -c -o browser.o browser.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dl_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ cc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -I/usr/local/include/kpathsea -I/usr/local/include/freetype2 -I/usr/local/include -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -DHAVE_LIBPAPER -g -O0 -fno-strict-aliasing -MT dl_list.o -MD -MP -MF $depbase.Tpo -c -o dl_list.o dl_list.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from browser.c:25: xdvi.h:171:73: error: X11/extensions/XInput2.h: No such file or directory In file included from dl_list.h:3, from dl_list.c:1: xdvi.h:171:73: error: X11/extensions/XInput2.h: No such file or directory In file included from browser.c:25: xdvi.h:1006: error: expected declaration specifiers or '...' before 'XIAnyClassInfo' In file included from dl_list.h:3, from dl_list.c:1: xdvi.h:1006: error: expected declaration specifiers or '...' before 'XIAnyClassInfo' gmake[2]: *** [browser.o] Fehler 1 gmake[2]: *** Warte auf noch nicht beendete Prozesse... gmake[2]: *** [dl_list.o] Fehler 1 gmake[2]: Leaving directory `/usr/obj/ports/usr/ports/print/tex-xdvik/work/xdvik-22.87/texk/xdvik' gmake[1]: *** [all-recursive] Fehler 1 gmake[1]: Leaving directory `/usr/obj/ports/usr/ports/print/tex-xdvik/work/xdvik-22.87/texk/xdvik' gmake: *** [all] Fehler 2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/ports/print/tex-xdvik. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193362-13>