[devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed

REAL real на kemsu.ru
Ср Окт 3 12:05:39 MSK 2012


Привет!

03.10.2012 14:53, Denis Smirnov пишет:
> Как фиксить?

#include <libio.h> не поможет?

>
>
> ---------- Forwarded message ----------
> From: ALT beekeeper<hiver на altlinux.org>
> Date: 2012/10/2
> Subject: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed
> To: mithraen на altlinux.org, qa на packages.altlinux.org
> Копия: hiver на altlinux.org
>
>
> Package: dahdi-tools-2.6.0-alt1
> Status: Sisyphus/i586 test rebuild failed
> Cannot build this package.
> Please investigate.
> Excerpt from build log:
>
>          tr -s ' ' '\n' | \
>          sed -e 's,.*,oct612x/&,' -e 's/\.o$/.c/'`>  .octasic.depend
> make[2]: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0/xpp'
> make[2]: Entering directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0/xpp'
> for i in dahdi_registration xpp_sync lsdahdi xpp_blink dahdi_genconf
> dahdi_hardware twinstar; do perl -I./perl_modules -c $i || exit 1;
> done
> dahdi_registration syntax OK
> xpp_sync syntax OK
> lsdahdi syntax OK
> xpp_blink syntax OK
> dahdi_genconf syntax OK
> dahdi_hardware syntax OK
> twinstar syntax OK
> touch .perlcheck
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o astribank_is_starting.o astribank_is_starting.c
> i586-alt-linux-gcc  astribank_is_starting.o  -o astribank_is_starting
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -D_GNU_SOURCE    -c -o fpga_load.o fpga_load.c
> fpga_load.c: In function 'my_usb_device_identify':
> fpga_load.c:560:32: warning: variable 'dev_desc' set but not used
> [-Wunused-but-set-variable]
> fpga_load.c: In function 'my_usb_device_init':
> fpga_load.c:595:9: warning: variable 'ret' set but not used
> [-Wunused-but-set-variable]
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o hexfile.o hexfile.c
> i586-alt-linux-gcc  fpga_load.o hexfile.o  -lusb  -o fpga_load
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o astribank_tool.o astribank_tool.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o astribank_usb.o astribank_usb.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o mpptalk.o mpptalk.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o xtalk/xtalk.o xtalk/xtalk.c
> xtalk/xtalk.c: In function 'send_command':
> xtalk/xtalk.c:246:9: warning: variable 'buf' set but not used
> [-Wunused-but-set-variable]
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o xtalk/xusb.o xtalk/xusb.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o xtalk/xlist.o xtalk/xlist.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o xtalk/debug.o xtalk/debug.c
> i586-alt-linux-gcc  astribank_tool.o astribank_usb.o mpptalk.o
> xtalk/xtalk.o xtalk/xusb.o xtalk/xlist.o xtalk/debug.o  -lusb  -o
> astribank_tool
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
> -Ioct612x/octdeviceapi/oct6100api   -c -o astribank_hexload.o
> astribank_hexload.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
> -Ioct612x/octdeviceapi/oct6100api   -c -o pic_loader.o pic_loader.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
> -Ioct612x/octdeviceapi/oct6100api   -c -o echo_loader.o echo_loader.c
> echo_loader.c: In function 'usb_buffer_showstatistics':
> echo_loader.c:126:2: warning: format '%d' expects argument of type
> 'int', but argument 12 has type 'long int' [-Wformat]
> echo_loader.c: In function 'load_echo':
> echo_loader.c:757:17: warning: unused variable 'pbyFileData' [-Wunused-variable]
> echo_loader.c:755:7: warning: unused variable 'iLen' [-Wunused-variable]
> echo_loader.c: In function 'load_file':
> echo_loader.c:352:7: warning: ignoring return value of 'fread',
> declared with attribute warn_unused_result [-Wunused-result]
> i586-alt-linux-gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
> -Ioct612x/octdeviceapi/oct6100api -Ioct612x/include
> -Ioct612x/octdeviceapi -Ioct612x/octdeviceapi/oct6100api
> -DPTR_TYPE=uint32_t -DcOCT6100_INTERNAL_SUPER_ARRAY_SIZE=1024
> -DcOCT6100_MAX_ECHO_CHANNELS=672 -DcOCT6100_MAX_MIXER_EVENTS=1344
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.
>   c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c
> oct612x/apilib/bt/octapi_bt0.c
> oct612x/apilib/largmath/octapi_largmath.c
> oct612x/apilib/llman/octapi_llman.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiReserveChannelResources':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:1503:26:
> warning: variable 'pSharedInfo' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiWriteChannelStructs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:1954:7:
> warning: variable 'fConversionEnabled' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiCheckChannelModify':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:3810:33:
> warning: variable 'pModifyTdm' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiModifyChannelStructs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:4720:7:
> warning: variable 'fConversionEnabled' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:4709:28:
> warning: variable 'pApiVqeConf' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiWriteVqeNlpMemory':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:8888:26:
> warning: variable 'WriteParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiWriteVqeAfMemory':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:9859:26:
> warning: variable 'WriteParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiWriteDebugChanMemory':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:12341:24:
> warning: variable 'pSharedInfo' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiBootSdram':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:3572:24:
> warning: variable 'ReadParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiRunEgo':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:4998:28:
> warning: variable 'pChipConfig' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiInitChannels':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:5213:30:
> warning: variable 'BurstParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiUserIoTest':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:6161:2:
> warning: variable '_ulWriteAddress' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiExternalMemoryInit':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:6271:3:
> warning: variable '_ulWriteAddress' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In
> function 'Oct6100ApiBridgeEventRemove':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3872:47:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3872:47:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In
> function 'Oct6100ApiBridgeRemoveParticipantFromChannel':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5094:14:
> warning: variable 'fSoutCopyEvent' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5086:16:
> warning: variable 'usLastLoadEventIndex' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5077:38:
> warning: variable 'pSourceParticipant' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5072:30:
> warning: variable 'pLastLoadOrAccumulateEventEntry' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In
> function 'Oct6100ApiGetPrevLastSubStoreEvent':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:7415:28:
> warning: variable 'pBridgeEntry' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In
> function 'Oct6100EventGetToneDef':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In
> function 'Oct6100BufferPlayoutTransferEvents':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1116:126:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In
> function 'Oct6100BufferPlayoutCheckForSpecificEvent':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1287:29:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c: In
> function 'Oct6100ApiReadIntrptRegs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:801:26:
> warning: variable 'WriteParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c: In
> function 'Oct6100ApiWriteIeRegs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1299:24:
> warning: variable 'ReadParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:
> In function 'Oct6100ApiStrStr':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:437:1:
> warning: control reaches end of non-void function [-Wreturn-type]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In
> function 'Oct6100BufferPlayoutStopDef':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In
> function 'Oct6100ApiInvalidateChanPlayoutStructs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:2844:51:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:
> In function 'Oct6100ApiClearToneDetectionEvent':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:828:3:
> warning: variable '_ulWriteAddress' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:867:4:
> warning: variable '_ulWriteAddress' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c: In
> function 'Oct6100ApiValidateTsst':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:178:15:
> warning: variable 'pulTsstAlloc' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c: In
> function 'Oct6100ApiReserveTsst':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:404:29:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:404:29:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/apilib/bt/octapi_bt0.c: In function 'OctApiBt0Init':
> oct612x/apilib/bt/octapi_bt0.c:63:12: error: 'NULL' undeclared (first
> use in this function)
> oct612x/apilib/bt/octapi_bt0.c:63:12: note: each undeclared identifier
> is reported only once for each function it appears in
> oct612x/apilib/llman/octapi_llman.c: In function 'OctapiLlmAllocInit':
> oct612x/apilib/llman/octapi_llman.c:88:12: error: 'NULL' undeclared
> (first use in this function)
> oct612x/apilib/llman/octapi_llman.c:88:12: note: each undeclared
> identifier is reported only once for each function it appears in
> make[2]: *** [oct6100_adpcm_chan.o] Error 1
> make[2]: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0/xpp'
> make[1]: *** [utils-subdirs] Error 2
> make[1]: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0'
> make: *** [all] Error 2
> make: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0'
> error: Bad exit status from /usr/src/tmp/rpm-tmp.28438 (%build)
>
> RPM build errors:
>      Macro %doc not found
>      Bad exit status from /usr/src/tmp/rpm-tmp.28438 (%build)
> Command exited with non-zero status 1
> 21.97user 2.69system 0:28.15elapsed 87%CPU (0avgtext+0avgdata 68800maxresident)k
> 0inputs+0outputs (0major+1392288minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `dahdi-tools-2.6.0-alt1.src.rpm' failed.
> Command exited with non-zero status 1
>
> --
> Sincerely yours,
> ALT beekeeper
> _______________________________________________
> Devel mailing list
> Devel на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel


-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



Подробная информация о списке рассылки Devel