Opened 13 years ago

Closed 12 years ago

#30915 closed defect (worksforme)

lzo2 libtool Version mismatch error

Reported by: jt@… Owned by: yunzheng.hu@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: lzo2

Description (last modified by jmroot (Joshua Root))

$ sudo port install wget
--->  Computing dependencies for wget
--->  Dependencies to be installed: gnutls lzo2
--->  Building lzo2
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install lzo2
Log for lzo2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/main.log
Error: The following dependencies were not installed: gnutls lzo2
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

"tail -f /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/main.log" is attached

Attachments (1)

main.log (5.0 KB) - added by jt@… 13 years ago.

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by jt@…

Attachment: main.log added

comment:1 Changed 13 years ago by jt@…

Better formatted description:

$ sudo port install wget
--->  Computing dependencies for wget
--->  Dependencies to be installed: gnutls lzo2
--->  Building lzo2
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install lzo2
Log for lzo2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/main.log
Error: The following dependencies were not installed: gnutls lzo2
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:2 Changed 13 years ago by jt@…

Probably easier to see the log as a comment aswell:

version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 1011
:debug:main Executing org.macports.main (lzo2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (lzo2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (lzo2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (lzo2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (lzo2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (lzo2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (lzo2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sun Aug 21 10:33:30 MSD 2011
:notice:build --->  Building lzo2
:debug:build Executing org.macports.build (lzo2)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/work/lzo-2.05" && /usr/bin/make -j4 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/work/lzo-2.05" && /usr/bin/make -j4 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/work/lzo-2.05'
:info:build /usr/bin/make  all-am
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/work/lzo-2.05'
:info:build   CC     src/lzo1.lo
:info:build   CC     src/lzo1a_99.lo
:info:build   CC     src/lzo1a.lo
:info:build   CC     src/lzo1_99.lo
:info:build libtool: Version mismatch error.  This is libtool 2.2.10, revision 1.3175,
:info:build libtool: but the definition of this LT_INIT comes from revision .
:info:build libtool: You should recreate aclocal.m4 with macros from revision 1.3175
:info:build libtool: of libtool 2.2.10 and run autoconf again.
:info:build libtool: Version mismatch error.  This is libtool 2.2.10, revision 1.3175,
:info:build libtool: but the definition of this LT_INIT comes from revision .
:info:build libtool: You should recreate aclocal.m4 with macros from revision 1.3175
:info:build libtool: of libtool 2.2.10 and run autoconf again.
:info:build libtool: Version mismatch error.  This is libtool 2.2.10, revision 1.3175,
:info:build libtool: but the definition of this LT_INIT comes from revision .
:info:build libtool: You should recreate aclocal.m4 with macros from revision 1.3175
:info:build libtool: of libtool 2.2.10 and run autoconf again.
:info:build libtool: Version mismatch error.  This is libtool 2.2.10, revision 1.3175,
:info:build libtool: but the definition of this LT_INIT comes from revision .
:info:build libtool: You should recreate aclocal.m4 with macros from revision 1.3175
:info:build libtool: of libtool 2.2.10 and run autoconf again.
:info:build make[1]: *** [src/lzo1a_99.lo] Error 63
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: *** [src/lzo1a.lo] Error 63
:info:build make[1]: *** [src/lzo1_99.lo] Error 63
:info:build make[1]: *** [src/lzo1.lo] Error 63
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/work/lzo-2.05'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/work/lzo-2.05'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/work/lzo-2.05" && /usr/bin/make -j4 -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 lzo2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install lzo2
:notice:build Log for lzo2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/lzo2/main.log

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

Description: modified (diff)
Keywords: wget lzo2 removed
Owner: changed from macports-tickets@… to yunzheng.hu@…
Port: lzo2 added; wget removed

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

The log you've shown isn't from a clean build attempt. Clean and try again; if that fails, please attach the entire main.log.

sudo port clean lzo2
sudo port install lzo2

comment:5 Changed 13 years ago by meekohi@…

I had a very similar problem while installing ffmpeg. Problem originated from xorg-libX11. Doing

sudo port clean xorg-libxcb

solved the problem.

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

Is this still a problem? If so please provide a full log as requested.

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

Resolution: worksforme
Status: newclosed

The lzo2 port has been updated to 2.06 and it builds fine for me, and for the three buildbots. If you're still experiencing the problem with that version, please re-open the ticket and provide the information requested earlier.

Note: See TracTickets for help on using tickets.