|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||
2015年02月27日(金) 旧暦 [n年日記] [更新:"2015/02/27 01:21:31"]#1 [pkgsrc] cannot open GMP.xs: No such file or directory===> Building for p5-Crypt-DH-GMP-0.00012 --- blib/lib/Crypt/DH/.exists --- --- blib/arch/.exists --- --- blib/lib/auto/Crypt/DH/GMP/.exists --- --- blib/arch/auto/Crypt/DH/GMP/.exists --- --- blib/bin/.exists --- --- blib/script/.exists --- --- blib/man1/.exists --- --- blib/man3/.exists --- --- subdirs --- --- xs/GMP.c --- "/usr/pkg/bin/perl" "-Iinc" "/usr/pkg/lib/perl5/5.20.0/ExtUtils/xsubpp" -typemap "/usr/pkg/lib/perl5/5.20.0/ExtUtils/typemap" GMP.xs > GMP.xsc && mv GMP.xsc GMP.c --- GMP.bs --- Running Mkbootstrap for Crypt::DH::GMP () --- xs/GMP.c --- cannot open GMP.xs: No such file or directory --- GMP.bs --- chmod 644 "GMP.bs" --- xs/dh_gmp.o --- --- xs/GMP.c --- *** [xs/GMP.c] Error code 2 make: stopped in /export/WRKOBJDIR/security/p5-Crypt-DH-GMP/work/Crypt-DH-GMP-0.00012 --- xs/dh_gmp.o --- gcc -c "-I." "-I." "-I/usr/pkg/include" "-I." -O2 -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -DVERSION=\"0.00012\" -DXS_VERSION=\"0.00012\" -o xs/dh_gmp.o -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.20.0/x86_64-netbsd-thread-multi/CORE" -DUSE_PPPORT dh_gmp.c gcc: dh_gmp.c: No such file or directory gcc: no input files *** [xs/dh_gmp.o] Error code 1resolved by following line in pkgsrc Makefile MAKE_JOBS_SAFE= NO ( つっこみ )
2015年02月22日(日) 旧暦 [n年日記] [更新:"2015/02/22 09:10:33"]#1 [gitolite] Adding new user
gitolite
は Unix の userid とは別に(関係なく)
設定出来るというのが利点。
ただし、(僕の理解では)同一 userid で、いくつもの機械から利用する、
というのは出来ない。
(通常の ssh 接続なら ~/.ssh/authorized_keys にいくつも書いておけるが、 そうは出来ない、という話) @ gitolite-admin side サーバ側の設定。:
@ 利用者側では、~/.ssh/config に次のように書いておく:host (virtual_name) user (gitolite_userid) hostname (Realhostname)例えば次のように書く host gitohost user userid hostname gitohost.example.comここで gitohost というのは自分で決めた勝手な名前。 userid は、上のサーバに登録した時に設定した名前。 サーバの方と一致していれば何でも良い もし次のように言われる時には、例えば(その相手の機械で) black list に登録されているのかも知れない。 ssh_exchange_identification: Connection closed by remote host fatal: Could not read from remote repository. @ git clone:
最初の clone をするには
git clone git@gitohost.example.com:REPOSITORYのようにする ( つっこみ )
#2 [git] ~/.gitconfig に log の format 指定をする
僕は、次のところを見て、
~/.gitconfig に次のように書いている。git g とすると(僕にとっては)
大変見やすい、小さくまとまった表示をする
[alias] g = log --graph --date=iso \ --format=\"%C(yellow)%h%C(reset) %C(magenta)[%ad]%C(reset)%C(auto)%d%C(reset) %s %C(cyan)@%an%C(reset)\" h = log --decorate= --graph --date=iso --format=\"%h [%ad]%d %s @%an\" ( つっこみ )
2015年02月20日(金) 旧暦 [n年日記] [更新:"2015/02/20 03:51:55"]#1 [netbsd] src from github
In my diary on
2014/07/13
I had a memo for git repository effort on NetBSD. I followed the IIJ version:
h87@makoto 10:55:46/150220(/export)% time git clone https://github.com/IIJ-NetBSD/netbsd-src Cloning into 'netbsd-src'... remote: Counting objects: 2572267, done. remote: Compressing objects: 100% (398/398), done. remote: Total 2572267 (delta 164), reused 0 (delta 0) Receiving objects: 100% (2572267/2572267), 3.26 GiB | 998.00 KiB/s, done. Resolving deltas: 100% (2040805/2040805), done. Checking connectivity... done. Checking out files: 100% (150117/150117), done. 193.64s 49.30s 1:04:55.81 6% 0+0k 192+20899io 0pf+0w ( つっこみ )
2015年02月19日(木) 旧暦 [n年日記] [更新:"2015/02/22 07:43:28"]#1 [NetBSD] NetBSD-current on Lets' Note W4
@ git bisect:
with git bisect, like repeating
24 2015-02-21 10:36 git bisect good 25 2015-02-21 10:37 git g |head 26 2015-02-21 10:37 sudo rm -rf /export/WRKOBJDIR/obj/sys 27 2015-02-21 10:37 time sudo ./build.sh -j 24 -m i386 -O /export/WRKOBJDIR/obj -T /export/WRKOBJDIR/obj/tooldir.NetBSD-7.99.4-amd6 kernel=GENERIC >& /export/GENERIC.8b89467 28 2015-02-21 10:38 scp /export/WRKOBJDIR/obj/sys/arch/i386/compile/GENERIC/netbsd 192.168.1.38:/tmp/netbsd-2014-10-18-d24e104 29 2015-02-21 10:38 ssh 192.168.1.38 30 2015-02-21 10:41 git bisect badFollowing commit was the problem commit 5aa0cfc14e3a920685630ca7740d2fe976544edd Author: uebayasi <uebayasi@netbsd.org> Date: Fri Oct 17 20:55:21 2014 +0000 Fix another indirect circular dependency (agp_* -> (agpbus) -> pchb -> abp_*). Fixes "no agp*" build. Reported & build-tested by Kurt Schreiner. diff --git a/sys/arch/x86/pci/files.pci b/sys/arch/x86/pci/files.pci index f5d019a..c015803 100644 --- a/sys/arch/x86/pci/files.pci +++ b/sys/arch/x86/pci/files.pci @@ -1,4 +1,4 @@ -# $NetBSD: files.pci,v 1.16 2014/06/10 01:42:39 hikaru Exp $ +# $NetBSD: files.pci,v 1.17 2014/10/17 20:55:21 uebayasi Exp $ device aapic attach aapic at pci @@ -9,9 +9,7 @@ file arch/x86/pci/agp_machdep.c agp define amdnb_miscbus {} # PCI-Host bridge chipsets -device pchb: pcibus, agpbus, - agp_ali, agp_amd, agp_amd64, agp_i810, - agp_intel, agp_sis, agp_via +device pchb: pcibus, agpbus attach pchb at pci file arch/x86/pci/pchb.c pchb needs-flag @ another session for git bisect:h87@makoto 11:30:08/150221(/export/netbsd-src)% git bisect bad c2dc1a9 Bisecting: 439 revisions left to test after this (roughly 9 steps) error: Your local changes to the following files would be overwritten by checkout: sys/arch/x86/pci/files.pci Please, commit your changes or stash them before you can switch branches. Aborting h87@makoto 11:30:14/150221(/export/netbsd-src)% git commit -m 'local change for agp' . [detached HEAD 3508074] local change for agp 1 file changed, 3 insertions(+), 1 deletion(-) h87@makoto 11:30:44/150221(/export/netbsd-src)% git bisect bad c2dc1a9 Bisecting: 439 revisions left to test after this (roughly 9 steps) [521374a9f74235bd76511cfdc61b99dae29ee588] Ensure -- filemon is at start of line sys/external/bsd/drm2/dist/drm/i915/i915_drv.h: #define INTEL_INFO(dev) (&to_i915(dev)->info)あるいは ( つっこみ )
2015年02月14日(土) 旧暦 [n年日記] [更新:"2015/02/14 08:44:34"]#1 [netbsd] sysctl -wh87@makoto 17:42:19/150214(~)% sudo gdb -write /netbsd GNU gdb (GDB) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64--netbsd". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /netbsd...done. (gdb) print maxproc=2088 $1 = 2088 (gdb) q h87@makoto 17:44:13/150214(~)% ( つっこみ )
2015年02月13日(金) 旧暦 [n年日記] [更新:"2015/02/13 14:38:46"]#1 [pkgsrc] using clang for pkgsrc
In just a year ago, on
2014/02/15/
I wrote the problem on textproc/icu got
/usr/bin/ld: cannot find -lc++I'm having the same problem a year after today. Now I understand libc++ is really missing. Probably, I need ( つっこみ )
2015年02月12日(木) 旧暦 [n年日記] [更新:"2015/02/11 15:34:19"]#1 [pkgsrc] Alien-SDL-1.444/inc/My/Utility.pm
I'm looking these lines today (no Japanese input now).
373 sub check_prereqs_libs { 374 my @libs = @_; 375 my $ret = 1; 376 377 foreach my $lib (@libs) { 378 print "checking for $lib... "; 379 my $found_dll = ''; 380 my $found_lib = ''; 381 my $found_inc = ''; 382 my $header_map = { 383 'z' => 'zlib', 384 'jpeg' => 'jpeglib', 385 'vorbis' => 'vorbisenc', 386 'SDL_gfx' => 'SDL_gfxPrimitives', 387 'SDL' => 'SDL_version', 388 }; 389 my $header = (defined $header_map->{$lib}) ? $header_map->{$lib} : $lib; 390 391 my $dlext = get_dlext(); 392 foreach (keys %$inc_lib_candidates) { 393 my $ld = $inc_lib_candidates->{$_}; 394 next unless -d $_ && -d $ld; 395 ($found_dll) = find_file($ld, qr/[\/\\]lib\Q$lib\E[\-\d\.]*\.($dlext[\d\.]*|so|dll)$/); 396 $found_dll = $1 if $found_dll && $found_dll =~/^(.+($dlext|so|dll))/ && -e $1; 397 ($found_lib) = find_file($ld, qr/[\/\\]lib\Q$lib\E[\-\d\.]*\.($dlext[\d\.]*|a|dll.a)$/); 398 ($found_inc) = find_file($_, qr/[\/\\]\Q$header\E[\-\d\.]*\.h$/); 399 last if $found_lib && $found_inc; 400 } ( つっこみ )
2015年02月11日(水) 旧暦 [n年日記] [更新:"2015/02/11 03:06:29"]#1 [pkgsrc] cross/avr-libc
最近 doxygen が 1.8.8 から 1.8.9
になって、 cross/avr-libc を make package しようとすると、
refman.pdfを作るところになって、失敗する。 Makefile:6: recipe for target 'refman.pdf' failed gmake[4]: *** [refman.pdf] Error 1 gmake[4]: Leaving directory '/export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc/api/latex_src' Makefile:627: recipe for target 'avr-libc-user-manual.pdf' failed gmake[3]: *** [avr-libc-user-manual.pdf] Error 2 gmake[3]: Leaving directory '/export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc/api' Makefile:369: recipe for target 'all-recursive' failed gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory '/export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc' Makefile:423: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1' Makefile:361: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2その時に、refman.log を探して、中を見ると、 +tex [333] [334]) (./util_2twi_8h.tex [335]) (./wdt_8h.tex) ! Undefined control sequence. l.303 \backmatterという文字があって、今これを書くまで、 ここが問題だと思っていたが、そうではないらしい というのは、その失敗した時に、それと同じことを手で次のように入力すると、 (cd /export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc/api/latex_src; latex refman.tex)|& tee /tmp/good無事 refman.pdf が出来る。それで、その時と、失敗する時の refman.log を見較べていたら、上の部分は同じ。 大きく違うのは次の部分だと判明 --- /tmp/bad 2015-02-11 11:51:17.000000000 +0900 +++ /tmp/good 2015-02-11 11:51:01.000000000 +0900 @@ -1,8 +1,8 @@ -This is pdfTeX, Version 3.1415926-2.5-1.40.14 (Web2C 2013) (format=pdflatex 2015.2.11) 11 FEB 2015 11:51 +This is pdfTeX, Version 3.1415926-2.5-1.40.14 (Web2C 2013) (format=latex 2014.1.11) 11 FEB 2015 11:50さてこの(起動の)違いはどこに which latex して見れば良いのかな。それは同じだった。 -Output written on refman.pdf (337 pages, 1543903 bytes). -PDF statistics: - 7890 PDF objects out of 8907 (max. 8388607) - 7429 compressed objects within 75 object streams - 2822 named destinations out of 2984 (max. 500000) - 58 words of extra memory for PDF output out of 10000 (max. 10000000) + 66i,16n,57p,4038b,611s stack positions out of 5000i,500n,10000p,200000b,80000s +Output written on refman.dvi (346 pages, 3143740 bytes).あれ、refman.pdf 出来ていますよ。 ( つっこみ )
2015年02月06日(金) 旧暦 [n年日記] [更新:"2015/02/06 02:58:19"]#1 [pkgsrc] I love pbulk :-)![]()
そして、きょうは、 MASTER_SITES= https://github.com/piwik/piwik/archive/を fetch するのに、次のようなものが必要だった piwik# cat etc/mk.conf PACKAGES=/packages SKIP_LICENSE_CHECK=yes .if !empty(PGKNAME:Mcurl) \ && !empty(PKGNAME:Mpkg-config) \ && !empty(PKGNAME:Mlibtool-base) \ && !empty(PKGNAME:Mlibidn) \ && !empty(PKGNAME:Mpkg-config) FETCH_USING=curl .endif(あれ curl だけで良いのかな)、どうもそうらしい、次のもので充分だった。 piwik# cat /etc/mk.conf PACKAGES=/packages SKIP_LICENSE_CHECK=yes .if !empty(PGKNAME:Mcurl) FETCH_USING=curl .endif @ 本環境入替手順:
( つっこみ )
2015年02月05日(木) 旧暦 [n年日記] [更新:"2015/02/06 11:27:02"]#1 [pkgsrc] piwik
@ php の設定:
/usr/pkg/etc/php.ini に次の二行を追加しておく
extension=mysql.so extension=json.so一行目は php-mysql の pkg_add の時に追加されたものかも知れない @ Apache の設定:
httpd.conf
を設定して
/etc/rc.d/apache onestartして見る It appears your PHP has not yet installed the php5-json extension.このように言われた時は二点確認
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/pkg/lib/php/20120301/mysql.so' - Cannot open ';/usr/pkg/lib/php/20120301/..php-mysql が入っていない [Fri Feb 06 20:18:57 2015] [notice] caught SIGTERM, shutting down [Fri Feb 06 20:18:59 2015] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Fri Feb 06 20:18:59 2015] [alert] (EAI 7)No address associated with hostname: mod_unique_id: unable to find IPv4 address of "ServerHostname" Configuration Failed [Fri Feb 06 20:26:18 2015] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Fri Feb 06 20:26:18 2015] [alert] (EAI 7)No address associated with hostname: mod_unique_id: unable to find IPv4 address of "ServerHostname" Configuration Failed自分の名前を /etc/hosts に書くか DNS に登録するか ( つっこみ )
2015年02月04日(水) 旧暦 [n年日記] [更新:"2015/02/04 05:06:32"]#1 [pkgsrc] Piwik
昔の覚えを引張り出して:
sudo-1.7.10p7 Allow others to run commands as root config-httpd-1.0.1 Meta Package for standard server wordpress-3.5.1nb1 Blogging tool written in php php54-pdo_mysql-5.4.14 PHP extension for PHP Data Objects (MySQL) pkg-config-0.28 System for managing library compile/link flags php54-zlib-5.4.14 PHP extension for zlib compression php54-iconv-5.4.14 PHP extension for character set conversion --- share/examples/httpd/httpd.conf 2013-04-17 03:53:11.000000000 +0900 +++ etc/httpd/httpd.conf 2013-04-17 16:11:19.000000000 +0900 @@ -125,6 +125,8 @@ LoadModule userdir_module lib/httpd/mod_userdir.so LoadModule alias_module lib/httpd/mod_alias.so LoadModule rewrite_module lib/httpd/mod_rewrite.so +LoadModule php5_module lib/httpd/mod_php5.so +AddHandler application/x-httpd-php .php <IfModule !mpm_netware_module> <IfModule !mpm_winnt_module> @@ -202,7 +205,7 @@ # # This should be changed to whatever you set DocumentRoot to. # -<Directory "/usr/pkg/share/httpd/htdocs"> +<Directory "/export/htdocs"> # # Possible values for the Options directive are "None", "All", # or any combination of: @@ -237,7 +240,7 @@ # is requested. # <IfModule dir_module> - DirectoryIndex index.html + DirectoryIndex index.php index.html </IfModule> # @@ -322,7 +325,7 @@ # client. The same rules about trailing "/" apply to ScriptAlias # directives as to Alias. # - ScriptAlias /cgi-bin/ "/usr/pkg/libexec/cgi-bin/" + ScriptAlias /cgi-bin/ "/export/htdocs/cgi-bin/" </IfModule> ( つっこみ )
2015年02月01日(日) 旧暦 [n年日記] [更新:"2015/02/05 00:47:42"]#1 [pkgsrc] sourceforge cvs server has minor problem nowmodena@makoto 15:24:45/150201(..wip/p5-CPANPLUS)% cvs diff . Password: cvs diff: failed to create lock directory for `/cvsroot/pkgsrc-wip/wip/p5-CPANPLUS' (/cvsroot/pkgsrc-wip/wip/p5-CPANPLUS/#cvs.lock): Permission denied cvs diff: failed to obtain dir lock in repository `/cvsroot/pkgsrc-wip/wip/p5-CPANPLUS' cvs [diff aborted]: read lock failed - giving upTime resolved (?), than you wiz@ ( つっこみ )
#2 [pkgsrc] cross/avr-libc fails with `adjustbox.sty' not found.(cd /export/WRKOBJDIR/cross/avr-libc/work/avr-libc-1.8.1/doc/api/latex_src ;\ less refman.log )says `adjustbox.sty' not found.I now packaging outsite of texlive, drwxr-xr-x 2 makoto wheel 512 Feb 3 15:16 tex-collectbox drwxr-xr-x 2 makoto wheel 512 Feb 3 15:09 tex-adjustbox drwxr-xr-x 2 makoto wheel 512 Feb 3 14:44 tex-ydocand adding to /usr/pkg/share/texmf-dist/tex/latex But getting following message pdfTeX warning (dest): name{lcd_8h_source} has been referenced but does not exist, replaced by a fixed oneThat my be just a warning. The real problem may be at ) (./util_2twi_8h.tex [334]) (./wdt_8h.tex) ! Undefined control sequence. l.303 \backmatter\backmatter is frequently used basic macro. So the environment is wrong ;-( (cd /export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc/api/latex_src/; \ pdflatex refman.tex )Above command now successfull generates refman.pdf @ failing log:
If make under pkgsrc,
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (Web2C 2013) restricted \write18 enabled. entering extended mode (./refman.tex LaTeX2e <2011/06/27> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ba sque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, estonian, finnish, french, german, ngerman, monogreek, greek, hungarian, icelandic, indon esian, irish, italian, latin, bokmal, nynorsk, polish, portuguese, romanian, ru ssian, serbian, slovak, slovenian, spanish, swedish, turkish, ukrainian, loaded . Makefile:6: recipe for target 'refman.pdf' failed gmake[4]: *** [refman.pdf] Error 1 gmake[4]: Leaving directory '/export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc/api/latex_src' Makefile:627: recipe for target 'avr-libc-user-manual.pdf' failed gmake[3]: *** [avr-libc-user-manual.pdf] Error 2 gmake[3]: Leaving directory '/export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc/api' Makefile:369: recipe for target 'all-recursive' failed gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory '/export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc' Makefile:423: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1' Makefile:361: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. make: stopped in /export/CHROOT/usr/pkgsrc/wip/avr-libc *** Error code 1 Stop. make: stopped in /export/CHROOT/usr/pkgsrc/wip/avr-libc modena@makoto 16:00:40/150203(..wip/avr-libc)% @ successfull log:
If in the working directory of pkgsrc, it will be successfull
modena@makoto 16:01:32/150203(..wip/avr-libc)% (cd /export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc/api/latex_src/; pdflatex refman.tex) This is pdfTeX, Version 3.1415926-2.5-1.40.14 (Web2C 2013) restricted \write18 enabled. entering extended mode (./refman.tex LaTeX2e <2011/06/27> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ba sque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, estonian, finnish, french, german, ngerman, monogreek, greek, hungarian, icelandic, indon esian, irish, italian, latin, bokmal, nynorsk, polish, portuguese, romanian, ru ssian, serbian, slovak, slovenian, spanish, swedish, turkish, ukrainian, loaded . ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | |||||||||||||||||||||||