[Bug 1348202] Review Request: rubygem-pcaprub - libpcap bindings for ruby

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1348202



--- Comment #2 from Germano Massullo <germano.massullo@xxxxxxxxx> ---
(In reply to Fabio Alessandro Locati from comment #1) 
> BuildRequires: libpcap-devel

After adding it, the errors become


$ rpmbuild -ba rpmbuild/SPECS/rubygem-pcaprub.spec 
Esecuzione(%prep) in corso: /bin/sh -e /var/tmp/rpm-tmp.tZRiv0
+ umask 022
+ cd /home/user/rpmbuild/BUILD
+ gem unpack /home/user/rpmbuild/SOURCES/pcaprub-0.12.4.gem
Unpacked gem: '/home/user/rpmbuild/BUILD/pcaprub-0.12.4'
+ cd /home/user/rpmbuild/BUILD
+ cd pcaprub-0.12.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ gem spec /home/user/rpmbuild/SOURCES/pcaprub-0.12.4.gem -l --ruby
+ exit 0
Esecuzione(%build) in corso: /bin/sh -e /var/tmp/rpm-tmp.7eRMdz
+ umask 022
+ cd /home/user/rpmbuild/BUILD
+ cd pcaprub-0.12.4
+ gem build pcaprub.gemspec
  Successfully built RubyGem
  Name: pcaprub
  Version: 0.12.4
  File: pcaprub-0.12.4.gem
+ mkdir -p ./usr/share/gems
+ CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'\'' '
+ gem install -V --local --build-root . --force --document=ri,rdoc
pcaprub-0.12.4.gem
WARNING:  You build with buildroot.
  Build root: /home/user/rpmbuild/BUILD/pcaprub-0.12.4
  Bin dir: /home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/bin
  Gem home: /home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/.document
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/.travis.yml
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/FAQ.rdoc
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/Gemfile
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/LICENSE
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/README.rdoc
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/Rakefile
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/USAGE.rdoc
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/examples/dead_cap.rb
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/examples/file_cap.rb
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/examples/simple_cap.rb
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/examples/telnet-raw.pcap
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/ext/pcaprub_c/extconf.rb
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/ext/pcaprub_c/pcaprub.c
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/lib/pcaprub.rb
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/lib/pcaprub/common.rb
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/lib/pcaprub/ext.rb
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/lib/pcaprub/version.rb
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/test/test_helper.rb
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/test/test_pcaprub_unit.rb
Building native extensions.  This could take a while...
current directory:
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/ext/pcaprub_c
/usr/bin/ruby -r ./siteconf20160706-15761-1i4anuk.rb extconf.rb

[*] Running checks for pcaprub_c code...
platform is x86_64-linux
checking for ruby/thread.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_without_gvl()... yes
checking for pcap_open_live() in -lpcap... yes
checking for pcap_setnonblock() in -lpcap... yes
creating Makefile
current directory:
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/ext/pcaprub_c
make "DESTDIR=" clean
rm -f 
rm -f pcaprub_c.so  *.o  *.bak mkmf.log .*.time
current directory:
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/ext/pcaprub_c
make "DESTDIR="
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I.
-DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/opt/local/include
-I/usr/local/include -I/usr/include -I/usr/include    -fPIC -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -m64 -o
pcaprub.o -c pcaprub.c
rm -f pcaprub_c.so
gcc -shared -o pcaprub_c.so pcaprub.o -L. -L/usr/lib64 -L/opt/local/lib
-L/usr/local/lib -L/usr/lib64 -L/usr/lib -L. -Wl,-z,relro
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic
-Wl,-export-dynamic  -m64  -lruby -lpcap -lpcap  -lpthread -ldl -lcrypt -lm  
-lc
current directory:
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4/ext/pcaprub_c
make "DESTDIR=" install
/usr/bin/mkdir -p . ./.gem.20160706-15761-1v5ysuc
exit > .RUBYARCHDIR.time
/usr/bin/install -c -m 0755 pcaprub_c.so ./.gem.20160706-15761-1v5ysuc
To see why this extension failed to compile, please check the mkmf.log which
can be found here:

 
/home/user/rpmbuild/BUILD/pcaprub-0.12.4/usr/lib64/gems/ruby/pcaprub-0.12.4/mkmf.log
Successfully installed pcaprub-0.12.4
Parsing documentation for pcaprub-0.12.4
Parsing sources...
100% [13/13]  lib/pcaprub/version.rb    
Installing ri documentation for pcaprub-0.12.4
Installing darkfish documentation for pcaprub-0.12.4
Done installing documentation for pcaprub after 0 seconds
1 gem installed
+ exit 0
Esecuzione(%install) in corso: /bin/sh -e /var/tmp/rpm-tmp.9dfiOf
+ umask 022
+ cd /home/user/rpmbuild/BUILD
+ '[' /home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64 '!=' /
']'
+ rm -rf /home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64
++ dirname /home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64
+ mkdir -p /home/user/rpmbuild/BUILDROOT
+ mkdir /home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64
+ cd pcaprub-0.12.4
+ mkdir -p
/home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64/usr/share/gems
+ cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc
./usr/share/gems/extensions ./usr/share/gems/gems
./usr/share/gems/specifications
/home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64/usr/share/gems/
+ mkdir -p
/home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64/usr/lib64/gems/ruby/pcaprub-0.12.4
+ cp -a ./usr/lib64/gems/ruby/pcaprub-0.12.4/gem.build_complete
./usr/lib64/gems/ruby/pcaprub-0.12.4/pcaprub_c.so
/home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64/usr/lib64/gems/ruby/pcaprub-0.12.4/
+ rm -rf
/home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64/usr/share/gems/gems/pcaprub-0.12.4/ext/
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz
--dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000
/home/user/rpmbuild/BUILD/pcaprub-0.12.4
extracting debug info from
/home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64/usr/lib64/gems/ruby/pcaprub-0.12.4/pcaprub_c.so
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
66 blocks
+ '[' noarch = noarch ']'
+ case "${QA_CHECK_RPATHS:-}" in
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Esecuzione(%check) in corso: /bin/sh -e /var/tmp/rpm-tmp.xD3nuY
+ umask 022
+ cd /home/user/rpmbuild/BUILD
+ cd pcaprub-0.12.4
+ pushd ./usr/share/gems/gems/pcaprub-0.12.4
~/rpmbuild/BUILD/pcaprub-0.12.4/usr/share/gems/gems/pcaprub-0.12.4
~/rpmbuild/BUILD/pcaprub-0.12.4
+ popd
~/rpmbuild/BUILD/pcaprub-0.12.4
+ exit 0
Elaborazione file: rubygem-pcaprub-0.12.4-1.fc24.x86_64
errore: File non trovato:
/home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64/usr/share/gems/gems/pcaprub-0.12.4/ext


Errori di compilazione RPM:
    File non trovato:
/home/user/rpmbuild/BUILDROOT/rubygem-pcaprub-0.12.4-1.fc24.x86_64/usr/share/gems/gems/pcaprub-0.12.4/ext

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]