Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475046 - multilib-build.eclass: multilib_prepare_wrappers() generates headers with needless additional slashes inside paths
Summary: multilib-build.eclass: multilib_prepare_wrappers() generates headers with nee...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 00:03 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2013-06-28 02:37 UTC (History)
1 user (show)

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


Attachments
multilib-build.eclass.patch (multilib-build.eclass.patch,330 bytes, patch)
2013-06-28 00:43 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2013-06-28 00:03:21 UTC
multilib_prepare_wrappers() generates headers with needless additional slashes inside paths.

Example: /usr/include/ogg/config_types.h (installed by media-libs/libogg-1.3.1) contains:

/* This file is auto-generated by multilib-build.eclass
 * as a multilib-friendly wrapper. For the original content,
 * please see the files that are #included below.
 */

#if defined(__x86_64__) /* amd64 */
#       if defined(__ILP32__) /* x32 ABI */
#               error "abi_x86_x32 not supported by the package."
#       else /* 64-bit ABI */
#               include <x86_64-pc-linux-gnu//ogg/config_types.h>
#       endif
#elif defined(__i386__) /* plain x86 */
#       error "abi_x86_32 not supported by the package."
#else
#       error "No ABI matched, please report a bug to bugs.gentoo.org"
#endif

It contains <x86_64-pc-linux-gnu//ogg/config_types.h> path, which instead should be <x86_64-pc-linux-gnu/ogg/config_types.h>
Comment 1 Arfrever Frehtes Taifersar Arahesis 2013-06-28 00:43:43 UTC
Created attachment 352128 [details, diff]
multilib-build.eclass.patch
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-06-28 02:37:55 UTC
Thanks for the patch. Fixed now.