Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576738 - media-libs/libnsbmp-0.1.3 installs libnsbmp.h in wrong place
Summary: media-libs/libnsbmp-0.1.3 installs libnsbmp.h in wrong place
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 576394
  Show dependency tree
 
Reported: 2016-03-08 01:15 UTC by Joseph Booker
Modified: 2016-03-15 10:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge --info (emerge-info,7.23 KB, text/plain)
2016-03-08 01:15 UTC, Joseph Booker
Details
media-libs/libsmbmp-0.1.2-r1 build log (libnsmbmp-0.1.2-r1-build.log,11.41 KB, text/plain)
2016-03-08 01:31 UTC, Joseph Booker
Details
media-libs/libsmbmp-0.1.3 build log (libnsmbmp-0.1.3-build.log,11.25 KB, text/plain)
2016-03-08 01:32 UTC, Joseph Booker
Details
media-libs/libsmbmp-0.1.3 build log with no C/CXX/F/FC FLAGS (libnsmbmp-0.1.3-noflags-build.log,11.17 KB, text/plain)
2016-03-08 01:34 UTC, Joseph Booker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Booker 2016-03-08 01:15:10 UTC
Created attachment 427704 [details]
Output of emerge --info

media-libs/libnsbmp-0.1.3 compiles with one error, placing its header file in /usr/libnsbmp.h. media-libs/libnsbmp-0.1.2-r1 installs the file into the correct location, but has the same error.

The error for both media-libs/libnsbmp-0.1.3 and media-libs/libnsbmp-0.1.2-r1 is:

>>> Compiling source in /var/tmp/portage/media-libs/libnsbmp-0.1.3/work/libnsbmp-0.1.3 ...
 * found bad flags:
 * ./Makefile:40:TESTCFLAGS := -g -O2
 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
make -j9 -l8 'CC=x86_64-pc-linux-gnu-gcc -m32' 'LD=x86_64-pc-linux-gnu-ld -m elf_i386' NSSHARED=/var/tmp/portage/media-libs/libnsbmp-0.1.3/work/buildsystem-1.3 Q= HOST_CC=$(CC) CCOPT= CCNOOPT= CCDBG= LDDBG= AR=x86_64-pc-linux-gnu-ar BUILD=release PREFIX=/usr COMPONENT_TYPE=lib-shared LIBDIR=lib32 
which: invalid option -- 'm'
which: invalid option -- '3'
which: invalid option -- '2'
mkdir -p build-release-x86_64-pc-linux-gnu-release-lib-shared

The "bad flags" message is only with the newer version.

Attached is the 0.1.3 and 0.1.2-r1 build logs (with --jobs=1).

The -noflags build was produced with
FEATURES=keeptemp CFLAGS="" CXXFLAGS="" FCFLAGS="" FFLAGS="" emerge -va1 'media-libs/libnsbmp' --jobs=1
Comment 1 Joseph Booker 2016-03-08 01:31:50 UTC
Created attachment 427706 [details]
media-libs/libsmbmp-0.1.2-r1 build log

Installs header file to correct location, although also shows -m32 error while building
Comment 2 Joseph Booker 2016-03-08 01:32:26 UTC
Created attachment 427708 [details]
media-libs/libsmbmp-0.1.3 build log

Installs header file to wrong location
Comment 3 Joseph Booker 2016-03-08 01:34:04 UTC
Created attachment 427710 [details]
media-libs/libsmbmp-0.1.3 build log with no C/CXX/F/FC FLAGS

Tested if my *FLAGS were causing a warning (although I don't have -g in my CFLAGS).
Comment 4 Michael Weber (RETIRED) gentoo-dev 2016-03-08 17:17:37 UTC
the -m32 error is most probably from an unquoted $CC in `which $CC`.
I got the same bad installation path, will be fixed soon