Source: xcffib
Version: 0.11.1-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> cabal --config-file=/dev/null new-run -j8 exe:xcffibgen -- --input 
> //usr/share/xcb --output ./xcffib
> Warning: No remote package servers have been specified. Usually you would have
> one specified in the config file.
> Resolving dependencies...
> Build profile: -w ghc-9.4.7 -O1
> In order, the following will be built (use -v for more details):
>  - xcffib-0.11.1 (lib) (first run)
>  - xcffib-0.11.1 (exe:xcffibgen) (first run)
> Configuring library for xcffib-0.11.1..
> Preprocessing library for xcffib-0.11.1..
> Building library for xcffib-0.11.1..
> [1 of 2] Compiling Data.XCB.Python.PyHelpers ( 
> generator/Data/XCB/Python/PyHelpers.hs, 
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.4.7/xcffib-0.11.1/build/Data/XCB/Python/PyHelpers.o,
>  
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.4.7/xcffib-0.11.1/build/Data/XCB/Python/PyHelpers.dyn_o
>  )
> [2 of 2] Compiling Data.XCB.Python.Parse ( 
> generator/Data/XCB/Python/Parse.hs, 
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.4.7/xcffib-0.11.1/build/Data/XCB/Python/Parse.o,
>  
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.4.7/xcffib-0.11.1/build/Data/XCB/Python/Parse.dyn_o
>  )
> 
> generator/Data/XCB/Python/Parse.hs:291:29: error:
>     • The constructor ‘Pad’ should have 2 arguments, but has been given 1
>     • In the pattern: Pad i
>       In an equation for ‘structElemToPyUnpack’:
>           structElemToPyUnpack _ _ _ (Pad i) = Left (Nothing, mkPad i)
>     |
> 291 | structElemToPyUnpack _ _ _ (Pad i) = Left (Nothing, mkPad i)
>     |                             ^^^^^
> 
> generator/Data/XCB/Python/Parse.hs:355:27: error:
>     • The constructor ‘Pad’ should have 2 arguments, but has been given 1
>     • In the pattern: Pad i
>       In an equation for ‘structElemToPyPack’:
>           structElemToPyPack _ _ _ (Pad i) = Left (Nothing, mkPad i)
>     |
> 355 | structElemToPyPack _ _ _ (Pad i) = Left (Nothing, mkPad i)
>     |                           ^^^^^
> 
> generator/Data/XCB/Python/Parse.hs:643:16: error:
>     • The constructor ‘Pad’ should have 2 arguments, but has been given 1
>     • In the pattern: Pad _
>       In an equation for ‘getName’: getName (Pad _) = Nothing
>       In an equation for ‘mkSyntheticMethod’:
>           mkSyntheticMethod membs
>             = do let names = ...
>                      ....
>                  if null names then [] else [...]
>             where
>                 getName :: GenStructElem Type -> Maybe String
>                 getName (Pad _) = Nothing
>                 getName (X.List n _ _ _) = Just n
>                 getName (SField n _ _ _) = Just n
>                 getName (ExprField n _ _) = Just n
>                 getName (ValueParam _ n _ _) = Just n
>                 getName (Switch n _ _ _) = Just n
>                 getName (Doc _ _ _) = Nothing
>                 getName (Fd n) = Just n
>                 getName (Length _ _) = Nothing
>                 assign :: String -> Statement ()
>                 assign n = mkAssign (mkDot "self" n) $ mkName n
>     |
> 643 |       getName (Pad _) = Nothing
>     |                ^^^^^
> 
> generator/Data/XCB/Python/Parse.hs:681:19: error:
>     • The constructor ‘XEvent’ should have 6 arguments, but has been given 5
>     • In the pattern: XEvent name opcode _ membs noSequence
>       In an equation for ‘processXDecl’:
>           processXDecl ext (XEvent name opcode _ membs noSequence)
>             = do m <- get
>                  let cname = ...
>                      ....
>                  return
>                    $ Declaration
>                        [mkXClass cname "xcffib.Event" statements (pack : 
> synthetic), ....]
>     |
> 681 | processXDecl ext (XEvent name opcode _ membs noSequence) = do
>     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Error: cabal: Failed to build xcffib-0.11.1 (which is required by
> exe:xcffibgen from xcffib-0.11.1).
> 
> make[2]: *** [Makefile:16: xcffib] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/xcffib_0.11.1-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to