Just looking at the log, it seems that unused-parameter error is
enabled. I don't know how your pipeline works, but it's not dpkg-
buildpackage, so it makes sense that the default CFLAGS (or CXXFLAGS) is
set.

genesys/low.cpp:636:76: error: unused parameter 'sensor' [-Werror
=unused-parameter]

You can either change the compiler flags or change the function
signature from:

bool should_enable_gamma(const ScanSession& session, const
Genesys_Sensor& sensor)

to:

bool should_enable_gamma(const ScanSession& session, const
Genesys_Sensor&)

and it should be happy. If that fails too, a less elegant solution is to
leave the if condition that uses it in, and make it return true instead
of false.

But I don't think that build is important to the distro issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327801

Title:
  Bightness and contrast settings have no effect

To manage notifications about this bug go to:
https://bugs.launchpad.net/sane-backends/+bug/1327801/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to