New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31036 (closed defect: invalid)

Opened 22 months ago

Last modified 13 months ago

build of gnumeric @1.10.12 +no_x11 fails on missing libgtk

Reported by: gosta.ask@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: gnumeric

Description (last modified by ryandesign@…) (diff)

The build script of gnumeric seems to require an X11-specific library although a no_x11 build was requested

:info:build /opt/local/bin/grep: /opt/local/lib/libgtk-x11-2.0.la: No such file or directory
:info:build /opt/local/bin/gsed: can't read /opt/local/lib/libgtk-x11-2.0.la: No such file or directory

I get the same error on building lbgnomeui.

System info:

  • XCode:
  • XQuartz 2.3.6 (xorg-server 1.4.2-apple56)
MacPorts base version 2.0.1 downloaded.
--->  MacPorts base is already the latest version

otta:lib g$ pwd
/opt/local/lib
otta:lib g$ ls libgtk*
libgtk-quartz-2.0.0.dylib	libgtk-quartz-2.0.dylib
libgtk-quartz-2.0.a		libgtk-quartz-2.0.la
otta:lib g$ sudo port installed gtk2
The following ports are currently installed:
  gtk2 @2.24.5_0+no_x11+quartz (active)
  gtk2 @2.24.5_0+x11
otta:lib g$ sudo port info gtk2
gtk2 @2.24.5 (gnome, x11)
Variants:             no_x11, quartz, universal, [+]x11

Attachments

main.log (95.3 KB) - added by gosta.ask@… 22 months ago.

Change History

Changed 22 months ago by gosta.ask@…

comment:1 Changed 22 months ago by macsforever2000@…

  • Keywords gnumeric, gtk2, lignomeui, quartz removed
  • Port changed from gnumeric @1.10.12 to gnumeric

comment:2 Changed 22 months ago by ryandesign@…

  • Description modified (diff)

comment:3 follow-up: ↓ 4 Changed 22 months ago by ryandesign@…

Sounds like something in your ports tree still thinks it's supposed to be using gtk x11 instead of gtk quartz.

The decision about whether to use x11 or quartz really must be made before you install any ports, because knowledge of whether x11 or quartz is used can get baked into your other ports, even if they do not advertise any x11 or quartz variants.

Try to search for "libgtk-x11-2.0.la" in all your installed ports; searching the lib directory might be enough:

grep libgtk-x11-2.0.la -r /opt/local/lib

For each file identified, use "port provides" to see what port it comes from, then try rebuilding that port, being sure to select any quartz and/or no_x11 variants it may have.

comment:4 in reply to: ↑ 3 Changed 22 months ago by gosta.ask@…

Replying to ryandesign@…:

Sounds like something in your ports tree still thinks it's supposed to be using gtk x11 instead of gtk quartz.

The decision about whether to use x11 or quartz really must be made before you install any ports, because knowledge of whether x11 or quartz is used can get baked into your other ports, even if they do not advertise any x11 or quartz variants.

Try to search for "libgtk-x11-2.0.la" in all your installed ports; searching the lib directory might be enough:

grep libgtk-x11-2.0.la -r /opt/local/lib

For each file identified, use "port provides" to see what port it comes from, then try rebuilding that port, being sure to select any quartz and/or no_x11 variants it may have.

Thanks for info & help! I decided to not try the quartz path anymore. Deactivated the ports I had changed to be quartz-based, cleaned gnumeric and rebuilt it using +python26. Works now.

--->  Building gnumeric
--->  Staging gnumeric into destroot
--->  Installing gnumeric @1.10.12_2+python26
--->  Activating gnumeric @1.10.12_2+python26
--->  Cleaning gnumeric
]]]

You may close this ticket.

comment:5 Changed 13 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.