ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] PAM_MOUNT
@ 2005-04-27  6:58 Anton Gorlov aka stalker
  2005-04-27  7:20 ` Andrew Borodin
  0 siblings, 1 reply; 6+ messages in thread
From: Anton Gorlov aka stalker @ 2005-04-27  6:58 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Здравствуйте, ALT.

Так. собиратся не хотел. Судя по тому, что по всему не хватает
какого-то пакета. Только вот какого?

Вот вырезка из лога сборки.

checking for i686-alt-linux-g++... no
checking for i686-alt-linux-c++... no
checking for i686-alt-linux-gpp... no
checking for i686-alt-linux-aCC... no
checking for i686-alt-linux-CC... no
checking for i686-alt-linux-cxx... no
checking for i686-alt-linux-cc++... no
checking for i686-alt-linux-cl... no
checking for i686-alt-linux-FCC... no
checking for i686-alt-linux-KCC... no
checking for i686-alt-linux-RCC... no
checking for i686-alt-linux-xlC_r... no
checking for i686-alt-linux-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for i686-alt-linux-g77... no
checking for i686-alt-linux-f77... no
checking for i686-alt-linux-xlf... no
checking for i686-alt-linux-frt... no
checking for i686-alt-linux-pgf77... no
checking for i686-alt-linux-fort77... no
checking for i686-alt-linux-fl32... no
checking for i686-alt-linux-af77... no
checking for i686-alt-linux-f90... no
checking for i686-alt-linux-xlf90... no
checking for i686-alt-linux-pgf90... no
checking for i686-alt-linux-epcf90... no
checking for i686-alt-linux-f95... no
checking for i686-alt-linux-fort... no
checking for i686-alt-linux-xlf95... no
checking for i686-alt-linux-ifc... no
checking for i686-alt-linux-efc... no
checking for i686-alt-linux-pgf95... no
checking for i686-alt-linux-lf95... no
checking for i686-alt-linux-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i686-alt-linux-ar... no
checking for ar... ar
checking for i686-alt-linux-ranlib... no
checking for ranlib... ranlib
checking for i686-alt-linux-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking whether ln -s works... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.4.8)
checking for EVP_DecryptInit_ex in -lcrypto... yes
checking for SSL_load_error_strings in -lssl... yes
checking for setfsuid... yes
checking security/pam_modules.h usability... yes
checking security/pam_modules.h presence... yes
checking for security/pam_modules.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating dry/Makefile
config.status: creating debian/Makefile
config.status: creating include/Makefile
config.status: creating include-fmt_ptrn/Makefile
config.status: creating include-fmt_ptrn/new/Makefile
config.status: creating src/Makefile
config.status: creating scripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ exit 0
Выполняется(%install): /bin/sh -e /home/stalker/tmp/rpm-tmp.56097
+ umask 022
+ /bin/mkdir -p /home/stalker/RPM/BUILD
+ cd /home/stalker/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /home/stalker/tmp/pam_mount-buildroot
+ :
+ /bin/rm -rf -- /home/stalker/tmp/pam_mount-buildroot
+ cd pam_mount-0.9.22
+ /usr/bin/make 'INSTALL=/bin/install -p' prefix=/home/stalker/tmp/pam_mount-buildroot/usr exec_prefix=/home/stalker/tmp/pam_mount-buildroot/usr bindir=/home/stalker/tmp/pam_mount-buildroot/usr/bin sbindir=/home/stalker/tmp/pam_mount-buildroot/usr/sbin sysconfdir=/home/stalker/tmp/pam_mount-buildroot/etc datadir=/home/stalker/tmp/pam_mount-buildroot/usr/share includedir=/home/stalker/tmp/pam_mount-buildroot/usr/include libdir=/home/stalker/tmp/pam_mount-buildroot/usr/lib libexecdir=/home/stalker/tmp/pam_mount-buildroot/usr/lib localstatedir=/home/stalker/tmp/pam_mount-buildroot/var/lib sharedstatedir=/home/stalker/tmp/pam_mount-buildroot/usr/com mandir=/home/stalker/tmp/pam_mount-buildroot/usr/share/man infodir=/home/stalker/tmp/pam_mount-buildroot/usr/share/info install
make: Entering directory `/home/stalker/RPM/BUILD/pam_mount-0.9.22'
Making install in src
make[1]: Entering directory `/home/stalker/RPM/BUILD/pam_mount-0.9.22/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./../include-fmt_ptrn   -g -Werror -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pipe -Wall -O2 -march=i686 -MT crypto.lo -MD -MP -MF ".deps/crypto.Tpo" -c -o crypto.lo crypto.c; \
then mv -f ".deps/crypto.Tpo" ".deps/crypto.Plo"; else rm -f ".deps/crypto.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./../include-fmt_ptrn -g -Werror -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -Wall -O2 -march=i686 -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c crypto.c  -fPIC -DPIC -o .libs/crypto.o
crypto.c: In function `hash_authtok':
crypto.c:75: warning: implicit declaration of function `memcmp'
crypto.c:82: warning: implicit declaration of function `strlen'
crypto.c: In function `decrypted_key':
crypto.c:130: warning: implicit declaration of function `memset'
crypto.c:133: warning: implicit declaration of function `SSL_load_error_strings'
make[1]: *** [crypto.lo] Error 1
make[1]: Leaving directory `/home/stalker/RPM/BUILD/pam_mount-0.9.22/src'
make: *** [install-recursive] Error 1
make: Leaving directory `/home/stalker/RPM/BUILD/pam_mount-0.9.22'
ошибка: Неверный код возврата из /home/stalker/tmp/rpm-tmp.56097 (%install)


Ошибки сборки пакетов:
    Неверный код возврата из /home/stalker/tmp/rpm-tmp.56097 (%install)

-- 
С уважением,
 Anton                          mailto:pnz37@mail.ru



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] PAM_MOUNT
  2005-04-27  6:58 [sisyphus] PAM_MOUNT Anton Gorlov aka stalker
@ 2005-04-27  7:20 ` Andrew Borodin
  2005-04-27  7:24   ` Re[2]: " Anton Gorlov aka stalker
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Borodin @ 2005-04-27  7:20 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

On Wed, Apr 27, 2005 at 10:58:57AM +0400, Anton Gorlov aka stalker wrote:
> Здравствуйте, ALT.

> Так. собиратся не хотел. Судя по тому, что по всему не хватает
> какого-то пакета. Только вот какого?

Нет, не поэтому.

> make[1]: Entering directory 
> `/home/stalker/RPM/BUILD/pam_mount-0.9.22/src'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc 
> -DHAVE_CONFIG_H -I. -I. -I.. -I./../include 
> -I./../include-fmt_ptrn   -g -Werror -I/usr/include/glib-2.0 
                               ^^^^^^^
[skip]

> crypto.c: In function `hash_authtok':
> crypto.c:75: warning: implicit declaration of function `memcmp'
> crypto.c:82: warning: implicit declaration of function `strlen'
> crypto.c: In function `decrypted_key':
> crypto.c:130: warning: implicit declaration of function `memset'
> crypto.c:133: warning: implicit declaration of function 
> `SSL_load_error_strings'

Из-за -Werror эти warning'и превращаются в error'ы, и сборка 
прерывается

-- 

С уважением,
А. Бородин.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re[2]: [sisyphus] PAM_MOUNT
  2005-04-27  7:20 ` Andrew Borodin
@ 2005-04-27  7:24   ` Anton Gorlov aka stalker
  2005-04-27  9:02     ` Andrew Borodin
  2005-04-27  9:15     ` Andrei Bulava
  0 siblings, 2 replies; 6+ messages in thread
From: Anton Gorlov aka stalker @ 2005-04-27  7:24 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Здравствуйте, Andrew.

Вы писали 27 апреля 2005 г., 11:20:59:

>> Так. собиратся не хотел. Судя по тому, что по всему не хватает
>> какого-то пакета. Только вот какого?
> Нет, не поэтому.
это хуже.


>> make[1]: Entering directory 
>> `/home/stalker/RPM/BUILD/pam_mount-0.9.22/src'
>> if /bin/sh ../libtool --tag=CC --mode=compile gcc 
>> -DHAVE_CONFIG_H -I. -I. -I.. -I./../include 
>> -I./../include-fmt_ptrn   -g -Werror -I/usr/include/glib-2.0 
>                                ^^^^^^^
> [skip]
>> crypto.c: In function `hash_authtok':
>> crypto.c:75: warning: implicit declaration of function `memcmp'
>> crypto.c:82: warning: implicit declaration of function `strlen'
>> crypto.c: In function `decrypted_key':
>> crypto.c:130: warning: implicit declaration of function `memset'
>> crypto.c:133: warning: implicit declaration of function 
>> `SSL_load_error_strings'

> Из-за -Werror эти warning'и превращаются в error'ы, и сборка 
> прерывается

То есть по идее достаточно  убрать -Werror? Только вот в каком файле
его убирать?




-- 
С уважением,
 Anton                          mailto:pnz37@mail.ru



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] PAM_MOUNT
  2005-04-27  7:24   ` Re[2]: " Anton Gorlov aka stalker
@ 2005-04-27  9:02     ` Andrew Borodin
  2005-04-27  9:15     ` Andrei Bulava
  1 sibling, 0 replies; 6+ messages in thread
From: Andrew Borodin @ 2005-04-27  9:02 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

On Wed, Apr 27, 2005 at 11:24:44AM +0400, Anton Gorlov aka stalker wrote:
> То есть по идее достаточно  убрать -Werror? Только вот в каком 
> файле его убирать?

Скорее всего в configure.
Если есть, то добавьте

%__subst 's/-Werror//'

в спек перед вызовом %configure

-- 

С уважением,
А. Бородин.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] PAM_MOUNT
  2005-04-27  7:24   ` Re[2]: " Anton Gorlov aka stalker
  2005-04-27  9:02     ` Andrew Borodin
@ 2005-04-27  9:15     ` Andrei Bulava
  2005-04-27  9:25       ` Dmitry V. Levin
  1 sibling, 1 reply; 6+ messages in thread
From: Andrei Bulava @ 2005-04-27  9:15 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Anton Gorlov aka stalker wrote:
> Здравствуйте, Andrew.
> 
> Вы писали 27 апреля 2005 г., 11:20:59:
> 
> 
>>>Так. собиратся не хотел. Судя по тому, что по всему не хватает
>>>какого-то пакета. Только вот какого?
>>
>>Нет, не поэтому.
> 
> это хуже.
> 
> 
> 
>>>make[1]: Entering directory 
>>>`/home/stalker/RPM/BUILD/pam_mount-0.9.22/src'
>>>if /bin/sh ../libtool --tag=CC --mode=compile gcc 
>>>-DHAVE_CONFIG_H -I. -I. -I.. -I./../include 
>>>-I./../include-fmt_ptrn   -g -Werror -I/usr/include/glib-2.0 
>>
>>                               ^^^^^^^
>>[skip]
>>
>>>crypto.c: In function `hash_authtok':
>>>crypto.c:75: warning: implicit declaration of function `memcmp'
>>>crypto.c:82: warning: implicit declaration of function `strlen'
>>>crypto.c: In function `decrypted_key':
>>>crypto.c:130: warning: implicit declaration of function `memset'
>>>crypto.c:133: warning: implicit declaration of function 
>>>`SSL_load_error_strings'
> 
> 
>>Из-за -Werror эти warning'и превращаются в error'ы, и сборка 
>>прерывается
> 
> 
> То есть по идее достаточно  убрать -Werror? Только вот в каком файле
> его убирать?

"Не давайте больному костыли, лучше научите его ходить" (с) А без 
красивых слов - надо просто править исходные коды и отсылать патчи в 
upstream.

Может, я слишком поверхностно на всё смотрю, но memcmp(3) ясно указывает:

SYNOPSIS
        #include <string.h>

        int memcmp(const void *s1, const void *s2, size_t n);

Никакого упоминания '#include <string.h>' в исходном коде crypto.c я не 
нашёл. gcc вежливо, но настойчиво просит не полагаться на implicit 
declaration of function. "Ибо нефиг" (с).

P.S. Я ни разу не программист на C ;-) Хотя практика показывает, что 
мантейнеры зачастую знают предмет программирования лучше самих 
программистов.

-- 
// AB1002-UANIC


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] PAM_MOUNT
  2005-04-27  9:15     ` Andrei Bulava
@ 2005-04-27  9:25       ` Dmitry V. Levin
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry V. Levin @ 2005-04-27  9:25 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list; +Cc: incoming

[-- Attachment #1: Type: text/plain, Size: 1523 bytes --]

Hi,

On Wed, Apr 27, 2005 at 12:15:49PM +0300, Andrei Bulava wrote:
> Anton Gorlov aka stalker wrote:
> >Здравствуйте, Andrew.
> >
> >Вы писали 27 апреля 2005 г., 11:20:59:
> >
> >>>Так. собиратся не хотел. Судя по тому, что по всему не хватает
> >>>какого-то пакета. Только вот какого?
> >>
> >>Нет, не поэтому.
> >
> >это хуже.
> >
> >>>make[1]: Entering directory 
> >>>`/home/stalker/RPM/BUILD/pam_mount-0.9.22/src'
> >>>if /bin/sh ../libtool --tag=CC --mode=compile gcc 
> >>>-DHAVE_CONFIG_H -I. -I. -I.. -I./../include 
> >>>-I./../include-fmt_ptrn   -g -Werror -I/usr/include/glib-2.0 
> >>
> >>                              ^^^^^^^
> >>[skip]
> >>
> >>>crypto.c: In function `hash_authtok':
> >>>crypto.c:75: warning: implicit declaration of function `memcmp'
> >>>crypto.c:82: warning: implicit declaration of function `strlen'
> >>>crypto.c: In function `decrypted_key':
> >>>crypto.c:130: warning: implicit declaration of function `memset'
> >>>crypto.c:133: warning: implicit declaration of function 
> >>>`SSL_load_error_strings'
> >
> >>Из-за -Werror эти warning'и превращаются в error'ы, и сборка 
> >>прерывается
> >
> >То есть по идее достаточно  убрать -Werror? Только вот в каком файле
> >его убирать?
> 
> "Не давайте больному костыли, лучше научите его ходить" (с) А без 
> красивых слов - надо просто править исходные коды и отсылать патчи в 
> upstream.

Согласен.  Я постараюсь не забыть без -Wall -Werror этот модуль в Сизиф
не пропустить.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-27  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-27  6:58 [sisyphus] PAM_MOUNT Anton Gorlov aka stalker
2005-04-27  7:20 ` Andrew Borodin
2005-04-27  7:24   ` Re[2]: " Anton Gorlov aka stalker
2005-04-27  9:02     ` Andrew Borodin
2005-04-27  9:15     ` Andrei Bulava
2005-04-27  9:25       ` Dmitry V. Levin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git