Opened 15 years ago

Closed 15 years ago

#21015 closed defect (duplicate)

duplicity does not compile

Reported by: macportscom@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: python26

Description (last modified by blb@…)

Snow Leopard, MacPorts 1.8.1.

-----------------------------------------------------------------
$ port install duplicity
--->  Computing dependencies for duplicity
--->  Building python26
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_python26/work/Python-2.6.2" && /usr/bin/make all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned error 2
Command output: /usr/bin/gcc-4.2 -L/opt/local/lib -u _PyMac_Error Python.framework/Versions/2.6/Python -o python.exe \
			Modules/python.o \
			 -ldl      
ld: warning: in Python.framework/Versions/2.6/Python, file is not of required architecture
Undefined symbols:
  "_PyMac_Error", referenced from:
  "_Py_Main", referenced from:
      _main in python.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1

Error: The following dependencies failed to build: py26-boto python26 py26-gnupg
Error: Status 1 encountered during processing.

------------------------------------------------------------------
port installed                                                                                                                                            ~
The following ports are currently installed:
  autoconf @2.64_2 (active)
  automake @1.11_0 (active)
  bzip2 @1.0.5_2+darwin (active)
  db46 @4.6.21_5 (active)
  expat @2.0.1_0 (active)
  fontconfig @2.7.1_0+macosx (active)
  freetype @2.3.9_0+macosx (active)
  gdbm @1.8.3_1 (active)
  gettext @0.17_4 (active)
  gnupg @1.4.9_0 (active)
  gperf @3.0.4_0 (active)
  help2man @1.36.4_1 (active)
  libiconv @1.13_0 (active)
  librsync @0.9.7_1 (active)
  libtool @2.2.6a_0 (active)
  m4 @1.4.13_0 (active)
  mongoose @2.8_0 (active)
  ncftp @3.2.2_0 (active)
  ncurses @5.7_0+darwin_10 (active)
  ncursesw @5.7_0+darwin_10 (active)
  openssl @0.9.8k_0+darwin (active)
  p5-locale-gettext @1.05_0 (active)
  perl5 @5.8.9_0 (active)
  perl5.8 @5.8.9_3 (active)
  pkgconfig @0.23_1 (active)
  readline @6.0.000_1+darwin (active)
  sqlite3 @3.6.17_0+darwin_10 (active)
  tcl @8.5.6_0+darwin (active)
  tk @8.5.6_1+darwin (active)
  Xft2 @2.1.13_2 (active)
  xorg-bigreqsproto @1.0.2_0 (active)
  xorg-inputproto @1.5.1_0 (active)
  xorg-kbproto @1.0.3_0 (active)
  xorg-libX11 @1.2.2_0 (active)
  xorg-libXau @1.0.4_1 (active)
  xorg-libXdmcp @1.0.2_1 (active)
  xorg-libXext @1.0.99.4_1 (active)
  xorg-libXScrnSaver @1.2.0_0 (active)
  xorg-renderproto @0.11_0 (active)
  xorg-scrnsaverproto @1.2.0_0 (active)
  xorg-util-macros @1.2.2_0 (active)
  xorg-xcmiscproto @1.1.2_0 (active)
  xorg-xextproto @7.1.1_0 (active)
  xorg-xf86bigfontproto @1.1.2_0 (active)
  xorg-xproto @7.0.15_0 (active)
  xorg-xtrans @1.2.4_0 (active)
  xrender @0.9.4_6 (active)
  zlib @1.2.3_2 (active)

Change History (2)

comment:1 in reply to:  description Changed 15 years ago by macportscom@…

Minor mistake: It seems that python26 does not compile. Sorry about the misunderstanding. Still it's a bug, I have this on multiple machines.

Replying to macportscom@…:

Snow Leopard, MacPorts 1.8.1.

<pre>


$ port install duplicity ---> Computing dependencies for duplicity ---> Building python26 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_python26/work/Python-2.6.2" && /usr/bin/make all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned error 2 Command output: /usr/bin/gcc-4.2 -L/opt/local/lib -u _PyMac_Error Python.framework/Versions/2.6/Python -o python.exe \

Modules/python.o \

-ldl

ld: warning: in Python.framework/Versions/2.6/Python, file is not of required architecture Undefined symbols:

"_PyMac_Error", referenced from: "_Py_Main", referenced from:

_main in python.o

ld: symbol(s) not found collect2: ld returned 1 exit status make: * [python.exe] Error 1

Error: The following dependencies failed to build: py26-boto python26 py26-gnupg Error: Status 1 encountered during processing.


port installed ~ The following ports are currently installed:

autoconf @2.64_2 (active) automake @1.11_0 (active) bzip2 @1.0.5_2+darwin (active) db46 @4.6.21_5 (active) expat @2.0.1_0 (active) fontconfig @2.7.1_0+macosx (active) freetype @2.3.9_0+macosx (active) gdbm @1.8.3_1 (active) gettext @0.17_4 (active) gnupg @1.4.9_0 (active) gperf @3.0.4_0 (active) help2man @1.36.4_1 (active) libiconv @1.13_0 (active) librsync @0.9.7_1 (active) libtool @2.2.6a_0 (active) m4 @1.4.13_0 (active) mongoose @2.8_0 (active) ncftp @3.2.2_0 (active) ncurses @5.7_0+darwin_10 (active) ncursesw @5.7_0+darwin_10 (active) openssl @0.9.8k_0+darwin (active) p5-locale-gettext @1.05_0 (active) perl5 @5.8.9_0 (active) perl5.8 @5.8.9_3 (active) pkgconfig @0.23_1 (active) readline @6.0.000_1+darwin (active) sqlite3 @3.6.17_0+darwin_10 (active) tcl @8.5.6_0+darwin (active) tk @8.5.6_1+darwin (active) Xft2 @2.1.13_2 (active) xorg-bigreqsproto @1.0.2_0 (active) xorg-inputproto @1.5.1_0 (active) xorg-kbproto @1.0.3_0 (active) xorg-libX11 @1.2.2_0 (active) xorg-libXau @1.0.4_1 (active) xorg-libXdmcp @1.0.2_1 (active) xorg-libXext @1.0.99.4_1 (active) xorg-libXScrnSaver @1.2.0_0 (active) xorg-renderproto @0.11_0 (active) xorg-scrnsaverproto @1.2.0_0 (active) xorg-util-macros @1.2.2_0 (active) xorg-xcmiscproto @1.1.2_0 (active) xorg-xextproto @7.1.1_0 (active) xorg-xf86bigfontproto @1.1.2_0 (active) xorg-xproto @7.0.15_0 (active) xorg-xtrans @1.2.4_0 (active) xrender @0.9.4_6 (active) zlib @1.2.3_2 (active)

comment:2 Changed 15 years ago by blb@…

Description: modified (diff)
Milestone: MacPorts 1.8.1
Port: python26 added
Resolution: duplicate
Status: newclosed

Dup of #20284.

Note: See TracTickets for help on using tickets.