Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 645830

Summary: app-misc/ddcutil-0.8.6 : ddc_displays.c:484:63: error: ISO C99 requires at least one argument for the in a variadic macro [-Werror]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Jonathan Scruggs (RETIRED) <dracwyrm>
Status: RESOLVED FIXED    
Severity: normal CC: klaus818, mgorny, perfect007gentleman, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/7003
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-misc:ddcutil-0.8.6:20180125-232131.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-01-26 17:55:59 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/public -Wall -Werror -Wpedantic -O2 -pipe -march=native -c ddc_displays.c  -fPIC -DPIC -o .libs/ddc_displays.o
ddc_displays.c: In function ‘ddc_report_display_by_dref’:
ddc_displays.c:484:63: error: ISO C99 requires at least one argument for the "..." in a variadic macro [-Werror]
       PROGRAM_LOGIC_ERROR("ddcutil not built with USB support");
                                                               ^
ddc_displays.c: In function ‘dbgreport_display_ref’:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_20180121-123652

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-misc/ddcutil
[ebuild   R   ] app-misc/ddcutil-0.8.4  USE="-usb-monitor -user-permissions" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2018-01-26 17:56:02 UTC
Created attachment 516794 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-26 17:56:05 UTC
Created attachment 516796 [details]
app-misc:ddcutil-0.8.6:20180125-232131.log
Comment 3 Toralf Förster gentoo-dev 2018-01-26 17:56:08 UTC
Created attachment 516798 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-01-26 17:56:11 UTC
Created attachment 516800 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-01-26 17:56:14 UTC
Created attachment 516802 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-26 17:56:17 UTC
Created attachment 516804 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-01-26 17:56:20 UTC
Created attachment 516806 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-01-26 17:59:20 UTC
FWIW meta-data are wrong:

==> bugz.out <==                                                                                                
 * Info: Using [Gentoo] (https://bugs.gentoo.org/xmlrpc.cgi)                                                    
 # Error: Bugzilla error: There is no user named 'j.scruggs@gmail.com'. Either you mis-typed the name or that user has not yet registered for a Gentoo's Bugzilla account.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-26 18:53:24 UTC
(In reply to Toralf Förster from comment #8)
> FWIW meta-data are wrong:
> 
> ==> bugz.out <==                                                            
> 
>  * Info: Using [Gentoo] (https://bugs.gentoo.org/xmlrpc.cgi)                
> 
>  # Error: Bugzilla error: There is no user named 'j.scruggs@gmail.com'.
> Either you mis-typed the name or that user has not yet registered for a
> Gentoo's Bugzilla account.

You're looking at obsolete checkout. He fixed it earlier today, I think.

@dracwyrm, you can remove proxy-maint now btw.
Comment 10 Navid Zamani 2018-01-30 19:44:02 UTC
This is a duplicate of bug #645782, btw.
(There’s also bug #645938, as another duplicate.)
Comment 11 Navid Zamani 2018-01-30 19:45:09 UTC
Oh, sorry for the message. Nevermind. Mixed things up.
Comment 12 Navid Zamani 2018-01-30 19:48:10 UTC
(In reply to Navid Zamani from comment #11)
> Oh, sorry for the message. Nevermind. Mixed things up.

Correction: It IS a duplicate.
I’ll stop and go to bed now. :-/
Comment 13 Jonathan Scruggs (RETIRED) gentoo-dev 2018-01-30 21:05:09 UTC
*** Bug 645938 has been marked as a duplicate of this bug. ***
Comment 14 Jonathan Scruggs (RETIRED) gentoo-dev 2018-01-30 21:05:23 UTC
*** Bug 645782 has been marked as a duplicate of this bug. ***
Comment 15 Larry the Git Cow gentoo-dev 2018-01-30 21:28:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c133a7cccdf1f1aff10ec0a00766cb073d72f8b

commit 1c133a7cccdf1f1aff10ec0a00766cb073d72f8b
Author:     Jonathan Scruggs <j.scruggs@gmail.com>
AuthorDate: 2018-01-30 21:07:42 +0000
Commit:     Jonathan Scruggs <dracwyrm@gentoo.org>
CommitDate: 2018-01-30 21:27:58 +0000

    app-misc/ddcutil: remove pedantic compiler flag
    
    Closes: https://bugs.gentoo.org/645830
    Closes: https://github.com/gentoo/gentoo/pull/7003

 app-misc/ddcutil/ddcutil-0.8.6-r1.ebuild           | 108 ++++++++++++++++++
 .../ddcutil-0.8.6-remove-pedantic-cflag.patch      | 126 +++++++++++++++++++++
 2 files changed, 234 insertions(+)