Bug 1225947

Summary: Package transfig does not build with gcc14 because of new errors
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Jambor <mjambor>
Component: OtherAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1220571    

Description Martin Jambor 2024-06-04 15:19:30 UTC
GCC 14 newly by default treats as errors a number of situations which
before were only warnings.  For more information see
https://gcc.gnu.org/gcc-14/porting_to.html and meta bug #1220571.

Because of this, package transfig fails to compile.  This can be seen online
at:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/transfig/standard/x86_64

It can be reproduced locally with command: osc build --clean
--alternative-project home:rguenther:nextgcc

Patch from https://bugs.gentoo.org/875419 comment #9 can perhaps help
us.


The (first) error (that halts the build) is:

[  105s] genpstex.c: In function ‘genpstex_p_start’:
[  105s] genpstex.c:165:17: error: implicit declaration of function ‘put_msg’; did you mean ‘puts’? [-Wimplicit-function-declaration]
[  105s]   165 |                 put_msg("Argument -p is mandatory to pstex_p.");
Comment 1 Dr. Werner Fink 2024-07-02 05:51:41 UTC
This does not help as transfig 3.2.9 already includes

https://bugs.gentoo.org/875419#c10

and much more
Comment 2 Dr. Werner Fink 2024-07-02 06:13:23 UTC
SR#1184778 should fix the last missing declaration of put_msg()
Comment 3 OBSbugzilla Bot 2024-07-02 06:45:02 UTC
This is an autogenerated message for OBS integration:
This bug (1225947) was mentioned in
https://build.opensuse.org/request/show/1184778 Factory / transfig
Comment 4 Dr. Werner Fink 2024-07-02 08:12:31 UTC
(In reply to OBSbugzilla Bot from comment #3)
> This is an autogenerated message for OBS integration:
> This bug (1225947) was mentioned in
> https://build.opensuse.org/request/show/1184778 Factory / transfig