Date: Sat, 15 Feb 2014 12:36:10 +0100 From: Pietro Cerutti <gahr@FreeBSD.org> To: Rainer Hurling <rhurlin@gwdg.de> Cc: freebsd-ports@freebsd.org, jlaffaye@FreeBSD.org Subject: Re: print/libharu does not build after update to 2.3.0 Message-ID: <20140215113610.GP66341@gahrfit.gahr.ch> In-Reply-To: <52FF4029.60608@gwdg.de> References: <52FF4029.60608@gwdg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--4NNqsQ/a67jpuySk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2014-Feb-15, 11:23, Rainer Hurling wrote: > Unfortunately print/libharu does not build anymore after the update to > 2.3.0 (r344246). This happens on HEAD r261806 amd64 with clang. Uhm, it seems to be related to the previous installation. Can you deinstall the currently installed version before building the new one? I'll look at a proper fix on monday! Thanks! >=20 > Any help is really appreciated. >=20 > Thanks in advance, > Rainer Hurling >=20 >=20 >=20 > #make > =3D=3D=3D> Found saved configuration for libharu-2.3.0 > =3D=3D=3D> libharu-2.3.0 depends on file: /usr/local/sbin/pkg - found > =3D=3D=3D> Fetching all distfiles required by libharu-2.3.0 for building > =3D=3D=3D> Extracting for libharu-2.3.0 > =3D> SHA256 Checksum OK for libharu-2.3.0.tar.gz. > =3D=3D=3D> Patching for libharu-2.3.0 > =3D=3D=3D> Applying FreeBSD patches for libharu-2.3.0 > =3D=3D=3D> libharu-2.3.0 depends on file: /usr/local/bin/cmake - found > =3D=3D=3D> libharu-2.3.0 depends on shared library: libpng15.so - found > =3D=3D=3D> Configuring for libharu-2.3.0 > =3D=3D=3D> Performing out-of-source build > /bin/mkdir -p /usr/ports/print/libharu/work/.build > -- The C compiler identification is Clang 3.3.0 > -- Check for working C compiler: /usr/bin/cc > -- Check for working C compiler: /usr/bin/cc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- DevPackage only available for Win32. Set DEVPAK to OFF. > -- Looking for include file dlfcn.h > -- Looking for include file dlfcn.h - found > -- Looking for include file inttypes.h > -- Looking for include file inttypes.h - found > -- Looking for include file memory.h > -- Looking for include file memory.h - found > -- Looking for include file stdint.h > -- Looking for include file stdint.h - found > -- Looking for include file stdlib.h > -- Looking for include file stdlib.h - found > -- Looking for include file strings.h > -- Looking for include file strings.h - found > -- Looking for include file string.h > -- Looking for include file string.h - found > -- Looking for include file sys/stat.h > -- Looking for include file sys/stat.h - found > -- Looking for include file sys/types.h > -- Looking for include file sys/types.h - found > -- Looking for include file unistd.h > -- Looking for include file unistd.h - found > -- Found ZLIB: /usr/lib/libz.so (found version "1.2.8") > -- Found PNG: /usr/local/lib/libpng.so (found version "1.5.18") >=20 > Summary of CMake build system results for the haru library >=20 > Install location variables which can be set by the user: > CMAKE_INSTALL_PREFIX: /usr/local > CMAKE_INSTALL_EXEC_PREFIX > CMAKE_INSTALL_BINDIR =09 > CMAKE_INSTALL_LIBDIR =09 > CMAKE_INSTALL_INCLUDEDIR >=20 > Other important CMake variables: >=20 > CMAKE_SYSTEM_NAME: FreeBSD > UNIX: 1 > WIN32: =09 > APPLE: =09 > MSVC: (MSVC_VERSION: ) > MINGW: =09 > MSYS: =09 > CYGWIN: =09 > BORLAND: =09 > WATCOM: =09 >=20 > CMAKE_BUILD_TYPE: Release > CMAKE_C_COMPILER CMAKE_C_FLAGS: /usr/bin/cc -O2 -pipe -fno-strict-alias= ing >=20 > Library options: > LIBHPDF_SHARED: ON > LIBHPDF_STATIC: ON > LIBHPDF_EXAMPLES: ON > DEVPAK: OFF >=20 > Optional libraries: > HAVE_LIBZ: TRUE > HAVE_LIBPNG: TRUE >=20 > -- Configuring done > -- Generating done > CMake Warning: > Manually-specified variables were not used by the project: >=20 > CMAKE_CXX_COMPILER > CMAKE_CXX_FLAGS > CMAKE_CXX_FLAGS_DEBUG > CMAKE_CXX_FLAGS_RELEASE > CMAKE_C_FLAGS_DEBUG > CMAKE_MODULE_LINKER_FLAGS > THREADS_HAVE_PTHREAD_ARG >=20 >=20 > -- Build files have been written to: /usr/ports/print/libharu/work/.build > =3D=3D=3D> Building for libharu-2.3.0 > Scanning dependencies of target hpdf > Scanning dependencies of target hpdfs > [ 1%] Building C object src/CMakeFiles/hpdf.dir/hpdf_binary.o > [ 0%] Building C object src/CMakeFiles/hpdf.dir/hpdf_boolean.o > [ 4%] Building C object src/CMakeFiles/hpdfs.dir/hpdf_annotation.o > [ 4%] Building C object src/CMakeFiles/hpdf.dir/hpdf_catalog.o > [ 5%] Building C object src/CMakeFiles/hpdf.dir/hpdf_array.o > [ 4%] Building C object src/CMakeFiles/hpdf.dir/hpdf_annotation.o > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:235:46: > error: use of undeclared identifier 'HPDF_ANNOT_WIDGET'; did you mean > 'HPDF_ANNOT_HIDDEN'? > annot =3D HPDF_Annotation_New (mmgr, xref, HPDF_ANNOT_WIDGET, rect); > ^~~~~~~~~~~~~~~~~ > HPDF_ANNOT_HIDDEN > /usr/local/include/hpdf_types.h:366:5: note: 'HPDF_ANNOT_HIDDEN' > declared here > HPDF_ANNOT_HIDDEN, > ^ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:235:46: > warning: implicit conversion from enumeration type 'enum > _HPDF_AnnotFlgs' to different enumeration type 'HPDF_AnnotType' (aka > 'enum _HPDF_AnnotType') [-Wenum-conversion] > annot =3D HPDF_Annotation_New (mmgr, xref, HPDF_ANNOT_WIDGET, rect); > ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ > [ 6%] Building C object src/CMakeFiles/hpdf.dir/hpdf_destination.o > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:235:46: > error: use of undeclared identifier 'HPDF_ANNOT_WIDGET'; did you mean > 'HPDF_ANNOT_HIDDEN'? > annot =3D HPDF_Annotation_New (mmgr, xref, HPDF_ANNOT_WIDGET, rect); > ^~~~~~~~~~~~~~~~~ > HPDF_ANNOT_HIDDEN > /usr/local/include/hpdf_types.h:366:5: note: 'HPDF_ANNOT_HIDDEN' > declared here > HPDF_ANNOT_HIDDEN, > ^ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:235:46: > warning: implicit conversion from enumeration type 'enum > _HPDF_AnnotFlgs' to different enumeration type 'HPDF_AnnotType' (aka > 'enum _HPDF_AnnotType') [-Wenum-conversion] > annot =3D HPDF_Annotation_New (mmgr, xref, HPDF_ANNOT_WIDGET, rect); > ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:302:53: > error: unknown type name 'HPDF_JavaScript' > HPDF_LinkAnnot_SetJavaScript(HPDF_Annotation annot, HPDF_JavaScript > javascript) > ^ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:302:53: > error: unknown type name 'HPDF_JavaScript' > HPDF_LinkAnnot_SetJavaScript(HPDF_Annotation annot, HPDF_JavaScript > javascript) > ^ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:414:1: > error: conflicting types for 'HPDF_3DAnnot_New' > HPDF_3DAnnot_New (HPDF_MMgr mmgr, > ^ > /usr/local/include/hpdf_annotation.h:53:1: note: previous declaration is > here > HPDF_3DAnnot_New (HPDF_MMgr mmgr, > ^ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:931:43: > error: use of undeclared identifier 'HPDF_ANNOT_PROJECTION' > annot =3D HPDF_Annotation_New (mmgr, xref, HPDF_ANNOT_PROJECTION, > rect); > ^ > [ 7%] Building C object src/CMakeFiles/hpdfs.dir/hpdf_array.o > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:414:1: > error: conflicting types for 'HPDF_3DAnnot_New' > HPDF_3DAnnot_New (HPDF_MMgr mmgr, > ^ > /usr/local/include/hpdf_annotation.h:53:1: note: previous declaration is > here > HPDF_3DAnnot_New (HPDF_MMgr mmgr, > ^ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:931:43: > error: use of undeclared identifier 'HPDF_ANNOT_PROJECTION' > annot =3D HPDF_Annotation_New (mmgr, xref, HPDF_ANNOT_PROJECTION, > rect); > ^ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:1218:55: > error: unknown type name 'HPDF_ExData'; did you mean 'HPDF_Date'? > HPDF_ProjectionAnnot_SetExData(HPDF_Annotation annot, HPDF_ExData exdata) > ^~~~~~~~~~~ > HPDF_Date > /usr/local/include/hpdf_types.h:125:3: note: 'HPDF_Date' declared here > } HPDF_Date; > ^ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:1222:39: > error: passing 'HPDF_Date' (aka 'struct _HPDF_Date') to parameter of > incompatible type 'void *' > ret =3D HPDF_Dict_Add(annot, "ExData", exdata); > ^~~~~~ > /usr/local/include/hpdf_objects.h:467:31: note: passing argument to > parameter 'obj' here > void *obj); > ^ > 1 warning and 6 errors generated. > --- src/CMakeFiles/hpdfs.dir/hpdf_annotation.o --- > *** [src/CMakeFiles/hpdfs.dir/hpdf_annotation.o] Error code 1 >=20 > make[4]: stopped in /usr/ports/print/libharu/work/.build > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:1218:55: > error: unknown type name 'HPDF_ExData'; did you mean 'HPDF_Date'? > HPDF_ProjectionAnnot_SetExData(HPDF_Annotation annot, HPDF_ExData exdata) > ^~~~~~~~~~~ > HPDF_Date > /usr/local/include/hpdf_types.h:125:3: note: 'HPDF_Date' declared here > } HPDF_Date; > ^ > /usr/ports/print/libharu/work/libharu-libharu-7f4bb51/src/hpdf_annotation= =2Ec:1222:39: > error: passing 'HPDF_Date' (aka 'struct _HPDF_Date') to parameter of > incompatible type 'void *' > ret =3D HPDF_Dict_Add(annot, "ExData", exdata); > ^~~~~~ > /usr/local/include/hpdf_objects.h:467:31: note: passing argument to > parameter 'obj' here > void *obj); > ^ > 1 warning and 6 errors generated. > --- src/CMakeFiles/hpdf.dir/hpdf_annotation.o --- > *** [src/CMakeFiles/hpdf.dir/hpdf_annotation.o] Error code 1 >=20 > make[4]: stopped in /usr/ports/print/libharu/work/.build > 1 error >=20 > make[4]: stopped in /usr/ports/print/libharu/work/.build > --- src/CMakeFiles/hpdf.dir/all --- > *** [src/CMakeFiles/hpdf.dir/all] Error code 2 >=20 > make[3]: stopped in /usr/ports/print/libharu/work/.build > 1 error >=20 > make[4]: stopped in /usr/ports/print/libharu/work/.build > --- src/CMakeFiles/hpdfs.dir/all --- > *** [src/CMakeFiles/hpdfs.dir/all] Error code 2 >=20 > make[3]: stopped in /usr/ports/print/libharu/work/.build > 2 errors >=20 > make[3]: stopped in /usr/ports/print/libharu/work/.build > --- all --- > *** [all] Error code 2 >=20 > make[2]: stopped in /usr/ports/print/libharu/work/.build > 1 error >=20 > make[2]: stopped in /usr/ports/print/libharu/work/.build > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e to > the maintainer. > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/ports/print/libharu > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/print/libharu --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --4NNqsQ/a67jpuySk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJS/1ElXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQTZERTEwNkE1Qjg1NEI4NUREODZENDlB REQwRDM4RUExOTIwODlFAAoJEK3Q046hkgiegQMQALL9yazRCE3e7KLqGeHXhu72 qX0repG8No/PcLLqBTjMI17J+QXd8VvwNuq8BMhBufWAUSfAlxp8nC/UETq8AMcf sjRiB+HBP1iVCdqenuIrH8xmbW8zURW9PjQkUfb/0WHixpvp/n7jeesnwpVs3MsR Puonsm/rBodD8gYc87+vc0+cFyxSzE8QBdsLiv7i2xjfgZRsm2agiwx5jL6O6VlV Gcm04k3Zscq6KbM9v9GMf/YtjZLkBUGn4L/33XI+3hcovmLcshkIYrWARqdu7FbJ ekXkH+clYPoK1X6otFfDFWE7u4Kv6saQKBsCXCE821IZqARf6x2kXxxGV4TAg7SE 0RgVaK89DOZJL+r8xZwjRCyn4FkqbwLwKEGc2g0pGfOvSpWz8z97Y2z93i4Hbh9+ Ro7UbSPt00js0vlfJHhhOVYwzN8jdAd8tDV56JWAoMWCHhmfKX3K2IAkT79Q57aE QbPfCGUI9UA7Vzkp0VTRvjB+HrnK7UuWj2nFnw9PO/ibmNYmjEB7335YUasS90X5 Xs59WBgaLxYItA2a68sQHrxuyNvk3TQ1gWY8IIuFfmFmbStsOSuFFH7RxKJwknCx orCA/btiPSBHPm3LtgNtvXght+Fuj8I4vZZkxb1bE+cb67mgVShBAJda9L64S2Hl drSQgD50w5SGA4ozXUpo =ws+w -----END PGP SIGNATURE----- --4NNqsQ/a67jpuySk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140215113610.GP66341>