Opened 10 years ago
Closed 10 years ago
#47171 closed defect (invalid)
tig @2.1 Configure error - command execution failed
Reported by: | cengizc+macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | mkae (Marko Käning), neverpanic (Clemens Lang) | |
Port: | tig |
Description
Hello there,
tig @2.1 fails to configure after self-update
Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.10.73~1/RELEASE_X86_64 x86_64
---> Updating MacPorts base sources using rsync MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables package-id: com.apple.pkg.CLTools_Executables version: 6.2.0.0.1.1424975374 volume: / location: / install-time: 1426155649 groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group
$ sudo port clean tig ---> Cleaning tig $ sudo port install tig ---> Computing dependencies for tig ---> Fetching archive for tig ---> Attempting to fetch tig-2.1_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/tig ---> Attempting to fetch tig-2.1_0.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/tig ---> Attempting to fetch tig-2.1_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/tig ---> Fetching distfiles for tig ---> Verifying checksums for tig ---> Extracting tig ---> Configuring tig Error: org.macports.configure for port tig returned: command execution failed Please see the log file for port tig for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tig/tig/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port tig failed
I've also attached the log file.
Thanks.
Have a nice day
Attachments (3)
Change History (16)
Changed 10 years ago by cengizc+macports@…
comment:3 follow-up: 5 Changed 10 years ago by neverpanic (Clemens Lang)
Cc: | mk@… cal@… added; cengizc+macports@… removed |
---|---|
Keywords: | tig removed |
You don't have to Cc yourself.
comment:4 Changed 10 years ago by neverpanic (Clemens Lang)
Missing /opt/local/share/aclocal/wxwin.m4
during autoreconf, so we can either (a) avoid autoreconf, (b) add a dependency on the wx$something port that installs this file.
comment:5 Changed 10 years ago by cengizc+macports@…
comment:6 Changed 10 years ago by mkae (Marko Käning)
Strange, I have that version running here on 10.9.5, no problems during build...
comment:7 Changed 10 years ago by neverpanic (Clemens Lang)
Did you try in trace mode as well? You might just happen to have the file installed.
comment:8 follow-up: 9 Changed 10 years ago by neverpanic (Clemens Lang)
I tried reproducing this in trace mode and couldn't; the build went fine for me.
cengizc: can you try sudo port clean tig; sudo port -t install tig
and see if that works?
comment:9 Changed 10 years ago by cengizc+macports@…
Replying to cal@…:
I tried reproducing this in trace mode and couldn't; the build went fine for me.
cengizc: can you try
sudo port clean tig; sudo port -t install tig
and see if that works?
$ sudo port clean tig; sudo port -t install tig ---> Cleaning tig ---> Computing dependencies for tig ---> Fetching archive for tig ---> Attempting to fetch tig-2.1_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/tig ---> Attempting to fetch tig-2.1_0.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/tig ---> Attempting to fetch tig-2.1_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/tig ---> Fetching distfiles for tig ---> Verifying checksums for tig ---> Extracting tig ---> Configuring tig Warning: The following file inside the MacPorts prefix not installed by a port was accessed: /opt/local/share/aclocal/wxwin.m4 Error: org.macports.configure for port tig returned: command execution failed Please see the log file for port tig for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tig/tig/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port tig failed
comment:10 Changed 10 years ago by neverpanic (Clemens Lang)
Can you attach this main.log as well, in case it is different from your first one?
Seems weird the port would build different for you though – there must be something different on your system.
Changed 10 years ago by cengizc+macports@…
Attachment: | main-with-trace.log added |
---|
comment:11 Changed 10 years ago by cengizc+macports@…
Out of desperation, I removed wxwin.m4 file
$ sudo rm /opt/local/share/aclocal/wxwin.m4
and tig was configured successfully.
$ sudo port install -t tig ---> Computing dependencies for tig ---> Configuring tig ---> Building tig ---> Staging tig into destroot ---> Installing tig @2.1_0 ---> Activating tig @2.1_0 ---> Cleaning tig ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found.
But my autoconf installation is missing a macro now.
Changed 10 years ago by philippe.groarke@…
Attachment: | main.2.log added |
---|
comment:13 Changed 10 years ago by neverpanic (Clemens Lang)
Resolution: | → invalid |
---|---|
Status: | new → closed |
cengizc: Your log file suggests that wxwin.m4 was not installed by a MacPorts port. Since aclocal suggests it did not exist either, I'm assuming it was a dangling symlink (or a symlink to a file hidden by trace mode, which would also appear as a dangling symlink in this case). I would expect any wxwidgets port that ships a file like this to register it correctly; so, it was (a) not installed by a MacPorts port, in which case deleting it was fine, (b) installed by a MacPorts port but not registered as file installed by that port, which would be a bug in that port, (c) deliberately not registered by a port, in which case I'm wondering why somebody would choose to do that. In any case, deleting was probably the right thing to do in this case, and I'm going to close this ticket.
philippe: Your problem isn't the same, because the configure phase succeeds but building fails later on. You should file this as a separate ticket or ask for help on the macports-users mailing list. In your log file, I see
1594 :info:build dyld: lazy symbol binding failed: Symbol not found: _gzopen 1595 :info:build Referenced from: /opt/local/lib/libxml2.2.dylib 1596 :info:build Expected in: flat namespace
which suggests that for some reason your /opt/local/lib/libxml2.2.dylib
doesn't correctly reference /opt/local/lib/libz.1.dylib
, which should provide this symbol. The additional "Expected in: flat namespace" makes me wonder whether you somehow modified your environment, i.e. by setting any DYLD_
environment variables – but as discussed, please open a new ticket or mail to the mailing list for help on this.
tig-2.1_0.darwin_14.x86_64 main.log