Bug 194384 - print/cups-filters does thorws errror on compile on AMD64 - RELEASE10
Summary: print/cups-filters does thorws errror on compile on AMD64 - RELEASE10
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Rodrigo Osorio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 17:54 UTC by rotkap
Modified: 2014-10-24 14:44 UTC (History)
2 users (show)

See Also:
rotkap: maintainer-feedback? (cyberbotx)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rotkap 2014-10-15 17:54:17 UTC
With fresh ports:

# cd /usr/ports/print/cups-filters 
# make


causes this error

file included from filter/pdftoopvp/pdftoopvp.cxx:24:
/usr/local/include/poppler/PDFDoc.h:306:3: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
  long long strToLongLong(char *s);
  ^
In file included from filter/pdftoopvp/pdftoopvp.cxx:26:
In file included from ./filter/pdftoopvp/oprs/OPRS.h:19:
./filter/pdftoopvp/oprs/OPVPSplash.h:37:1: warning: class 'SplashGlyphBitmap' was previously declared as a struct [-Wmismatched-tags]
class SplashGlyphBitmap;
^
/usr/local/include/poppler/splash/Splash.h:38:8: note: previous use is here
struct SplashGlyphBitmap;
       ^
In file included from filter/pdftoopvp/pdftoopvp.cxx:27:
filter/pdftoopvp/OPVPOutputDev.h:81:16: warning: 'OPVPOutputDev::startPage' hides overloaded virtual function [-Woverloaded-virtual]
  virtual void startPage(int pageNum, GfxState *state);
               ^
/usr/local/include/poppler/OutputDev.h:147:16: note: hidden overloaded virtual function 'OutputDev::startPage' declared here: different number of parameters (3 vs 2)
  virtual void startPage(int pageNum, GfxState *state, XRef *xref) {}
               ^
In file included from filter/pdftoopvp/pdftoopvp.cxx:31:
filter/pdftoopvp/OPVPError.h:39:23: warning: variadic macros are a C99 feature [-Wvariadic-macros]
#define opvpError(pos,...) error(errInternal,pos,__VA_ARGS__)
                      ^
filter/pdftoopvp/pdftoopvp.cxx:617:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  globalParams->setAntialias("no");
                             ^
11 warnings generated.
  CXXLD    pdftoopvp
  CXX      pdftopdf-pdftopdf.o
  CXX      pdftopdf-pdftopdf_jcl.o
  CXX      pdftopdf-pdftopdf_processor.o
In file included from filter/pdftopdf/pdftopdf_processor.cc:2:
filter/pdftopdf/qpdf_pdftopdf_processor.h:5:10: fatal error: 'qpdf/QPDF.hh' file not found
#include <qpdf/QPDF.hh>
         ^
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/print/cups-filters/work/cups-filters-1.0.58
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/print/cups-filters/work/cups-filters-1.0.58
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/cups-filters
*** Error code 1

Stop.
make: stopped in /usr/ports/print/cups-filters
[root@moby /usr/ports/print/cups-filters]#
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-15 17:54:17 UTC
Maintainer CC'd
Comment 2 Naram Qashat 2014-10-15 18:07:05 UTC
This is not an error in cups-filters, per se, it is that you have print/qpdf built without the SDK option set. Rebuild print/qpdf with the SDK option and this will go away.
Comment 3 Rodrigo Osorio freebsd_committer freebsd_triage 2014-10-19 21:53:16 UTC
rotkap: to you agree maintainer explanation ?
Comment 4 Rodrigo Osorio freebsd_committer freebsd_triage 2014-10-24 14:44:38 UTC
Time out rotkap !