Opened 11 years ago

Closed 11 years ago

#41742 closed defect (duplicate)

rpm@4.4.9: build fails, cannot find /opt/local/lib/libpopt.la

Reported by: minmay Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: rpm

Description (last modified by larryv (Lawrence Velázquez))

libtool: link: cannot find the library `/opt/local/lib/libpopt.la' or unhandled argument `/opt/local/lib/libpopt.la'
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include -I/opt/loca
l/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -pipe -Os -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT sqlite.lo -MD -MP -
MF .deps/sqlite.Tpo -c sqlite.c  -fno-common -DPIC -o .libs/sqlite.o
:info:build In file included from sqlite.c:40:
:info:build In file included from ../lib/rpmlib.h:14:
:info:build ./header.h:805:11: warning: comparison of constant -1 with expression of type 'rpmTagType' (aka 'enum rpmTagType_e') is always false [-Wtautological-constant-out-of-range-compare]
:info:build         if (type == -1 ||
:info:build             ~~~~ ^  ~~
:info:build sqlite.c:456:20: warning: initializing 'const char *' with an expression of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
:info:build                     const char * v = sqlite3_column_text(scp->pStmt, i);
:info:build                                  ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build sqlite.c:509:10: warning: case value not in enumerated type 'rpmTag' (aka 'enum rpmTag_e') [-Wswitch]
:info:build     case RPMDBI_PACKAGES:
:info:build          ^
:info:build ../lib/rpmlib.h:181:26: note: expanded from macro 'RPMDBI_PACKAGES'
:info:build #define RPMDBI_PACKAGES         0       /* Installed package headers. */
:info:build                                 ^
:info:build sqlite.c:705:7: warning: case value not in enumerated type 'rpmTag' (aka 'enum rpmTag_e') [-Wswitch]
:info:build         case RPMDBI_PACKAGES:
:info:build              ^
:info:build ../lib/rpmlib.h:181:26: note: expanded from macro 'RPMDBI_PACKAGES'
:info:build #define RPMDBI_PACKAGES         0       /* Installed package headers. */
:info:build                                 ^
:info:build sqlite.c:1119:11: warning: case value not in enumerated type 'rpmTag' (aka 'enum rpmTag_e') [-Wswitch]
:info:build             case RPMDBI_PACKAGES:
:info:build                  ^
:info:build ../lib/rpmlib.h:181:26: note: expanded from macro 'RPMDBI_PACKAGES'
:info:build #define RPMDBI_PACKAGES         0       /* Installed package headers. */
:info:build                                 ^
:info:build 5 warnings generated.
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../rpmio -I/opt/local/include/beecrypt -I/opt/local/include -I../misc -I/opt/local/include -I../zlib -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -pipe -Os -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT sqlite.lo -MD -MP -MF .deps/sqlite.Tpo -c sqlite.c -o sqlite.o >/dev/null 2>&1
:info:build mv -f .deps/sqlite.Tpo .deps/sqlite.Plo
:info:build sed -e"/^libdir=/s/^.*$/libdir=''/" < ../db3/libdb-4.5.la > ../db3/libdb.la
:info:build /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -arch x86_64 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -no-undefined -release 4.4 ../rpmio/librpmio.la /opt/local/lib/libpopt.la /opt/local/lib/libsqlite3.la  -L/opt/local/lib -L/opt/local/lib -o librpmdb.la -rpath /opt/local/lib dbconfig.lo fprint.lo hdrNVR.lo header.lo header_internal.lo legacy.lo merge.lo poptDB.lo rpmdb.lo tagname.lo tagtbl.lo db3.lo sqlite.lo ../db3/libdb.la 
:info:build libtool: link: cannot find the library `/opt/local/lib/libpopt.la' or unhandled argument `/opt/local/lib/libpopt.la'
:info:build gnumake[3]: *** [librpmdb.la] Error 1
:info:build gnumake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_rpm/rpm/work/rpm-4.4.9/rpmdb'
:info:build gnumake[2]: *** [all] Error 2
:info:build gnumake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_rpm/rpm/work/rpm-4.4.9/rpmdb'
:info:build gnumake[1]: *** [all-recursive] Error 1
:info:build gnumake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_rpm/rpm/work/rpm-4.4.9'
:info:build gnumake: *** [all] Error 2
:info:build gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_rpm/rpm/work/rpm-4.4.9'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_rpm/rpm/work/rpm-4.4.9" && /usr/bin/gnumake -w all 
:info:build Exit code: 2
:error:build org.macports.build for port rpm returned: command execution failed

Attachments (1)

main.log (806.8 KB) - added by minmay 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by minmay

Attachment: main.log added

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

duplicate of #41697

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.