Opened 10 years ago
Closed 10 years ago
#46595 closed defect (worksforme)
Installation of poppler on Yosemite hangs in configure
Reported by: | piranha32 (Jacek Radzikowski) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | poppler |
Description
Installation of poppler on OSX Yosemite hangs in configure. I tried to remove macports and install again, upgrade all components, but it did not fix the problem.
This are the messages printed on the terminal by port -v install:
$ sudo /opt/local/bin/port -v install poppler ---> Computing dependencies for poppler. ---> Fetching archive for poppler ---> poppler-0.29.0_0.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch poppler-0.29.0_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/poppler % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0---> Attempting to fetch poppler-0.29.0_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/poppler % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0---> Attempting to fetch poppler-0.29.0_0.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/poppler % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 287 100 287 0 0 824 0 --:--:-- --:--:-- --:--:-- 827 ---> Fetching distfiles for poppler ---> Verifying checksums for poppler ---> Checksumming poppler-0.29.0.tar.xz ---> Extracting poppler ---> Extracting poppler-0.29.0.tar.xz ---> Patching configure.ac: s:-fno-check-new::g ---> Configuring poppler autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: glibtoolize --copy --force glibtoolize: putting auxiliary files in '.'. glibtoolize: copying file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: copying file 'm4/libtool.m4' glibtoolize: copying file 'm4/ltoptions.m4' glibtoolize: copying file 'm4/ltsugar.m4' glibtoolize: copying file 'm4/ltversion.m4' glibtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /opt/local/bin/autoconf --force autoreconf: running: /opt/local/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:12: installing './compile' configure.ac:9: installing './missing' cpp/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk
Logfile (attached) does not show any error messages.
Attachments (1)
Change History (9)
Changed 10 years ago by piranha32 (Jacek Radzikowski)
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to devans@… |
---|
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
It works fine for me on Yosemite. On my system, the next thing after finding awk is:
checking whether make sets $(MAKE)... yes
What version of Xcode do you have installed? What does xcodebuild -version
say? What about clang -v
and make -v
?
comment:3 Changed 10 years ago by piranha32 (Jacek Radzikowski)
The system was upgraded from Maverick; I installed xcode and CLI tools from Apple store. Tool versions:
$ xcodebuild -version Xcode 6.1.1 Build version 6A2008a $ clang -v Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.0.0 Thread model: posix $ make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-apple-darwin11.3.0 $
comment:4 follow-up: 5 Changed 10 years ago by dbevans (David B. Evans)
Works for me on Yosemite as well. When upgrading from Mavericks did you follow the Migration instructions?
comment:5 Changed 10 years ago by piranha32 (Jacek Radzikowski)
Replying to devans@…:
Works for me on Yosemite as well. When upgrading from Mavericks did you follow the Migration instructions?
At the time when I upgraded the system there was no Yosemite version of MacPorts yet. When the installer appeared on the website I ended up removing the old version following instructions from https://guide.macports.org/#installing.macports.uninstalling and installing everything from scratch. To make sure that I did not miss anything I removed MacPorts again and installed from freshly downloaded installer. Installer completed without errors. To make sure that I had up to date versions of all packages I ran "port selfupdate" and "port upgrade outdated".
On Maverick I also had Homebrew installed, but I removed it before second attempt to install MacPorts, following instructions from brew's FAQ.
comment:6 Changed 10 years ago by piranha32 (Jacek Radzikowski)
I ran port -d install poppler
, but it did not show any additional information from configure
:
[...] DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.30.0" && ./configure --prefix=/opt/local --disable-poppler-qt4 --disable-poppler-qt5 --disable-gtk-test --disable-silent-rules --enable-xpdf-headers --enable-zlib --enable-libcurl --enable-introspection' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.30.0" && ./configure --prefix=/opt/local --disable-poppler-qt4 --disable-poppler-qt5 --disable-gtk-test --disable-silent-rules --enable-xpdf-headers --enable-zlib --enable-libcurl --enable-introspection checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk ^C bash-3.2#
Manual execution of the command shown by port -f install
completed successfully:
bash-3.2# cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.30.0" && ./configure --prefix=/opt/local --disable-poppler-qt4 --disable-poppler-qt5 --disable-gtk-test --disable-silent-rules --enable-xpdf-headers --enable-zlib --enable-libcurl --enable-introspection checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking build system type... x86_64-apple-darwin14.0.0 checking host system type... x86_64-apple-darwin14.0.0 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin14.0.0 file names to x86_64-apple-darwin14.0.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin14.0.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool 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 output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin14.0.0 dyld 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 gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin14.0.0 dyld checking how to hardcode library paths into programs... immediate checking for library containing strerror... none required checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for pkg-config... /opt/local/bin//pkg-config checking pkg-config is at least version 0.9.0... yes checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for PTHREAD_PRIO_INHERIT... yes checking for X... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdint.h... (cached) yes checking whether gettimeofday is declared... yes checking for gettimeofday... yes checking for localtime_r... yes checking for gmtime_r... yes checking for rand_r... yes checking for gethostbyname... yes checking for nanosleep... yes checking for LIBOPENJPEG... yes checking for TIFFOpen in -ltiff... no checking tiffio.h usability... no checking tiffio.h presence... no checking for tiffio.h... no checking for popen... yes checking for mkstemp... yes checking for mkstemps... yes checking for strcpy_s... no checking for strcat_s... no 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 fseek64... no checking for ftell64... no checking for pread64... no checking for lseek64... no checking for inflate in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for LIBCURL... yes checking for libjpeg6b... no checking for libjpeg... no checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no configure: WARNING: libjpeg not found. disable JPEG support. checking libjpeg.h works correctly... no checking libjpeg.h problem can be fixed by XMD_H macro... no, disable libjpeg checking for LIBPNG... yes checking for FREETYPE... yes checking which font configuration to use... fontconfig checking for FONTCONFIG... yes checking for CAIRO... yes checking for PDFTOCAIRO... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/stat.h... (cached) yes checking for POPPLER_GLIB... yes checking for gobject-introspection... yes checking for glib-mkenums... /opt/local/bin//glib-mkenums checking for gtk-doc... no configure: WARNING: You will not be able to create source packages with 'make dist' because gtk-doc >= 1.14 is not found. checking for gtkdoc-check... no checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for GTKDOC_DEPS... yes checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for LCMS... yes checking for test data in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.30.0/./../test... no configure: WARNING: No test data found in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.30.0/./../test. You will not be able to run 'make check' successfully. The test data is not included in the source packages and is also not part of the main git repository. Instead, you can checkout the test data from its own git repository with: git clone git://git.freedesktop.org/git/poppler/test You should checkout the test data as a sibling of your poppler source folder or specify the location of your checkout with --with-testdatadir=/path/to/checkoutdir/test. checking for compiler flag... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating goo/Makefile config.status: creating fofi/Makefile config.status: creating splash/Makefile config.status: creating poppler/Makefile config.status: creating utils/Makefile config.status: creating glib/Makefile config.status: creating glib/poppler-features.h config.status: creating glib/reference/Makefile config.status: creating glib/reference/version.xml config.status: creating glib/demo/Makefile config.status: creating test/Makefile config.status: creating qt4/Makefile config.status: creating qt4/src/Makefile config.status: creating qt4/tests/Makefile config.status: creating qt4/demos/Makefile config.status: creating qt5/Makefile config.status: creating qt5/src/Makefile config.status: creating qt5/tests/Makefile config.status: creating qt5/demos/Makefile config.status: creating cpp/Makefile config.status: creating cpp/poppler-version.h config.status: creating cpp/tests/Makefile config.status: creating poppler.pc config.status: creating poppler-uninstalled.pc config.status: creating poppler-cairo.pc config.status: creating poppler-cairo-uninstalled.pc config.status: creating poppler-splash.pc config.status: creating poppler-splash-uninstalled.pc config.status: creating poppler-glib.pc config.status: creating poppler-glib-uninstalled.pc config.status: creating poppler-qt4.pc config.status: creating poppler-qt4-uninstalled.pc config.status: creating poppler-qt5.pc config.status: creating poppler-qt5-uninstalled.pc config.status: creating poppler-cpp.pc config.status: creating poppler-cpp-uninstalled.pc config.status: creating config.h config.status: config.h is unchanged config.status: creating poppler/poppler-config.h config.status: poppler/poppler-config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands Building poppler with support for: font configuration: fontconfig splash output: yes cairo output: yes qt4 wrapper: no qt5 wrapper: no glib wrapper: yes introspection: yes cpp wrapper: yes use gtk-doc: no use libjpeg: no use libpng: yes use libtiff: no use zlib: yes use libcurl: yes use libopenjpeg: yes with openjpeg1 use cms: yes with lcms2 command line utils: yes test data dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.30.0/./../test Warning: Using libjpeg is recommended Warning: Using zlib is not totally safe bash-3.2#
comment:7 Changed 10 years ago by piranha32 (Jacek Radzikowski)
Looks that the problem was related to the system upgrade. After Yosemite update from Apple was installed, the problem disappeared.
comment:8 Changed 10 years ago by dbevans (David B. Evans)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Interesting. Thanks for the update. Glad it's working.
Poppler log file