Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#54394 closed defect (fixed)

codeblocks: fails to find glibtoolize, automake.cmd removes deps

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mf2k (Frank Schima), cooljeanius (Eric Gallager)
Port: codeblocks

Description

I didn't understand why codeblocks failed to build:

Found revision: '11098' '2017-06-21 13:35:48'
./bootstrap: line 66: libtoolize: command not found

I don't have libtoolize, but I do have glibtoolize which is part of port libtool.

Trace mode reports:

Warning: The following existing files were hidden from the build system by trace mode:
  /opt/local/bin/egrep
  /opt/local/bin/git
  /opt/local/bin/glibtool
  /opt/local/bin/glibtoolize
  /opt/local/bin/libtool

and then I discovered:

> port info codeblocks
codeblocks @16.01-11098 (devel, aqua, x11)
...
Fetch Dependencies:   subversion
Build Dependencies:   pkgconfig
Library Dependencies: boost, hunspell, wxWidgets-3.0

If I comment out

autoconf.cmd        ./bootstrap

then dependencies are fine again:

Build Dependencies:   pkgconfig, autoconf, automake, libtool

Change History (4)

comment:1 Changed 7 years ago by mojca (Mojca Miklavec)

What helps is putting build dependencies after autoconf.cmd (I run into other problems in trace mode though; wxWidgets is not found for example).

comment:2 Changed 7 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

In 63edea880b8c60699f584d294352acee6f84899b/macports-ports:

codeblocks: "fix" order of dependencies

The autoconf.cmd seems to remove dependencies on autotools,
so we need to add them after setting autoconf.cmd.

Closes: #54394

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Nice work! I was wondering why those build dependencies were not showing up.

comment:4 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.