gnome-desktop fails to upgrade | 2.22.1_0 < 2.24.0_0 | 10.4.11 PPC

Joel Thibault (MacPorts) pgijnxn02 at sneakemail.com
Sun Oct 26 09:31:22 PDT 2008


On 10/26/08, Tobias Weisserth tobias.weisserth-at-gmail.com |MacPorts|
<s4f4k9cei40t at sneakemail.com> wrote:
> Hi everybody,
>
> more Gnome build problems:
>
> 'sudo port -fun upgrade gnome-desktop' results in:
>
> --->  Fetching gnome-desktop
> --->  Verifying checksum(s) for gnome-desktop
> --->  Extracting gnome-desktop
>  --->  Configuring gnome-desktop
> --->  Building gnome-desktop with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-desktop/work/gnome-desktop-2.24.0"
> && make all " returned error 2
>  Command output: gnome-rr.c:1111: error: dereferencing pointer to incomplete
> type
> gnome-rr.c: At top level:
> gnome-rr.c:1117: error: parse error before 'RRMode'
> gnome-rr.c:1118: warning: 'mode_new' was used with no prototype before its
> definition
>  gnome-rr.c: In function 'mode_new':
> gnome-rr.c:1119: error: invalid application of 'sizeof' to incomplete type
> 'GnomeRRMode'
> gnome-rr.c:1121: error: dereferencing pointer to incomplete type
>  gnome-rr.c:1121: error: 'id' undeclared (first use in this function)
> gnome-rr.c:1122: error: dereferencing pointer to incomplete type
> gnome-rr.c:1122: error: 'info' undeclared (first use in this function)
>  gnome-rr.c: In function 'gnome_rr_mode_get_id':
> gnome-rr.c:1131: error: dereferencing pointer to incomplete type
> gnome-rr.c: In function 'gnome_rr_mode_get_width':
> gnome-rr.c:1138: error: dereferencing pointer to incomplete type
>  gnome-rr.c: In function 'gnome_rr_mode_get_freq':
> gnome-rr.c:1145: error: dereferencing pointer to incomplete type
> gnome-rr.c: In function 'gnome_rr_mode_get_height':
> gnome-rr.c:1152: error: dereferencing pointer to incomplete type
>  gnome-rr.c: At top level:
> gnome-rr.c:1156: error: parse error before 'XRRModeInfo'
> gnome-rr.c:1157: warning: 'mode_initialize' was used with no prototype
> before its definition
> gnome-rr.c: In function 'mode_initialize':
>  gnome-rr.c:1158: error: 'mode' undeclared (first use in this function)
> gnome-rr.c:1159: error: 'info' undeclared (first use in this function)
> gnome-rr.c: In function 'mode_free':
> gnome-rr.c:1170: error: dereferencing pointer to incomplete type
>  make[3]: *** [gnome-rr.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: Unable to upgrade port: 1
>
> Ideas?
>
> Tobias W.

Nautilus depends on eel, which depends on gnome-desktop.  So once you
take care of gnome-desktop, the others should work fine.

I also have OS X Tiger/10.4.11 and had/have the same problem.
Gnome-desktop 2.24.0 doesn't build on Tiger [1] because it requires
Xrandr 1.2 [2].  A hack that worked for me is changing the
gnome-desktop Portfile to install 2.23.3 instead, but another user had
trouble with it [details in 1].

I also upgraded Xcode to 2.5 recently [3] so that may also be
necessary.  It's recommended for all Macports users running Tiger,
regardless.

[1] https://trac.macports.org/ticket/16720
[2] http://bugzilla.gnome.org/show_bug.cgi?id=554263
[3] https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=19907



-- 
Joel Thibault [AIM: Jole Tebo]
Software Engineer in Boston


More information about the macports-users mailing list