* Re: [devel] E: incoming i586 reject: gabedit-2.18-alt2
@ 2008-11-12 10:58 ` Pavel Solntsev
2008-11-12 12:25 ` Slava Semushin
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Solntsev @ 2008-11-12 10:58 UTC (permalink / raw)
To: ALT Linux Team development discussions
Возникли проблемы при сборке прграммы gabedit. Получил лог (см. ниже).
Можете подсказать
что еще (я уже и так много подправил) нужно подправить чтобы собрать
преложение. Предупреждения
по fgets были и раньше и я не думаю что это могло стать причиной, хотя
как знать. Может как раз в новом gcc
ситуация и изменилась и ругань на fgets не позволяет собрать файл.
QA Team Upravdom Robot пишет:
> Possible reason follows:
> Vibration.c:2069: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c: In function 'read_adf_geom':
> Vibration.c:2149: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2162: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2181: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2209: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c: In function 'read_adf_modes':
> Vibration.c:2271: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2302: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2303: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2359: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2368: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2369: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c: In function 'read_qchem_file_frequencies':
> Vibration.c:2573: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2596: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> Vibration.c:2609: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> make[1]: *** [Vibration.o] Error 1
> make[1]: Leaving directory `/usr/src/RPM/BUILD/gabedit-2.18/src/OpenGL'
> make: *** [src/OpenGL] Error 2
> make: Leaving directory `/usr/src/RPM/BUILD/gabedit-2.18'
> error: Bad exit status from /usr/src/tmp/rpm-tmp.51452 (%build)
>
>
> RPM build errors:
> Bad exit status from /usr/src/tmp/rpm-tmp.51452 (%build)
> Command exited with non-zero status 1
> 31.98user 1.91system 0:34.47elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+316240minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `gabedit-2.18-alt2.src.rpm' failed.
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] E: incoming i586 reject: gabedit-2.18-alt2
2008-11-12 10:58 ` [devel] E: incoming i586 reject: gabedit-2.18-alt2 Pavel Solntsev
@ 2008-11-12 12:25 ` Slava Semushin
2008-11-12 14:57 ` Pavel Solntsev
0 siblings, 1 reply; 3+ messages in thread
From: Slava Semushin @ 2008-11-12 12:25 UTC (permalink / raw)
To: ALT Linux Team development discussions
12 ноября 2008 г. 16:58 пользователь Pavel Solntsev
<p_solntsev_devel%meta.ua> написал:
[...]
>> Possible reason follows:
>> Vibration.c:2069: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c: In function 'read_adf_geom':
>> Vibration.c:2149: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2162: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2181: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2209: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c: In function 'read_adf_modes':
>> Vibration.c:2271: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2302: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2303: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2359: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2368: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2369: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c: In function 'read_qchem_file_frequencies':
>> Vibration.c:2573: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2596: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> Vibration.c:2609: warning: ignoring return value of 'fgets', declared with
>> attribute warn_unused_result
>> make[1]: *** [Vibration.o] Error 1
Это всё предупреждения, не ошибки. Ошибка, вероятно, где-то выше.
Нужен полный лог. Также проверьте не собирете ли вы с опцией -Werror,
когда предупреждения приравниваются к ошибкам.
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] E: incoming i586 reject: gabedit-2.18-alt2
2008-11-12 12:25 ` Slava Semushin
@ 2008-11-12 14:57 ` Pavel Solntsev
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Solntsev @ 2008-11-12 14:57 UTC (permalink / raw)
To: ALT Linux Team development discussions
Slava Semushin пишет:
> 12 ноября 2008 г. 16:58 пользователь Pavel Solntsev
> <p_solntsev_devel%meta.ua> написал:
> [...]
>
>>> Possible reason follows:
>>> Vibration.c:2069: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c: In function 'read_adf_geom':
>>> Vibration.c:2149: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2162: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2181: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2209: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c: In function 'read_adf_modes':
>>> Vibration.c:2271: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2302: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2303: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2359: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2368: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2369: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c: In function 'read_qchem_file_frequencies':
>>> Vibration.c:2573: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2596: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> Vibration.c:2609: warning: ignoring return value of 'fgets', declared with
>>> attribute warn_unused_result
>>> make[1]: *** [Vibration.o] Error 1
>>>
>
> Это всё предупреждения, не ошибки. Ошибка, вероятно, где-то выше.
> Нужен полный лог. Также проверьте не собирете ли вы с опцией -Werror,
> когда предупреждения приравниваются к ошибкам.
>
>
>
С этими предупреждениями прога и раньше собиралась. Там из такого типа
ключей только -Wall . Полный лог я и сам не видел, так как сборку
провожу хешере, подключенному к 4.1 (в ней все OK). Я понимаю что так не
правильно, но пока не получилось сделать хешер натравленый и на 4.1 и на
сизиф. Буду этим заниматься как только появится свободное время.
пока не сделал себе среду для сборки
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-12 14:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-12 10:58 ` [devel] E: incoming i586 reject: gabedit-2.18-alt2 Pavel Solntsev
2008-11-12 12:25 ` Slava Semushin
2008-11-12 14:57 ` Pavel Solntsev
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git