Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1858722 - ghc-gtksourceview2 FTBFS with ghc-8.8/glibc-2.32
Summary: ghc-gtksourceview2 FTBFS with ghc-8.8/glibc-2.32
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: ghc-gtksourceview2
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1859124 1863617 (view as bug list)
Depends On:
Blocks: F33FTBFS
TreeView+ depends on / blocked
 
Reported: 2020-07-20 08:22 UTC by Jens Petersen
Modified: 2021-02-27 18:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-27 18:12:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2020-07-20 08:22:42 UTC
Description of problem:
ghc-gtksourceview seems unable to build with ghc-8.8.


Version-Release number of selected component (if applicable):
gtksourceview2-0.13.3.1
ghc-8.8.4
glibc-2.31.9000-19.fc33

How reproducible:
100%

Actual results:
[14 of 22] Compiling Graphics.UI.Gtk.SourceView.SourceGutter ( dist/build/Graphics/UI/Gtk/SourceView/SourceGutter.hs, dist/build/Graphics/UI/Gtk/SourceView/SourceGutter.o )
In file included from /usr/include/stdio.h:866,
                 from /usr/lib64/ghc-8.8.4/include/rts/Flags.h:16,
                 from /usr/lib64/ghc-8.8.4/include/Rts.h:200,

                 from /var/home/petersen/tmp/ghc1423160_0/ghc_72.c:2:0: error:
    
/usr/include/bits/stdio2.h: In function ‘sprintf’:

/usr/include/bits/stdio2.h:38:10: error:
     error: invalid use of ‘__builtin_va_arg_pack ()’
       38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       39 |       __bos (__s), __fmt, __va_arg_pack ());
          |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   |
38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
   |          ^
/usr/include/bits/stdio2.h: In function ‘snprintf’:

/usr/include/bits/stdio2.h:70:10: error:
     error: invalid use of ‘__builtin_va_arg_pack ()’
       70 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       71 |        __bos (__s), __fmt, __va_arg_pack ());
          |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   |
70 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
   |          ^
/usr/include/bits/stdio2.h: In function ‘fprintf’:

/usr/include/bits/stdio2.h:103:10: error:
     error: invalid use of ‘__builtin_va_arg_pack ()’
      103 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      104 |    __va_arg_pack ());
          |    ~~~~~~~~~~~~~~~~~
    |
103 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
    |          ^
/usr/include/bits/stdio2.h: In function ‘printf’:

/usr/include/bits/stdio2.h:110:10: error:
     error: invalid use of ‘__builtin_va_arg_pack ()’
      110 |   return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    |
110 |   return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
    |          ^
/usr/include/bits/stdio2.h: In function ‘dprintf’:

/usr/include/bits/stdio2.h:147:10: error:
     error: invalid use of ‘__builtin_va_arg_pack ()’
      147 |   return __dprintf_chk (__fd, __USE_FORTIFY_LEVEL - 1, __fmt,
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      148 |    __va_arg_pack ());
          |    ~~~~~~~~~~~~~~~~~
    |
147 |   return __dprintf_chk (__fd, __USE_FORTIFY_LEVEL - 1, __fmt,
    |          ^
/usr/include/bits/stdio2.h: In function ‘asprintf’:

/usr/include/bits/stdio2.h:184:10: error:
     error: invalid use of ‘__builtin_va_arg_pack ()’
      184 |   return __asprintf_chk (__ptr, __USE_FORTIFY_LEVEL - 1, __fmt,
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      185 |     __va_arg_pack ());
          |     ~~~~~~~~~~~~~~~~~
    |
184 |   return __asprintf_chk (__ptr, __USE_FORTIFY_LEVEL - 1, __fmt,
    |          ^
/usr/include/bits/stdio2.h: In function ‘__asprintf’:

/usr/include/bits/stdio2.h:192:10: error:
     error: invalid use of ‘__builtin_va_arg_pack ()’
      192 |   return __asprintf_chk (__ptr, __USE_FORTIFY_LEVEL - 1, __fmt,
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      193 |     __va_arg_pack ());
          |     ~~~~~~~~~~~~~~~~~
    |
192 |   return __asprintf_chk (__ptr, __USE_FORTIFY_LEVEL - 1, __fmt,
    |          ^
/usr/include/bits/stdio2.h: In function ‘obstack_printf’:

/usr/include/bits/stdio2.h:200:10: error:
     error: invalid use of ‘__builtin_va_arg_pack ()’
      200 |   return __obstack_printf_chk (__obstack, __USE_FORTIFY_LEVEL - 1, __fmt,
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      201 |           __va_arg_pack ());
          |           ~~~~~~~~~~~~~~~~~
    |
200 |   return __obstack_printf_chk (__obstack, __USE_FORTIFY_LEVEL - 1, __fmt,
    |          ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)


Expected results:
compilation to complete without error

Additional info:
It builds fine in F32 (ghc-8.6.5 and glibc-2.31).

Comment 1 Jens Petersen 2020-07-21 05:45:45 UTC
Upstream report: https://github.com/gtk2hs/gtksourceview/issues/5

Comment 2 Jens Petersen 2020-08-04 04:05:37 UTC
*** Bug 1859124 has been marked as a duplicate of this bug. ***

Comment 3 Jens Petersen 2020-08-04 04:09:26 UTC
*** Bug 1863617 has been marked as a duplicate of this bug. ***

Comment 4 Jens Petersen 2020-08-04 04:10:29 UTC
This package has been retired in F33 Rawhide.

Comment 5 Igor Raits 2020-08-06 08:26:31 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 33.

Thanks for taking care of it!

Comment 6 Ben Cotton 2020-08-11 13:48:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 7 Jens Petersen 2021-02-27 18:12:13 UTC
Package was retired before F33 GA.


Note You need to log in before you can comment on or make changes to this bug.