<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>83630</bug_id>
          
          <creation_ts>2005-02-28 19:30 0000</creation_ts>
          <short_desc>pine-4.61-r2 fails to compile under Mac OS X 10.3.8</short_desc>
          <delta_ts>2006-09-09 09:01:31 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo/Alt</product>
          <component>Mac OSX</component>
          <version>unspecified</version>
          <rep_platform>PPC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>joe@recompiled.org</reporter>
          <assigned_to>ppc-macos@gentoo.org</assigned_to>
          <cc>net-mail@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>joe@recompiled.org</who>
            <bug_when>2005-02-28 19:30:38 0000</bug_when>
            <thetext>If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make slx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
osdep.c:35:20: shadow.h: No such file or directory
In file included from osdep.c:46:
tz_sv4.c: In function `rfc822_timezone&apos;:
tz_sv4.c:30: error: `daylight&apos; undeclared (first use in this function)
tz_sv4.c:30: error: (Each undeclared identifier is reported only once
tz_sv4.c:30: error: for each function it appears in.)
osdep.c: In function `checkpw&apos;:
osdep.c:113: warning: assignment makes pointer from integer without a cast
osdep.c:113: error: dereferencing pointer to incomplete type
osdep.c:114: error: dereferencing pointer to incomplete type
osdep.c:114: error: dereferencing pointer to incomplete type
osdep.c:115: error: dereferencing pointer to incomplete type
osdep.c:115: error: dereferencing pointer to incomplete type
osdep.c:116: error: dereferencing pointer to incomplete type
osdep.c:116: error: dereferencing pointer to incomplete type
osdep.c:117: error: dereferencing pointer to incomplete type
osdep.c:117: error: dereferencing pointer to incomplete type
osdep.c:117: error: dereferencing pointer to incomplete type
osdep.c:118: error: dereferencing pointer to incomplete type
osdep.c:118: error: dereferencing pointer to incomplete type
osdep.c:119: error: dereferencing pointer to incomplete type
osdep.c:119: error: dereferencing pointer to incomplete type
osdep.c:120: error: dereferencing pointer to incomplete type
osdep.c:120: error: dereferencing pointer to incomplete type
osdep.c:120: error: dereferencing pointer to incomplete type
osdep.c:127: error: dereferencing pointer to incomplete type
osdep.c:127: error: dereferencing pointer to incomplete type
make[3]: *** [osdep.o] Error 1
make[2]: *** [slx] Error 2
make[1]: *** [OSTYPE] Error 2
make: *** [slx] Error 2
+---------------------------------------------+
| Problems building c-client                  |
|                                             |
| Please check the output above for a         |
| possible explanation for this failure       |
+---------------------------------------------+


!!! ERROR: mail-client/pine-4.61-r2 failed.
!!! Function src_compile, Line 114, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

almost:/usr/portage/net-mail joe$ 

Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joe@recompiled.org</who>
            <bug_when>2005-02-28 19:32:29 0000</bug_when>
            <thetext>First time reporting on Gentoo on Mac OS X... here&apos;s my emerge info. This occured when attempting to emerge pine on Mac OS X 10.3.8. 

Let me know if you need more info, want more testing, etc. Thanks guys!

almost:/usr/portage/net-mail joe$ emerge info
Password:
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51-r15 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.8.0 Power Macintosh)
=================================================================
System uname: 7.8.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS=&quot;ppc-macos&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -pipe&quot;
CHOST=&quot;powerpc-apple-darwin&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache collision-protect distlocks userpriv&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;ppc emboss ncurses nls ppc-macos readline&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2005-03-30 07:58:55 0000</bug_when>
            <thetext>Anything new with this one? Does latest 4.62-r2 work for you by any chance?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joe@recompiled.org</who>
            <bug_when>2005-03-30 23:19:28 0000</bug_when>
            <thetext>The problem appears identical when emerging pine-4.62-r2. The line numbers match and the error message appears to be identical.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidrogers@mac.com</who>
            <bug_when>2005-04-03 05:45:02 0000</bug_when>
            <thetext>In order to ensure that pine builds right under os x, the following marked lines should be added to the ebuild.  Pine already knows about OS X, so you just need to tell it the correct platform.

        if use pam ; then
                target=lnp
        else
                target=slx
        fi

&gt;        if use ppc-macos ; then
&gt;                target=osx
&gt;        fi

        ./build ${myconf} ${target} || die &quot;compile problem&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidrogers@mac.com</who>
            <bug_when>2005-04-03 05:49:09 0000</bug_when>
            <thetext>Created an attachment (id=55182)
Patch to make pine recognize that it is on os x
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>j4rg0n@gentoo.org</who>
            <bug_when>2005-04-03 13:36:33 0000</bug_when>
            <thetext>Okay, we have a few issues here. Firstly, pine does not build with either ldap, pam or ssl.
The ldap problem is because pine expects libldap.a and we have the dylib (dynamic) version. Is there
a real reason why pine needs the static version?

Secondly, pine installs pico, which is already provided by macos. Users of the -collision-protect
profile may want to overwrite the Apple-provided pico, however I don&apos;t want to block pine on 
collision-protect machines just because of pico. Should we rm pico if FEATURES has collision-protect?

Thoughts on fixing either of those two issues would be appreciated. I am not a pine user, so I am
going to rely on you guys to make sure things actually work as expected.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2005-04-03 15:12:41 0000</bug_when>
            <thetext>As for the pico issue, I think it&apos;s safe to rm pico from pine install and make pine depend on already-installed pico (if you can find out how to reliably check for its presence). Afaik pine doesn&apos;t even directly use pico, so it shouldn&apos;t matter.

As for the dynlib vs. static issue, I suggest you contact upstream, namely Eduardo Chappa (I&apos;m not going to write his email here to protect him from spam, it&apos;s easy to find anyway), who has helped me with some pine questions already in the past.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2005-06-11 00:58:48 0000</bug_when>
            <thetext>On Tiger, pico is nothing more than a symlink:

% la /usr/bin/pico
lrwxr-xr-x   1 root  wheel  4 May 12 19:58 /usr/bin/pico -&gt; nano</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>j4rg0n@gentoo.org</who>
            <bug_when>2005-06-12 18:11:32 0000</bug_when>
            <thetext>Emailed the maintainer about the library issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2005-08-24 13:17:42 0000</bug_when>
            <thetext>Still no new info about this issue?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>j4rg0n@gentoo.org</who>
            <bug_when>2005-08-29 12:52:57 0000</bug_when>
            <thetext>Unfortunately, I was not able to get a response from the maintainer. If someone can get a hold of him and 
ask about the static vs. dynmaic library issue that would be helpful.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2006-09-09 08:58:11 0000</bug_when>
            <thetext>Guys, j4rg0n is retired, and this bug has no activity for a year. Can someone have a look at it please? Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2006-09-09 09:01:31 0000</bug_when>
            <thetext>heu.... Panther is not supported any more.  Sorry.  Just use mutt :p</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55182</attachid>
            <date>2005-04-03 05:49 0000</date>
            <desc>Patch to make pine recognize that it is on os x</desc>
            <filename>pine-osx.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">MTQ0LDE0N2QxNDMKPCAJaWYgdXNlIHBwYy1tYWNvcyA7IHRoZW4KPCAJCXRhcmdldD1vc3gKPCAJ
ZmkKPCAK
</data>        

          </attachment>
    </bug>

</bugzilla>