Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#11888 closed defect (worksforme)

BUG: libiconv 1.11_4+darwin_7 needs gperf 3.0.2

Reported by: william.allen.simpson@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.4
Keywords: libiconv gperf Panther Cc: william.allen.simpson@…, ryandesign (Ryan Carsten Schmidt)
Port:

Description

Many packages require libiconv. Panther gperf is 2.7.2, but installing a current 3.0.2 fixes the problem. Please update the dependency.

The problem is the use of new -m option in the build script.

Error: Target com.apple.build returned: shell command "cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/libiconv-1.11 && make -f Makefile.devel" returned error 2
Command output: gcc -O lib/genaliases.c -o genaliases
./genaliases > lib/aliases.gperf 3> canonical.sh 4> canonical_local.sh
rm -f genaliases
gperf -m 10 lib/aliases.gperf > tmp.h
gperf: invalid option -- m
Usage: gperf [-cCdDef[num]F<initializers>GhH<hashname>i<init>Ijk<keys>K<keyname>lL<language>nN<function name>ors<size>S<switches>tTvW<wordlistname>Z<class name>7] [input-file]
Try `gperf --help' for more information.
make: *** [lib/aliases.h] Error 1
gperf --version
GNU gperf 2.7.2
sw_vers
ProductName:    Mac OS X
ProductVersion: 10.3.9
BuildVersion:   7W98

Change History (6)

comment:1 Changed 17 years ago by pipping@…

actually, there's a variant that does just that.

platform darwin 7 {

build.env-append MACOSX_DEPLOYMENT_TARGET=10.3 configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3 depends_build-append port:gperf

}

that variant should automatically be chosen on panther. are you running the latest version of macports and have you synced recently?

comment:2 Changed 17 years ago by pipping@…

the above, more readable

platform darwin 7 {
    build.env-append        MACOSX_DEPLOYMENT_TARGET=10.3
    configure.env-append    MACOSX_DEPLOYMENT_TARGET=10.3
    depends_build-append    port:gperf
}

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

Cc: william.allen.simpson@… added

Cc'ing reporter.

comment:4 Changed 17 years ago by william.allen.simpson@…

This has been fixed....

1.430

At the time (Wed May 2 10:01:17 EDT), it was:

sudo port selfupdate
Password:
DarwinPorts base version 1.430 installed
Downloaded MacPorts base version 1.430
The MacPorts installation is not outdated and so was not updated
selfupdate done!

1.442

Today (Fri Jun 1 00:52:54 EDT), with:

sudo port selfupdate
Password:
DarwinPorts base version 1.442 installed
Downloaded MacPorts base version 1.442
The MacPorts installation is not outdated and so was not updated
selfupdate done!

forced uninstall

sudo port uninstall libiconv
Password:
--->  Unable to uninstall libiconv 1.11_4+darwin_7, the following ports depend on it:
--->    gettext
--->    apr-util
--->    neon
--->    libexif
--->    libxml2
Error: port uninstall failed: Please uninstall the ports that depend on libiconv first.


sudo port -f uninstall libiconv
--->  Unable to uninstall libiconv 1.11_4+darwin_7, the following ports depend on it:
--->    gettext
--->    apr-util
--->    neon
--->    libexif
--->    libxml2
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating libiconv 1.11_4+darwin_7
--->  Uninstalling libiconv 1.11_4+darwin_7


sudo port -f uninstall gperf
--->  The following versions of gperf are currently installed:
--->    gperf @3.0.2_0
--->    gperf @3.0.3_0 (active)
Error: port uninstall failed: Registry error: Please specify the full version as recorded in the port registry.


sudo port -f uninstall gperf@3.0.2_0
--->  Uninstalling gperf 3.0.2_0


sudo port -f uninstall gperf@3.0.3_0
--->  Deactivating gperf 3.0.3_0
--->  Uninstalling gperf 3.0.3_0

reinstall worked!

sudo port install libiconv
--->  Fetching gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf with target all
--->  Staging gperf into destroot
--->  Installing gperf 3.0.3_0
--->  Activating gperf 3.0.3_0
--->  Cleaning gperf
--->  Fetching libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Configuring libiconv
--->  Building libiconv with target all
--->  Staging libiconv into destroot
--->  Installing libiconv 1.11_4+darwin_7
--->  Activating libiconv 1.11_4+darwin_7
--->  Cleaning libiconv

comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Not sure what that was, but I'm glad it works for you now.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.