Opened 6 years ago

Closed 6 years ago

#58427 closed defect (fixed)

pdf2djvu fails to rebuild

Reported by: angelog0 (Angelo Graziosi) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: pdf2djvu

Description

In today upgrade:

sudo port selfupdate
sudo port upgrade outdated
[...]
--->  Verifying checksums for poppler
--->  Extracting poppler
--->  Applying patches to poppler
--->  Configuring poppler
Error: poppler cannot be built while another version of poppler is active.
Error: Please forcibly deactivate the existing copy of poppler, e.g. by running:
Error:
Error:     sudo port -f deactivate poppler
Error:
Error: Then try again.
[...]
sudo port -f deactivate poppler
Password:
--->  Unable to deactivate poppler @0.75.0_0, the following ports depend on it:
--->  	pdf2djvu @0.9.12_2
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Deactivating poppler @0.75.0_0
--->  Cleaning poppler
sudo port upgrade outdated
[...]
--->  Scanning binaries for linking errors
--->  Found 1 broken file, matching files to ports
--->  Found 1 broken port, determining rebuild order
--->  Rebuilding in order
     pdf2djvu @0.9.12
--->  Computing dependencies for pdf2djvu
--->  Fetching distfiles for pdf2djvu
--->  Verifying checksums for pdf2djvu
--->  Extracting pdf2djvu
--->  Applying patches to pdf2djvu
--->  Configuring pdf2djvu
--->  Building pdf2djvu
Error: Failed to build pdf2djvu: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_pdf2djvu/pdf2djvu/main.log for details.
Error: rev-upgrade failed: Error rebuilding pdf2djvu
[...]

attached the main.log...

Attachments (1)

pdf2djvu-main.log.bz2 (4.1 KB) - added by angelog0 (Angelo Graziosi) 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by angelog0 (Angelo Graziosi)

Attachment: pdf2djvu-main.log.bz2 added

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

Cc: nicos@… removed
Owner: set to NicosPavlov
Status: newassigned

comment:2 Changed 6 years ago by kencu (Ken)

May not be compatible with current poppler version:

:info:build /usr/bin/clang++ -pipe -Os -DHAVE_SYS_TYPES_H=1 -stdlib=libc++ -arch x86_64 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual  -I/opt/local/include/poppler -I/opt/local/include/GraphicsMagick  -I/usr/include/uuid/uuid.h -I/opt/local/include -std=gnu++11  -c -o string-utils.o string-utils.cc
:info:build pdf2djvu.cc:90:45: error: too many arguments to function call, expected single argument 'pageRef', have 2 arguments
:info:build       page = catalog->findPage(pageref.num, pageref.gen);
:info:build              ~~~~~~~~~~~~~~~~~              ^~~~~~~~~~~
:info:build /opt/local/include/poppler/Catalog.h:149:3: note: 'findPage' declared here
:info:build   int findPage(const Ref pageRef);
:info:build   ^

comment:5 Changed 6 years ago by NicosPavlov

Resolution: fixed
Status: assignedclosed

Should be fixed now that ​https://github.com/macports/macports-ports/pull/4224 has been committed.

Note: See TracTickets for help on using tickets.