Opened 15 years ago

Closed 15 years ago

#24886 closed defect (fixed)

lesspipe +universal build fails

Reported by: junkblocker@… Owned by: ingmarstein@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: lesspipe

Description (last modified by raimue (Rainer Müller))

05/13/10 Thu 10:05:02 502 % sudo port -d install lesspipe
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/lesspipe
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/lesspipe
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port lesspipe.
DEBUG: Requested variant i386 is not provided by port lesspipe.
DEBUG: Requested variant macosx is not provided by port lesspipe.
DEBUG: Executing variant universal provides universal
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lesspipe/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/lesspipe/work
--->  Computing dependencies for lesspipe
DEBUG: Executing org.macports.main (lesspipe)
--->  Fetching lesspipe
DEBUG: Executing org.macports.fetch (lesspipe)
--->  Verifying checksum(s) for lesspipe
DEBUG: Executing org.macports.checksum (lesspipe)
--->  Checksumming lesspipe-1.71.tar.gz
DEBUG: Correct (md5) checksum for lesspipe-1.71.tar.gz
DEBUG: Correct (sha1) checksum for lesspipe-1.71.tar.gz
DEBUG: Correct (rmd160) checksum for lesspipe-1.71.tar.gz
--->  Extracting lesspipe
DEBUG: Executing org.macports.extract (lesspipe)
--->  Extracting lesspipe-1.71.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/lesspipe/lesspipe-1.71.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lesspipe/work" && /usr/bin/gzip -dc /opt/local/var/macports/distfiles/lesspipe/lesspipe-1.71.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (lesspipe)
--->  Configuring lesspipe
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: Executing org.macports.configure (lesspipe)
DEBUG: Environment: CFLAGS='-O2 -arch x86_64 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64 -arch i386' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib -arch x86_64 -arch i386' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64 -arch i386' FFLAGS='-O2' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lesspipe/work/lesspipe-1.71" && ./configure --prefix=/opt/local --disable-dependency-tracking --yes --shell=/bin/bash'
Unknown option: disable-dependency-tracking
Usage: configure [options]
Options:
  --help                  print this message
  --ask                   ask questions when running make (this is the default
                          for configure but without --ask it is not for make)
  --default               do not ask questions, try to guess correct answer
  --yes                   like --default but assume 'yes' to all questions
  --fixed                 like --yes but use preconfigured answer (see below)
  --shell=<filename>      specify full path to an alternative shell to use
  --nomake                do not generate a Makefile
Directory and file names:
  --prefix=PREFIX         install lesspipe.sh in PREFIX/bin (/usr/local)

configure generates by default both lesspipe.sh and Makefile
configure tries to find required and optional programs for lesspipe.sh
If optional programs are not found, then you can choose between
  - giving the correct location of the program if installed
  - including the code in lesspipe.sh without having the program
  - or skipping the code for the missing program.
Answers to the questions can be preconfigured by modifying the data section
in configure after the __END__ line. For missing data use the default answer
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lesspipe/work/lesspipe-1.71" && ./configure --prefix=/opt/local --disable-dependency-tracking --yes --shell=/bin/bash " returned error 1
DEBUG: Backtrace: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lesspipe/work/lesspipe-1.71" && ./configure --prefix=/opt/local --disable-dependency-tracking --yes --shell=/bin/bash " returned error 1
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for lesspipe): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 15 years ago by raimue (Rainer Müller)

Description: modified (diff)

Please remember WikiFormatting.

comment:2 Changed 15 years ago by raimue (Rainer Müller)

Owner: changed from macports-tickets@… to ingmarstein@…
Summary: 'lesspipe' build failslesspipe +universal build fails

This does not look like a normal build, but instead you are trying to use +universal.

comment:3 Changed 15 years ago by junkblocker@…

I get the same behavior either way. I've tried

sudo port clean lesspipe +universal sudo port install lesspipe

etc.

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Port: lesspipe added

This port is just a shell script, so it can't be built universal. Marked as noarch/non-universal in r67637.

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Which should actually fix the error that is shown in the description. If you get a different error now, reopen and show it.

Note: See TracTickets for help on using tickets.