Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13975 closed defect (worksforme)

subversion-perlbindings won't install

Reported by: joe@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

After upgrading to macports 1.600, svk stopped working. In an effort to uninstall & reinstall, I'm stuck on the subversion-perlbindings package. After uninstalling it, here's what I get when I try to reinstall:

$ sudo port install subversion-perlbindings
--->  Installing subversion-perlbindings 1.4.6_0
--->  Activating subversion-perlbindings 1.4.6_0
Error: Target org.macports.activate returned: can't create directory "/Network/Library": file already exists
Error: Status 1 encountered during processing.

Attachments (1)

install_err (8.7 KB) - added by joe@… 16 years ago.
stderr from install step

Download all attachments as: .zip

Change History (20)

comment:1 Changed 16 years ago by jmpp@…

Milestone: Port Bugs

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to dluke@…

Assigning to maintainer.

comment:3 Changed 16 years ago by danielluke (Daniel J. Luke)

Status: newassigned

Can you run:

sudo port clean --all subversion-perlbindings sudo port -dv install subversion-perlbindings

And attach the output (it's difficult to see what is actually happening without the full output)?

Thanks.

comment:4 Changed 16 years ago by joe@…

Here's everything but stderr from the install step, which I will attach:

$ sudo port clean --all subversion-perlbindings
--->  Cleaning subversion-perlbindings
Warning: Distfiles directory '/opt/local/var/macports/distfiles/subversion' may contain distfiles needed for other ports, use the -f flag to force removal
$ sudo port -dv install subversion-perlbindings 2> install_err
--->  Activating subversion-perlbindings 1.4.6_0
Warning: the following items did not execute (for subversion-perlbindings): org.macports.activate

Changed 16 years ago by joe@…

Attachment: install_err added

stderr from install step

comment:5 Changed 16 years ago by danielluke (Daniel J. Luke)

Can you do that again but with '-f' for the clean. (sudo port -f clean --all subversion-perlbindings)

I really need to see the configure/build stage here to get a better picture of why it's trying to write into /Network at all.

Thanks.

comment:6 Changed 16 years ago by joe@…

I added -f on the clean, but got the same results.

$ sudo port -f clean --all subversion-perlbindings --->  Cleaning subversion-perlbindings
$ sudo port -dv install subversion-perlbindings  2> install_err_2
--->  Activating subversion-perlbindings 1.4.6_0
Warning: the following items did not execute (for subversion-perlbindings): org.macports.activate
$ diff install_err_2 install_err 
$

comment:7 Changed 16 years ago by danielluke (Daniel J. Luke)

Well, it looks like macports thinks that it's installed already?

Try sudo port -f uninstall subversion-perlbindings sudo port -f clean --al subversion-perlbindings

and then

sudo port -dv install subversion-perlbindings

Thanks

comment:8 Changed 16 years ago by joe@…

Hey, that made a difference! This time, subversion-perlbindings installed without complaint.

Now, trying to reinstall svk seems to be hanging on something compress-zlib related:

$ sudo port -f  clean --all svk
--->  Cleaning svk
$ sudo port install -dv svk 
--->  Fetching svk
--->  Attempting to fetch SVK-v2.0.2.tar.gz from http://download.bestpractical.com/pub/svk/2.0.2
--->  Verifying checksum(s) for svk
--->  Extracting svk
--->  Configuring svk
--->  Building svk with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_svk/work/SVK-v2.0.2" && make all " returned error 2
Command output: /opt/local/bin/perl "-Iinc" Makefile.PL --config= --installdeps=PerlIO::via::dynamic,0.11,Compress::Zlib,0
Undefined subroutine &Compress::Zlib::gzopen called at /opt/local/lib/perl5/5.8.8/CPAN.pm line 5721.
Compilation failed in require at inc/Module/Install/AutoInstall.pm line 37.
*** Installing dependencies...
*** Installing PerlIO::via::dynamic...
CPAN: Storable loaded ok
Going to read /Users/joe/.cpan/Metadata
  Database was generated on Thu, 17 Jan 2008 15:38:07 GMT
Going to read /Users/joe/.cpan/sources/authors/01mailrc.txt.gz
make: *** [installdeps] Error 2

Error: Status 1 encountered during processing.

I did the uninstall, clean --all, and install routine with both p5-compress-zlib and p5-io-compress-zlib & then reran the clean & install for svk, but got the same result.

comment:9 Changed 16 years ago by danielluke (Daniel J. Luke)

--installdeps=PerlIO::via::dynamic,0.11,Compress::Zlib,0

These shouldn't be attempting to install via the svk installer (instead, macports should install the ports by themselves).

Since you already uninstalled/cleaned/reinstalled the zlib ports, perhaps you need to do it with the p5-perlio-via-dynamic port too?

comment:10 Changed 16 years ago by joe@…

more progress. uninstalling, cleaning, and reinstalling p5-perlio-via-dynamic let svk actually install. When I run svk, though, I get:

$ svk

SVK requires the Scalar::Util module be built with support for  the 'weaken'
function. 

It is sometimes the case that operating system upgrades will replace 
a working Scalar::Util with a non-working one. If your system was working
correctly up until now, this is likely the cause of the problem.

Please reinstall Scalar::Util, being careful to let it build with your C 
compiler. Usually this is as simple as running the following command as
root:

    perl -MCPAN -e'install Scalar::Util'

BEGIN failed--compilation aborted at /opt/local/bin/svk line 81.

My guess was that this was from the p5-scalar-list-utils package, so I uninstalled svk & then it, cleaned, and reinstalled it:

--->  Fetching p5-scalar-list-utils
--->  Attempting to fetch Scalar-List-Utils-1.19.tar.gz from http://ftp.ucr.ac.cr/Unix/CPAN/modules/by-module/Scalar
--->  Verifying checksum(s) for p5-scalar-list-utils
--->  Extracting p5-scalar-list-utils
--->  Configuring p5-scalar-list-utils
--->  Building p5-scalar-list-utils with target all
--->  Staging p5-scalar-list-utils into destroot
--->  Installing p5-scalar-list-utils 1.19_0
--->  Activating p5-scalar-list-utils 1.19_0
--->  Cleaning p5-scalar-list-utils

however, even after doing that, cleaning and reinstalling svk, I'm continuing to get the same 'weaken' error.

comment:11 Changed 16 years ago by danielluke (Daniel J. Luke)

That is pretty strange.

On my working system:

$/opt/local/bin/perl -e 'use Scalar::Util; print $Scalar::Util::VERSION."\n";' 1.19 $

What gets printed for you?

comment:12 Changed 16 years ago by joe@…

Same here --

$ /opt/local/bin/perl -e 'use Scalar::Util; print $Scalar::Util::VERSION."\n";'
1.19
$

comment:13 Changed 16 years ago by danielluke (Daniel J. Luke)

I'm about stumped then.

Did you make sure to port clean -f --all p5-scalar-list-utils before reinstalling it (if you forgot the --all, the port could have been reinstalled from an archive instead of being rebuilt properly?)

It also seems really strange that upgrading to MP 1.6 would have caused this problem, did you do anything else to the system? did you upgrade perl recently?

comment:14 Changed 16 years ago by danielluke (Daniel J. Luke)

... also, maybe try running 'sudo port clean -f --all p5-scalar-list-utils' and then sudo port -dv test p5-scalar-list-utils before installing it again.

comment:15 Changed 16 years ago by joe@…

OK, just tried uninstalling, running clean -f --all, and testing p5-scalar-list-utils as you suggest. The test output:

t/00version.....ok
t/blessed.......ok
t/dualvar.......ok
t/first.........ok
        2/17 skipped: Poor man's MULTICALL can't cope
t/isvstring.....ok
t/lln...........ok
t/max...........ok
t/maxstr........ok
t/min...........ok
t/minstr........ok
t/openhan.......ok
t/p_blessed.....ok
t/p_first.......ok
t/p_lln.........ok
t/p_max.........ok
t/p_maxstr......ok
t/p_min.........ok
t/p_minstr......ok
t/p_openhan.....ok
t/p_readonly....ok
t/p_reduce......ok
t/p_refaddr.....ok
t/p_reftype.....ok
t/p_shuffle.....ok
t/p_sum.........ok
t/p_tainted.....ok
t/proto.........ok
t/readonly......ok
t/reduce........ok
        2/23 skipped: Poor man's MULTICALL can't cope
t/refaddr.......ok
t/reftype.......ok
t/shuffle.......ok
t/sum...........ok
t/tainted.......ok
t/weak..........ok
All tests successful, 4 subtests skipped.
Files=35, Tests=380,  2 wallclock secs ( 0.97 cusr +  0.42 csys =  1.39 CPU)

however, after reinstalling svk, same error.

Upgrading to MP 1.6 is the only thing I can think of having done that could have affected this.

comment:16 Changed 16 years ago by danielluke (Daniel J. Luke)

That is really odd.

If it were my machine, I would probably try removing all of the perl module ports, cleaning and then reinstalling them. Something like this (tcsh):

$ port installed | grep p5 | cut -f 3 -d " " > perl_ports.txt $ foreach i (cat perl_ports.txt) foreach -> sudo port -d -v -f uninstall $i foreach -> sudo port -d -v -f clean --archive $i foreach -> end

...

$ foreach i (cat perl_ports.txt) foreach -> sudo port -d -v install $i foreach -> end

comment:17 Changed 16 years ago by danielluke (Daniel J. Luke)

or more legibly:

$ port installed | grep p5 | cut -f 3 -d " " > perl_ports.txt
$ foreach i (`cat perl_ports.txt`)
foreach -> sudo port -d -v -f uninstall $i
foreach -> sudo port -d -v -f clean --archive $i
foreach -> end

...

$ foreach i (`cat perl_ports.txt`)
foreach -> sudo port -d -v install $i
foreach -> end

comment:18 Changed 16 years ago by danielluke (Daniel J. Luke)

Resolution: worksforme
Status: assignedclosed

comment:19 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.