[MacPorts] #72348: clpbar uses incoherent arch flags: -m64 for 32-bit arch
MacPorts
noreply at macports.org
Mon Apr 14 10:28:13 UTC 2025
#72348: clpbar uses incoherent arch flags: -m64 for 32-bit arch
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: clpbar
--------------------------+--------------------
{{{
---> Extracting bar_1.11.1.tar.gz
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_clpbar/clpbar/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/clpbar/bar_1.11.1.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -
---> Configuring clpbar
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_clpbar/clpbar/work/bar-1.11.1"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man
checking build system type... powerpc-apple-darwin10.8.0
checking host system type... powerpc-apple-darwin10.8.0
checking target system type... powerpc-apple-darwin10.8.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/gcc-4.2
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.2... gcc3
checking whether ln -s works... yes
checking for gawk... (cached) awk
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for posix_memalign... yes
checking for select... yes
checking for strerror... yes
checking for sysconf... yes
checking for sprintf... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking if filesystem supports Large Files natively... yes
checking for vectored I/O support... yes
checking size of unsigned char... 1
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 4
checking size of unsigned long long... 8
checking size of size_t... 4
checking whether _SC_PAGE_SIZE is declared... yes
checking whether _SC_PAGESIZE is declared... yes
checking for default screen width adjustment... (cached) 0
checking for default screen height adjustment... (cached) 0
checking if twiddle display should be enabled by default... (cached) 0
checking default buffer size... (cached) 52488
checking sysconf usability... yes
checking default page size... (cached) 4096
checking if aligned memory allocation is enabled... (cached) yes
checking for posix_memalign usability... yes
checking if aligned memory allocation is available... (cached) yes
checking if aligned memory allocation is usable... yes
checking if vectored I/O is enabled... (cached) yes
checking if vectored I/O is available... (cached) yes
checking whether CC supports -m64... yes
checking if the use of -m64 compiler flag is enabled... (cached) yes
checking if system supports counting to 1 exabyte... yes
checking if system supports counting to 1 petabyte... yes
checking if system supports counting to 1 terabyte... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bar.1
config.status: creating doxygen.conf
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing test-script-preparation commands
configure:
configure: Current Configuration:
configure: ----------------------
configure: Screen width -1 modifier: no
configure: Screen height -1 modifier: no
configure: Display twiddle by default: no
configure: Use aligned memory allocation: yes (default page size: 4096)
configure: Use vectored I/O: yes
configure: Default I/O buffer size: 52488
configure: Install Path: /opt/local
configure:
---> Building clpbar
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_clpbar/clpbar/work/bar-1.11.1"
&& /usr/bin/make -j6 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_clpbar/clpbar/work/bar-1.11.1'
/usr/bin/make all-am
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_clpbar/clpbar/work/bar-1.11.1'
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -m64 -pipe -Os
-arch ppc -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -m64 -pipe -Os
-arch ppc -MT fd.o -MD -MP -MF .deps/fd.Tpo -c -o fd.o fd.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -m64 -pipe -Os
-arch ppc -MT io.o -MD -MP -MF .deps/io.Tpo -c -o io.o io.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -m64 -pipe -Os
-arch ppc -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o
display.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -m64 -pipe -Os
-arch ppc -MT args.o -MD -MP -MF .deps/args.Tpo -c -o args.o args.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -m64 -pipe -Os
-arch ppc -MT bar.o -MD -MP -MF .deps/bar.Tpo -c -o bar.o bar.c
mv -f .deps/fd.Tpo .deps/fd.Po
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -m64 -pipe -Os
-arch ppc -MT test-types.o -MD -MP -MF .deps/test-types.Tpo -c -o test-
types.o test-types.c
mv -f .deps/bar.Tpo .deps/bar.Po
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -m64 -pipe -Os
-arch ppc -MT test-001-pre.o -MD -MP -MF .deps/test-001-pre.Tpo -c -o
test-001-pre.o test-001-pre.c
mv -f .deps/error.Tpo .deps/error.Po
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -m64 -pipe -Os
-arch ppc -MT test-001-post.o -MD -MP -MF .deps/test-001-post.Tpo -c -o
test-001-post.o test-001-post.c
mv -f .deps/test-types.Tpo .deps/test-types.Po
mv -f .deps/test-001-pre.Tpo .deps/test-001-pre.Po
/usr/bin/gcc-4.2 -m64 -pipe -Os -arch ppc -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -o test-types test-types.o
/usr/bin/gcc-4.2 -m64 -pipe -Os -arch ppc -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -o test-001-pre test-001-pre.o
mv -f .deps/test-001-post.Tpo .deps/test-001-post.Po
/usr/bin/gcc-4.2 -m64 -pipe -Os -arch ppc -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -o test-001-post
test-001-post.o
ld: warning: in /usr/lib/crt1.10.5.o, missing required architecture ppc64
in file
ld: warning: in /usr/lib/libSystemStubs.a, missing required architecture
ppc64 in file
ld: warning: in /usr/lib/libSystem.dylib, missing required architecture
ppc64 in file
ld: could not find entry point "start" (perhaps missing crt1.o)
collect2: ld returned 1 exit status
make[1]: *** [test-types] Error 1ld: warning: in /usr/lib/crt1.10.5.o,
missing required architecture ppc64 in file
ld: warning: in /usr/lib/libSystemStubs.a, missing required architecture
ppc64 in file
ld: warning: in /usr/lib/libSystem.dylib, missing required architecture
ppc64 in file
Undefined symbols:
"_write", referenced from:
_main in test-001-pre.o
_main in test-001-pre.o
"_close", referenced from:
_main in test-001-pre.o
"_sleep", referenced from:
_main in test-001-pre.o
ld: symbol(s) not found
make[1]: *** Waiting for unfinished jobs....
collect2: ld returned 1 exit status
make[1]: *** [test-001-pre] Error 1
mv -f .deps/io.Tpo .deps/io.Po
ld: warning: in /usr/lib/crt1.10.5.o, missing required architecture ppc64
in file
ld: warning: in /usr/lib/libSystemStubs.a, missing required architecture
ppc64 in file
ld: warning: in /usr/lib/libSystem.dylib, missing required architecture
ppc64 in file
Undefined symbols:
"___stack_chk_fail", referenced from:
_main in test-001-post.o
"___stack_chk_guard", referenced from:
___stack_chk_guard$non_lazy_ptr in test-001-post.o
(maybe you meant: ___stack_chk_guard$non_lazy_ptr)
"_read", referenced from:
_main in test-001-post.o
_main in test-001-post.o
"_close", referenced from:
_main in test-001-post.o
"___stderrp", referenced from:
___stderrp$non_lazy_ptr in test-001-post.o
(maybe you meant: ___stderrp$non_lazy_ptr)
"_memset", referenced from:
_main in test-001-post.o
"_strcmp", referenced from:
_main in test-001-post.o
_main in test-001-post.o
"_sleep", referenced from:
_main in test-001-post.o
"_fwrite", referenced from:
_main in test-001-post.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [test-001-post] Error 1
mv -f .deps/display.Tpo .deps/display.Po
mv -f .deps/args.Tpo .deps/args.Po
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_clpbar/clpbar/work/bar-1.11.1'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_clpbar/clpbar/work/bar-1.11.1'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_clpbar/clpbar/work/bar-1.11.1"
&& /usr/bin/make -j6 -w all
Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72348>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list