Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58446 closed defect (fixed)

poppler don't deactivate itself on upgrade

Reported by: jpmelko Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: michaelld (Michael Dickens)
Port: poppler

Description (last modified by jpmelko)

--->  Computing dependencies for poppler
--->  Fetching archive for poppler
--->  Attempting to fetch poppler-0.76.1_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/poppler
--->  Attempting to fetch poppler-0.76.1_0.darwin_18.x86_64.tbz2 from http://lil.fr.packages.macports.org/poppler
--->  Attempting to fetch poppler-0.76.1_0.darwin_18.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/poppler
--->  Fetching distfiles for poppler
--->  Attempting to fetch poppler-0.76.1.tar.xz from https://distfiles.macports.org/poppler
--->  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.
Error: Failed to configure poppler: poppler is active
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Mon May  6 07:36:33 CEST 2019: End of "port -N -p upgrade outdated"

Mon May  6 07:36:33 CEST 2019: Starting "port -N -p upgrade installed"
--->  Computing dependencies for 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.
Error: Failed to configure poppler: poppler is active
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/main.log for details.
--->  Updating database of binaries
--->  Scanning binaries for 
linking errors
--->  No broken files found.
--->  No broken ports found.

is it possible to correct ? This don't occurs with other ports with configuration ie:

--->  Computing dependencies for p5.28-image-exiftool
--->  Fetching archive for p5.28-image-exiftool
--->  Attempting to fetch p5.28-image-exiftool-11.390.0_0.darwin_18.noarch.tbz2 from https://packages.macports.org/p5.28-image-exiftool
--->  Attempting to fetch p5.28-image-exiftool-11.390.0_0.darwin_18.noarch.tbz2 from http://lil.fr.packages.macports.org/p5.28-image-exiftool
--->  Attempting to fetch p5.28-image-exiftool-11.390.0_0.darwin_18.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.28-image-exiftool
--->  Fetching distfiles for p5.28-image-exiftool
--->  Attempting to fetch Image-ExifTool-11.39.tar.gz from https://distfiles.macports.org/perl5
--->  Verifying checksums for p5.28-image-exiftool
--->  Extracting p5.28-image-exiftool
--->  Configuring p5.28-image-exiftool
--->  Building p5.28-image-exiftool
--->  Staging p5.28-image-exiftool into destroot
--->  Installing p5.28-image-exiftool @11.390.0_0
--->  Cleaning p5.28-image-exiftool
--->  Computing dependencies for p5.28-image-exiftool
--->  Deactivating p5.28-image-exiftool @11.380.0_0
--->  Cleaning p5.28-image-exiftool
--->  Activating p5.28-image-exiftool @11.390.0_0
--->  Cleaning p5.28-image-exiftool

Change History (7)

comment:1 Changed 5 years ago by jpmelko

Description: modified (diff)

comment:2 Changed 5 years ago by jmroot (Joshua Root)

Owner: set to dbevans
Port: poppler added
Status: newassigned
Type: requestdefect

comment:3 Changed 5 years ago by michaelld (Michael Dickens)

Poppler no longer requires this conflict. I've built poppler without it & with the prior version installed on OSX 10.[4-5] PPC and OSX 10.[5-14] Intel without issue. I've looked at the Portfile, but I'm not sure how to remove the conflict's "if" statement because I'm pretty sure that some of the script is required for normal functionality of the 'poppler' port but -not- the 'poppler-qt5' port. Hopefully the port maintainer can remove the conflict, which would then address this ticket!

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 5 years ago by michaelld (Michael Dickens)

Cc: michaelld added

comment:5 Changed 5 years ago by jpmelko

One more time today

Tue May 28 15:49:31 CEST 2019: Starting "port -N -p upgrade installed"
--->  Computing dependencies for 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.
Error: Failed to configure poppler: poppler is active
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/main.log for details.
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
Tue May 28 15:49:39 CEST 2019: End of "port -N -p upgrade installed"

comment:6 Changed 5 years ago by michaelld (Michael Dickens)

As already noted: poppler does not require this conflict any longer. Also: to me the "if" clause holding this statement is not simple to remove. We can comment out the "conflicts" itself so that it's not implemented, but I think the port owner should handle redoing the Portfile to remove the whole "if" clause.

comment:7 Changed 5 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In 18c09e26c90050596ad6c20e7c181de06c03e917/macports-ports (master):

poppler: remove self conflict

Closes: #58446

Note: See TracTickets for help on using tickets.