You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ conan install . -b poppler
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Debug
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=13.1
os=Macos
os.version=10.14
os_build=Macos
[options]
[build_requires]
[env]
WARN: poppler/21.07.0: requirement freetype/2.10.4 overridden by your conanfile to freetype/2.11.1
WARN: poppler/21.07.0: requirement qt/6.1.2 overridden by your conanfile to qt/5.15.4
WARN: poppler/21.07.0: requirement libcurl/7.78.0 overridden by your conanfile to libcurl/7.80.0
WARN: poppler/21.07.0: requirement zlib/1.2.11 overridden by your conanfile to zlib/1.2.12
poppler/21.07.0: Forced build from source
conanfile.txt: Installing package
Requirements
boost/1.76.0 from 'conancenter' - Cache
brotli/1.0.9 from 'conancenter' - Cache
bzip2/1.0.8 from 'conancenter' - Cache
double-conversion/3.2.0 from 'conancenter' - Cache
freetype/2.11.1 from 'conancenter' - Cache
jbig/20160605 from 'conancenter' - Cache
lcms/2.11 from 'conancenter' - Cache
libbacktrace/cci.20210118 from 'conancenter' - Cache
libcurl/7.80.0 from 'conancenter' - Cache
libdeflate/1.10 from 'conancenter' - Cache
libiconv/1.16 from 'conancenter' - Cache
libjpeg/9d from 'conancenter' - Cache
libpng/1.6.37 from 'conancenter' - Cache
libtiff/4.3.0 from 'conancenter' - Cache
libwebp/1.2.2 from 'conancenter' - Cache
openal/1.21.1 from 'conancenter' - Cache
opengl/system from 'conancenter' - Cache
openjpeg/2.4.0 from 'conancenter' - Cache
openssl/1.1.1o from 'conancenter' - Cache
pcre2/10.39 from 'conancenter' - Cache
poppler/21.07.0 from 'conancenter' - Cache
poppler-data/0.4.10 from 'conancenter' - Cache
qt/5.15.4 from 'conancenter' - Cache
xz_utils/5.2.5 from 'conancenter' - Cache
zlib/1.2.12 from 'conancenter' - Cache
zstd/1.5.2 from 'conancenter' - Cache
Packages
boost/1.76.0:cf7b67b73e76b5c10e68ccc324522d2d10fa71a1 - Cache
brotli/1.0.9:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
bzip2/1.0.8:4dd346ebf1f17bafa0c92ef9a9b2347f8f048695 - Cache
double-conversion/3.2.0:455020d08111c991e0a7ea484c0dee2545816625 - Cache
freetype/2.11.1:364ac782f4633d3edce5ab5dd9dd6a30ffdf2117 - Cache
jbig/20160605:973f0a6952a433406d0178dc4379cdd0379ae297 - Cache
lcms/2.11:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
libbacktrace/cci.20210118:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
libcurl/7.80.0:86af9cfd57ea930948dd2af6bddd8f24859bc8f3 - Cache
libdeflate/1.10:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
libiconv/1.16:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
libjpeg/9d:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
libpng/1.6.37:759f27859467826a09487ad05fc5f5f43212292e - Cache
libtiff/4.3.0:c30e8bbd210e20f46081719356374d8bb13a1329 - Cache
libwebp/1.2.2:a4da7dbf176fabaaa20cf89fd7d2e8f62b7e9dd7 - Cache
openal/1.21.1:455020d08111c991e0a7ea484c0dee2545816625 - Cache
opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
openjpeg/2.4.0:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
openssl/1.1.1o:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
pcre2/10.39:11b970486ab85c34ce337e09919ff76b50153a63 - Cache
poppler/21.07.0:d5a06cd662e19e5df4e620d943cd3cf32308f955 - Build
poppler-data/0.4.10:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
qt/5.15.4:b7e1baf0ffde2029604c870602cd17d5a319a5ec - Cache
xz_utils/5.2.5:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
zlib/1.2.12:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
zstd/1.5.2:0fffff874fb07edeae8db06f343acdbc7bbbbb22 - Cache
Build requirements
pkgconf/1.7.4 from 'conancenter' - Cache
Build requirements packages
pkgconf/1.7.4:2135f48f2cfb8790e97bdc37c4d791b3211512ec - Cache
Installing (downloading, building) binaries...
brotli/1.0.9: Already installed!
bzip2/1.0.8: Already installed!
bzip2/1.0.8: Appending PATH environment variable: /Users/martin/.conan/data/bzip2/1.0.8/_/_/package/4dd346ebf1f17bafa0c92ef9a9b2347f8f048695/bin
double-conversion/3.2.0: Already installed!
jbig/20160605: Already installed!
jbig/20160605: Appending PATH environment variable: /Users/martin/.conan/data/jbig/20160605/_/_/package/973f0a6952a433406d0178dc4379cdd0379ae297/bin
lcms/2.11: Already installed!
libbacktrace/cci.20210118: Already installed!
libdeflate/1.10: Already installed!
libiconv/1.16: Already installed!
libiconv/1.16: Appending PATH environment var: /Users/martin/.conan/data/libiconv/1.16/_/_/package/2135f48f2cfb8790e97bdc37c4d791b3211512ec/bin
libjpeg/9d: Already installed!
libwebp/1.2.2: Already installed!
openal/1.21.1: Already installed!
opengl/system: Already installed!
openjpeg/2.4.0: Already installed!
openssl/1.1.1o: Already installed!
pkgconf/1.7.4: Already installed!
pkgconf/1.7.4: Appending PATH env var: /Users/martin/.conan/data/pkgconf/1.7.4/_/_/package/2135f48f2cfb8790e97bdc37c4d791b3211512ec/bin
pkgconf/1.7.4: Setting PKG_CONFIG env var: /Users/martin/.conan/data/pkgconf/1.7.4/_/_/package/2135f48f2cfb8790e97bdc37c4d791b3211512ec/bin/pkgconf
pkgconf/1.7.4: Appending AUTOMAKE_CONAN_INCLUDES env var: /Users/martin/.conan/data/pkgconf/1.7.4/_/_/package/2135f48f2cfb8790e97bdc37c4d791b3211512ec/bin/aclocal
poppler-data/0.4.10: Already installed!
xz_utils/5.2.5: Already installed!
zlib/1.2.12: Already installed!
zstd/1.5.2: Already installed!
boost/1.76.0: Already installed!
libcurl/7.80.0: Already installed!
libpng/1.6.37: Already installed!
libtiff/4.3.0: Already installed!
pcre2/10.39: Already installed!
pcre2/10.39: Appending PATH environment variable: /Users/martin/.conan/data/pcre2/10.39/_/_/package/11b970486ab85c34ce337e09919ff76b50153a63/bin
freetype/2.11.1: Already installed!
qt/5.15.4: Already installed!
poppler/21.07.0: Applying build-requirement: pkgconf/1.7.4
poppler/21.07.0: WARN: Build folder is dirty, removing it: /Users/martin/.conan/data/poppler/21.07.0/_/_/build/d5a06cd662e19e5df4e620d943cd3cf32308f955
poppler/21.07.0: Copying sources to build folder
poppler/21.07.0: Building your package in /Users/martin/.conan/data/poppler/21.07.0/_/_/build/d5a06cd662e19e5df4e620d943cd3cf32308f955
poppler/21.07.0: Generator pkg_config created libpkgconf.pc
poppler/21.07.0: Generator pkg_config created poppler-data.pc
poppler/21.07.0: Generator pkg_config created qtCore.pc
poppler/21.07.0: Generator pkg_config created qtNetwork.pc
poppler/21.07.0: Generator pkg_config created qtNetworkAuth.pc
poppler/21.07.0: Generator pkg_config created qtCoreAudioPlugin.pc
poppler/21.07.0: Generator pkg_config created qtAVFServicePlugin.pc
poppler/21.07.0: Generator pkg_config created qtAVFMediaPlayerServicePlugin.pc
poppler/21.07.0: Generator pkg_config created qtAudioCaptureServicePlugin.pc
...
-- Looking for pread64
-- Looking for pread64 - not found
-- Looking for lseek64
-- Looking for lseek64 - not found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for popen
-- Looking for popen - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Performing Test HAVE_DIRENT_H
-- Performing Test HAVE_DIRENT_H - Success
-- Performing Test HAVE_NDIR_H
-- Performing Test HAVE_NDIR_H - Failed
-- Performing Test HAVE_SYS_DIR_H
-- Performing Test HAVE_SYS_DIR_H - Success
-- Performing Test HAVE_SYS_NDIR_H
-- Performing Test HAVE_SYS_NDIR_H - Failed
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
Building Poppler with support for:
font configuration: generic
use boost (Splash): yes
cairo output: no
qt5 wrapper: yes
qt6 wrapper: no
glib wrapper: no
introspection: no
gtk-doc: no
cpp wrapper: yes
use libjpeg: yes
use libpng: yes
use libtiff: yes
use zlib compress: yes
use zlib uncompress: no
use nss3: no
use curl: yes
use libopenjpeg2: yes
use lcms2: yes
command line utils: no
fuzz target: no
test data dir: /Users/martin/.conan/data/poppler/21.07.0/_/_/build/d5a06cd662e19e5df4e620d943cd3cf32308f955/source_subfolder/../test
-- Configuring done
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "test-poppler-qt5" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:46 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "test-password-qt5" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:47 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "test-render-to-file-qt5" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:48 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "poppler-qt5-forms" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:49 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "poppler-qt5-fonts" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:50 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "poppler-qt5-attachments" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:51 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "stress-poppler-qt5" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:52 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "stress-poppler-dir-qt5" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:53 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "stress-threads-qt5" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:54 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "poppler-qt5-texts" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:55 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/tests/CMakeLists.txt:16 (target_link_libraries):
Target "poppler-qt5-page-labels" links to:
Qt5::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
source_subfolder/qt5/tests/CMakeLists.txt:56 (qt5_add_simpletest)
CMake Error at source_subfolder/qt5/demos/CMakeLists.txt:26 (target_link_libraries):
Target "poppler_qt5viewer" links to:
Qt5::Core
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
ENABLE_SPLASH
WITH_GTK
CMake Generate step failed. Build files cannot be regenerated correctly.
poppler/21.07.0:
poppler/21.07.0: ERROR: Package 'd5a06cd662e19e5df4e620d943cd3cf32308f955' build failed
poppler/21.07.0: WARN: Build folder /Users/martin/.conan/data/poppler/21.07.0/_/_/build/d5a06cd662e19e5df4e620d943cd3cf32308f955
ERROR: poppler/21.07.0: Error in build() method, line 246
cmake = self._configure_cmake()
while calling '_configure_cmake', line 230
self._cmake.configure(build_folder=self._build_subfolder)
ConanException: Error 1 while executing cd '/Users/martin/.conan/data/poppler/21.07.0/_/_/build/d5a06cd662e19e5df4e620d943cd3cf32308f955/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk" -DCMAKE_SYSTEM_VERSION="10.14" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.14" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="13.1" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/martin/.conan/data/poppler/21.07.0/_/_/package/d5a06cd662e19e5df4e620d943cd3cf32308f955" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/Users/martin/.conan/data/poppler/21.07.0/_/_/build/d5a06cd662e19e5df4e620d943cd3cf32308f955" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCMAKE_CXX_STANDARD="14" -DENABLE_UNSTABLE_API_ABI_HEADERS="True" -DBUILD_GTK_TESTS="False" -DBUILD_QT5_TESTS="False" -DBUILD_QT6_TESTS="False" -DBUILD_CPP_TESTS="False" -DBUILD_MANUAL_TESTS="False" -DENABLE_UTILS="False" -DENABLE_CPP="True" -DENABLE_SPLASH="True" -DFONT_CONFIGURATION="generic" -DENABLE_JPEG="libjpeg" -DWITH_PNG="True" -DWITH_TIFF="True" -DWITH_NSS3="False" -DWITH_Cairo="False" -DENABLE_GLIB="False" -DENABLE_GOBJECT_INTROSPECTION="False" -DWITH_GTK="False" -DWITH_Iconv="True" -DENABLE_ZLIB="True" -DENABLE_LIBOPENJPEG="openjpeg2" -DOPENJPEG_MAJOR_VERSION="2" -DENABLE_CMS="lcms2" -DENABLE_LIBCURL="True" -DPOPPLER_DATADIR="/Users/martin/.conan/data/poppler-data/0.4.10/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/poppler" -DENABLE_GTK_DOC="False" -DENABLE_QT5="True" -DENABLE_QT6="False" -DENABLE_DCTDECODER="libjpeg" -DUSE_FLOAT="False" -DRUN_GPERF_IF_PRESENT="False" -DEXTRA_WARN="False" -Wno-dev '/Users/martin/.conan/data/poppler/21.07.0/_/_/build/d5a06cd662e19e5df4e620d943cd3cf32308f955'
The text was updated successfully, but these errors were encountered:
Hi there,
I was reviewing old issues and I have come across this one.
There is a workaround to migrate poppler to conan v2 which will resolve this issue:
Package and Environment Details
Conan profile
Steps to reproduce
Here is my
conanfile.txt
:Logs
Click to expand log
The text was updated successfully, but these errors were encountered: