Opened 12 years ago

Closed 12 years ago

#36047 closed defect (fixed)

gnucash @2.4.11_1 build failure -libpng14

Reported by: MasakiOita Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: mkae (Marko Käning)
Port: gnucash

Description

Updating gnucash failed to build due to the error concerning libpng14.

:info:build grep: /opt/local/lib/libpng14.la: No such file or directory
:info:build /opt/local/bin/gsed: can't read /opt/local/lib/libpng14.la: No such 
file or directory
:info:build libtool: link: `/opt/local/lib/libpng14.la' is not a valid libtool a
rchive
:info:build make[5]: *** [libgncmod-aqbanking.la] Error 1

Attachments (4)

main.log (71.9 KB) - added by MasakiOita 12 years ago.
main.2.log (1.6 MB) - added by MasakiOita 12 years ago.
Here's the new main.log.
main3.log (1.1 MB) - added by jovo@… 12 years ago.
installed.txt (22.7 KB) - added by jovo@… 12 years ago.

Change History (13)

Changed 12 years ago by MasakiOita

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to dports@…

The lines in the log that say "Skipping completed" show this was not a clean attempt. Please "sudo port clean gnucash" and try again and attach the new main.log if it fails again.

Changed 12 years ago by MasakiOita

Attachment: main.2.log added

Here's the new main.log.

comment:2 Changed 12 years ago by MasakiOita

Rebuilding aqbanking5-gtk did not change the situation. I have no idea about what package does depend on libpng14.la.

comment:3 Changed 12 years ago by MasakiOita

I've finally found that the link option '-lgwengui-gtk2' (in the last command in main.log) caused the error on libpng14, so I did

$ sudo port -n upgrade --force gwenhywfar4-gtk

and now gnucash is upgraded successfully.

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

Resolution: fixed
Status: newclosed

Oops, I thought I had revbumped gwenhywfar4 already, but apparently I didn't commit it. Done in r97662.

comment:5 Changed 12 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:6 in reply to:  3 Changed 12 years ago by jovo@…

Resolution: fixed
Status: closedreopened

Replying to epimetheus314@…:

I've finally found that the link option '-lgwengui-gtk2' (in the last command in main.log) caused the error on libpng14, so I did

$ sudo port -n upgrade --force gwenhywfar4-gtk

and now gnucash is upgraded successfully.

This did not fix this issue for me though. Intel iMac OS X 10.6.8. Attached are the (main3) logfile and ports installed list. Regards, J

Changed 12 years ago by jovo@…

Attachment: main3.log added

Changed 12 years ago by jovo@…

Attachment: installed.txt added

comment:7 Changed 12 years ago by mkae (Marko Käning)

You can try

$ sudo port uninstall --follow-dependents gwenhywfar4
$ sudo port install gnucash

At least here in my case it did successfully install gnucash

.
.
.
--->  Verifying checksum(s) for gnucash
--->  Extracting gnucash
--->  Applying patches to gnucash
--->  Configuring gnucash
--->  Building gnucash
--->  Staging gnucash into destroot
--->  Installing gnucash @2.4.11_1+hbci+ofx
--->  Activating gnucash @2.4.11_1+hbci+ofx
--->  Cleaning gnucash
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

on a up-to-date MacPorts installation.

comment:8 in reply to:  7 Changed 12 years ago by jovo@…

Replying to mk@…:

You can try

$ sudo port uninstall --follow-dependents gwenhywfar4
$ sudo port install gnucash

At least here in my case it did successfully install gnucash on a up-to-date MacPorts installation.

Sorry, I had a stale webkit-gtk version (1.2.7) due to some issue when upgrading to 1.6 in april. Removed my local webkit-gtk portfile and now GC installs fine. So this ticket can be closed again. Regards, J

comment:9 Changed 12 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.