Opened 2 years ago

Closed 2 years ago

#64401 closed defect (worksforme)

GTK 3 has unlisted dependency on lbzip2

Reported by: TruePath (Peter Gerdes) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gtk3

Description

When I tried to upgrade gtk3 it failed because it couldn't find libzip2. This library is provided by the lbzip2 package but it's not listed as a dependency.

I'm also having issues with the HB_VERSION_ATLEAST macro being undefined but I'll address that in another ticket.

(Sorry I'm not submitting a patch but I don't have the portfiles downloaded as a git repo and didn't want to muck about creating copies and reminding myself which arg to diff goes first and I'm sure someone with everything setup can dash off this patch in 2seconds)

Attachments (1)

log-for-gtk3-no-libzip2.txt (995.8 KB) - added by TruePath (Peter Gerdes) 2 years ago.
log of failure

Download all attachments as: .zip

Change History (6)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to mascguy
Status: newassigned

libzip2 and lbzip2 are two different things. Please attach the log from the failed build so we can see the details.

comment:2 Changed 2 years ago by TruePath (Peter Gerdes)

Yes, those are two different packages but lbzip2 provides the *file* libzip2 which is what was missing. I'll go back and find the log just give me a second.

Changed 2 years ago by TruePath (Peter Gerdes)

Attachment: log-for-gtk3-no-libzip2.txt added

log of failure

comment:3 Changed 2 years ago by jmroot (Joshua Root)

OK, so the actual error is:

gtkfontchooserwidget.c:56:37: error: function-like macro 'HB_VERSION_ATLEAST' is not defined

The lbzip2 thing is a red herring (sometimes expected errors that have been harmlessly caught can be printed if the most recent error didn't put anything in the errorInfo buffer.)

comment:4 Changed 2 years ago by TruePath (Peter Gerdes)

Ahh, sorry I didn't realize that wasn't a fatal error. Go ahead and close this ticket since I already submitted the other issue along with a link to the patch that fixes it in it's own ticket.

comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.