[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:32678] Bug#JP/1545: xpbiff can not build on alpha



ä½é‡Žï¼ æµœæ¾ã§ã™ã€‚

 debian-devel@debian.or.jp ã«æŒ¯ã‚Šã¾ã™ (JP BTS ã«ã‚‚ CC:)

In <20020414085332.4ABDF8DD6A@xxxxxxxxxxxxxxxxxxx>,
  on "Sun, 14 Apr 2002 18:03:03 +0900',
 ISHIKAWA Mutsumi <ishikawa@xxxxxxxxxxx> ã•ã‚“ wrote:

> Package: xpbiff
> Version: 1.27-9
> Severity: important
> 
>  alpha 上㧠build ã§ãã¾ã›ã‚“。

エラーログ中ã«ç–‘å•ãªç‚¹ãŒã‚ã‚‹ã®ã§ã€çŸ¥ã£ã¦ã„る人ãŒã„ãŸã‚‰
æ•™ãˆã¦ãã ã•ã„。

以下ã®è­¦å‘Šã¯ã€i386 上㧠build ã—ãŸéš›ã«ã¯å‡ºã¦ãã¾ã›ã‚“。
 (ä»–ã®ç®‡æ‰€ã¯ i386 上ã§ã‚‚ç¾ã‚ŒãŸã®ã§ã€æ‰‹å…ƒã§ä¿®æ­£ã—ã¦ã‚ã‚Šã¾ã™ã€‚
  一部㯠-10 ã§ã‚‚修正済ã¿ã§ã™ã€‚)

ã“れ以外ã®è­¦å‘Šã‚’æ½°ã—ãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’ -11 ã¨ã—㦠escher.debian.org ã®
 ~sano/testbuild/xpbiff ã«é€ã£ã¦è©¦ã—ã¦ã¿ãŸã®ã§ã™ãŒã€ã‚„ã¯ã‚Šã“れらã®
警告 (行番å·ã¯é•ã„ã¾ã™ãŒ) ãŒå‡ºã¦ã€build ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚

> xpbiff.c:341: initializer element is not computable at load time
> xpbiff.c:341: (near initialization for `resources[0].resource_offset')
> xpbiff.c:343: initializer element is not computable at load time
> xpbiff.c:343: (near initialization for `resources[1].resource_offset')
> xpbiff.c:345: initializer element is not computable at load time
> xpbiff.c:345: (near initialization for `resources[2].resource_offset')
> xpbiff.c:347: initializer element is not computable at load time
> xpbiff.c:347: (near initialization for `resources[3].resource_offset')
> xpbiff.c:349: initializer element is not computable at load time
> xpbiff.c:349: (near initialization for `resources[4].resource_offset')

ã“れらã«ç›¸å½“ã™ã‚‹ã®ã¯

static XtResource       resources[] = {
    {"arrivePixmap", "ArrivePixmap", RPixmap2, sizeof(Pixmap2),
         (Cardinal)&arrivePixmap, XtRString, "None"},
    {"nomailPixmap", "NomailPixmap", RPixmap2, sizeof(Pixmap2),
         (Cardinal)&noPixmap, XtRString, "None"},
    {"nomailForeground", "NomailForeground", XtRPixel, sizeof(Pixel),
         (Cardinal)&colors[0], XtRString, "black"},
    {"nomailBackground", "NomailBackground", XtRPixel, sizeof(Pixel),
         (Cardinal)&colors[1], XtRString, "cyan"},
    {"arriveForeground", "ArriveForeground", XtRPixel, sizeof(Pixel),
         (Cardinal)&colors[2], XtRString, "yellow"},
    {"arriveBackground", "ArriveBackground", XtRPixel, sizeof(Pixel),
         (Cardinal)&colors[3], XtRString, "red"},

ãªã‚“ã§ã™ãŒã€arrivePixmap ã¯

#ifdef XPM
Pixmap          arrivePixmaps[2], noPixmaps[2];
#define arrivePixmap    arrivePixmaps[0]
#define noPixmap        noPixmaps[0]
#else
Pixmap          arrivePixmap, noPixmap;
#endif

ã¨ã—ã¦ãƒ•ã‚¡ã‚¤ãƒ«ã®å†’é ­ (mail() よりå‰) ã§å®šç¾©ã•ã‚Œã¦
ã„ã‚‹ã‚‚ã®ãªã®ã§ã€"not computable at load time" ã¨
言ã‚ã‚Œã¦ã‚‚ã€ã©ã†ã„ã†ã“ã¨ãªã®ã‹ã‚ˆãã‚ã‹ã‚Šã¾ã›ã‚“。

以下ã®

> xpbiff.c:351: initializer element is not computable at load time
> xpbiff.c:351: (near initialization for `resources[5].resource_offset')
> xpbiff.c:354: initializer element is not computable at load time
> xpbiff.c:354: (near initialization for `resources[6].resource_offset')
> xpbiff.c:356: initializer element is not computable at load time
> xpbiff.c:356: (near initialization for `resources[7].resource_offset')
> xpbiff.c:358: initializer element is not computable at load time
> xpbiff.c:358: (near initialization for `resources[8].resource_offset')

> xpbiff.c:361: initializer element is not computable at load time
> xpbiff.c:361: (near initialization for `resources[9].resource_offset')
> xpbiff.c:363: initializer element is not computable at load time
> xpbiff.c:363: (near initialization for `resources[10].resource_offset')
> xpbiff.c:365: initializer element is not computable at load time
> xpbiff.c:365: (near initialization for `resources[11].resource_offset')
> xpbiff.c:367: initializer element is not computable at load time
> xpbiff.c:367: (near initialization for `resources[12].resource_offset')
> xpbiff.c:369: initializer element is not computable at load time
> xpbiff.c:369: (near initialization for `resources[13].resource_offset')
> xpbiff.c:371: initializer element is not computable at load time
> xpbiff.c:371: (near initialization for `resources[14].resource_offset')
> xpbiff.c:373: initializer element is not computable at load time
> xpbiff.c:373: (near initialization for `resources[15].resource_offset')
> xpbiff.c:375: initializer element is not computable at load time
> xpbiff.c:375: (near initialization for `resources[16].resource_offset')
> xpbiff.c:377: initializer element is not computable at load time
> xpbiff.c:377: (near initialization for `resources[17].resource_offset')

> xpbiff.c:396: initializer element is not computable at load time
> xpbiff.c:396: (near initialization for `resources[18].resource_offset')
> xpbiff.c:398: initializer element is not computable at load time
> xpbiff.c:398: (near initialization for `resources[19].resource_offset')
> xpbiff.c:400: initializer element is not computable at load time
> xpbiff.c:400: (near initialization for `resources[20].resource_offset')

ã‚‚ã™ã¹ã¦åŒæ§˜ãªã‚‚ã®ã§ã€ X11/Intrinsic.h ã§å®šç¾©ã•ã‚Œã¦ã„ã‚‹

typedef struct _XtResource {
    String      resource_name;  /* Resource name                            */
    String      resource_class; /* Resource class                           */
    String      resource_type;  /* Representation type desired              */
    Cardinal    resource_size;  /* Size in bytes of representation          */
    Cardinal    resource_offset;/* Offset from base to put resource value   */
    String      default_type;   /* representation type of specified default */
    XtPointer   default_addr;   /* Address of default resource              */
} XtResource, *XtResourceList;

ã® "Cardinal    resource_offset;" ã«é–¢ä¿‚ã—ã¦ã„るらã—ã„ã¨ã„ã†
ã“ã¨ã¾ã§ã¯ã‚ã‹ã‚Šã¾ã›ã‚“ãŒã€ã“ã‚Œã‹ã‚‰ã©ã†è¿½ã„ã‹ã‘ã¦ã„ã‘ã°ã„ã„ã®ã‹
検討ãŒã¤ãã¾ã›ã‚“。

何故ã“れ㌠alpha 上ã§ã®ã¿å•é¡Œã«ãªã‚‹ã®ã‹ã‚‚ç–‘å•ã§ã™ã€‚
 (一応ã€satie.debian.org ã§ã‚‚試ã—ã¦ã¿ã¦ woody/i386 ã§ã¯
  å•é¡Œç„¡ã build ã§ãã‚‹ã“ã¨ã¯ç¢ºèªã—ã¾ã—ãŸ)

ã©ãªãŸã‹ã€ä½•ã‹ãƒ’ントã«ãªã‚‹æƒ…å ±ãŒã‚ã‚Œã°ã€ã‚ˆã‚ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚

-- 
 # (ã‚ãŸã—ã®ãŠã†ã¡ã¯æµœæ¾å¸‚ã€ã‚¢ã‚«ã‚¦ãƒŸã‚¬ãƒ¡ã®ãµã‚‹ã•ã¨ã®è¡—)
   <kgh12351@xxxxxxxxxxx> : Taketoshi Sano (ä½é‡Žã€€æ­¦ä¿Š)