Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721136 - app-text/texlive-core-2019-r11 w/ app-text/poppler-0.88.0: texk/web2c/pdftexdir/pdftosrc.cc:81:37: error: no match for 'operator=' (operand types are 'std::unique_ptr<GlobalParams>' and 'GlobalParams*')
Summary: app-text/texlive-core-2019-r11 w/ app-text/poppler-0.88.0: texk/web2c/pdftexd...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-05 19:05 UTC by Alex
Modified: 2020-06-04 18:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,756.46 KB, text/x-log)
2020-05-05 19:08 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2020-05-05 19:05:10 UTC
Yep, it's EXACTLY the same error as #716344, only versions are one bump further.
Guessing by THIS piece of art in texlive-core ebuild:

if has_version ">=app-text/poppler-0.83" && has_version "<app-text/poppler-0.86"; then
        eapply "${WORKDIR}"/patches/${P}-poppler083.patch
        eapply "${WORKDIR}"/patches/${P}-poppler084.patch
    elif has_version "=app-text/poppler-0.86*"; then
        eapply "${WORKDIR}"/patches/${P}-poppler086.patch
    elif has_version "=app-text/poppler-0.87*"; then
        eapply "${WORKDIR}"/patches/${P}-poppler087.patch
    else
        eapply "${WORKDIR}"/patches/${P}-poppler076.patch
    fi

this will emerge (pun intended) again, and again, and again...

Reproducible: Always
Comment 1 Alex 2020-05-05 19:08:17 UTC
Created attachment 636290 [details]
build.log
Comment 2 Alex 2020-05-05 19:22:10 UTC
BTW, patch for poppler-0.86 (and -0.87, it's the same patch, but duplicated for some reason) seems to work.
Probably piece of the art mentioned above should be replaced with something like

if has_version ">=app-text/poppler-0.83" && has_version "<app-text/poppler-0.86"; then
        eapply "${WORKDIR}"/patches/${P}-poppler083.patch
        eapply "${WORKDIR}"/patches/${P}-poppler084.patch
    elif has_version ">=app-text/poppler-0.86"; then
        eapply "${WORKDIR}"/patches/${P}-poppler086.patch
    else
        eapply "${WORKDIR}"/patches/${P}-poppler076.patch
fi
Comment 3 Alex 2020-05-05 19:26:17 UTC
(In reply to Alex from comment #2)
> BTW, patch for poppler-0.86 (and -0.87, it's the same patch, but duplicated
> for some reason) seems to work.
> Probably piece of the art mentioned above should be replaced with something
> like
> 
> if has_version ">=app-text/poppler-0.83" && has_version
> "<app-text/poppler-0.86"; then
>         eapply "${WORKDIR}"/patches/${P}-poppler083.patch
>         eapply "${WORKDIR}"/patches/${P}-poppler084.patch
>     elif has_version ">=app-text/poppler-0.86"; then
>         eapply "${WORKDIR}"/patches/${P}-poppler086.patch
>     else
>         eapply "${WORKDIR}"/patches/${P}-poppler076.patch
> fi

Not that it's much better, but in contrast with current "solution" it at least should have _some_ chance to work with future poppler versions.
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-06-04 18:04:22 UTC
texlive 19 gone