8.20RC1 - can no longer install squeezeboxserver in jail

Status
Not open for further replies.

unholyeyebrows

Explorer
Joined
Apr 19, 2012
Messages
55
Hi

I've just updated my NAS to FreeNAS 8.20RC1. I have also upgraded the jail to FreeNAS-8.2.0-RC1-x64.Plugins_Jail.pbi. In doing this my original jail installation (with Squeezeboxserver) seems to have been wiped. Not the end of the world I thought - I'll just delete the jail and re-install it.

Having done this, I have issued the following commands (which from my notes worked in earlier versions) to install squeezebox server:

jexec 5 /bin/tcsh

portsnap fetch
portsnap extract
cd /usr/ports/audio/squeezeboxserver
make install clean
[when prompted for options, just go with the defaults].

However, this fails with a perl conflict as follows:

<--

software# make install clean
===> Found saved configuration for squeezeboxserver-7.5.4_5

Define SLIMDIR to override default of 'squeezeboxserver'.

=> squeezeboxserver-7.5.4-noCPAN.tgz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://downloads.slimdevices.com/SqueezeboxServer_v7.5.4/squeezeboxserver-7.5.4-noCPAN.tgz
squeezeboxserver-7.5.4-noCPAN.tgz 100% of 18 MB 2709 kBps
===> Extracting for squeezeboxserver-7.5.4_5
=> SHA256 Checksum OK for squeezeboxserver-7.5.4-noCPAN.tgz.
===> squeezeboxserver-7.5.4_5 depends on file: /usr/local/bin/perl5.14.2 - not found
===> Verifying install for /usr/local/bin/perl5.14.2 in /usr/ports/lang/perl5.14

===> perl-5.14.2_2 conflicts with installed package(s):
perl-5.12.4_3

They install files into the same place.
You may want to stop build with Ctrl + C.
===> License ART10 GPLv1 accepted by the user
===> Found saved configuration for perl-5.14.2_2
=> perl-5.14.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/perl.
=> Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/../../src/perl-5.14.2.tar.bz2
perl-5.14.2.tar.bz2 100% of 12 MB 1882 kBps
=> BSDPAN-20111107.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/perl.
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/skv/BSDPAN-20111107.tar.bz2
BSDPAN-20111107.tar.bz2 100% of 8448 B 133 kBps

===> perl-5.14.2_2 conflicts with installed package(s):
perl-5.12.4_3

They will not build together.
Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/perl5.14.
*** Error code 1

Stop in /usr/ports/lang/perl5.14.
*** Error code 1

Stop in /usr/ports/audio/squeezeboxserver.
*** Error code 1

Stop in /usr/ports/audio/squeezeboxserver.

<--

Finally, when I try to delete the newer version of perl, I get the following:


software# pkg_delete perl-5.12.4_3
pkg_delete: package 'perl-5.12.4_3' is required by these other packages
and may not be deinstalled:
iconv-2.0_3
glib-2.28.8_2
gamin-0.1.10_4
gio-fam-backend-2.28.8
dbus-glib-0.94

So I'm stuck. Does anyone know how I might proceed with installing squeezeboxserver on the latest RC1 jail image?

Thanks
Nick
 

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
This might actually benefit from being made into a PBI, since among other things, PBIs isolate their dependencies.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
This is a requirement of squeezeboxserver port, not a freenas issue FWIW...

Just delete perl5.12 and install perl5.14...
Change the default version in /etc/make.conf
 

unholyeyebrows

Explorer
Joined
Apr 19, 2012
Messages
55

unholyeyebrows

Explorer
Joined
Apr 19, 2012
Messages
55
This is a requirement of squeezeboxserver port, not a freenas issue FWIW...

Just delete perl5.12 and install perl5.14...
Change the default version in /etc/make.conf

Hi - thanks for the help. Unfortunately I'm not able to delete perl 5.12 since there are other packages dependent on it:

software# pkg_delete perl-5.12.4_3
pkg_delete: package 'perl-5.12.4_3' is required by these other packages
and may not be deinstalled:
iconv-2.0_3
glib-2.28.8_2
gamin-0.1.10_4
gio-fam-backend-2.28.8
dbus-glib-0.94

Also, /etc/make.conf doesn't exist in my jail.
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Sorry, I thought there was a package for it.

you can create a make.conf in your jail, just do:

echo PERL_VERSION=5.14 > /etc/make.conf
 

unholyeyebrows

Explorer
Joined
Apr 19, 2012
Messages
55
Sorry, I thought there was a package for it.

you can create a make.conf in your jail, just do:

echo PERL_VERSION=5.14 > /etc/make.conf

Almost. echo PERL_VERSION=5.12 > /etc/make.conf gets the squeezeboxserver installation going, but it eventually fails with:


Everything is up to date. Type 'make test' to run test suite.
===> Installing for perl-5.12.4_4
===> Generating temporary packing list
===> Checking if lang/perl5.12 already installed
===> An older version of lang/perl5.12 is already installed (perl-5.12.4_3)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of lang/perl5.12
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/lang/perl5.12.
*** Error code 1

Stop in /usr/ports/lang/perl5.12.
*** Error code 1

Stop in /usr/ports/audio/squeezeboxserver.
*** Error code 1

Stop in /usr/ports/audio/squeezeboxserver.


Quite frustrating really - this just worked in the old jail image - it's just RC1 where there's clearly a clash with the perl version.
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
What happens if you change the version in make.conf to 5.12.4_3 or _4, whatever makes it happier! ;)
 

djoole

Contributor
Joined
Oct 3, 2011
Messages
158
I had the same problem when i first wanted to install a port.

So as advised, you have to get rid of PERL 5.12 and install PERL 5.14.

To do so, use pkg-delete, and delete all the dependencies that prevent you from deleting PERL :

Code:
pkg_delete perl-5.12.4_3
pkg_delete dbus-glib-0.94
pkg_delete gio-fam-backend-2.28.8
pkg_delete gamin-0.1.10_4
pkg_delete glib-2.28.8_2
pkg_delete iconv-2.0_3


Then reinstall everything with ports and not packages (these ones are outdated always) :
Code:
cd /usr/ports/lang/perl5.14/ && make install clean
cd /usr/ports/devel/glib20/ && make install clean     <-- should install automatically gamin gio and dbus
cd /usr/ports/converters/iconv/ && make install clean


Now you have a new Perl, and nothing missing.

You can install every port you want.


But i don't advise to install Squeezebox Server port, it's version 7.5.4 : verrrrrryyyy old


You'd better install 7.7.2 or beta 7.8

I'm preparing a package ready to use with 7.8
See my topic
 

unholyeyebrows

Explorer
Joined
Apr 19, 2012
Messages
55
Many thanks for the advice. I now have 7.5.4 working, but I am very interested in getting the latest 7.7 or 7.8 at some point. I will check out your topic posts and if you are successful in producing a package then I will be happy to test it.

I had the same problem when i first wanted to install a port.

So as advised, you have to get rid of PERL 5.12 and install PERL 5.14.

To do so, use pkg-delete, and delete all the dependencies that prevent you from deleting PERL :

Code:
pkg_delete perl-5.12.4_3
pkg_delete dbus-glib-0.94
pkg_delete gio-fam-backend-2.28.8
pkg_delete gamin-0.1.10_4
pkg_delete glib-2.28.8_2
pkg_delete iconv-2.0_3


Then reinstall everything with ports and not packages (these ones are outdated always) :
Code:
cd /usr/ports/lang/perl5.14/ && make install clean
cd /usr/ports/devel/glib20/ && make install clean     <-- should install automatically gamin gio and dbus
cd /usr/ports/converters/iconv/ && make install clean


Now you have a new Perl, and nothing missing.

You can install every port you want.


But i don't advise to install Squeezebox Server port, it's version 7.5.4 : verrrrrryyyy old


You'd better install 7.7.2 or beta 7.8

I'm preparing a package ready to use with 7.8
See my topic
 
Status
Not open for further replies.
Top