View previous topic :: View next topic |
Author |
Message |
ExecutorElassus Veteran


Joined: 11 Mar 2004 Posts: 1351 Location: Berlin, Germany
|
Posted: Thu Aug 03, 2017 9:36 pm Post subject: poppler rebuilds cups-filters, fails, [SOLVED] |
|
|
So, today I emerged poppler-0.57.0, which has the meta-number 0/68 (which is kinda weird in itself, but whatever). However, emerging poppler forces a rebuild of cups-filters. But cups-filters depends on poppler-0.56.0:0/67, and the rebuild fails. Problem is, when I try 'emerge --resume --skipfirst' it doesn't actually skip cups-filters, and instead refuses to continue, saying that cups-filters has unsatisfied dependencies (in this case, the older version of poppler).
Aside from running a manual emerge of all the remaining packages and leaving cups-filters out of the list, is there a way to leave cups-filters not rebuilding, until upstream releases a version compatible with newer poppler?
Thanks for the advice,
EE
Last edited by ExecutorElassus on Fri Aug 04, 2017 5:44 am; edited 1 time in total |
|
Back to top |
|
 |
ct85711 Veteran

Joined: 27 Sep 2005 Posts: 1791
|
Posted: Thu Aug 03, 2017 10:50 pm Post subject: |
|
|
looking at all of the cups-filters packages in the tree, they all say the exact same in the ebuild:
Code: | >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils,xpdf-headers(+)] |
This is saying it is only restricted on the poppler version; but needs to be rebuilt with poppler on version changes...
So more likely then not, you encountered the usual issue in portage in not handling slot changes too well...
Now if you really want to skip cups-filters, you can use the --exclude $Package to skip a file.
Otherwise, you try putting poppler and cups-filter in the emerge line together, so that cups-filter is rebuilt along with poppler. (Don't forget to use -1 or --oneshot when doing so.) |
|
Back to top |
|
 |
ExecutorElassus Veteran


Joined: 11 Mar 2004 Posts: 1351 Location: Berlin, Germany
|
Posted: Fri Aug 04, 2017 3:44 am Post subject: |
|
|
Well, cups-filters fails the emerge with the following:
Code: | In file included from filter/pdftoopvp/pdftoopvp.cxx:24:0:
/usr/include/poppler/PDFDoc.h:351:8: warning: ISO C++ 1998 does not support ‘long long’ [-Wlong-long]
long long strToLongLong(char *s);
^
/usr/include/poppler/PDFDoc.h:295:153: error: ‘nullptr’ was not declared in this scope
ict, XRef *xRef, XRef *countRef, Guint numOffset, int oldRefNum, int newRefNum, std::set<Dict*> *alreadyMarkedDicts = nullptr);
^
/usr/include/poppler/PDFDoc.h:296:156: error: ‘nullptr’ was not declared in this scope
s, XRef *xRef, XRef *countRef, Guint numOffset, int oldPageNum, int newPageNum, std::set<Dict*> *alreadyMarkedDicts = nullptr);
^
/usr/include/poppler/PDFDoc.h:301:135: error: ‘nullptr’ was not declared in this scope
CryptAlgorithm encAlgorithm, int keyLength, int objNum, int objGen, std::set<Dict*> *alreadyWrittenDicts = nullptr);
^
/usr/include/poppler/PDFDoc.h:315:146: error: ‘nullptr’ was not declared in this scope
obj, XRef *xRef, XRef *countRef, Guint numOffset, int oldRefNum, int newRefNum, std::set<Dict*> *alreadyMarkedDicts = nullptr);
^
/usr/include/poppler/PDFDoc.h:324:99: error: ‘nullptr’ was not declared in this scope
int keyLength, int objNum, int objGen, std::set<Dict*> *alreadyWrittenDicts = nullptr)
^
In file included from /usr/include/poppler/splash/Splash.h:35:0,
from ./filter/pdftoopvp/oprs/OPRS.h:18,
from filter/pdftoopvp/pdftoopvp.cxx:26:
/usr/include/poppler/splash/SplashPattern.h:69:23: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
SplashPattern *copy() override { return new SplashSolidColor(color); }
^
/usr/include/poppler/splash/SplashPattern.h:73:48: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
GBool getColor(int x, int y, SplashColorPtr c) override;
^
/usr/include/poppler/splash/SplashPattern.h:75:34: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
GBool testPosition(int x, int y) override { return gFalse; }
^
/usr/include/poppler/splash/SplashPattern.h:77:18: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
GBool isStatic() override { return gTrue; }
^
/usr/include/poppler/splash/SplashPattern.h:79:16: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
GBool isCMYK() override { return gFalse; }
^
In file included from filter/pdftoopvp/OPVPOutputDev.h:23:0,
from filter/pdftoopvp/pdftoopvp.cxx:27:
/usr/include/poppler/GfxFont.h:327:52: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
double *dx, double *dy, double *ox, double *oy) override;
^
/usr/include/poppler/GfxFont.h:333:35: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
CharCodeToUnicode *getToUnicode() override;
^
/usr/include/poppler/GfxFont.h:387:19: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
GBool isCIDFont() override { return gTrue; }
^
/usr/include/poppler/GfxFont.h:391:52: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
double *dx, double *dy, double *ox, double *oy) override;
^
/usr/include/poppler/GfxFont.h:394:16: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
int getWMode() override;
^
/usr/include/poppler/GfxFont.h:397:35: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
CharCodeToUnicode *getToUnicode() override;
^
filter/pdftoopvp/pdftoopvp.cxx: In function ‘void myErrorFun(void*, ErrorCategory, Goffset, char*)’:
filter/pdftoopvp/pdftoopvp.cxx:125:42: warning: ISO C++98 does not support the ‘ll’ gnu_printf length modifier [-Wformat=]
fprintf(stderr, "ERROR (%lld): ", pos);
^
filter/pdftoopvp/pdftoopvp.cxx: In function ‘GBool getColorProfilePath(ppd_file_t*, GooString*)’:
filter/pdftoopvp/pdftoopvp.cxx:225:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
datadir = CUPS_DATADIR;
|
But maybe this just means something else needs rebuilding?
Cheers,
EE |
|
Back to top |
|
 |
ct85711 Veteran

Joined: 27 Sep 2005 Posts: 1791
|
|
Back to top |
|
 |
ExecutorElassus Veteran


Joined: 11 Mar 2004 Posts: 1351 Location: Berlin, Germany
|
Posted: Fri Aug 04, 2017 5:38 am Post subject: |
|
|
You are correct, and the proposed solution (use gcc-6) solved it.
Thanks!
EE |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|