Re: Migration fails in images_to_archives – what am I supposed to do

2015-10-01 Thread Rainer Müller
On 2015-10-01 18:36, Vincent Habchi wrote:
> Air > sudo make install
> ===> making install in vendor
> ===> making install in vendor/tcl8.5.15/unix
> Installing libtcl8.5.dylib to /opt/local/libexec/macports/lib/
> Installing tclsh as /opt/local/libexec/macports/bin/tclsh8.5
> Installing tclConfig.sh to /opt/local/libexec/macports/lib/
> Installing libtclstub8.5.a to /opt/local/libexec/macports/lib/
> Installing message catalog files to 
> /opt/local/libexec/macports/lib/tcl8.5/msgs/
> Installing header files to /opt/local/libexec/macports/include/
> […]
> /opt/local/libexec/macports/bin/tclsh8.5 ./src/images_to_archives.tcl
> This could take a while...
> Processing 1 of 349: XviD-1.3.3_0.darwin_15.x86_64.tbz2
> Processing 2 of 349: shared-mime-info-1.4_0.darwin_15.x86_64.tbz2
> Processing 3 of 349: opencv-3.0.0_0.darwin_15.x86_64.tbz2
> Processing 4 of 349: ffmpeg-2.7.2_0+gpl2.darwin_15.x86_64.tbz2
> Command failed: /usr/bin/tar -cjf 
> /opt/local/var/macports/software/ffmpeg/ffmpeg-2.7.2_0+gpl2.darwin_15.x86_64.tbz2
>  -T /opt/local/var/macports/software/ffmpeg/tarlist > 
> /opt/local/var/macports/software/ffmpeg/error.log 2>&1
> Exit code: 1
> command execution failed
> while executing
> "system "$tarcmd -cjf $newlocation -T ${targetdir}/tarlist > 
> ${targetdir}/error.log 2>&1""
> ("foreach" body line 78)
> invoked from within
> "foreach installed $ilist {
> incr counter
> set iname [lindex $installed 0]
> set iversion [lindex $installed 1]
> set irevision [lindex $inst..."
> (file "./src/images_to_archives.tcl" line 38)
> make: *** [install] Error 1
> 
> Any hint or kludge?

Unless this is a very old pre-2.0 installation, this step should not
actually be doing anything.

Maybe you previously deleted archive files from
/opt/local/var/macports/software/?

Can you show us /opt/local/var/macports/software/ffmpeg/error.log?

Rainer
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Migration fails in images_to_archives – what am I supposed to do

2015-10-01 Thread Vincent Habchi
Folks,

I’m trying to migrate Macports properly rebuilding base, but something fails:

Air > sudo make install
===> making install in vendor
===> making install in vendor/tcl8.5.15/unix
Installing libtcl8.5.dylib to /opt/local/libexec/macports/lib/
Installing tclsh as /opt/local/libexec/macports/bin/tclsh8.5
Installing tclConfig.sh to /opt/local/libexec/macports/lib/
Installing libtclstub8.5.a to /opt/local/libexec/macports/lib/
Installing message catalog files to /opt/local/libexec/macports/lib/tcl8.5/msgs/
Installing header files to /opt/local/libexec/macports/include/
[…]
/opt/local/libexec/macports/bin/tclsh8.5 ./src/images_to_archives.tcl
This could take a while...
Processing 1 of 349: XviD-1.3.3_0.darwin_15.x86_64.tbz2
Processing 2 of 349: shared-mime-info-1.4_0.darwin_15.x86_64.tbz2
Processing 3 of 349: opencv-3.0.0_0.darwin_15.x86_64.tbz2
Processing 4 of 349: ffmpeg-2.7.2_0+gpl2.darwin_15.x86_64.tbz2
Command failed: /usr/bin/tar -cjf 
/opt/local/var/macports/software/ffmpeg/ffmpeg-2.7.2_0+gpl2.darwin_15.x86_64.tbz2
 -T /opt/local/var/macports/software/ffmpeg/tarlist > 
/opt/local/var/macports/software/ffmpeg/error.log 2>&1
Exit code: 1
command execution failed
while executing
"system "$tarcmd -cjf $newlocation -T ${targetdir}/tarlist > 
${targetdir}/error.log 2>&1""
("foreach" body line 78)
invoked from within
"foreach installed $ilist {
incr counter
set iname [lindex $installed 0]
set iversion [lindex $installed 1]
set irevision [lindex $inst..."
(file "./src/images_to_archives.tcl" line 38)
make: *** [install] Error 1

Any hint or kludge?

Thanks a lot!
Vincent

___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: Migration fails in images_to_archives – what am I supposed to do

2015-10-01 Thread Vincent Habchi
Rainer:

>> Bang on. I keep as little archives as possible, because my SSD is cramped (I 
>> have a 128 MB version) and I don’t want to cram it with files I seldom if 
>> ever use.
> 
> I really hope you actually got 128 GB ;-)

Oops. Well… You know, back in the ‘80s, I clearly remember a then-friend having 
an Atari Megafile 30 HD I was dreaming of. That was 30 MB… Not even 20 
floppies, but so much faster.

> Just be aware that activate/deactivate will not work when the archive
> tarball is no longer available.

Yeah, I remember a discussion involving Ryan on this particular heads-up not so 
long ago.

> You could temporarily remove the invocation of images_to_archives.tcl
> from the top-level Makefile. However, the actual install is already
> completed at that point, so you can just continue using the installed
> port command.

Great. Just what I needed to know. Thanks a lot for your help!
Vincent
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: Migration fails in images_to_archives – what am I supposed to do

2015-10-01 Thread Rainer Müller
On 2015-10-01 19:15, Vincent Habchi wrote:
>> Maybe you previously deleted archive files from 
>> /opt/local/var/macports/software/?
> 
> Bang on. I keep as little archives as possible, because my SSD is cramped (I 
> have a 128 MB version) and I don’t want to cram it with files I seldom if 
> ever use.

I really hope you actually got 128 GB ;-)

Just be aware that activate/deactivate will not work when the archive
tarball is no longer available.

>> Can you show us /opt/local/var/macports/software/ffmpeg/error.log?
> 
> Yup.
>> less /opt/local/var/macports/software/ffmpeg/error.log
> tar: /opt/local/lib/libavcodec.56.41.100.dylib: Cannot stat: No such file or 
> directory
> tar: /opt/local/lib/libavfilter.5.16.101.dylib: Cannot stat: No such file or 
> directory
> tar: /opt/local/lib/libavformat.56.36.100.dylib: Cannot stat: No such file or 
> directory
> tar: /opt/local/lib/libavutil.54.27.100.dylib: Cannot stat: No such file or 
> directory
> tar: /opt/local/lib/libswresample.1.2.100.dylib: Cannot stat: No such file or 
> directory
> tar: /opt/local/share/ffmpeg/examples/avio_list_dir.c: Cannot stat: No such 
> file or directory
> 
>> ls /opt/local/lib/libavcodec.*
> /opt/local/lib/libavcodec.56.60.100.dylib /opt/local/lib/libavcodec.a
> /opt/local/lib/libavcodec.56.dylib/opt/local/lib/libavcodec.dylib
> 
> It seems I have somehow a newer version that didn’t get registered properly.

Maybe an interrupted activation phase (Ctrl-C) lead to that.

> Any possibility to skip that pass?

You could temporarily remove the invocation of images_to_archives.tcl
from the top-level Makefile. However, the actual install is already
completed at that point, so you can just continue using the installed
port command.

Rainer
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev