[MacPorts] #34275: pdftk should not depend on gcc42

MacPorts noreply at macports.org
Tue Oct 16 15:50:36 PDT 2012


#34275: pdftk should not depend on gcc42
------------------------+--------------------------
  Reporter:  jharmon@…  |      Owner:  ryandesign@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.0.4
Resolution:             |   Keywords:
      Port:  pdftk      |
------------------------+--------------------------

Comment (by Peter_Dyballa@…):

 Replying to [comment:12 ryandesign@…]:
 >
 > If the gcc47 variant works for all users on all platforms I'd be happy
 to just leave that and remove the rest. However not too long ago it was
 not possible to build gcc47 on PowerPC; I'm not sure if that was ever
 fixed. Certainly right now would be a poor time to try to test this, since
 other problems have been introduced into the gcc4* ports in the past few
 days that need to be ironed out first, before I go spending days of CPU
 time trying to compile the gcc4* updates on my Power Mac.

 In Fink I could build GCC 4.7.2 on Leopard, Mac OS X 10.5.8, G4. Jack
 Howarth, Fink's maintainer of that package, could build GCC 4.7.2 on a G5.

 My own success is a bit troublesome. The first two tries failed here:

 {{{
         Comparing stages 2 and 3
         warning: gcc/cc1-checksum.o differs
         warning: gcc/cc1obj-checksum.o differs
         warning: gcc/cc1objplus-checksum.o differs
         warning: gcc/cc1plus-checksum.o differs
         Bootstrap comparison failure!
         gcc/host-darwin.o differs
 }}}

 Such files were built then:

 {{{
 3084 10 Okt 20:39 gcc47-4.7.2-1000/darwin_objdir/stage1-gcc/cc1-checksum.o
 3092 10 Okt 20:45 gcc47-4.7.2-1000/darwin_objdir/stage1-gcc/cc1plus-
 checksum.o

  512 11 Okt 02:56 gcc47-4.7.2-1000/darwin_objdir/stage2-gcc/cc1-checksum.o
  512 11 Okt 03:44 gcc47-4.7.2-1000/darwin_objdir/stage2-gcc/cc1plus-
 checksum.o
  512 11 Okt 04:42 gcc47-4.7.2-1000/darwin_objdir/stage2-gcc/cc1obj-
 checksum.o
  512 11 Okt 04:49 gcc47-4.7.2-1000/darwin_objdir/stage2-gcc/cc1objplus-
 checksum.o

 2776 11 Okt 07:47 gcc47-4.7.2-1000/darwin_objdir/stage3-gcc/cc1-checksum.o
 2784 11 Okt 07:57 gcc47-4.7.2-1000/darwin_objdir/stage3-gcc/cc1plus-
 checksum.o
 2784 11 Okt 08:13 gcc47-4.7.2-1000/darwin_objdir/stage3-gcc/cc1obj-
 checksum.o
 2792 11 Okt 08:14 gcc47-4.7.2-1000/darwin_objdir/stage3-gcc/cc1objplus-
 checksum.o

 5544 10 Okt 20:37 gcc47-4.7.2-1000/darwin_objdir/stage1-gcc/host-darwin.o
 1728 11 Okt 02:52 gcc47-4.7.2-1000/darwin_objdir/stage2-gcc/host-darwin.o
 5876 11 Okt 07:44 gcc47-4.7.2-1000/darwin_objdir/stage3-gcc/host-darwin.o
 }}}

 Interestingly I had a disk low warning around the time when the build
 finished with the error message.  At the time when the differing files
 were created the disk had enough space. I then decided to build GCC 4.7.2
 on a different volume, which is used to hold the swap files and was
 intended to also hold virtual systems. While the original volume has HFSX
 with a journal, the other volume has HFS without a journal. The
 compilation on that volume succeeded – like that:

 {{{
         Comparing stages 2 and 3
         warning: gcc/cc1-checksum.o differs
         warning: gcc/cc1obj-checksum.o differs
         warning: gcc/cc1objplus-checksum.o differs
         warning: gcc/cc1plus-checksum.o differs
         Comparison successful.
 }}}

 And then the build process continued with:

 {{{
         if false; then \
           rm -rf stage2-*; \
           echo timestamp >  stage2-lean; \
         fi
 }}}

 In that build I cannot find the stage2-gcc and stage3-gcc directories…

 Last year it succeeded to build GCC 4.7.1.

-- 
Ticket URL: <https://trac.macports.org/ticket/34275#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list