Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829510 - dev-cpp/pangomm-2.42.2 fails to compile: attrlist.cc:38:20: error: ‘pango_parse_markup was not declared in this scope
Summary: dev-cpp/pangomm-2.42.2 fails to compile: attrlist.cc:38:20: error: ‘pango_par...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-12-18 07:04 UTC by Agostino Sarubbo
Modified: 2022-01-10 23:07 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,99.40 KB, text/plain)
2021-12-18 07:04 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-12-18 07:04:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/pangomm-2.42.2 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-18 07:04:43 UTC
Created attachment 759519 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-18 07:04:44 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Run-time dependency mm-common-libstdc++ found: NO (tried pkgconfig and cmake)
/var/tmp/portage/dev-cpp/pangomm-2.42.2/work/pangomm-2.42.2/untracked/pango/pangomm/attrlist.cc:38:20: error: ‘pango_parse_markup’ was not declared in this scope
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-18 07:06:29 UTC
This seems likely related to new Pango but I'm not sure anyone would try to naturally install this version.
Comment 4 jeremy mills 2021-12-19 22:51:10 UTC
(In reply to Sam James from comment #3)
> This seems likely related to new Pango but I'm not sure anyone would try to
> naturally install this version.

I can tell you that masking x11-libs/pango-1.50.2 allows pangomm to build successfully. At least on my machine.
Comment 5 Thomas Raschbacher gentoo-dev 2021-12-21 15:44:38 UTC
seems to be similar to this:

https://githubmemory.com/repo/dslm4515/BMLFS/issues/16
Comment 6 Thomas Raschbacher gentoo-dev 2021-12-21 15:56:36 UTC
(In reply to Sam James from comment #3)
> This seems likely related to new Pango but I'm not sure anyone would try to
> naturally install this version.

you need this for current rawtherapee (or the gtkmm version it needs) unfortunately
Comment 7 Thomas Raschbacher gentoo-dev 2021-12-21 22:50:27 UTC
(In reply to jeremy mills from comment #4)
> (In reply to Sam James from comment #3)
> > This seems likely related to new Pango but I'm not sure anyone would try to
> > naturally install this version.
> 
> I can tell you that masking x11-libs/pango-1.50.2 allows pangomm to build
> successfully. At least on my machine.

I can confirm it compiles fine with pango < 1.50 at least. maybe just put blocker for new pango in this version of pangomm?
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-22 04:15:34 UTC
(In reply to Thomas Raschbacher from comment #6)
> (In reply to Sam James from comment #3)
> > This seems likely related to new Pango but I'm not sure anyone would try to
> > naturally install this version.
> 
> you need this for current rawtherapee (or the gtkmm version it needs)
> unfortunately

ahhh, thank you! I was wondering what would be dragging it in.

(In reply to Thomas Raschbacher from comment #7)
> (In reply to jeremy mills from comment #4)
> > (In reply to Sam James from comment #3)
> > > This seems likely related to new Pango but I'm not sure anyone would try to
> > > naturally install this version.
> > 
> > I can tell you that masking x11-libs/pango-1.50.2 allows pangomm to build
> > successfully. At least on my machine.
> 
> I can confirm it compiles fine with pango < 1.50 at least. maybe just put
> blocker for new pango in this version of pangomm?

Yeah, I think we can do that, although it's a bit weird to have to, I now understand why at least.
Comment 9 Larry the Git Cow gentoo-dev 2021-12-22 04:15:53 UTC
The bug has been closed via the following commit(s):

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

commit bb9d0cb08ae28f065db8324da9effaa9ae89582e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-22 04:15:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-22 04:15:37 +0000

    dev-cpp/pangomm: depend on older Pango for 2.42.2
    
    Closes: https://bugs.gentoo.org/829510
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/pangomm/{pangomm-2.42.2.ebuild => pangomm-2.42.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-06 23:07:39 UTC
(We still need to fix the real issue..)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-06 23:39:43 UTC
See https://cgit.freebsd.org/ports/commit/?id=901d4d41f866b1cf8a7f61ea9494a / pango 2.46.x fixes this, so we can upgrade to that. I've got a draft.
Comment 12 Larry the Git Cow gentoo-dev 2022-01-10 23:05:44 UTC
The bug has been closed via the following commit(s):

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

commit cbbc4230812e3d7484284a9fcd4ef9c01a833df3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-06 23:41:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-10 23:05:02 +0000

    dev-cpp/pangomm: add 2.46.2
    
    Will resolve confusing conflicts with gtkmm/pangomm too.
    
    Bug: https://bugs.gentoo.org/830881
    Closes: https://bugs.gentoo.org/829510
    Closes: https://github.com/gentoo/gentoo/pull/23680
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/pangomm/Manifest              |  1 +
 dev-cpp/pangomm/pangomm-2.46.2.ebuild | 40 +++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)