Opened 14 years ago
Closed 14 years ago
#27570 closed update (fixed)
mldonkey: Update to 3.0.6 version
Reported by: | mcklaren@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | jacf01@… | |
Port: | mldonkey |
Description
Package update to the last version.
Attachments (1)
Change History (6)
Changed 14 years ago by mcklaren@…
Attachment: | Portfile-mldonkey.diff added |
---|
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 14 years ago by jacf01@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Hi,
The seems to be something going on with the port. Observe the following line:
:info:build -ccopt "-L/opt/local/lib " -cclib "-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpng14 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lX11" -I +lablgtk2 lablgtk.cmxa gtkInit.cmx lablrsvg.cmxa \ :info:build \ :info:build \ :info:build \ :info:build \ :info:build \ :info:build -I build build/extlib.cmxa build/cdk.cmxa build/common.cmxa build/icons.cmxa build/guibase.cmxa src/gtk2/gui/guiStarter.cmx :info:build ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk2/gui -I src/gtk2/gui/x11 -I src/gtk2/gui/win32 -I icons/rsvg -I +lablgtk2 -I src/networks/direct_connect -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -I +camlp4 -c src/networks/direct_connect/dcServers.ml
We can clearly see the reference to libpng14. Now check this out:
:info:build ld: library not found for -lpng12 :info:build collect2: ld returned 1 exit status :info:build File "caml_startup", line 1, characters 0-1: :info:build Error: Error during linking :info:build make: *** [mlguistarter] Error 2
No idea where the the png12 reference comes from, perhaps from a call to ld that's not reported to the log. Anyway, the port appears incomplete. It could be limited to mlguistarter.
comment:4 Changed 14 years ago by jacf01@…
By digging more, I've found that both libpng14 and libpng12 ended up in the options passed to gcc.
work/.CC_PRINT_OPTIONS:[Logging gcc options] "/usr/libexec/gcc/i686-apple-darwin10/4.2.1/collect2" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6" "-weak_reference_mismatches" "non-weak" "-o" "mlguistarter" "-lcrt1.10.6.o" "-L/opt/local/lib/ocaml/lablgtk2" "-Lbuild" "-L/opt/local/lib/ocaml" "-L/opt/local/lib" "-L/opt/local/lib" "-L/opt/local/lib" "-L/opt/local/lib" "-L/opt/local/lib" "-L/opt/local/lib" "-L/opt/local/lib" "-L/opt/local/lib" "-L/opt/local/lib" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/i686-apple-darwin10/4.2.1" "-L/opt/local/lib" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.." "/tmp/camlstartupce0dcb.o" "/opt/local/lib/ocaml/std_exit.o" "src/gtk2/gui/guiStarter.o" "build/guibase.a" "build/icons.a" "build/common.a" "build/cdk.a" "build/extlib.a" "/opt/local/lib/ocaml/lablgtk2/lablrsvg.a" "/opt/local/lib/ocaml/lablgtk2/gtkInit.o" "/opt/local/lib/ocaml/lablgtk2/lablgtk.a" "/opt/local/lib/ocaml/str.a" "/opt/local/lib/ocaml/unix.a" "/opt/local/lib/ocaml/bigarray.a" "/opt/local/lib/ocaml/stdlib.a" "-lcharset" "-lz" "-liconv" "-lbz2" "-lcharset" "-lz" "-liconv" "-lbz2" "src/daemon/common/commonHasher_c.o" "-lcharset" "-lz" "-liconv" "-lbz2" "src/utils/cdk/zlibstubs.o" "src/utils/cdk/heap_c.o" "src/config/unix/os_stubs_c.o" "src/utils/lib/fst_hash.o" "src/utils/lib/md4_comp.o" "src/utils/lib/md4_c.o" "src/utils/lib/charsetstubs.o" "src/utils/lib/md5_c.o" "src/utils/lib/sha1_c.o" "src/utils/lib/tiger.o" "src/utils/lib/stubs_c.o" "-lcharset" "-lz" "-liconv" "-lbz2" "-lcharset" "-lz" "-liconv" "-lbz2" "-llablrsvg" "-lrsvg-2" "-lgio-2.0" "-lgdk_pixbuf-2.0" "-lm" "-lcairo" "-lgmodule-2.0" "-lgobject-2.0" "-lpixman-1" "-lfontconfig" "-lexpat" "-lfreetype" "-lpng12" "-lz" "-lXrender" "-lgthread-2.0" "-lglib-2.0" "-lintl" "-liconv" "-lX11" "-lxcb" "-lXau" "-lXdmcp" "-llablgtk2" "-lgtk-x11-2.0" "-lgdk-x11-2.0" "-latk-1.0" "-lpangocairo-1.0" "-lXinerama" "-lXi" "-lXrandr" "-lXcursor" "-lXcomposite" "-lXdamage" "-lgdk_pixbuf-2.0" "-lpangoft2-1.0" "-lgio-2.0" "-lXext" "-lXfixes" "-lcairo" "-lpixman-1" "-lXrender" "-lX11" "-lxcb" "-lXau" "-lXdmcp" "-lpng12" "-lpango-1.0" "-lm" "-lfontconfig" "-lexpat" "-lfreetype" "-lz" "-lgobject-2.0" "-lgmodule-2.0" "-lgthread-2.0" "-lglib-2.0" "-lintl" "-liconv" "-lcamlstr" "-lunix" "-lbigarray" "-lcharset" "-lz" "-liconv" "-lbz2" "-lgtk-x11-2.0" "-lgdk-x11-2.0" "-latk-1.0" "-lpangocairo-1.0" "-lXext" "-lXrender" "-lXinerama" "-lXi" "-lXrandr" "-lXcursor" "-lXcomposite" "-lXdamage" "-lgdk_pixbuf-2.0" "-lpangoft2-1.0" "-lgio-2.0" "-lXfixes" "-lcairo" "-lX11" "-lpng14" "-lpango-1.0" "-lm" "-lfreetype" "-lfontconfig" "-lgobject-2.0" "-lgmodule-2.0" "-lgthread-2.0" "-lglib-2.0" "-lintl" "-lX11" "/opt/local/lib/ocaml/libasmrun.a" "-lSystem" "-lgcc" "-lSystem"
comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jacf01@… added |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
This ticket was for updating the port to 3.0.6, which was accomplished three months ago and this ticket is therefore closed and resolved.
You're now experiencing new problems related to the libpng 1.4 update; please file a new ticket for that.
Thanks.