Opened 7 years ago

Closed 6 years ago

#54831 closed defect (worksforme)

Error: Processing of port poppler failed while installing numpy

Reported by: caverac Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: poppler

Description

Hi there,

I've been trying to install numpy, and got this error

--->  Found 4 broken files, matching files to ports      
--->  Found 2 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 py27-matplotlib-basemap @1.0.7
 ufraw @0.22+x11
Continue? [Y/n]:

So I continued with the installation of basemap and it stopped with the message

--->  Computing dependencies for py27-matplotlib-basemap
--->  Cleaning py27-matplotlib-basemap
--->  Computing dependencies for poppler
--->  Staging poppler into destroot
Error: Failed to destroot poppler: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log for details.
Error: rev-upgrade failed: Error rebuilding ufraw
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

I've a looked around and found a couple (ticket:38784 and ticket:43533 and this) of tickets already about poppler, and tried with the solutions, but didn't work for me. Also tried with

sudo port rev-upgrade

and didn't work either. So I went ahead and cleaned everything

sudo port -f clean --all all
sudo port -f uninstall inactive

and still get the same error. I don't know how to proceed now. Any idea would be highly appreciated

Attachments (1)

main.log (546.0 KB) - added by caverac 7 years ago.
installation log

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by caverac

Attachment: main.log added

installation log

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

Keywords: numpy py27-matplotlib-basemap poppler removed
Owner: set to dbevans
Port: poppler added; py27-numpy removed
Status: newassigned

Please add the maintainer to the CC field: e.g. port info --maintainer poppler

comment:2 Changed 7 years ago by caverac

A bit of a development, I used

sudo port -fp uninstall --follow-dependents installed

to uninstall everything, and then tried again with poppler

sudo port install poppler

It starts with some dependencies

--->  Computing dependencies for poppler
The following dependencies will be installed: 
 autoconf
 automake
 bzip2
 cairo
 curl
 curl-ca-bundle
 db48
 expat
 fontconfig
 freetype
 gettext
 glib2
 gobject-introspection
 jbigkit
 jpeg
 lcms2
 libedit
 libffi
 libiconv
 libpixman
 libpng
 libtool
 libxml2
 ncurses
 openjpeg
 openssl
 pcre
 pkgconfig
 poppler-data
 py27-beaker
 py27-mako
 py27-markupsafe
 py27-setuptools
 python27
 python2_select
 python_select
 sqlite3
 tiff
 xorg-kbproto
 xorg-libX11
 xorg-libXau
 xorg-libXdmcp
 xorg-libXext
 xorg-libpthread-stubs
 xorg-libxcb
 xorg-renderproto
 xorg-xcb-proto
 xorg-xcb-util
 xorg-xextproto
 xorg-xproto
 xrender
 xz
 zlib
Continue? [Y/n]: y

and then fails again

--->  Staging poppler into destroot
Error: Failed to destroot poppler: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port poppler failed

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

The log says:

:info:destroot Traceback (most recent call last):
:info:destroot   File "/opt/local/bin/gtkdoc-rebase", line 28, in <module>
:info:destroot     from gtkdoc import common, config, rebase
:info:destroot   File "/opt/local/share/gtk-doc/python/gtkdoc/rebase.py", line 28, in <module>
:info:destroot     from six import iteritems, iterkeys
:info:destroot ImportError: No module named six

So it sounds like gtkdoc-rebase (a program provided by the gtk-doc port) requires a Python module named "six" (provided by the py27-six port). This module should be there, since gtk-doc does declare a dependency on py27-six.

Can you please show us what versions of these ports are installed, by running:

port -v installed gtk-doc py27-six

comment:4 Changed 6 years ago by mojca (Mojca Miklavec)

Meanwhile gtk-doc should be using python36. The first line of /opt/local/bin/gtkdoc-rebase is:

#!/opt/local/bin/python3.6

and then this file includes /opt/local/share/gtk-doc/python/gtkdoc/rebase.py.

The gtk-doc has an explicit dependency on py36-six.

@caverac: can you please confirm if this is still a problem for you and in case it is, answer the questions that Ryan asked? That is, please provide the output of

port -v installed gtk-doc py36-six

(If we don't get any more feedback, I suggest to close this as "worksforme".)

Last edited 6 years ago by mojca (Mojca Miklavec) (previous) (diff)

comment:5 Changed 6 years ago by caverac

@mojca @ryandesign Sorry for the late reply, hard drive failed shortly after and new installation solved the problem. Thanks!

comment:6 Changed 6 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.