Opened 13 years ago

Closed 11 years ago

#33308 closed defect (worksforme)

erlang +wxwidgets upgrade to 15b insists on libjpg.62.dylib

Reported by: hd2010@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mojca (Mojca Miklavec)
Port: erlang

Description (last modified by mf2k (Frank Schima))

Erlang upgrade to 15b insists on libjpg.62.dylib

Activating it, then complaints where that libjpg.8.dylib was being missed instead.

The fact that the respective file was not present was in itself correct, it was also not activated.

'Fixed' by keeping both files in /opt/local/lib, overriding activation mechanics.

Not tested of wx works then.

-- log tail for missing .62: --

:info:build === Leaving application jinterface
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/jinterface'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx'
:info:build === Entering application wx
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx/src'
:info:build make[3]: Nothing to be done for `opt'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx/src'
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx/c_src'
:info:build mkdir -p ../priv
:info:build /usr/bin/g++-4.0 -m32 -bundle -flat_namespace -undefined warning -fPIC -L/opt/local/lib -lz -arch i386 i386-apple-darwin9.8.0/wxe_driver.o i386-apple-darwin9.8.0/wxe_ps_init.o i386-apple-darwin9.8.0/wxe_impl.o i386-apple-darwin9.8.0/wxePrintout.o i386-apple-darwin9.8.0/wxe_return.o i386-apple-darwin9.8.0/wxe_gl.o  i386-apple-darwin9.8.0/wxe_funcs.o i386-apple-darwin9.8.0/wxe_events.o i386-apple-darwin9.8.0/wxe_init.o  -L/opt/local/lib   -L/opt/local/lib -arch i386 -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL  -lwx_macu_stc-2.8 -lwx_macu_xrc-2.8 -lwx_macu_html-2.8 -lwx_macu_adv-2.8 -lwx_base_carbonu_xml-2.8 -lwx_macu_core-2.8 -lwx_base_carbonu-2.8 -lwx_macu_gl-2.8 -lwx_macu_aui-2.8  -o ../priv/wxe_driver.so
:info:build ld: file not found: /opt/local/lib/libjpeg.62.dylib
:info:build collect2: ld returned 1 exit status
:info:build make[3]: *** [../priv/wxe_driver.so] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx/c_src'
:info:build make[2]: *** [opt] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx'
:info:build make[1]: *** [opt] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib'
:info:build make: *** [libs] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B" && /usr/bin/make -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for erlang): org.macports.install org.macports.build org.macports.destroot

-- log tail for missing .8: --

:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/jinterface'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx'
:info:build === Entering application wx
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx/src'
:info:build make[3]: Nothing to be done for `opt'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx/src'
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx/c_src'
:info:build mkdir -p ../priv
:info:build /usr/bin/g++-4.0 -m32 -bundle -flat_namespace -undefined warning -fPIC -L/opt/local/lib -lz -arch i386 i386-apple-darwin9.8.0/wxe_driver.o i386-apple-darwin9.8.0/wxe_ps_init.o i386-apple-darwin9.8.0/wxe_impl.o i386-apple-darwin9.8.0/wxePrintout.o i386-apple-darwin9.8.0/wxe_return.o i386-apple-darwin9.8.0/wxe_gl.o  i386-apple-darwin9.8.0/wxe_funcs.o i386-apple-darwin9.8.0/wxe_events.o i386-apple-darwin9.8.0/wxe_init.o  -L/opt/local/lib   -L/opt/local/lib -arch i386 -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL  -lwx_macu_stc-2.8 -lwx_macu_xrc-2.8 -lwx_macu_html-2.8 -lwx_macu_adv-2.8 -lwx_base_carbonu_xml-2.8 -lwx_macu_core-2.8 -lwx_base_carbonu-2.8 -lwx_macu_gl-2.8 -lwx_macu_aui-2.8  -o ../priv/wxe_driver.so
:info:build ld warning: duplicate dylib /opt/local/lib/libz.1.dylib
:info:build ld: file not found: /opt/local/lib/libjpeg.8.dylib
:info:build collect2: ld returned 1 exit status
:info:build make[3]: *** [../priv/wxe_driver.so] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx/c_src'
:info:build make[2]: *** [opt] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib/wx'
:info:build make[1]: *** [opt] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B/lib'
:info:build make: *** [libs] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-R15B" && /usr/bin/make -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for erlang): org.macports.install org.macports.build org.macports.destroot

Change History (6)

comment:1 Changed 13 years ago by hd2010@…

I should say thanks for the great tool.

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

Description: modified (diff)
Owner: changed from macports-tickets@… to bfulgham@…
Port: erlang added

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Summary: Erlang upgrade to 15b insists on libjpg.62.dyliberlang +wxwidgets upgrade to 15b insists on libjpg.62.dylib

I guess this must be with +wxwidgets. The revision of the wxWidgets port was already increased after jpeg was updated, so there isn't really anything else that can be done on our end if it's linked to the wrong version on your machine. Does rev-upgrade fix it for you?

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:5 Changed 11 years ago by mojca (Mojca Miklavec)

Is this still an issue or may it be closed after a few intermediate releases of erland, jgep and wxWidgets?

comment:6 Changed 11 years ago by mojca (Mojca Miklavec)

Resolution: worksforme
Status: newclosed
Version: 2.0.3

I'm closing this. If anyone still experiences the problem, please reopen the ticket. It's probably outdated anyway.

Note: See TracTickets for help on using tickets.