Opened 15 years ago

Closed 15 years ago

#24109 closed defect (duplicate)

"port install pdftk" failed when building gcc42 on MBP running SL using XCode 3.2.1

Reported by: Josef.Buergler@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: pdftk

Description (last modified by mf2k (Frank Schima))

Starting from a fresh MacPorts 1.8.2 installation I used the following commands (output shown after the commands!):

uranus:pdftk jfb$ sudo port -v selfupdate
Password:
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
receiving file list ... done
./
PortIndex
...
tests/test/variants/
tests/test/xcodeversion/

sent 330 bytes  received 7163 bytes  2997.20 bytes/sec
total size is 4023490  speedup is 536.97
MacPorts base version 1.8.2 installed,
MacPorts base version 1.8.2 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
uranus:pdftk jfb$ sudo port installed
No ports are installed.
uranus:pdftk jfb$ sudo port install pdftk
--->  Computing dependencies for pdftk
--->  Fetching gmp
--->  Verifying checksum(s) for gmp
--->  Extracting gmp
--->  Applying patches to gmp
--->  Configuring gmp
--->  Building gmp
...
--->  Configuring gcc42
--->  Building gcc42
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/ranlib: file: .libs/libgfortran.a(_exp_c16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_log_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_log_c16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_log10_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_sqrt_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_sqrt_c16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_asin_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_asinh_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_acos_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_acosh_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_atan_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_atanh_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_sin_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_sin_c16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_cos_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_cos_c16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_tan_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_sinh_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_cosh_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_tanh_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_conjg_c16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_aint_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_anint_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_sign_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_dim_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_atan2_r16.o) has no symbols
/usr/bin/ranlib: file: .libs/libgfortran.a(_mod_r16.o) has no symbols
creating libgfortran.la
(cd .libs && rm -f libgfortran.la && ln -s ../libgfortran.la libgfortran.la)
make: *** [all] Error 2

Error: The following dependencies failed to build: gcc42
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Attached is the output of the last command using the -d option!

Thanks for any help!

Attachments (1)

pdftk-ticket.txt (96.5 KB) - added by Josef.Buergler@… 15 years ago.
Output of "sudo port -d install pdftk"

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Josef.Buergler@…

Attachment: pdftk-ticket.txt added

Output of "sudo port -d install pdftk"

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: pdftk gcc42 removed

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…
Port: pdftk added

While the failure is with gcc42, it seems like this port should use Apple's gcc 4.2 on Snow Leopard. Ryan, any thoughts?

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

Resolution: duplicate
Status: newclosed

pdftk needs gcj which is not part of Apple's gcc.

Duplicate of #21665.

Note: See TracTickets for help on using tickets.