Opened 19 years ago

Closed 19 years ago

Last modified 9 years ago

#7302 closed defect (fixed)

BUG: logrotate fails on popt dependency

Reported by: amgine@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: olegb@…, n3npq@…, markd@…
Port: popt

Description (last modified by ryandesign (Ryan Carsten Schmidt))

logrotate 3.7, sysutils/logrotate
http://packages.debian.org/stable/admin/logrotate
Maintainers: markd@opendarwin.org
popt 1.10.4, Revision 1, devel/popt
Maintainers: n3npq@mac.com
Amgines-Computer:~ amgine$ sudo port install logrotate
Password:
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.10.tar.gz from ftp://ftp.gnu.org/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Configuring libiconv
--->  Building libiconv with target all
--->  Staging libiconv into destroot
--->  Packaging tgz archive for libiconv 1.10_1+darwin_7
--->  Installing libiconv 1.10_1+darwin_7
--->  Activating libiconv 1.10_1+darwin_7
--->  Cleaning libiconv
--->  Fetching gettext
--->  Attempting to fetch gettext-0.14.5.tar.gz from ftp://ftp.gnu.org/gnu/gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Configuring gettext
--->  Building gettext with target all
--->  Staging gettext into destroot
--->  Packaging tgz archive for gettext 0.14.5_0
--->  Installing gettext 0.14.5_0
--->  Activating gettext 0.14.5_0
--->  Cleaning gettext
--->  Fetching popt
--->  Attempting to fetch popt-1.10.4.tar.gz from ftp://wraptastic.org/pub/rpm-4.4.x
--->  Verifying checksum(s) for popt
--->  Extracting popt
--->  Configuring popt
--->  Building popt with target all
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_devel_popt/work/popt-1.10.4" && make all" returned error 2
Command output: cd . && /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_popt/work/popt-1.10.4/missing --run autoheader
Can't locate object method "path" via package "Autom4te::Request" at /usr/bin/autom4te line 81.
autoheader: /usr/bin/autom4te failed with exit status: 1
make: *** [config.h.in] Error 1

Error: The following dependencies failed to build: popt
Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (7)

comment:1 Changed 19 years ago by dports@…

Cc: n3npq@… added

If it helps, popt builds fine on 10.4 but not 10.3.

Looks like it should be using /opt/local/bin/autom4te rather than /usr/bin/autom4te.

comment:2 Changed 19 years ago by olegb@…

Cc: olegb@… added

(In reply to comment #1)

If it helps, popt builds fine on 10.4 but not 10.3.

Looks like it should be using /opt/local/bin/autom4te rather than /usr/bin/autom4te.

Anyone with a 10.3 box that can test this:

--- Portfile    1 Feb 2006 23:06:14 -0000       1.16
+++ Portfile    17 Feb 2006 22:22:26 -0000
@@ -28,3 +28,7 @@
 }
 
 checksums      md5 dd22a6873b43d00f75e1c1b7dcfd1ff7
+
+platform darwin 7 {
+       depends_build-append port:autoconf
+}
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 19 years ago by markd@…

(In reply to comment #2)

(In reply to comment #1)

If it helps, popt builds fine on 10.4 but not 10.3.

Looks like it should be using /opt/local/bin/autom4te rather than /usr/bin/autom4te.

Anyone with a 10.3 box that can test this:

--- Portfile    1 Feb 2006 23:06:14 -0000       1.16
+++ Portfile    17 Feb 2006 22:22:26 -0000
@@ -28,3 +28,7 @@
 }

 checksums      md5 dd22a6873b43d00f75e1c1b7dcfd1ff7
+
+platform darwin 7 {
+       depends_build-append port:autoconf
+}

Installing port automake before popt on 10.3 does make it install with no errors. But for some reason the popt port is ignoring the platform statement or the depends_build-append. I tried these and it never installed port:automake, yet no errors. I don't understand it.

platform darwin 7 {
       depends_build-append  port:autoconf
}

platform darwin 7 {
       depends_lib-append  port:autoconf
}
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 19 years ago by mww@…

Summary: logrotate fails on popt dependencyBUG: logrotate fails on popt dependency

comment:5 Changed 19 years ago by markd@…

Cc: markd@… added
+
+platform darwin 7 {
+       depends_build-append port:autoconf
+}

Oops, I had to rerun portindex before variant was recognized. I tested the patch on 10.3 and committed it. This bug can be closed.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 19 years ago by olegb@…

Resolution: fixed
Status: newclosed

Closing ... Thanks Mark - totally forgot about this.

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

Description: modified (diff)
Port: popt added
Note: See TracTickets for help on using tickets.