↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

  • Home
  • About the Author…
  • Copyright and Trademarks..

Tag Archives: -Werror=format-security

RPM – Fixing ‘Ancient’ Source Rebuilds..

Adventures With Linux ™ Posted on February 12, 2015 by RGFebruary 12, 2015

I had occasion to install an ancient GTK+ app, recently, and had to use # rpmbuild –rebuild xxxxx.src.rpm to (re)create some old RPMs from source.. I got the following error: /home/rgadsdon/rpmbuild/BUILD/php_gtk-1.0.2/main/php_gtk_object.c: In function ‘php_gtk_args_from_hash’: /home/rgadsdon/rpmbuild/BUILD/php_gtk-1.0.2/main/php_gtk_object.c:410:4: error: format not a string literal and no format arguments [-Werror=format-security] php_error(E_WARNING, buf); ^ So, I needed to remove the –Werror=format-security parameter … Continue reading →

Posted in compilation, Crash and Burn.., Fedora, Hacks, Opinion | Tagged -Werror=format-security, fix, gtk+, rpm, rpmbuild fail, success | Leave a reply
Original content © Robert Gadsdon 2013
↑