Opened 14 years ago

Closed 13 years ago

#24218 closed defect (worksforme)

gnome-terminal-2.26.3.1 - build failure on 10.6

Reported by: pope (K. Adam Christensen) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: pope (K. Adam Christensen), bmourelo@…, marius.pana@…, bret.aarden@…, jgoulah@…, schulle79@…, evangoldenberg@…, gnumengor@…, lzh1984@…
Port: gnome-terminal

Description (last modified by mf2k (Frank Schima))

When trying to build gnome-terminal on 10.6, I'm getting the following error:

~ >sudo port install -d gnome-terminal
--->  Computing dependencies for gnome-terminal
--->  Building gnome-terminal
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_releas
e_ports_gnome_gnome-terminal/work/gnome-terminal-2.26.3.1" && /usr/bin/make -j2 all " returned error 2
Command output: Making all in ja
make[3]: Nothing to be done for `all'.
Making all in zh_CN
make[3]: Nothing to be done for `all'.
Making all in zh_TW
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
if ! test -d it/; then mkdir it/; fi
if [ -f "C/gnome-terminal.xml" ]; then d="../"; else d="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports
_gnome_gnome-terminal/work/gnome-terminal-2.26.3.1/help/"; fi; \
        (cd it/ && \
          `which xml2po` -e -p \
            "${d}it/it.po" \
            "${d}C/gnome-terminal.xml" > gnome-terminal.xml.tmp && \
            cp gnome-terminal.xml.tmp gnome-terminal.xml && rm -f gnome-terminal.xml.tmp)
Traceback (most recent call last):
  File "/opt/local/bin/xml2po", line 185, in <module>
    main(sys.argv[1:])
  File "/opt/local/bin/xml2po", line 171, in main
    xml2po_main.merge(mofile, filenames[0])
  File "/opt/local/lib/python2.5/site-packages/xml2po/__init__.py", line 601, in merge
    self.gt = gettext.GNUTranslations(mfile)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/gettext.py", line 314, in _parse
    plural = v[1].split('plural=')[1]
IndexError: list index out of range
make[2]: *** [el/gnome-terminal.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I have also seen this error reported in ticket:23983, but that reporting was to another project.

Change History (20)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: gnome-terminal removed
Milestone: MacPorts 1.8.3
Owner: changed from macports-tickets@… to devans@…

comment:2 Changed 14 years ago by pope (K. Adam Christensen)

Cc: pope@… added

Cc Me!

comment:3 Changed 14 years ago by jmroot (Joshua Root)

So you have the latest gnome-doc-utils installed?

comment:4 Changed 14 years ago by bmourelo@…

Cc: bmourelo@… added

Cc Me!

comment:5 in reply to:  3 ; Changed 14 years ago by pope (K. Adam Christensen)

Replying to jmr@…:

So you have the latest gnome-doc-utils installed?

That is correct. My macports and all of my installed parts are fully up-to-date.

comment:6 in reply to:  description Changed 14 years ago by jsg72@…

Having the same problem. I was the one who had reported it on 23983 - it's just taken me a few days to get back to trying it again. Since then, I've cleaned out all of my ports and installed everything from scratch, and it has the same problem.

comment:7 in reply to:  5 Changed 14 years ago by pope (K. Adam Christensen)

Replying to pope@…:

Replying to jmr@…:

So you have the latest gnome-doc-utils installed?

That is correct. My macports and all of my installed parts are fully up-to-date.

I saw that a newer version of gnome-doc-utils had been released since my last comment. I did upgrade to that release and the problem still exists.

comment:8 Changed 14 years ago by marius.pana@…

Please add me to the list as well.

MacPorts Version: 1.8.2

if [ -f "C/gnome-terminal.xml" ]; then d="../"; else d="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-terminal/work/gnome-terminal-2.26.3.1/help/"; fi; \
        (cd oc/ && \
          `which xml2po` -e -p \
            "${d}oc/oc.po" \
            "${d}C/gnome-terminal.xml" > gnome-terminal.xml.tmp && \
            cp gnome-terminal.xml.tmp gnome-terminal.xml && rm -f gnome-terminal.xml.tmp)
Traceback (most recent call last):
  File "/opt/local/bin/xml2po", line 185, in <module>
    main(sys.argv[1:])
  File "/opt/local/bin/xml2po", line 171, in main
    xml2po_main.merge(mofile, filenames[0])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/xml2po/__init__.py", line 601, in merge
    self.gt = gettext.GNUTranslations(mfile)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/gettext.py", line 314, in _parse
    plural = v[1].split('plural=')[1]
IndexError: list index out of range
make[2]: *** [el/gnome-terminal.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
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-terminal/work/gnome-terminal-2.26.3.1" && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-terminal/work/gnome-terminal-2.26.3.1" && /usr/bin/make -j2 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for gnome-terminal): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

comment:9 Changed 14 years ago by marius.pana@…

Cc: marius.pana@… added

Cc Me!

comment:10 Changed 14 years ago by bret.aarden@…

Cc: bret.aarden@… added

Cc Me!

comment:11 Changed 14 years ago by jgoulah@…

same problem

comment:12 Changed 14 years ago by jgoulah@…

Cc: jgoulah@… added

Cc Me!

comment:13 Changed 14 years ago by schulle79@…

Cc: schulle79@… added

Cc Me!

comment:14 Changed 14 years ago by evangoldenberg@…

Cc: evangoldenberg@… added

Cc Me!

comment:15 Changed 14 years ago by gnumengor@…

Cc: gnumengor@… added

Cc Me!

comment:16 Changed 14 years ago by lzh1984@…

Cc: lzh1984@… added

Cc Me!

comment:17 Changed 14 years ago by redwoodtree@…

Something about the translations are broken.... I didn't need all those languages, so I got rid of them. Not sure if this is a good solution, but ... it made things build properly. Probably the better option is to find out why the language translations in help are broken or enable UTF-8 somewhere or something... but I took the easy way out.

In: work/gnome-terminal-2.26.3.1/help

I edited the Makefile and found this line:

#             figures/terminal-window.png   This image is not used.
DOC_LINGUAS = en_GB 

I took out everything but en_GB and went along my merry way.

comment:18 Changed 14 years ago by jsg72@…

I tried that and it built, but did not run. I'm getting errors that look related to my X configuration (which just out-of-the box on 10.6). Do I need anything else? By the way, I get the same output if I use --disable-factory and/or --sm-client-disable.

Thanks,
Jeff

MacPro 502% gnome-terminal
Xlib:  extension "RANDR" missing on display "/tmp/launch-1Zme68/org.x:0".
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Failed to get the session bus: Not enough memory
Falling back to non-factory mode.
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Not enough memory)
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Not enough memory)
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Not enough memory)
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Not enough memory)
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Not enough memory)
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Not enough memory)
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Not enough memory)
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Not enough memory)
**
ERROR:terminal-app.c:1432:terminal_app_init: assertion failed: (app->default_profile_id != NULL)
Abort trap

comment:19 in reply to:  18 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jsg72@…:

Do I need anything else?

You need to "verify that org.freedesktop.dbus-session.plist is loaded". Please search the mailing list archives; this has been discussed many times before.

comment:20 Changed 13 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed

Current version gnome-terminal 2.30.2 builds and works correctly

Note: See TracTickets for help on using tickets.