Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#5486 closed bug (fixed)

-jN issue : haiku/src/bin/network/tcpdump/libpcap

Reported by: mmadia Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

This seems to be a Yacc1 action issue, which is documented to be a known issue. According to Jam.html -- "beware of un-parallelizable commands that drop fixed-named files into the current directory, like yacc(1) does."

Would it be possible to modify libpcap/Jamfile to serialize it?

here's some output snippets:

haiku/src/bin/network/tcpdump/libpcap/scanner.l:57: grammar.h: No such file or directory

Yacc1 /generated/x86gcc2/objects/haiku/x86/common/bin/network/tcpdump/libpcap/grammar.c /generated/x86gcc2/objects/haiku/x86/common/bin/network/tcpdump/libpcap/grammar.h

Attachments (1)

jam-qj8.r35731-x86gcc2.log.gz (130.4 KB) - added by mmadia 9 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 9 years ago by bonefish

Resolution: fixed
Status: newclosed

Fixed in hrev35700.

Changed 9 years ago by mmadia

comment:2 Changed 9 years ago by mmadia

Jam failed on the 9th iteration of:

  rm -rf objects/ tmp/
  jam -qj8
MkDir1 /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/common/bin/network/tcpdump/libpcap 
C++ /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/release/preferences/backgrounds/Backgrounds.o 
Archive /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/release/kits/print/libprintutils.a 
Yacc1 /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/common/bin/network/tcpdump/libpcap/grammar.c /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/common/bin/network/tcpdump/libpcap/grammar.h 
Lex /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/common/bin/network/tcpdump/libpcap/scanner.c 
Ranlib /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/release/kits/print/libprintutils.a 
C++ /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/release/preferences/backgrounds/BackgroundsView.o 
Cc /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/release/bin/network/tcpdump/libpcap/scanner.o 
/Build-O-Matic/rewrite2/output/haiku/src/bin/network/tcpdump/libpcap/scanner.l:57: grammar.h: No such file or directory
Cc /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/release/bin/network/ftpd/ftpcmd.o 
/Build-O-Matic/rewrite2/output/haiku/src/bin/network/tcpdump/libpcap/scanner.l:80: parse error before `pcap_lval'
...many similar lines...
/Build-O-Matic/rewrite2/output/haiku/src/bin/network/tcpdump/libpcap/scanner.l:356: `ID' undeclared (first use in this function)
/Build-O-Matic/rewrite2/output/haiku/src/bin/network/tcpdump/libpcap/scanner.l:357: request for member `s' in something not a structure or union

/Build-O-Matic/rewrite2/output/generated.x86gcc2/cross-tools/bin/i586-pc-haiku-gcc -O -Wall -Wno-trigraphs -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -pipe -nostdinc -march=pentium -DHAVE_CONFIG_H=1 -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c "/Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/common/bin/network/tcpdump/libpcap/scanner.c" -D__HAIKU__ -DHAIKU_DISTRO_COMPATIBILITY_DEFAULT -D__INTEL__ -DARCH_x86 -DBOOT_ARCHIVE_IMAGE_OFFSET=300 -DB_USE_BUILTIN_ATOMIC_FUNCTIONS -DHAIKU_INCLUDE_PATENTED_CODE=0 -D_BEOS_R5_COMPATIBLE_ -DHAIKU_TARGET_PLATFORM_HAIKU -I/Build-O-Matic/rewrite2/output/haiku/build/user_config_headers -I/Build-O-Matic/rewrite2/output/haiku/build/config_headers -I/Build-O-Matic/rewrite2/output/haiku/src/bin/network/tcpdump/libpcap -I/Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/common/bin/network/tcpdump/libpcap -I/Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/freebsd/x86/common/bin/network/tcpdump/libpcap -I/Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/common/bin/network/tcpdump/libpcap -I/Build-O-Matic/rewrite2/output/haiku/src/bin/network/tcpdump/libpcap/bpf/net -I- -I/Build-O-Matic/rewrite2/output/haiku/src/bin/network/tcpdump/libpcap -I/Build-O-Matic/rewrite2/output/haiku/headers/cpp -I/Build-O-Matic/rewrite2/output/haiku/headers/build/gcc-2.95.3 -I/Build-O-Matic/rewrite2/output/haiku/headers -I/Build-O-Matic/rewrite2/output/haiku/headers/posix -I/Build-O-Matic/rewrite2/output/haiku/headers/glibc -I/Build-O-Matic/rewrite2/output/haiku/headers/os -I/Build-O-Matic/rewrite2/output/haiku/headers/os/add-ons -I/Build-O-Matic/rewrite2/output/haiku/headers/os/add-ons/file_system -I/Build-O-Matic/rewrite2/output/haiku/headers/os/add-ons/graphics -I/Build-O-Matic/rewrite2/output/haiku/headers/os/add-ons/input_server -I/Build-O-Matic/rewrite2/output/haiku/headers/os/add-ons/registrar -I/Build-O-Matic/rewrite2/output/haiku/headers/os/add-ons/screen_saver -I/Build-O-Matic/rewrite2/output/haiku/headers/os/add-ons/tracker -I/Build-O-Matic/rewrite2/output/haiku/headers/os/app -I/Build-O-Matic/rewrite2/output/haiku/headers/os/device -I/Build-O-Matic/rewrite2/output/haiku/headers/os/drivers -I/Build-O-Matic/rewrite2/output/haiku/headers/os/game -I/Build-O-Matic/rewrite2/output/haiku/headers/os/interface -I/Build-O-Matic/rewrite2/output/haiku/headers/os/kernel -I/Build-O-Matic/rewrite2/output/haiku/headers/os/locale -I/Build-O-Matic/rewrite2/output/haiku/headers/os/media -I/Build-O-Matic/rewrite2/output/haiku/headers/os/mail -I/Build-O-Matic/rewrite2/output/haiku/headers/os/midi -I/Build-O-Matic/rewrite2/output/haiku/headers/os/midi2 -I/Build-O-Matic/rewrite2/output/haiku/headers/os/net -I/Build-O-Matic/rewrite2/output/haiku/headers/os/opengl -I/Build-O-Matic/rewrite2/output/haiku/headers/os/storage -I/Build-O-Matic/rewrite2/output/haiku/headers/os/support -I/Build-O-Matic/rewrite2/output/haiku/headers/os/translation -I/Build-O-Matic/rewrite2/output/haiku/headers/private/. -o "/Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/release/bin/network/tcpdump/libpcap/scanner.o" ;

...failed Cc /Build-O-Matic/rewrite2/output/generated.x86gcc2/objects/haiku/x86/release/bin/network/tcpdump/libpcap/scanner.o ...
Note: See TracTickets for help on using tickets.