New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26707 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Inventor failed to build

Reported by: trog24@… Owned by: css@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: inventor

Description

Using

sudo port -d upgrade inventor

the following error occurred:

/usr/bin/g++ -bundle -flat_namespace -undefined suppress -L/opt/local/lib -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_inventor/work/destroot//opt/local/lib -L../../../lib -L../../../libSoXt  BarChart.o          -lInventor -lInventorXt -lXm -lXt -lX11 -lGLU -lGL -liconv -lcharset -ldl  -o BarChart.bundle
ld: file not found: /opt/local/lib/libjpeg.7.dylib
collect2: ld returned 1 exit status
make[3]: *** [BarChart.bundle] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_inventor/work/inventor" && /usr/bin/make -j2 all " returned error 2
Error: Target org.macports.build returned: shell command failed
DEBUG: Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for inventor): org.macports.destroot org.macports.build
Log for inventor is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_inventor/main.log
DEBUG: invalid command name "::ui_init"
    while executing
"::ui_init any stdout"
    ("eval" body line 1)
    invoked from within
"eval ::ui_init $priority $prefix $channels($priority) $args"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $body"
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

The jpeg library installed is:

libjpeg.8.dylib

I do not see a port for:

libjpeg.7.dylib

Attachments

main.log (6.3 KB) - added by trog24@… 3 years ago.

Change History

comment:1 Changed 3 years ago by jmr@…

  • Owner changed from macports-tickets@… to css@…
  • Port changed from Inventor to inventor

Please remember to cc the maintainer. Attach the full log.

Changed 3 years ago by trog24@…

comment:2 Changed 3 years ago by jmr@…

Clean first; that log starts with everything up to the configure phase and part of the build phase already done.

comment:3 Changed 3 years ago by trog24@…

Inventor installed. Activities between failure and success were:

sudo port unistall inventor
sudo port upgrade installed
sudo port uninstall xorg-libs
sudo port upgrade installed
sudo port clean inventor
sudo port -d install inventor

One of the transactions prior to:

sudo port -d install inventor

must have made it possible to install inventor.

comment:4 Changed 3 years ago by css@…

  • Status changed from new to assigned

I think the jpeg library changed, so there was probably an out-of-sync dependency somewhere. To confirm, a fully updated ports tree works for you?

comment:5 Changed 3 years ago by trog24@…

Yes, you can close the report on not building; but, I wonder why the missing library was designated as:

libjpeg.7.dylib

when that library still does not exist and

libjpeg.8.dylib

did and does exist.

comment:6 Changed 3 years ago by css@…

  • Status changed from assigned to closed
  • Resolution set to fixed

One of the dependent libraries must have linked with the older jpeg library, and it wasn't updated after the new jpeg library. Or maybe you had a partial build?

Note: See TracTickets for help on using tickets.