Posté par kuniyoshi .
En réponse à la dépêche pkgsrc 2016Q4.
Évalué à 1.
Dernière modification le 06 février 2017 à 10:16.
Bonjour.
J'ai pu essayer de compiler Mate sur OpenBSD -stable (depuis une machine physique et depuis une machine virtuelle) et le résultat reste le même : échec lors de la compilation.
Voici la fin du log pour les erreurs (identiques pour les deux machines) :
In file included from ./base/gp_unix.c:19:
./base/pipe_.h:41: warning: function declaration isn't a prototype
./soobj/aux/gp_unifs.o: In function `gp_open_scratch_file_generic':
gp_unifs.c:(.text+0x1e8): warning: warning: mktemp() possibly used unsafely; consider using mkstemp()
/tmp//ccvDPEvN.o: In function `prefix_add':
mkromfs.c:(.text+0x9de): warning: warning: strcat() is almost always misused, please use strlcat()
/tmp//ccvDPEvN.o: In function `merge_to_ps':
mkromfs.c:(.text+0x1547): warning: warning: sprintf() is often misused, please use snprintf()
/tmp//ccvDPEvN.o: In function `mergefile':
mkromfs.c:(.text+0x124e): warning: warning: strcpy() is almost always misused, please use strlcpy()
/usr/bin/ld: warning: libfreetype.so.25.0, needed by /home/pkgsrc/print/ghostscript-gpl/work/.buildlink/lib/libfontconfig.so.10.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /home/pkgsrc/print/ghostscript-gpl/work/.buildlink/lib/libfreetype.a(ftinit.o): relocation R_X86_64_PC32 against `FT_Add_Default_Modules' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake[2]: *** [sobin/libgs.so.9.06] Error 1
gmake[1]: *** [so-subtarget] Error 2
gmake: *** [so] Error 2
Voici la sortie standard (identiques pour les deux machines) :
/bin/sh <./soobj/ldt.tr
base/unixlink.mak:54: recipe for target 'sobin/libgs.so.9.06' failed
gmake[2]: Leaving directory '/home/pkgsrc/print/ghostscript-gpl/work/ghostscript-9.06'
base/unix-dll.mak:121: recipe for target 'so-subtarget' failed
gmake[1]: Leaving directory '/home/pkgsrc/print/ghostscript-gpl/work/ghostscript-9.06'
base/unix-dll.mak:108: recipe for target 'so' failed
*** Error code 2
Stop.
bmake[5]: stopped in /home/pkgsrc/print/ghostscript-gpl
*** Error code 1
Stop.
bmake[4]: stopped in /home/pkgsrc/print/ghostscript-gpl
*** Error code 1
Stop.
bmake[3]: stopped in /home/pkgsrc/print/ghostscript
*** Error code 1
Stop.
bmake[2]: stopped in /home/pkgsrc/print/libspectre
*** Error code 1
Stop.
bmake[1]: stopped in /home/pkgsrc/print/atril
*** Error code 1
Stop.
bmake: stopped in /home/pkgsrc/meta-pkgs/mate
J'ai envoyé un e-mail au mainteneur de Mate dans pkgsrc. Il me répondra peut-être. Sinon j'opterai pour votre deuxième conseil.
[^] # Re: OpenBSD + pkgsrc
Posté par kuniyoshi . En réponse à la dépêche pkgsrc 2016Q4. Évalué à 1. Dernière modification le 06 février 2017 à 10:16.
Bonjour.
J'ai pu essayer de compiler Mate sur OpenBSD -stable (depuis une machine physique et depuis une machine virtuelle) et le résultat reste le même : échec lors de la compilation.
Voici la fin du log pour les erreurs (identiques pour les deux machines) :
In file included from ./base/gp_unix.c:19:
./base/pipe_.h:41: warning: function declaration isn't a prototype
./soobj/aux/gp_unifs.o: In function `gp_open_scratch_file_generic':
gp_unifs.c:(.text+0x1e8): warning: warning: mktemp() possibly used unsafely; consider using mkstemp()
/tmp//ccvDPEvN.o: In function `prefix_add':
mkromfs.c:(.text+0x9de): warning: warning: strcat() is almost always misused, please use strlcat()
/tmp//ccvDPEvN.o: In function `merge_to_ps':
mkromfs.c:(.text+0x1547): warning: warning: sprintf() is often misused, please use snprintf()
/tmp//ccvDPEvN.o: In function `mergefile':
mkromfs.c:(.text+0x124e): warning: warning: strcpy() is almost always misused, please use strlcpy()
/usr/bin/ld: warning: libfreetype.so.25.0, needed by /home/pkgsrc/print/ghostscript-gpl/work/.buildlink/lib/libfontconfig.so.10.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /home/pkgsrc/print/ghostscript-gpl/work/.buildlink/lib/libfreetype.a(ftinit.o): relocation R_X86_64_PC32 against `FT_Add_Default_Modules' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake[2]: *** [sobin/libgs.so.9.06] Error 1
gmake[1]: *** [so-subtarget] Error 2
gmake: *** [so] Error 2
Voici la sortie standard (identiques pour les deux machines) :
J'ai envoyé un e-mail au mainteneur de Mate dans pkgsrc. Il me répondra peut-être. Sinon j'opterai pour votre deuxième conseil.