Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607462 - dev-util/electron-1.3.6 fails to build with "error: ‘cupsGetPPD’ was not declared in this scope"
Summary: dev-util/electron-1.3.6 fails to build with "error: ‘cupsGetPPD’ was not decl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Elvis Pranskevichus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-28 09:40 UTC by manuel
Modified: 2017-03-30 13:13 UTC (History)
1 user (show)

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


Attachments
tail -c 999k build.log > build.log.short (build.log.short,999.00 KB, text/plain)
2017-01-28 09:47 UTC, manuel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description manuel 2017-01-28 09:40:17 UTC
When emerging dev-util/electron-1.3.6, I get the following error messages:

../../printing/backend/print_backend_cups.cc: In member function ‘base::FilePath printing::PrintBackendCUPS::GetPPD(const char*)’:
../../printing/backend/print_backend_cups.cc:276:36: error: ‘cupsGetPPD’ was not declared in this scope
     ppd_file_path = cupsGetPPD(name);
                                    ^
../../printing/backend/print_backend_cups.cc:289:50: error: ‘cupsGetPPD2’ was not declared in this scope
     ppd_file_path = cupsGetPPD2(http.http(), name)
Comment 1 manuel 2017-01-28 09:47:30 UTC
Created attachment 461698 [details]
tail -c 999k build.log > build.log.short
Comment 2 Elvis Pranskevichus 2017-02-01 15:46:30 UTC
I've created a PR fix fixes for this: https://github.com/gentoo/gentoo/pull/3761
Comment 3 Elvis Pranskevichus 2017-03-30 13:13:14 UTC
commit 198708cd96ba57af50bf44455812f7b996f7dd61
Author: Elvis Pranskevichus <elvis@magic.io>
Date:   Wed Feb 1 10:24:21 2017 -0500

    dev-util/electron: Fix compilation with cups-2.2, bump to 1.3.13.

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=607462

    Package-Manager: portage-2.3.3
    Closes: https://github.com/gentoo/gentoo/pull/3761

 dev-util/electron/Manifest                   |  8 +-
 ...-r4.ebuild => electron-0.36.12-r5.ebuild} |  3 +-
 ...8-r1.ebuild => electron-0.37.8-r2.ebuild} |  3 +-
 ....3.6.ebuild => electron-1.3.13-r1.ebuild} | 24 ++---
 .../electron/files/chromium-cups-fix.patch   | 12 +++
 .../files/electron-1.3.13-vendor-node.patch  | 95 ++++++++++++++++++
 6 files changed, 126 insertions(+), 19 deletions(-)