Opened 13 years ago

Closed 12 years ago

#27634 closed defect (fixed)

Build of gengetopt-2.22.4 fails with source-highlight installed

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gengetopt

Description

On Mac OS X 10.5.8, PPC, upgrading fails here since some days:

Making all in doc
/opt/local/bin/source-highlight -f texinfo --style-file=texinfo.style --output-dir=../doc/ cmdline1.h 
outlang.map:1: wrong specificationhtml = html.outlang
make[2]: *** [cmdline1.h.texinfo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gengetopt/work/gengetopt-2.22.4" && /usr/bin/make all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for gengetopt): org.macports.destroot org.macports.build
Log for gengetopt is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gengetopt/main.log
DEBUG: invalid command name "::ui_init"
    while executing
"::ui_init any stdout"
    ("eval" body line 1)
    invoked from within
"eval ::ui_init $priority $prefix $channels($priority) $args"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $body"
Error: Unable to upgrade port: 1

Attachments (3)

main.log (2.6 KB) - added by ballapete (Peter "Pete" Dyballa) 13 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gengetopt/main.log
main.2.log (57.6 KB) - added by ballapete (Peter "Pete" Dyballa) 13 years ago.
New main.log file, after removing the formerly compiled software.
gengetopt-no-source-highlight.diff (388 bytes) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
tentative patch proposal

Download all attachments as: .zip

Change History (11)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; waqar@… removed
Owner: changed from macports-tickets@… to waqar@…

Please attach the complete main.log.

Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gengetopt/main.log

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Summary: Build of gengetopt-2.22.4 fails with: outlang.map:1: wrong specificationhtml = html.outlangBuild of gengetopt-2.22.4 fails with source-highlight installed

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Please attach a complete main.log, one that does not have any "Skipping completed" lines. Please clean the port (sudo port clean gengetopt) and try building it again, then attach the log.

It builds fine for me on Snow Leopard x86_64 and Leopard ppc even with source-highlight installed so something else must be different too...

comment:4 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

I have these packages installed:

The following ports are currently installed:
  asciidoc @8.6.3_0 (active)
  atk @1.30.0_0 (active)
  autoconf @2.68_1 (active)
  automake @1.11.1_0 (active)
  bdftopcf @1.0.3_0 (active)
  binutils @2.21_0 (active)
  blackbox @0.70.1_1 (active)
  boost @1.45.0_1 (active)
  boost-jam @3.1.18_0 (active)
  bzip2 @1.0.6_0 (active)
  bzr @2.2.2_0 (active)
  cairo @1.10.0_1 (active)
  cmake @2.8.3_1 (active)
  coreutils @8.5_1 (active)
  ctags @5.8_0 (active)
  curl @7.21.2_2+ssl (active)
  curl-ca-bundle @7.21.2_4 (active)
  db46 @4.6.21_6 (active)
  dbus @1.2.24_1 (active)
  dbus-glib @0.92_0 (active)
  desktop-file-utils @0.15_1 (active)
  docbook-xml @5.0_0 (active)
  docbook-xml-4.1.2 @4.1.2_1 (active)
  docbook-xml-4.2 @4.2_0 (active)
  docbook-xml-4.3 @4.3_0 (active)
  docbook-xml-4.4 @4.4_0 (active)
  docbook-xml-4.5 @4.5_0 (active)
  docbook-xml-5.0 @5.0_0 (active)
  docbook-xsl @1.76.1_0 (active)
  doxygen @1.7.2_0 (active)
  eggdbus @0.6_0 (active)
  expat @2.0.1_1 (active)
  fdupes @1.40_0 (active)
  findutils @4.4.2_1 (active)
  font-adobe-100dpi @1.0.2_0 (active)
  font-adobe-75dpi @1.0.2_0 (active)
  font-adobe-utopia-100dpi @1.0.3_0 (active)
  font-adobe-utopia-75dpi @1.0.3_0 (active)
  font-adobe-utopia-type1 @1.0.3_0 (active)
  font-alias @1.0.1_0 (active)
  font-arabic-misc @1.0.2_0 (active)
  font-bh-100dpi @1.0.2_0 (active)
  font-bh-75dpi @1.0.2_0 (active)
  font-bh-lucidatypewriter-100dpi @1.0.2_0 (active)
  font-bh-lucidatypewriter-75dpi @1.0.2_0 (active)
  font-bh-ttf @1.0.3_0 (active)
  font-bh-type1 @1.0.2_0 (active)
  font-bitstream-100dpi @1.0.2_0 (active)
  font-bitstream-75dpi @1.0.2_0 (active)
  font-bitstream-speedo @1.0.1_0 (active)
  font-bitstream-type1 @1.0.2_0 (active)
  font-cronyx-cyrillic @1.0.2_0 (active)
  font-cursor-misc @1.0.2_0 (active)
  font-daewoo-misc @1.0.2_0 (active)
  font-dec-misc @1.0.2_0 (active)
  font-ibm-type1 @1.0.2_0 (active)
  font-isas-misc @1.0.2_0 (active)
  font-jis-misc @1.0.2_0 (active)
  font-micro-misc @1.0.2_0 (active)
  font-misc-cyrillic @1.0.2_0 (active)
  font-misc-ethiopic @1.0.2_0 (active)
  font-misc-meltho @1.0.2_0 (active)
  font-misc-misc @1.1.1_0 (active)
  font-mutt-misc @1.0.2_0 (active)
  font-schumacher-misc @1.1.1_0 (active)
  font-screen-cyrillic @1.0.3_0 (active)
  font-sony-misc @1.0.2_0 (active)
  font-sun-misc @1.0.2_0 (active)
  font-winitzki-cyrillic @1.0.2_0 (active)
  font-xfree86-type1 @1.0.3_0 (active)
  fontconfig @2.8.0_0+macosx (active)
  fop @1.0_1 (active)
  freetype @2.3.12_0
  freetype @2.4.1_0
  freetype @2.4.2_0
  freetype @2.4.3_0
  freetype @2.4.4_0 (active)
  gconf @2.28.1_0 (active)
  gd2 @2.0.35_8 (active)
  gdbm @1.8.3_2 (active)
  gdk-pixbuf @0.22.0_4 (active)
  gdk-pixbuf2 @2.22.1_0 (active)
  gengetopt @2.22_0 (active)
  getopt @1.1.4_1 (active)
  gettext @0.18.1.1_2 (active)
  ghostscript @9.00_4 (active)
  giflib @4.1.6_1 (active)
  git-core @1.7.3.2_1+doc (active)
  glib1 @1.2.10_6 (active)
  glib2 @2.26.1_0 (active)
  glut @3.7_3 (active)
  gmp @5.0.1_0+powerpc (active)
  gnome-common @2.28.0_0 (active)
  gnome-doc-utils @0.20.2_0 (active)
  gnome-mime-data @2.18.0_3 (active)
  gnome-vfs @2.24.4_0 (active)
  gpatch @2.6.1_1 (active)
  gperf @3.0.4_0 (active)
  graphviz @2.26.3_2 (active)
  grep @2.7_0 (active)
  groff @1.20.1_1 (active)
  gsed @4.2.1_1 (active)
  gtk-doc @1.15_0 (active)
  gtk1 @1.2.10_9 (active)
  gtk2 @2.22.1_0+x11 (active)
  gv @3.7.1_1 (active)
  help2man @1.38.2_0 (active)
  imake @1.0.3_0 (active)
  intltool @0.40.6_0 (active)
  iso-codes @3.22_0 (active)
  jasper @1.900.1_7 (active)
  jpeg @8b_0 (active)
  lcms @1.19_2 (active)
  libart_lgpl @2.3.21_0 (active)
  libbonobo @2.24.3_0 (active)
  libcroco @0.6.2_2 (active)
  libgsf @1.14.19_0 (active)
  libiconv @1.13.1_0 (active)
  libidl @0.8.14_0 (active)
  libidn @1.19_0 (active)
  libLASi @1.1.0_0 (active)
  libotf @0.9.5_0 (active)
  libpaper @1.1.24_0 (active)
  libpixman @0.20.0_0 (active)
  libpng @1.2.44_0 (active)
  librsvg @2.32.1_0 (active)
  libsigsegv @2.7_0 (active)
  libspectre @0.2.6_1 (active)
  libtool @2.4_0 (active)
  libxml2 @2.7.8_0 (active)
  libxslt @1.1.26_0 (active)
  m4 @1.4.15_2 (active)
  makedepend @1.0.3_0 (active)
  mesa @7.8.2_2 (active)
  mkfontdir @1.0.6_0 (active)
  mkfontscale @1.0.8_0 (active)
  ncurses @5.7_1 (active)
  ncursesw @5.7_1 (active)
  openjpeg @1.3_3 (active)
  openssl @1.0.0c_0 (active)
  orbit2 @2.14.19_0 (active)
  p5-error @0.17016_0 (active)
  p5-getopt-long @2.38_0 (active)
  p5-locale-gettext @1.05_3 (active)
  p5-pathtools @3.33_0 (active)
  p5-scalar-list-utils @1.23_0 (active)
  p5-term-readkey @2.30_0 (active)
  p5-tk @804.029_0 (active)
  p5-xml-parser @2.40_0 (active)
  pango @1.28.3_0 (active)
  pcre @8.10_0 (active)
  perl5 @5.8.9_0 (active)
  perl5.8 @5.8.9_3 (active)
  pkgconfig @0.25_1 (active)
  policykit @0.96_0 (active)
  poppler @0.14.5_0 (active)
  poppler-data @0.4.4_0 (active)
  popt @1.16_0 (active)
  py26-crypto @2.3_0 (active)
  py26-curl @7.19.0_0 (active)
  py26-distribute @0.6.14_0 (active)
  py26-docutils @0.7_0 (active)
  py26-libxml2 @2.6.21_0 (active)
  py26-paramiko @1.7.6_0 (active)
  py26-pil @1.1.7_2 (active)
  py26-pyrex @0.9.9_0 (active)
  py26-roman @1.4.0_0 (active)
  py26-setuptools @0.6c11_0
  python26 @2.6.6_0 (active)
  python_select @0.3_0 (active)
  quartz-wm @1.0.3_1 (active)
  rarian @0.8.1_0 (active)
  readline @6.1.002_0 (active)
  rsync @3.0.7_0 (active)
  shared-mime-info @0.80_0 (active)
  source-highlight @3.1.4_0 (active)
  sqlite3 @3.7.3_0 (active)
  tcl @8.5.9_0 (active)
  tiff @3.9.4_0 (active)
  tk @8.5.9_0 (active)
  urw-fonts @1.0.7pre44_0 (active)
  xattr @0.1_2 (active)
  xauth @1.0.5_0 (active)
  Xaw3d @1.5E_4 (active)
  xbitmaps @1.1.0_1 (active)
  Xft2 @2.2.0_0 (active)
  xinit @1.3.0_0 (active)
  xkbcomp @1.2.0_0 (active)
  xkeyboard-config @2.0_0 (active)
  xmlcatmgr @2.2_1 (active)
  xmodmap @1.0.5_0 (active)
  xorg-applewmproto @1.4.1_0 (active)
  xorg-bigreqsproto @1.1.1_0 (active)
  xorg-cf-files @1.0.3_0 (active)
  xorg-compositeproto @0.4.2_0 (active)
  xorg-damageproto @1.2.1_0 (active)
  xorg-dri2proto @2.3_0 (active)
  xorg-encodings @1.0.4_0 (active)
  xorg-fixesproto @4.1.2_0 (active)
  xorg-font-util @1.2.0_0 (active)
  xorg-fontcacheproto @0.1.3_0 (active)
  xorg-fonts @20090102_1 (active)
  xorg-fontsproto @2.1.1_0 (active)
  xorg-glproto @1.4.12_0 (active)
  xorg-inputproto @2.0.1_0 (active)
  xorg-kbproto @1.0.5_0 (active)
  xorg-libAppleWM @1.4.0_0 (active)
  xorg-libfontenc @1.1.0_0 (active)
  xorg-libice @1.0.7_0 (active)
  xorg-libpthread-stubs @0.3_0 (active)
  xorg-libsm @1.2.0_0 (active)
  xorg-libX11 @1.4.0_1 (active)
  xorg-libXau @1.0.6_0 (active)
  xorg-libXaw @1.0.8_0 (active)
  xorg-libxcb @1.7_0+python26 (active)
  xorg-libXcomposite @0.4.3_0 (active)
  xorg-libXcursor @1.1.11_0 (active)
  xorg-libXdamage @1.1.3_0 (active)
  xorg-libXdmcp @1.1.0_0 (active)
  xorg-libXext @1.2.0_0 (active)
  xorg-libXfixes @4.0.5_0 (active)
  xorg-libXfont @1.4.3_0 (active)
  xorg-libXfontcache @1.0.5_0 (active)
  xorg-libXi @1.4.0_0 (active)
  xorg-libXinerama @1.1.1_0 (active)
  xorg-libxkbfile @1.0.7_0 (active)
  xorg-libXmu @1.1.0_0 (active)
  xorg-libXp @1.0.0_3 (active)
  xorg-libXrandr @1.3.1_0 (active)
  xorg-libXScrnSaver @1.2.1_0 (active)
  xorg-libXt @1.0.9_0 (active)
  xorg-libXxf86misc @1.0.3_0 (active)
  xorg-printproto @1.0.4_0 (active)
  xorg-randrproto @1.3.2_0 (active)
  xorg-recordproto @1.14.1_0 (active)
  xorg-renderproto @0.11.1_0 (active)
  xorg-resourceproto @1.1.0_0 (active)
  xorg-scrnsaverproto @1.2.1_0 (active)
  xorg-server @1.7.6_1+macosx
  xorg-server-devel @1.9.0_0
  xorg-server-devel @1.9.0_1
  xorg-server-devel @1.9.0.901_0
  xorg-server-devel @1.9.0.902_0
  xorg-server-devel @1.9.1_0
  xorg-server-devel @1.9.2_0
  xorg-server-devel @1.9.2.901_0 (active)
  xorg-sgml-doctools @1.5.99.901_0 (active)
  xorg-util-macros @1.11.0_0 (active)
  xorg-videoproto @2.3.1_0 (active)
  xorg-xcb-proto @1.6_0+python26 (active)
  xorg-xcmiscproto @1.2.1_0 (active)
  xorg-xextproto @7.1.2_0 (active)
  xorg-xf86bigfontproto @1.2.0_0 (active)
  xorg-xf86miscproto @0.9.3_0 (active)
  xorg-xineramaproto @1.2_0 (active)
  xorg-xproto @7.0.19_0 (active)
  xorg-xtrans @1.2.6_0 (active)
  xpm @3.5.9_0 (active)
  xrandr @1.3.4_0 (active)
  xrdb @1.0.7_0 (active)
  xrender @0.9.6_0 (active)
  xset @1.2.1_0 (active)
  zlib @1.2.5_0 (active)

Did you compare the two compilation logs? There should be some obvious difference. I can clean and compile completely once more and send you this log – or you send me your compilation log and I'll compare with mine in GNU Emacs...

comment:5 in reply to:  4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to Peter_Dyballa@…:

Did you compare the two compilation logs?

I tried to, but your log was not complete so I could not. Please attach a complete log.

Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.2.log added

New main.log file, after removing the formerly compiled software.

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

tentative patch proposal

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

The differences I see between your log and mine are:

  • You are building as root; I'm not (shouldn't matter)
  • You're using "configurepipe no" in your macports.conf, which was the default some time ago; I'm using "configurepipe yes", which is the default now (I don't think this matters)
  • You're using Mac OS X's awk, I'm using MacPorts' gawk (might matter)
  • You're using MacPorts' grep, I'm using Mac OS X's grep (might matter)

I can't test on Leopard right at this moment so I can't try to isolate this further.

Still, I don't like how this port is finding and using source-highlight when we're not declaring a dependency on it. And it looks like the problem occurs for you when it runs source-highlight. So try the attached patch which prevents the use of source-highlight even if it's installed.

comment:7 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

With the patch applied to the Port file the failure is now different:

Making all in doc
../src/gengetopt -i ./sample1.ggo -Fcmdline1 --long-help -u --show-required
no -f texinfo --style-file=texinfo.style --output-dir=../doc/ ../tests/test_conf_parser_ov2.c
make[2]: no: Command not found
make[2]: *** [test_conf_parser_ov2.c.texinfo] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Do you need the main.log file?

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.