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 :)
[img]http://img715.imageshack.us/img715/7104/apt.png[/img]

Offline

 

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

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
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 [url=http://forum.dug.net.pl/viewtopic.php?pid=167719#p167719]takim systemie[/url].

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
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.009 seconds, 9 queries executed ]

Informacje debugowania

Time (s) Query
0.00012 SET CHARSET latin2
0.00009 SET NAMES latin2
0.00180 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.137.166.124' WHERE u.id=1
0.00082 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.137.166.124', 1715538972)
0.00057 SELECT * FROM punbb_online WHERE logged<1715538672
0.00087 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=18681 AND t.moved_to IS NULL
0.00010 SELECT search_for, replace_with FROM punbb_censoring
0.00142 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=18681 ORDER BY p.id LIMIT 0,25
0.00127 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=18681
Total query time: 0.00706 s