Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904970 - app-misc/pdfpc-4.6.0-r1 compilation failure with dev-lang/vala-0.56.7
Summary: app-misc/pdfpc-4.6.0-r1 compilation failure with dev-lang/vala-0.56.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2023-04-24 17:14 UTC by Ulrich Müller
Modified: 2023-04-25 19:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,16.84 KB, text/plain)
2023-04-24 17:14 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2023-04-24 17:14:37 UTC
Created attachment 860710 [details]
build.log

pdfpc fails to compile with vala-0.56.7:

/tmp/portage/app-misc/pdfpc-4.6.0-r1/work/pdfpc-4.6.0/src/classes/drawings/drawi
ng_commands.vala:57.46-57.59: error: `pdfpc.DrawingCommand' is not a supported g
eneric type argument, use `?' to box value types
   57 |             this.drawing_commands = new List<DrawingCommand>();
      |                                              ^~~~~~~~~~~~~~    
/tmp/portage/app-misc/pdfpc-4.6.0-r1/work/pdfpc-4.6.0/src/classes/drawings/drawi
ng_commands.vala:58.43-58.56: error: `pdfpc.DrawingCommand' is not a supported g
eneric type argument, use `?' to box value types
   58 |             this.redo_commands = new List<DrawingCommand>();
      |                                           ^~~~~~~~~~~~~~    
/tmp/portage/app-misc/pdfpc-4.6.0-r1/work/pdfpc-4.6.0/src/classes/drawings/drawi
ng_commands.vala:73.43-73.56: error: `pdfpc.DrawingCommand' is not a supported g
eneric type argument, use `?' to box value types
   73 |             this.redo_commands = new List<DrawingCommand>(); // clear
      |                                           ^~~~~~~~~~~~~~             
Compilation failed: 3 error(s), 0 warning(s)
ninja: build stopped: subcommand failed.


The build succeeds after downgrading to vala-0.56.6.
Comment 1 Larry the Git Cow gentoo-dev 2023-04-25 19:02:31 UTC
The bug has been closed via the following commit(s):

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

commit b7cfd017933a1a2d9eb86fec0ab79625e0abb016
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-04-25 19:00:25 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-04-25 19:02:22 +0000

    app-misc/pdfpc: Fix build failure with vala-0.56.7
    
    Closes: https://bugs.gentoo.org/904970
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-misc/pdfpc/files/pdfpc-4.6.0-vala-0.56.7.patch | 31 ++++++++++++++++++++++
 app-misc/pdfpc/pdfpc-4.6.0-r1.ebuild               |  5 +++-
 2 files changed, 35 insertions(+), 1 deletion(-)