Opened 13 years ago

Closed 12 years ago

#31036 closed defect (invalid)

build of gnumeric @1.10.12 +no_x11 fails on missing libgtk

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (1)

main.log (95.3 KB) - added by askg 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by askg

Attachment: main.log added

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Keywords: gnumeric gtk2 lignomeui quartz removed
Port: @1.10.12 removed

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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 13 years ago by askg

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 12 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.