Package: ruby-hpricot Version: 0.8.6-5 Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error. Please note that we use our research compiler tool-chain (using tools from the cbmc package), which permits extended reporting on type inconsistencies at link time.
[...] gcc -shared -o hpricot_scan.so hpricot_css.o hpricot_scan.o -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-R1fHdQ/ruby2.1-2.1.2/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.1 -lc -lpthread -lgmp -ldl -lcrypt -lm -lc error: conflicting function declarations "hpricot_css" old definition in module hpricot_css file hpricot_css.rl line 94 unsigned long int (unsigned long int self, unsigned long int mod, unsigned long int str, unsigned long int node) new definition in module hpricot_scan file hpricot_scan.rl line 23 unsigned long int (unsigned long int, unsigned long int, unsigned long int, unsigned long int, unsigned long int) Makefile:232: recipe for target 'hpricot_scan.so' failed make[1]: *** [hpricot_scan.so] Error 64 Observe that the declaration in hpricot_scan.rl lists 5 parameters, even though the actual implementation in hpricot_css only accepts four parameters. This will work ok, but may point at some issues and a possible mixup of arguments. Best, Michael
pgpqXax3nzGNl.pgp
Description: PGP signature
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
