[MacPorts] #41742: rpm at 4.4.9: build fails, cannot find /opt/local/lib/libpopt.la
MacPorts
noreply at macports.org
Mon Dec 9 14:13:53 PST 2013
#41742: rpm at 4.4.9: build fails, cannot find /opt/local/lib/libpopt.la
----------------------------+--------------------------------
Reporter: mvillalobos@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: duplicate | Keywords:
Port: rpm |
----------------------------+--------------------------------
Changes (by larryv@…):
* status: new => closed
* resolution: => duplicate
Old description:
> 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
New description:
{{{
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
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/41742#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list