Subject: Re: pkg/36361
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: syamajala@gamebox.net <syamajala@gamebox.net>
List: pkgsrc-bugs
Date: 05/22/2007 10:45:02
The following reply was made to PR pkg/36361; it has been noted by GNATS.

From: "syamajala@gamebox.net" <syamajala@gamebox.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/36361
Date: Tue, 22 May 2007 06:41:53 -0400

 There seems to be another problem now.
 
 => Required installed package digest>=20010302: digest-20060302 found
 ===> Skipping vulnerability checks.
 WARNING: No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found.
 WARNING: To fix, install the pkgsrc/security/audit-packages
 WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
 ===> Building for emacs-21.4anb10
 if [ ! -f /usr/pkgsrc/editors/emacs/work/emacs-21.4/lisp/ 
 abbrev.elc ]; then \
            /usr/pkg/bin/gmake  bootstrap; \
          fi
 cd lib-src; /usr/pkg/bin/gmake all  \
            CC='cc' CFLAGS='-O2 -I/usr/pkg/include -I/usr/X11R6/ 
 include -I/usr/include' CPPFLAGS='-I/usr/X11R6/include -I/usr/pkg/ 
 include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib  - 
 DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/X11R6/include -I/usr/ 
 include' \
            LDFLAGS='-Wl,-z,nocombreloc -L/usr/pkg/lib -L/usr/X11R6/ 
 lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  
 -L/usr/X11R6/lib' MAKE='/usr/pkg/bin/gmake'
 gmake[1]: Entering directory `/usr/pkgsrc/editors/emacs/work/ 
 emacs-21.4/lib-src'
 gmake[1]: Nothing to be done for `all'.
 gmake[1]: Leaving directory `/usr/pkgsrc/editors/emacs/work/ 
 emacs-21.4/lib-src'
 cd src; /usr/pkg/bin/gmake all  \
            CC='cc' CFLAGS='-O2 -I/usr/pkg/include -I/usr/X11R6/ 
 include -I/usr/include' CPPFLAGS='-I/usr/X11R6/include -I/usr/pkg/ 
 include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib  - 
 DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/X11R6/include -I/usr/ 
 include' \
            LDFLAGS='-Wl,-z,nocombreloc -L/usr/pkg/lib -L/usr/X11R6/ 
 lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  
 -L/usr/X11R6/lib' MAKE='/usr/pkg/bin/gmake'
 gmake[1]: Entering directory `/usr/pkgsrc/editors/emacs/work/ 
 emacs-21.4/src'
 cd ../lwlib/; /usr/pkg/bin/gmake -w CC='cc' CFLAGS='-O2 -I/usr/pkg/ 
 include -I/usr/X11R6/include -I/usr/include' MAKE='/usr/pkg/bin/ 
 gmake' "C_SWITCH_X_SITE=-I/usr/X11R6/include" "C_SWITCH_X_MACHINE="  
 "C_SWITCH_X_SYSTEM=" "C_SWITCH_SITE=" "C_SWITCH_MACHINE="  
 "C_SWITCH_SYSTEM=-I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/ 
 include -L/usr/pkg/lib -L/usr/local/lib"
 gmake[2]: Entering directory `/usr/pkgsrc/editors/emacs/work/ 
 emacs-21.4/lwlib'
 gmake[2]: Nothing to be done for `all'.
 gmake[2]: Leaving directory `/usr/pkgsrc/editors/emacs/work/ 
 emacs-21.4/lwlib'
 LC_ALL=C ./temacs -batch -l loadup dump
 C4db#4: not found
 ?@??A@?@: not found
 ./temacs: $@$@b?b?/usr/libexec/ld.elf_soPf?1?1?1?122: not found
 ?@??A@?@: not found
 -2: not found
 2I2S2e2s22?2?2?2?2
                    : not found
 2I2S2e2s22?2?2?2?2
 ?@??A@?@: not found_
 ./temacs: 55: Syntax error: "|" unexpected
 gmake[1]: *** [emacs] Error 2
 gmake[1]: Leaving directory `/usr/pkgsrc/editors/emacs/work/ 
 emacs-21.4/src'
 gmake: *** [src] Error 2
 *** Error code 2
 
 Stop.
 make: stopped in /usr/pkgsrc/editors/emacs
 *** Error code 1
 
 Stop.
 make: stopped in /usr/pkgsrc/editors/emacs
 
 file temacs says this:
 temacs: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV),  
 dynamically linked (uses shared libs), not stripped
 
 running temacs says this:
 zsh: exec format error: ./temacs
 
 but if i run it with sudo i get the following:
 C4db#4: not found
 ?@??A@?@: not found
 ./temacs: $@$@b?b?/usr/libexec/ld.elf_soPf?1?1?1?122: not found
 ?@??A@?@: not found
 -2: not found
 2I2S2e2s22?2?2?2?2
                    : not found
 2I2S2e2s22?2?2?2?2
 ?@??A@?@: not found_
 ./temacs: 55: Syntax error: "|" unexpected
 
 ldd shows that is everything has been linked.