Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631942 - net-print/hplip-3.16.3 fails to build: error: ‘m_ppd’ was not declared in this scope
Summary: net-print/hplip-3.16.3 fails to build: error: ‘m_ppd’ was not declared in thi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-24 19:16 UTC by Thomas Capricelli
Modified: 2018-04-23 19:30 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,391.67 KB, text/x-log)
2017-09-24 19:18 UTC, Thomas Capricelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2017-09-24 19:16:30 UTC
i'm on ~amd64, but i want to have the stable version (amd64) for hplip. The compilation fails with lot of cpp errors :



prnt/hpcups/HPCupsFilter.cpp:401:30: error: ‘m_ppd’ was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "hpPrinterLanguage", NULL)) == NULL) ||
                              ^~~~~
prnt/hpcups/HPCupsFilter.cpp:401:62: error: ‘ppdFindAttr’ was not declared in this scope
     if (((attr = ppdFindAttr(m_ppd, "hpPrinterLanguage", NULL)) == NULL) ||
                                                              ^
prnt/hpcups/HPCupsFilter.cpp:405:27: error: ‘ppdClose’ was not declared in this scope
             ppdClose(m_ppd);
                           ^
prnt/hpcups/HPCupsFilter.cpp:487:18: error: ‘m_ppd’ was not declared in this scope
         ppdClose(m_ppd);
                  ^~~~~
prnt/hpcups/HPCupsFilter.cpp:487:23: error: ‘ppdClose’ was not declared in this scope
         ppdClose(m_ppd);
                       ^
prnt/hpcups/HPCupsFilter.cpp: In member function ‘int HPCupsFilter::StartPrintJob(int, char**)’:
prnt/hpcups/HPCupsFilter.cpp:526:5: error: ‘m_ppd’ was not declared in this scope
     m_ppd = ppdOpenFile(getenv("PPD"));
     ^~~~~
prnt/hpcups/HPCupsFilter.cpp:526:38: error: ‘ppdOpenFile’ was not declared in this scope
     m_ppd = ppdOpenFile(getenv("PPD"));
                                      ^
Comment 1 Thomas Capricelli 2017-09-24 19:18:24 UTC
Created attachment 496306 [details]
build.log
Comment 2 Tomáš Mózes 2017-09-25 05:42:13 UTC
Build for latest 3.17.9 fails too?
Comment 3 Thomas Capricelli 2017-09-25 09:24:55 UTC
3.17.* compiles fine (but are unstable)
Comment 4 Tomáš Mózes 2017-09-25 10:03:07 UTC
Ok, but your system is ~amd64 so why isn't hplip 3.17.x good enough?
Comment 5 Thomas Capricelli 2017-09-25 10:54:51 UTC
If fails miserably to install printer. I'd like to try the 'stable' one..

It segfaults after asking for password, even though it's started with su.
Comment 6 Tomáš Mózes 2017-09-25 11:14:37 UTC
(In reply to Thomas Capricelli from comment #5)
> If fails miserably to install printer. I'd like to try the 'stable' one..
> 
> It segfaults after asking for password, even though it's started with su.

Ouch, that hurts... There is pending bug for stabilizing https://bugs.gentoo.org/629332 already, so I guess it would be better to get 3.17.x running before it hits everybody. 

Please provide emerge --info and some more details how 3.17.x is failing so we can track it.
Comment 7 Thomas Capricelli 2017-09-25 13:15:16 UTC
err..ok, but it's another problem, i'll get burned alive if i don't open a new bug, so let's do it : see bug #631996
I thought it was a hplip bug that gentoo would ignore saying "upstream!".
Comment 8 Daniel Pielmeier gentoo-dev 2018-04-23 19:30:44 UTC
From reading this the build failure should be fixed in current versions. Please reopen if there are still issues.