Possible fix for all p5-* port installs being broken on FreeBSD

Andrej Zverev az at freebsd.org
Fri Oct 25 17:50:01 UTC 2013


You are welcome.
With your patch after every Perl update you will have to rebuild or
move at least all the p5 ports (since SITE_PERL x.y.z where z is
moving).

I can only recommed to look at the situation again. Maybe the old
problems have been solved and you just need to try again (with 5.14.4
or 5.16 which is now the default).





On Fri, Oct 25, 2013 at 9:35 PM, Steven Hartland
<killing at multiplay.co.uk> wrote:
> Ahh I see, sorry totally read that the wrong way round :(
>
> I never expected it to go from MAJOR.MINOR.REV -> MAJOR.MINOR
> as we've had issues in the past with REV changes so would
> definitely need to keep the old structure.
>
> We'll maintain this patch locally instead.
>
> Thanks for info, sorry again for the noise.
>
>    Regards
>    Steve
>
> ----- Original Message ----- From: "Andrej Zverev" <az at freebsd.org>
>
>
>
>> Well,  your perl -V output show what you have old structures.
>>
>> Can you follow this entry in ports/UPDATING also before rebuild remove
>> all your home patches. This is your issue.
>>
>> 20130612:
>>  AFFECTS: users of lang/perl* and any port that depends on it
>>  AUTHOR: az at FreeBSD.org
>>
>>  The directory structure where Perl is installed has also been modified:
>>  "major.minor" is now used instead of "major.minor.patchlevel".
>>  The "perl-after-upgrade" script has been removed.
>>  Please rebuild all Perl ports and all ports that depend on it:
>>  # portmaster -r perl
>>    or
>>  # portupgrade -rf perl
>>    or
>>  # pkg install -fR perl
>>
>>
>>
>> On Fri, Oct 25, 2013 at 8:25 PM, Steven Hartland
>> <killing at multiplay.co.uk> wrote:
>>>
>>> Just to be clear that was "with the patch applied", without it I get:-
>>>
>>>
>>> make -C /usr/ports/converters/p5-Encode-Locale/ -VPERL_VERSION -VPERL_VER
>>> -VMAN3PREFIX -VSITE_PERL -VSITE_PERL_REL
>>> 5.14.2
>>> 5.14
>>> /usr/local/lib/perl5/5.14
>>> /usr/local/lib/perl5/site_perl/5.14
>>> lib/perl5/site_perl/5.14
>>>
>>>    Regards
>>>    Steve
>>>
>>> ----- Original Message ----- From: "Steven Hartland"
>>> <killing at multiplay.co.uk>
>>> To: "Andrej Zverev" <az at freebsd.org>
>>>
>>> Cc: "Sunpoet Po-Chuan Hsieh" <sunpoet at freebsd.org>; "ports"
>>> <ports at freebsd.org>
>>> Sent: Friday, October 25, 2013 5:17 PM
>>>
>>> Subject: Re: Possible fix for all p5-* port installs being broken on
>>> FreeBSD
>>>
>>>
>>>>
>>>> ----- Original Message ----- From: "Andrej Zverev" <az at freebsd.org>
>>>>
>>>>> Can you please show output (you can pastebin it somewhere)
>>>>> 1. make -C /usr/ports/converters/p5-Encode-Locale/ -VPERL_VERSION
>>>>> -VPERL_VER -VMAN3PREFIX -VSITE_PERL -VSITE_PERL_REL
>>>>
>>>>
>>>> make -C /usr/ports/converters/p5-Encode-Locale/ -VPERL_VERSION
>>>> -VPERL_VER
>>>> -VMAN3PREFIX -VSITE_PERL -VSITE_PERL_REL
>>>> 5.14.2
>>>> 5.14
>>>> /usr/local/lib/perl5/5.14.2
>>>> /usr/local/lib/perl5/site_perl/5.14.2
>>>> lib/perl5/site_perl/5.14.2
>>>>
>>>>> 2. perl -V
>>>>
>>>>
>>>> perl -V
>>>> Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
>>>>
>>>>  Platform:
>>>>    osname=freebsd, osvers=10.0-current, archname=amd64-freebsd
>>>>    uname='freebsd head.labs.multiplay.co.uk 10.0-current freebsd
>>>> 10.0-current #0: fri apr 19 20:51:53 utc 2013
>>>> root at head.labs.multiplay.co.uk:usrobjusrhomesmhfreebsdbaseheadsysgeneric
>>>> amd64 '
>>>>    config_args='-sde -Dprefix=/usr/local
>>>> -Darchlib=/usr/local/lib/perl5/5.14.2/mach
>>>> -Dprivlib=/usr/local/lib/perl5/5.14.2
>>>> -Dman3dir=/usr/local/lib/perl5/5.14.2/perl/man/man3
>>>> -Dman1dir=/usr/local/man/man1
>>>> -Dsitearch=/usr/local/lib/perl5/site_perl/5.14.2/mach
>>>> -Dsitelib=/usr/local/lib/perl5/site_perl/5.14.2
>>>> -Dscriptdir=/usr/local/bin
>>>> -Dsiteman3dir=/usr/local/lib/perl5/5.14.2/man/man3
>>>> -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv
>>>> -Uinstallusrbinperl
>>>> -Dcc=cc -Duseshrplib -Dinc_version_list=none
>>>> -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.14.2/BSDPAN"
>>>> -Doptimize=-O2
>>>> -pipe -fno-strict-aliasing -Ui_gdbm -Dusethreads=n -Dusemymalloc=n
>>>> -Duse64bitint'
>>>>    hint=recommended, useposix=true, d_sigaction=define
>>>>    useithreads=undef, usemultiplicity=undef
>>>>    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
>>>>    use64bitint=define, use64bitall=define, uselongdouble=undef
>>>>    usemymalloc=n, bincompat5005=undef
>>>>  Compiler:
>>>>    cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.14.2/BSDPAN"
>>>> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
>>>> -fstack-protector  -I/usr/local/include',
>>>>    optimize='-O2 -pipe -fno-strict-aliasing',
>>>>
>>>>   cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.14.2/BSDPAN"
>>>> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
>>>> -fstack-protector -I/usr/local/include'
>>>>    ccversion='', gccversion='4.2.1 Compatible FreeBSD Clang 3.3 (trunk
>>>> 178860)', gccosandvers=''
>>>>    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
>>>>    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>>>>    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
>>>> lseeksize=8
>>>>    alignbytes=8, prototype=define
>>>>  Linker and Libraries:
>>>>    ld='cc', ldflags ='-pthread -Wl,-E  -fstack-protector
>>>> -L/usr/local/lib'
>>>>    libpth=/usr/lib /usr/local/lib
>>>>    libs=-lm -lcrypt -lutil
>>>>    perllibs=-lm -lcrypt -lutil
>>>>    libc=, so=so, useshrplib=true, libperl=libperl.so
>>>>    gnulibc_version=''
>>>>  Dynamic Linking:
>>>>    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
>>>> -Wl,-R/usr/local/lib/perl5/5.14.2/mach/CORE'
>>>>    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib
>>>> -fstack-protector'
>>>>
>>>>
>>>> Characteristics of this binary (from libperl):
>>>>  Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
>>>>                        PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
>>>>                        USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
>>>>  Built under freebsd
>>>>  Compiled at Apr 19 2013 22:39:40
>>>>  @INC:
>>>>    /usr/local/lib/perl5/5.14.2/BSDPAN
>>>>    /usr/local/lib/perl5/site_perl/5.14.2/mach
>>>>    /usr/local/lib/perl5/site_perl/5.14.2
>>>>    /usr/local/lib/perl5/5.14.2/mach
>>>>    /usr/local/lib/perl5/5.14.2
>>>>
>>>>> 3. cat /etc/make.conf
>>>>
>>>>
>>>>
>>>> cat /etc/make.conf
>>>> # Ports
>>>> WRKDIRPREFIX?=/data/portbuild
>>>> PACKAGES=/data/packages
>>>> WITHOUT_X11=1
>>>> WITHOUT_DOCS=1
>>>> WITHOUT_EXAMPLES=1
>>>> # added by use.perl 2013-04-19 22:42:57
>>>> PERL_VERSION=5.14.2
>>>>
>>>> Another piece of info which may well be relavent:-
>>>> uname -a
>>>> FreeBSD XXXX 11.0-CURRENT FreeBSD 11.0-CURRENT #98 r256886:256889M:
>>>>
>>>> The system is hence using pkgng by default.
>>>>
>>>>    Regards
>>>>    Steve
>>>>
>>>> ================================================
>>>> This e.mail is private and confidential between Multiplay (UK) Ltd. and
>>>> the person or entity to whom it is addressed. In the event of
>>>> misdirection,
>>>> the recipient is prohibited from using, copying, printing or otherwise
>>>> disseminating it or any information contained in it.
>>>> In the event of misdirection, illegible or incomplete transmission
>>>> please
>>>> telephone +44 845 868 1337
>>>> or return the E.mail to postmaster at multiplay.co.uk.
>>>>
>>>> _______________________________________________
>>>> freebsd-ports at freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>>>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>>>>
>>>
>>>
>>> ================================================
>>> This e.mail is private and confidential between Multiplay (UK) Ltd. and
>>> the
>>> person or entity to whom it is addressed. In the event of misdirection,
>>> the
>>> recipient is prohibited from using, copying, printing or otherwise
>>> disseminating it or any information contained in it.
>>> In the event of misdirection, illegible or incomplete transmission please
>>> telephone +44 845 868 1337
>>> or return the E.mail to postmaster at multiplay.co.uk.
>>>
>>
>
> ================================================
> This e.mail is private and confidential between Multiplay (UK) Ltd. and the
> person or entity to whom it is addressed. In the event of misdirection, the
> recipient is prohibited from using, copying, printing or otherwise
> disseminating it or any information contained in it.
> In the event of misdirection, illegible or incomplete transmission please
> telephone +44 845 868 1337
> or return the E.mail to postmaster at multiplay.co.uk.
>


More information about the freebsd-ports mailing list