Alors je suis passé à la 9.2.1.9-REALEASE,
Le git a été mis à jour effectivement.
Après avoir passé les premières étapes sur une jail standard (toujours le même template):
Code:
portsnap fetch extract
Code:
make -C /usr/ports/ports-mgmt/pkg build deinstall install clean
Code:
git clone https://github.com/mrhanky17/pyload-freebsd.git pyload
J'arrive sur cette erreur lors de l’installation de help2man-1.43.3_1.
Il y a un problème avec une de ces dépendances: p5-Locale-gettext
Si tu observes bien l’arborescence il y a une inversion dans l’arborescence d'installation et ce que l'enregistrement recherche (dossier 'mach' et '5.16'):
Exemple:
Installing:
/usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/auto/Locale/gettext/gettext.so
Registering installation for p5-Locale-gettext-1.05_4 as automatic:
/usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/auto/Locale/gettext/gettext.so
Code:
===> License GPLv3 accepted by the user
===> Found saved configuration for help2man-1.43.3_1
===> help2man-1.43.3_1 depends on file: /usr/local/sbin/pkg - found
=> help2man-1.43.3.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://ftpmirror.gnu.org/help2man/help2man-1.43.3.tar.gz
help2man-1.43.3.tar.gz 100% of 194 kB 1133 kBps 00m00s
===> Fetching all distfiles required by help2man-1.43.3_1 for building
===> Extracting for help2man-1.43.3_1
=> SHA256 Checksum OK for help2man-1.43.3.tar.gz.
===> Patching for help2man-1.43.3_1
===> help2man-1.43.3_1 depends on package: p5-Locale-gettext>=0 - not found
===> Verifying install for p5-Locale-gettext>=0 in /usr/ports/devel/p5-Locale-gettext
===> p5-Locale-gettext-1.05_4 depends on file: /usr/local/sbin/pkg - found
=> gettext-1.05.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://cpan.metacpan.org/modules/by-module/Locale/gettext-1.05.tar.gz
gettext-1.05.tar.gz 100% of 7693 B 32 kBps 00m00s
===> Fetching all distfiles required by p5-Locale-gettext-1.05_4 for building
===> Extracting for p5-Locale-gettext-1.05_4
=> SHA256 Checksum OK for gettext-1.05.tar.gz.
===> Patching for p5-Locale-gettext-1.05_4
===> Applying FreeBSD patches for p5-Locale-gettext-1.05_4
===> p5-Locale-gettext-1.05_4 depends on file: /usr/local/bin/perl5.16.3 - found
===> p5-Locale-gettext-1.05_4 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so.9)
===> Configuring for p5-Locale-gettext-1.05_4
checking for gettext... no
checking for gettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for dgettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for ngettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for bind_textdomain_codeset in -L/usr/local/lib -lintl -I/usr/local/include... yes
Writing Makefile for Locale::gettext
Writing MYMETA.yml and MYMETA.json
===> Building for p5-Locale-gettext-1.05_4
/usr/local/bin/perl5.16.3 /usr/local/lib/perl5/5.16/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.16/ExtUtils/typemap gettext.xs > gettext.xsc && mv gettext.xsc gettext.c
Running Mkbootstrap for Locale::gettext ()
chmod 644 gettext.bs
cp gettext.bs blib/arch/auto/Locale/gettext/gettext.bs
chmod 644 blib/arch/auto/Locale/gettext/gettext.bs
cp gettext.pm blib/lib/Locale/gettext.pm
Please specify prototyping behavior for gettext.xs (see perlxs manual)
cc -c -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.16/mach/CORE" gettext.c
rm -f blib/arch/auto/Locale/gettext/gettext.so
LD_RUN_PATH="/usr/local/lib" cc -shared -L/usr/local/lib -fstack-protector gettext.o -o blib/arch/auto/Locale/gettext/gettext.so -L/usr/local/lib -lintl
chmod 755 blib/arch/auto/Locale/gettext/gettext.so
Manifying blib/man3/Locale::gettext.3
===> Staging for p5-Locale-gettext-1.05_4
===> p5-Locale-gettext-1.05_4 depends on file: /usr/local/bin/perl5.16.3 - found
===> Generating temporary packing list
Manifying blib/man3/Locale::gettext.3
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/auto/Locale/gettext/gettext.bs
Installing /usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/auto/Locale/gettext/gettext.so
Installing /usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/Locale/gettext.pm
Installing /usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/5.16/man/man3/Locale::gettext.3
====> Compressing man pages (compress-man)
===> Installing for p5-Locale-gettext-1.05_4
===> Checking if p5-Locale-gettext already installed
===> Registering installation for p5-Locale-gettext-1.05_4 as automatic
pkg-static: lstat(/usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/auto/Locale/gettext/gettext.so): No such file or directory
pkg-static: lstat(/usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/Locale/gettext.pm): No such file or directory
pkg-static: lstat(/usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/man/man3/Locale::gettext.3.gz): No such file or directory
*** [fake-pkg] Error code 74
Stop in /usr/ports/devel/p5-Locale-gettext.
*** [build-depends] Error code 1
Stop in /usr/ports/misc/help2man.
*** [install] Error code 1
Stop in /usr/ports/misc/help2man.
*** [build-depends] Error code 1
Stop in /usr/ports/devel/autoconf.
*** [build-depends] Error code 1
Stop in /usr/ports/security/py-pycrypto.
*** [install] Error code 1
Stop in /usr/ports/security/py-pycrypto.
*** [run-depends] Error code 1
Stop in /usr/ports/www/pyload.
*** [install] Error code 1
Stop in /usr/ports/www/pyload.
A l'issue j"ai donc recherché le package incriminé:
Code:
root@Pyload:/usr/ports/www/pyload # pkg search p5-Locale
p5-Locale-Codes-3.31
p5-Locale-Currency-Format-1.30
p5-Locale-Geocode-1.20
p5-Locale-Maketext-1.23
p5-Locale-Maketext-Fuzzy-0.11
p5-Locale-Maketext-Gettext-1.28_1
p5-Locale-Maketext-Lexicon-0.99
p5-Locale-Maketext-Simple-0.21
p5-Locale-Msgfmt-0.15_1
p5-Locale-PGetText-0.16
p5-Locale-PO-0.24
p5-Locale-SubCountry-1.63
p5-Locale-US-2.112.150
p5-Locale-gettext-1.05_3
p5-Locale-libintl-1.23_1
Et je l'ai installé:
Code:
root@Pyload:/usr/ports/www/pyload # pkg install p5-Locale-gettext-1.05_3
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Updating database digests format: 100%
The following 4 packages will be affected (of 0 checked):
New packages to be INSTALLED:
p5-Locale-gettext: 1.05_3
perl5: 5.16.3_11
gettext: 0.18.3.1_1
libiconv: 1.14_4
The process will require 59 MB more space.
15 MB to be downloaded.
Proceed with this action? [y/N]: y
J'ai relancé l'installation:
Et je suis arrivé au bout. Il faut un peu de patience car la compilation prend du temps.
Il y a une coquille sur les permissions de /usr/local/share/pyload/, c'est la loi de Murphy; solution:
Code:
chmod -R 755 /usr/local/share/pyload/
Puis
Configurer pyload en répondant aux questions
Code:
echo 'pyload_enable="YES"' >> /etc/rc.conf
echo 'pyload_flags="--daemon"' >> /etc/rc.conf
echo 'pyload_pid="/var/run/pyload.pid"' >> /etc/rc.conf
echo 'pyload_config="/root/pyload"' >> /etc/rc.conf
service pyload start
Bon courage!