Request 309 was acted upon.
_________________________________________________________________________

         URL: https://rt.openpkg.org/id/309
      Ticket: [OpenPKG #309]
     Subject: perl-dbi now broken on Solaris due to recent change
  Requestors: [EMAIL PROTECTED]
       Queue: openpkg
       Owner: Nobody
      Status: new
 Transaction: Ticket created by [EMAIL PROTECTED]
        Time: Mon Jan 12 15:57:15 2004
_________________________________________________________________________

Using perl-dbi-20031129-20031129.src.rpm, I was able to build DBD::Oracle on
Solaris 9. However, using perl-dbi-20040108-20040108.src.rpm, the build blew
up. The problem is due to these recently added lines to the spec file:

      case "%{l_platform -t}" in
          i?86-linux* )
              ;;
          sun*-sunos* )
              #   OpenPKG builds with gcc in 32-bit mode by default
              %{l_shtool} subst \
                   -e 's;demo_rdbms\.mk;demo_rdbms32.mk;g' \
                   Makefile.PL
              ;;
          * )
              echo "Platform \"%{l_platform -t}\" not supported" 1>&2
              exit 1
              ;;
      esac
 
So the DBD:Oracle makefile is now looking for demo_rdbms32.mk rather than
demo_rdbms.mk on Solaris. The problem is that when I build the
oracle-barebone package using Oracle 9.2.0.1, demo_rdbms.mk is present, but
not demo_rdbms32.mk. Hence this spec file works on Linux, and older perl-dbi
packages work on Solaris, but the new spec file now breaks on Solaris.

I searched the cvs repository for perl-dbi so I could try to figure out the
reason for this change, and I could not find this change. Also, there are
problems with the perl-dbi checkins since 2003/11/29:

1) Check-in [13667]
upgrading package: perl-dbi 20031129 -> 20031205

[This one is OK and does not contain the change]

2) Check-in [14091]
upgrading package: perl-dbi 20031230 -> 20040108

[This one internally shows a version change from 2003/12/05 to 2004/01/08,
but still does not contain the change.]

3) Check-in [14092]
upgrading package: perl-dbi 20031230 -> 20040108

[This one internally shows a version change from 2003/12/30 to 2004/01/08,
but still does not contain the change.]

So ticket 14091 is incorrectly labeled and conflicts with 14092, and none
show the change containing the new lines above.

So why was this change made?

Thanks,
       Dennis

Dennis McRitchie
Research & Academic Applications Support (RAAS)
Academic Services Department
Office of Information Technology
Princeton University


______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Bug Database Interface                           www.openpkg.org/bugdb
Bug Database List                            [EMAIL PROTECTED]

Reply via email to