Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2011-03-31 07:43:27

  torrentow - Członek Sejmowej Komisji Śledczej

torrentow
Członek Sejmowej Komisji Śledczej
Skąd: z GNU
Zarejestrowany: 2009-11-23

[GENTOO] sash

Witajcie Towarzysze!
O co chodzi z tym sashem?

Kod:

krasnaja_plosciac portage # cat /var/tmp/portage/app-shells/sash-3.7-r2/temp/build.log
 * Package:    app-shells/sash-3.7-r2
 * Repository: gentoo
 * Maintainer: maintainer-needed@gentoo.org
 * USE:        elibc_glibc kernel_linux readline userland_GNU x86
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking sash-3.7.tar.gz to /var/tmp/portage/app-shells/sash-3.7-r2/work
>>> Source unpacked in /var/tmp/portage/app-shells/sash-3.7-r2/work
>>> Preparing source in /var/tmp/portage/app-shells/sash-3.7-r2/work/sash-3.7 ...
 * Applying sash-3.6-fix-includes.patch ...                              [ ok ]
 * Applying sash-3.7-builtin.patch ...                                   [ ok ]
 * Applying sash-3.6-readline.patch ...                                  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-shells/sash-3.7-r2/work/sash-3.7 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-shells/sash-3.7-r2/work/sash-3.7 ...
make CC=i686-pc-linux-gnu-gcc 
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o sash.o sash.c
sash.c: In function ‘fileman_completion’:
sash.c:536:5: warning: passing argument 2 of ‘rl_completion_matches’ from incompatible pointer type
/usr/include/readline/readline.h:448:15: note: expected ‘char * (*)(const char *, int)’ but argument is of type ‘char * (*)(char *, int)’
sash.c: In function ‘command_generator’:
sash.c:561:3: warning: suggest parentheses around assignment used as truth value
sash.c: At top level:
sash.c:1457:1: warning: ‘showPrompt’ defined but not used
sash.c: In function ‘runCmd’:
sash.c:1066:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
sash.c: In function ‘childProcess’:
sash.c:1143:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
sash.c:1158:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
sash.c: In function ‘catchQuit’:
sash.c:1490:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
sash.c: In function ‘catchInt’:
sash.c:1478:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmds.o cmds.c
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_dd.o cmd_dd.c
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_ed.o cmd_ed.c
cmd_ed.c: In function ‘printLines’:
cmd_ed.c:1146:6: warning: pointer targets in assignment differ in signedness
cmd_ed.c: In function ‘doCommands’:
cmd_ed.c:284:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
cmd_ed.c: In function ‘printLines’:
cmd_ed.c:1135:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_grep.o cmd_grep.c
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_ls.o cmd_ls.c
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_tar.o cmd_tar.c
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_gzip.o cmd_gzip.c
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_find.o cmd_find.c
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_file.o cmd_file.c
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_chattr.o cmd_chattr.c
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_ar.o cmd_ar.c
cmd_ar.c: In function ‘canonicalize’:
cmd_ar.c:664:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cmd_ar.c:671:12: warning: pointer targets in assignment differ in signedness
cmd_ar.c: In function ‘writeFile’:
cmd_ar.c:978:3: warning: pointer targets in passing argument 2 of ‘fullWrite’ differ in signedness
sash.h:125:13: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cmd_ar.c: In function ‘createFile’:
cmd_ar.c:279:2: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
i686-pc-linux-gnu-gcc -march=athlon-xp -msse3 -O2 -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o utils.o utils.c
utils.c: In function ‘copyFile’:
utils.c:260:3: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result
i686-pc-linux-gnu-gcc --disable-shared -static -Wl,-O1 -Wl,--as-needed -o sash sash.o cmds.o cmd_dd.o cmd_ed.o cmd_grep.o cmd_ls.o cmd_tar.o cmd_gzip.o cmd_find.o cmd_file.o cmd_chattr.o cmd_ar.o utils.o -lz -lreadline -lncurses
cmd_ls.o: In function `listFile':
cmd_ls.c:(.text+0x4ab): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
cmds.o: In function `do_chgrp':
cmds.c:(.text+0x6c4): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/../../../libreadline.a(complete.o): In function `rl_username_completion_function':
(.text+0x34d9): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
cmds.o: In function `do_chown':
cmds.c:(.text+0x5a4): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
cmd_ls.o: In function `listFile':
cmd_ls.c:(.text+0x40f): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/../../../libreadline.a(complete.o): In function `rl_username_completion_function':
(.text+0x34cd): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/../../../libreadline.a(complete.o): In function `rl_username_completion_function':
(.text+0x357b): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
sash.o: In function `dupstr':
sash.c:(.text+0xf5c): undefined reference to `xmalloc'
collect2: ld returned 1 exit status
make: *** [sash] Błąd 1
emake failed
 * ERROR: app-shells/sash-3.7-r2 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2157:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" || die
 * 
 * If you need support, post the output of 'emerge --info =app-shells/sash-3.7-r2',
 * the complete build log and the output of 'emerge -pqv =app-shells/sash-3.7-r2'.
 * The complete build log is located at '/var/tmp/portage/app-shells/sash-3.7-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-shells/sash-3.7-r2/temp/environment'.
 * S: '/var/tmp/portage/app-shells/sash-3.7-r2/work/sash-3.7'

Każdy sam sobie szkodzi :)
http://img715.imageshack.us/img715/7104/apt.png

Offline

 

#2  2011-03-31 08:15:44

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/random
Zarejestrowany: 2008-01-07

Re: [GENTOO] sash

Jeśli masz x86 i podobny końpilator:

Kod:

i686-pc-linux-gnu-4.4.4

- wersja hardened 4.4.4-r1,
to mam taką wersję:

Kod:

 qlist -IvU sash
app-shells/sash-3.7-r2 (readline)

Zainstalowaną, wygląda na to, że działa, i takie zapasy:

Kod:

     Tue Aug 17 05:00:45 2010 >>> app-shells/sash-3.7-r1
     Tue Sep 21 05:12:48 2010 >>> app-shells/sash-3.7-r2

Obie wersje w paczkach tbz, budowane na takim systemie.

Człowiekowi (nie towarzyszowi), mogę podesłać.
Co ciekawe, na obecnym kompilatorze:

Kod:

gcc version 4.5.1 (Gentoo Hardened 4.5.1-r1 p1.4, pie-0.4.5)

kompilacja sasha wywala się do góry kopytami, podobnie jak  u Ciebie.

Pozdrawiam
;-)

Ostatnio edytowany przez Jacekalex (2011-03-31 08:22:14)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)