Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 821097 - gnustep-apps/cenon-4.0.6 - ../usr/include/AppKit/AppKit.h:52, from DocView.m:70: DocView.m: In function '-[DocView draw:]': DocView.m:1807:45: error: expected ')' before ';' token
Summary: gnustep-apps/cenon-4.0.6 - ../usr/include/AppKit/AppKit.h:52, from DocView.m:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 820008
  Show dependency tree
 
Reported: 2021-10-31 14:52 UTC by ernsteiswuerfel
Modified: 2022-01-06 22:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (cenon-4.0.6:20211031-144425.log,115.86 KB, text/plain)
2021-10-31 14:52 UTC, ernsteiswuerfel
Details
emerge --info (file_821097.txt,5.93 KB, text/plain)
2021-10-31 14:53 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-10-31 14:52:30 UTC
Created attachment 747720 [details]
build.log

[...]
powerpc-unknown-linux-gnu-gcc DocView.m -c \
      -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Os -mcpu=7450 -pipe -I../../Source/powerpc/linux-gnu -fconstant-string-class=NSConstantString -I. -I. -I/var/tmp/portage/gnustep-apps/cenon-4.0.6/work/GNUstep/Library/Headers -I/usr/local/include -I/usr/include \
       -o obj/Cenon.obj/DocView.m.o
In file included from /usr/include/AppKit/AppKit.h:52,
                 from DocView.m:70:
DocView.m: In function '-[DocView draw:]':
DocView.m:1807:45: error: expected ')' before ';' token
 1807 |         if ( floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_8 &&
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~
DocView.m:1807:12: note: to match this '('
 1807 |         if ( floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_8 &&
      |            ^
DocView.m: In function '-[DocView moveObject:::]':
DocView.m:2416:53: warning: variable 'delta_scroll' set but not used [-Wunused-but-set-variable]
 2416 |     NSPoint             pt, pt_last, pt_old, delta, delta_scroll, drawOffset, snapPoint;
      |                                                     ^~~~~~~~~~~~
DocView.m: In function '-[DocView mouseDown:]':
DocView.m:3074:24: warning: variable 'control' set but not used [-Wunused-but-set-variable]
 3074 |     BOOL        shift, control, gotHit = NO, compositeAll = NO, editable = NO;
      |                        ^~~~~~~
DocView.m: In function '-[DocView dragMagnify:]':
DocView.m:3630:30: warning: variable 'shift' set but not used [-Wunused-but-set-variable]
 3630 |     BOOL        mustContain, shift, canScroll, oldRegionSet = NO;
      |                              ^~~~~
DocView.m:3630:17: warning: variable 'mustContain' set but not used [-Wunused-but-set-variable]
 3630 |     BOOL        mustContain, shift, canScroll, oldRegionSet = NO;
      |                 ^~~~~~~~~~~
gmake[3]: *** [/usr/share/GNUstep/Makefiles/rules.make:515: obj/Cenon.obj/DocView.m.o] Error 1
gmake[2]: *** [/usr/share/GNUstep/Makefiles/Instance/application.make:147: internal-app-run-compile-submake] Error 2
Comment 1 ernsteiswuerfel archtester 2021-10-31 14:53:04 UTC
Created attachment 747723 [details]
emerge --info
Comment 2 Bernard Cafarelli gentoo-dev 2021-12-10 10:48:24 UTC
I cannot reproduce it on amd64 :(

Unless someone has time to dig in and fix it, I think we should just drop ppc keyword for this package?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-11 07:05:07 UTC
(In reply to Bernard Cafarelli from comment #2)
> I cannot reproduce it on amd64 :(
> 
> Unless someone has time to dig in and fix it, I think we should just drop
> ppc keyword for this package?

I can give you access to our ppc stuff but if nobody is interested in using it / you understandably have better things to do, that's no problemo (just wanted to let you know it's there for future bugs)
Comment 4 Bernard Cafarelli gentoo-dev 2022-01-06 22:42:02 UTC
Thanks sam! I will keep in mind if similar cases happen, for cenon it is an older and quite specific program so I will drop keyword (if someone comes up interested, we can always invest more time then
Comment 5 Larry the Git Cow gentoo-dev 2022-01-06 22:45:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe33c8a14697638f5bf62e07d600d3bfa783a71

commit 9fe33c8a14697638f5bf62e07d600d3bfa783a71
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2022-01-06 22:44:40 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2022-01-06 22:45:37 +0000

    gnustep-apps/cenon: drop ppc keyword
    
    ppc-specific compilation failure, don't hesitate to ping us if you are
    interested in a ppc-keyworded cenon
    
    Closes: https://bugs.gentoo.org/821097
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 gnustep-apps/cenon/cenon-4.0.2-r1.ebuild | 4 ++--
 gnustep-apps/cenon/cenon-4.0.6.ebuild    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)