Source: xcffib
Version: 0.11.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

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.0.2 -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.0.2/xcffib-0.11.1/build/Data/XCB/Python/PyHelpers.o,
>  
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.0.2/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.0.2/xcffib-0.11.1/build/Data/XCB/Python/Parse.o,
>  
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.0.2/xcffib-0.11.1/build/Data/XCB/Python/Parse.dyn_o
>  )
> 
> generator/Data/XCB/Python/Parse.hs:291:1: warning: [-Wincomplete-patterns]
>     Pattern match(es) are non-exhaustive
>     In an equation for ‘structElemToPyUnpack’:
>         Patterns not matched:
>             (Var _ _) [] (Data.Map.Internal.Bin _ _ _ _ _) (Length _ _)
>             (Var _ _) [] Data.Map.Internal.Tip (Length _ _)
>             (Var _ _) (_:_) (Data.Map.Internal.Bin _ _ _ _ _) (Length _ _)
>             (Var _ _) (_:_) Data.Map.Internal.Tip (Length _ _)
>             ...
>     |
> 291 | structElemToPyUnpack _ _ _ (Pad i) = Left (Nothing, mkPad i)
>     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> generator/Data/XCB/Python/Parse.hs:354:1: warning: [-Wincomplete-patterns]
>     Pattern match(es) are non-exhaustive
>     In an equation for ‘structElemToPyPack’:
>         Patterns not matched:
>             [] (Data.Map.Internal.Bin _ _ _ _ _) _ (Length _ _)
>             [] Data.Map.Internal.Tip _ (Length _ _)
>             (_:_) (Data.Map.Internal.Bin _ _ _ _ _) _ (Length _ _)
>             (_:_) Data.Map.Internal.Tip _ (Length _ _)
>     |
> 354 | structElemToPyPack _ _ _ (Pad i) = Left (Nothing, mkPad i)
>     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> generator/Data/XCB/Python/Parse.hs:641:7: warning: [-Wincomplete-patterns]
>     Pattern match(es) are non-exhaustive
>     In an equation for ‘getName’: Patterns not matched: Length _ _
>     |
> 641 |       getName (Pad _) = Nothing
>     |       ^^^^^^^^^^^^^^^^^^^^^^^^^...
> Configuring executable 'xcffibgen' for xcffib-0.11.1..
> Warning: The package has an extraneous version range for a dependency on an
> internal library: xcffib >=0 && ==0.11.1, xcffib >=0 && ==0.11.1, xcffib >=0
> && ==0.11.1. This version range includes the current package but isn't needed
> as the current package's library will always be used.
> Preprocessing executable 'xcffibgen' for xcffib-0.11.1..
> Building executable 'xcffibgen' for xcffib-0.11.1..
> [1 of 3] Compiling Data.XCB.Python.PyHelpers ( 
> generator/Data/XCB/Python/PyHelpers.hs, 
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.0.2/xcffib-0.11.1/x/xcffibgen/build/xcffibgen/xcffibgen-tmp/Data/XCB/Python/PyHelpers.o
>  )
> [2 of 3] Compiling Data.XCB.Python.Parse ( 
> generator/Data/XCB/Python/Parse.hs, 
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.0.2/xcffib-0.11.1/x/xcffibgen/build/xcffibgen/xcffibgen-tmp/Data/XCB/Python/Parse.o
>  )
> 
> generator/Data/XCB/Python/Parse.hs:291:1: warning: [-Wincomplete-patterns]
>     Pattern match(es) are non-exhaustive
>     In an equation for ‘structElemToPyUnpack’:
>         Patterns not matched:
>             (Var _ _) [] (Data.Map.Internal.Bin _ _ _ _ _) (Length _ _)
>             (Var _ _) [] Data.Map.Internal.Tip (Length _ _)
>             (Var _ _) (_:_) (Data.Map.Internal.Bin _ _ _ _ _) (Length _ _)
>             (Var _ _) (_:_) Data.Map.Internal.Tip (Length _ _)
>             ...
>     |
> 291 | structElemToPyUnpack _ _ _ (Pad i) = Left (Nothing, mkPad i)
>     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> generator/Data/XCB/Python/Parse.hs:354:1: warning: [-Wincomplete-patterns]
>     Pattern match(es) are non-exhaustive
>     In an equation for ‘structElemToPyPack’:
>         Patterns not matched:
>             [] (Data.Map.Internal.Bin _ _ _ _ _) _ (Length _ _)
>             [] Data.Map.Internal.Tip _ (Length _ _)
>             (_:_) (Data.Map.Internal.Bin _ _ _ _ _) _ (Length _ _)
>             (_:_) Data.Map.Internal.Tip _ (Length _ _)
>     |
> 354 | structElemToPyPack _ _ _ (Pad i) = Left (Nothing, mkPad i)
>     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> generator/Data/XCB/Python/Parse.hs:641:7: warning: [-Wincomplete-patterns]
>     Pattern match(es) are non-exhaustive
>     In an equation for ‘getName’: Patterns not matched: Length _ _
>     |
> 641 |       getName (Pad _) = Nothing
>     |       ^^^^^^^^^^^^^^^^^^^^^^^^^...
> [3 of 3] Compiling Main             ( generator/xcffibgen.hs, 
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.0.2/xcffib-0.11.1/x/xcffibgen/build/xcffibgen/xcffibgen-tmp/Main.o
>  )
> Linking 
> /<<PKGBUILDDIR>>/dist-newstyle/build/x86_64-linux/ghc-9.0.2/xcffib-0.11.1/x/xcffibgen/build/xcffibgen/xcffibgen
>  ...
> xvmc
> xtest
> dri2
> xc_misc
> res
> bigreq
> xinerama
> present
> ge
> xselinux
> record
> dri3
> xv
> xf86dri
> xf86vidmode
> glx
> dpms
> dbe
> shm
> screensaver
> render
> xinput
> xcffibgen: generator/Data/XCB/Python/Parse.hs:(354,1)-(428,56): 
> Non-exhaustive patterns in function structElemToPyPack
> 
> make[2]: *** [Makefile:16: xcffib] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/xcffib_0.11.1-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lu...@debian.org&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 marking 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