Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#18200 closed defect (fixed)

glib2 fails to install with "gtkdoc-rebase: command not found"

Reported by: andilipa@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: glib2

Description (last modified by skymoo (Adam Mercer))

I was trying to install R, and the installation exits with the following error message.

/bin/sh: line 1: gtkdoc-rebase: command not found
make[5]: *** [install-data-local] Error 127
make[4]: *** [install-am] Error 2
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/work/glib-2.18.3" && make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/work/destroot " returned error 2
Command output: -- Installing ./html/glib.html
-- Installing ./html/gtester-report.html
-- Installing ./html/gtester.html
-- Installing ./html/home.png
-- Installing ./html/index.html
-- Installing ./html/index.sgml
-- Installing ./html/ix01.html
-- Installing ./html/ix02.html
-- Installing ./html/ix03.html
-- Installing ./html/ix04.html
-- Installing ./html/ix05.html
-- Installing ./html/ix06.html
-- Installing ./html/ix07.html
-- Installing ./html/ix08.html
-- Installing ./html/ix09.html
-- Installing ./html/ix10.html
-- Installing ./html/ix11.html
-- Installing ./html/left.png
-- Installing ./html/mainloop-states.gif
-- Installing ./html/right.png
-- Installing ./html/style.css
-- Installing ./html/tools.html
-- Installing ./html/up.png
/bin/sh: line 1: gtkdoc-rebase: command not found
make[5]: *** [install-data-local] Error 127
make[4]: *** [install-am] Error 2
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

Warning: the following items did not execute (for glib2): org.macports.activate org.macports.destroot org.macports.install

The Mac OS is 10.4.11

Change History (7)

comment:1 Changed 16 years ago by skymoo (Adam Mercer)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: glib2 added; R removed
Summary: R fails to buildglib2 failis to install with "gtkdoc-rebase: command not found"

Assign to maintainer

comment:2 Changed 16 years ago by skymoo (Adam Mercer)

Looks like a duplicate of #17418, run a selfupdate and try again

comment:3 Changed 16 years ago by andilipa@…

I have tried that. I even tried completely cleaning out my entire MacPorts distribution and reinstalling everything again.

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: glib2 failis to install with "gtkdoc-rebase: command not found"glib2 fails to install with "gtkdoc-rebase: command not found"

Interesting. I don't know why it's still running gtkdoc-rebase for you, since I did patch glib2 during the 2.18.3 update to not run gtkdoc-rebase if it is not present.

I did report the bug upstream and they say it is fixed in gtk-doc 1.12. I do not know how long it will take for the fix to trickle down into a glib release.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 15 years ago by nox@…

Resolution: fixed
Status: newclosed

So it should have been fixed in gtk-doc 1.12 and we currently have 1.13

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Note it does not matter what version of gtk-doc is currently available; it matters whether or not the people who package the glib2 releases have updated to gtk-doc 1.12 or later. But it appears this is what they did between 2.22.2 and 2.22.3; see r61144 in which I removed the "which" patch.

Note: See TracTickets for help on using tickets.