Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#41939 closed defect (fixed)

gnucash @ 2.4 fails to install

Reported by: a3trejo@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ClintO (Clint O)
Port: gnucash

Description (last modified by mf2k (Frank Schima))

I was running gnucash without any problems. At some point I had to set DYLD_LIBRARY_PATH= to make it run. Until then, there was no problems. Now I tried to update my outdated ports and then it would not want to update gnucash. I tried to uninstall it and install it again (cleaning it first too) and it does not work.

I tried what it reads in ticket:36047 (as in the log I see a problem with libpng15.1a) and it did not work either.

I attach the log output.

My machine has 10.7 (Lion) Xcode is 4.6.3

Attachments (1)

gnucash.log (2.2 MB) - added by a3trejo@… 10 years ago.

Change History (8)

Changed 10 years ago by a3trejo@…

Attachment: gnucash.log added

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

Description: modified (diff)
Keywords: installation failure removed
Owner: changed from macports-tickets@… to dports@…

In the future, please Cc the port maintainers (port info --maintainers gnucash).

comment:2 Changed 10 years ago by ClintO (Clint O)

Cc: clint.olsen@… added

Cc Me!

comment:3 Changed 10 years ago by ClintO (Clint O)

I've also been able to reproduce this with 10.8.5. I got tripped up when the webkit-gtk* started breaking and I had to refer to the -2.0 versions of the ports.

comment:4 Changed 10 years ago by drkp (Dan Ports)

Where is the dependency on libpng15 coming from? grep libpng15 /opt/local/lib/*.la is probably a good place to start looking...

comment:5 Changed 10 years ago by a3trejo@…

the command reports

/opt/local/lib/libgwengui-gtk2.la:dependency_libs=' -R/opt/local/lib -L/opt/local/lib /opt/local/lib/libgtk-x11-2.0.la /opt/local/lib/libgdk-x11-2.0.la /opt/local/lib/libatk-1.0.la /opt/local/lib/libpangocairo-1.0.la /opt/local/lib/libXinerama.la /opt/local/lib/libXi.la /opt/local/lib/libXrandr.la /opt/local/lib/libXcursor.la /opt/local/lib/libXcomposite.la /opt/local/lib/libXdamage.la /opt/local/lib/libgdk_pixbuf-2.0.la /opt/local/lib/libpangoft2-1.0.la /opt/local/lib/libharfbuzz.la /opt/local/lib/libgraphite2.la -licule -licuuc -licudata /opt/local/lib/libgio-2.0.la /opt/local/lib/libXfixes.la /opt/local/lib/libcairo.la /opt/local/lib/libpixman-1.la /opt/local/lib/libpng15.la /opt/local/lib/libxcb-shm.la /opt/local/lib/libX11-xcb.la /opt/local/lib/libxcb-render.la /opt/local/lib/libXrender.la /opt/local/lib/libXext.la /opt/local/lib/libX11.la /opt/local/lib/libxcb.la /opt/local/lib/libXau.la /opt/local/lib/libXdmcp.la /opt/local/lib/libpango-1.0.la /opt/local/lib/libgthread-2.0.la /opt/local/lib/libgmodule-2.0.la -lm /opt/local/lib/libfontconfig.la /opt/local/lib/libfreetype.la -lbz2 /opt/local/lib/libexpat.la /opt/local/lib/libgobject-2.0.la /opt/local/lib/libffi.la /opt/local/lib/libglib-2.0.la -lresolv /opt/local/lib/libgwenhywfar.la /opt/local/lib/libgcrypt.la /opt/local/lib/libgpg-error.la /opt/local/lib/libgnutls.la -lz /opt/local/lib/libintl.la -lc -lpthread /opt/local/lib/libiconv.la -lnettle -lhogweed /opt/local/lib/libgmp.la'

comment:6 Changed 10 years ago by drkp (Dan Ports)

Resolution: fixed
Status: newclosed

Looks like gwenhywfar4-gtk has a dependency on libpng. Bumped its revision in r115526 to force a rebuild.

This is actually overlinking caused by libtool. That was fixed in MacPorts 2.2.0, so this shouldn't be an issue again; it's just that this port hasn't been updated since 2.2.0 was released, so the binary package was built by an older version.

comment:7 Changed 10 years ago by a3trejo@…

It is working again. Thanks a lot for the help and fix this!

Note: See TracTickets for help on using tickets.