* Re: [devel] zaptel-seiros-1.4-alt3: i586 rebuild failed
@ 2008-03-21 23:22 ` Denis Smirnov
2008-03-22 0:04 ` Led
2008-03-23 10:10 ` Sergey Vlasov
0 siblings, 2 replies; 3+ messages in thread
From: Denis Smirnov @ 2008-03-21 23:22 UTC (permalink / raw)
To: devel
wtf?
Из этого только упоминание EC_DUMP -- понятная мне ошибка (я это
отломал при обновлении заптела). А что такое остальное?
2008/3/21, QA Team Robot <qa@altlinux.org>:
> Package: zaptel-seiros-1.4-alt3
> Packager: Denis Smirnov <mithraen@altlinux>
> Status: i586 rebuild failed.
> Please investigate.
>
> Why:
>
> Preparing packages for installation...
> libtonezone-1.4.9.2-alt1.svn20071228
> zaptel-devel-1.4.9.2-alt1.svn20071228
> Installing zaptel-seiros-1.4-alt3.src.rpm
> Building target platforms: i586
> Building for target i586
> Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.74651
> + umask 022
> + /bin/mkdir -p /usr/src/RPM/BUILD
> + cd /usr/src/RPM/BUILD
> + rm -rf zaptel-seiros-1.4
> Source #0 (zaptel-seiros-1.4.tar):
> + echo 'Source #0 (zaptel-seiros-1.4.tar):'
> + /bin/tar -xf /usr/src/RPM/SOURCES/zaptel-seiros-1.4.tar
> + cd zaptel-seiros-1.4
> + /bin/chmod -Rf u+rwX,go-w .
> + exit 0
> Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.74651
> + umask 022
> + /bin/mkdir -p /usr/src/RPM/BUILD
> + cd /usr/src/RPM/BUILD
> + cd zaptel-seiros-1.4
> + '[' -n '' ']'
> + NPROCS=1
> + make -j1
> make: Entering directory `/usr/src/RPM/BUILD/zaptel-seiros-1.4'
> cc -pipe -Wall -O2 -march=i586 -mtune=i686 -Wall -W -pedantic -Werror -std=c99 zt_exists.c -lm -o zt_exists
> cc -pipe -Wall -O2 -march=i586 -mtune=i686 -Wall -W -pedantic -Werror -std=c99 zt_testspeed.c -lm -o zt_testspeed
> cc -pipe -Wall -O2 -march=i586 -mtune=i686 -Wall -W -pedantic -Werror -std=c99 zt_ec_dump.c -lm -o zt_ec_dump
> In file included from /usr/include/bits/fcntl.h:25,
> from /usr/include/fcntl.h:34,
> from zt_ec_dump.c:3:
> /usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
> /usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here
> /usr/include/sys/types.h:67: error: conflicting types for 'gid_t'
> /usr/include/linux/types.h:27: error: previous declaration of 'gid_t' was here
> /usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
> /usr/include/linux/types.h:15: error: previous declaration of 'mode_t' was here
> /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
> /usr/include/linux/types.h:16: error: previous declaration of 'nlink_t' was here
> /usr/include/sys/types.h:82: error: conflicting types for 'uid_t'
> /usr/include/linux/types.h:26: error: previous declaration of 'uid_t' was here
> In file included from /usr/include/sys/types.h:133,
> from /usr/include/bits/fcntl.h:25,
> from /usr/include/fcntl.h:34,
> from zt_ec_dump.c:3:
> /usr/include/time.h:105: error: conflicting types for 'timer_t'
> /usr/include/linux/types.h:22: error: previous declaration of 'timer_t' was here
> In file included from /usr/include/bits/fcntl.h:25,
> from /usr/include/fcntl.h:34,
> from zt_ec_dump.c:3:
> /usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t'
> /usr/include/linux/types.h:124: error: previous declaration of 'blkcnt_t' was here
> zt_ec_dump.c: In function 'main':
> zt_ec_dump.c:30: error: storage size of 'data' isn't known
> zt_ec_dump.c:72: error: 'ZT_EC_DUMP' undeclared (first use in this function)
> zt_ec_dump.c:72: error: (Each undeclared identifier is reported only once
> zt_ec_dump.c:72: error: for each function it appears in.)
> cc1: warnings being treated as errors
> zt_ec_dump.c:30: warning: unused variable 'data'
> make: Leaving directory `/usr/src/RPM/BUILD/zaptel-seiros-1.4'
>
> RPM build errors:
> make: *** [zt_ec_dump] Error 1
> error: Bad exit status from /usr/src/tmp/rpm-tmp.74651 (%build)
> Bad exit status from /usr/src/tmp/rpm-tmp.74651 (%build)
> Command exited with non-zero status 1
> 0.36user 0.05system 0:00.45elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+16379minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `zaptel-seiros-1.4-alt3.src.rpm' failed.
> Command exited with non-zero status 1
> 7.24user 4.10system 0:11.82elapsed 95%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+356128minor)pagefaults 0swaps
>
>
> --
> Sincerely yours,
> ALT QA Team Robot
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] zaptel-seiros-1.4-alt3: i586 rebuild failed
2008-03-21 23:22 ` [devel] zaptel-seiros-1.4-alt3: i586 rebuild failed Denis Smirnov
@ 2008-03-22 0:04 ` Led
2008-03-23 10:10 ` Sergey Vlasov
1 sibling, 0 replies; 3+ messages in thread
From: Led @ 2008-03-22 0:04 UTC (permalink / raw)
To: ALT Linux Team development discussions
Saturday, 22 March 2008 01:22:05 Denis Smirnov написав:
> wtf?
>
> Из этого только упоминание EC_DUMP -- понятная мне ошибка (я это
> отломал при обновлении заптела). А что такое остальное?
....................
> > make: Entering directory `/usr/src/RPM/BUILD/zaptel-seiros-1.4'
> > cc -pipe -Wall -O2 -march=i586 -mtune=i686 -Wall -W -pedantic -Werror
> > -std=c99 zt_exists.c -lm -o zt_exists cc -pipe -Wall -O2 -march=i586
> > -mtune=i686 -Wall -W -pedantic -Werror -std=c99 zt_testspeed.c -lm -o
> > zt_testspeed cc -pipe -Wall -O2 -march=i586 -mtune=i686 -Wall -W
> > -pedantic -Werror -std=c99 zt_ec_dump.c -lm -o zt_ec_dump In file
> > included from /usr/include/bits/fcntl.h:25,
> > from /usr/include/fcntl.h:34,
> > from zt_ec_dump.c:3:
> > /usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
> > /usr/include/linux/types.h:13: error: previous declaration of 'dev_t'
> > was here /usr/include/sys/types.h:67: error: conflicting types for
> > 'gid_t' /usr/include/linux/types.h:27: error: previous declaration of
> > 'gid_t' was here /usr/include/sys/types.h:72: error: conflicting types
> > for 'mode_t' /usr/include/linux/types.h:15: error: previous declaration
> > of 'mode_t' was here /usr/include/sys/types.h:77: error: conflicting
.....................
ИМХО потому, что сейчас уже для 32-битных систем
int != long
и т.п.
Я уже и сам нарвался в своём пакете, что /usr/include/X11/Xdm.h из
xorg-x11-proto-devel конфликтует в этом смысле
с /usr/lib64/qt3/include/qglobal.h из libqt3-devel.
Просто таки "пчёлы - против мёда":)
--
Led
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] zaptel-seiros-1.4-alt3: i586 rebuild failed
2008-03-21 23:22 ` [devel] zaptel-seiros-1.4-alt3: i586 rebuild failed Denis Smirnov
2008-03-22 0:04 ` Led
@ 2008-03-23 10:10 ` Sergey Vlasov
1 sibling, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2008-03-23 10:10 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
On Sat, Mar 22, 2008 at 02:22:05AM +0300, Denis Smirnov wrote:
> wtf?
>
> Из этого только упоминание EC_DUMP -- понятная мне ошибка (я это
> отломал при обновлении заптела). А что такое остальное?
> > cc -pipe -Wall -O2 -march=i586 -mtune=i686 -Wall -W -pedantic -Werror -std=c99 zt_ec_dump.c -lm -o zt_ec_dump
> > In file included from /usr/include/bits/fcntl.h:25,
> > from /usr/include/fcntl.h:34,
> > from zt_ec_dump.c:3:
> > /usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
> > /usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here
В данном случае заголовки linux/* нужно включать после заголовков
glibc - в <features.h> определяется __KERNEL_STRICT_NAMES, после чего
<linux/types.h> не определяет типы, пересекающиеся с <sys/types.h> и
прочими заголовками от glibc.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-23 10:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-21 23:22 ` [devel] zaptel-seiros-1.4-alt3: i586 rebuild failed Denis Smirnov
2008-03-22 0:04 ` Led
2008-03-23 10:10 ` Sergey Vlasov
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