From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; en_US) KHTML/3.3.2 (like Gecko) Description of problem: I am trying to rebuild this from the source rpm and I get the error: gphoto2-port.c: In function 'gp_port_read': gphoto2-port.c:411: error: syntax error before '(' token gphoto2-port.c:411: error: '__nbytes_val' undeclared (first use in this function) gphoto2-port.c:411: error: (Each undeclared identifier is reported only once gphoto2-port.c:411: error: for each function it appears in.) gphoto2-port.c:411: warning: passing argument 1 of 'read' makes integer from pointer without a cast gphoto2-port.c: At top level: gphoto2-port.c:411: error: syntax error before ')' token gphoto2-port.c:417: error: syntax error before string constant gphoto2-port.c:417: warning: type defaults to 'int' in declaration of 'gp_log_data' gphoto2-port.c:417: error: conflicting types for 'gp_log_data' Version-Release number of selected component (if applicable): gphoto2-2.1.5-4 How reproducible: Always Steps to Reproduce: 1. try building gphoto2 from source rpm 2. look at error 3. Additional info:
Everything compiles fine if you don't use FORTIFY_SOURCE option!
Fixed in 2.1.5-5. Thanks for the report.